@font-face {
  font-family: "Instrument Sans"; src: url("../fonts/instrument-sans.woff2") format("woff2");
  font-style: normal; font-weight: 400 700; font-display: swap;
}
@font-face {
  font-family: "Space Grotesk"; src: url("../fonts/space-grotesk.woff2") format("woff2");
  font-style: normal; font-weight: 300 700; font-display: swap;
}
@font-face {
  font-family: "IBM Plex Mono"; src: url("../fonts/ibm-plex-mono.woff2") format("woff2");
  font-style: normal; font-weight: 500; font-display: swap;
}
:root {
  color-scheme: light;
  --canvas: #f5f2eb;
  --paper: #fffcf6;
  --ink: #201917;
  --muted: #62534c;
  --accent: #ac2d17;
  --action: #b63219;
  --on-accent: #fffaf3;
  --line: #d6cbc0;
  --tint: #f3e7df;
  --amber: #d95529;
  --mark-color: hue-rotate(133deg) saturate(1.35);
  --display: "Space Grotesk", "Instrument Sans", system-ui, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
  font: 1.0625rem/1.6 "Instrument Sans", system-ui, sans-serif;
}
:root.dark {
  color-scheme: dark;
  --canvas: #171412;
  --paper: #221c19;
  --ink: #f8efe7;
  --muted: #cbb8ab;
  --accent: #ff9a76;
  --action: #ff9a76;
  --on-accent: #2e140a;
  --line: #51403a;
  --tint: #33251f;
  --amber: #ff895c;
  --mark-color: hue-rotate(133deg) saturate(1.1) brightness(1.45);
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: var(--canvas); color: var(--ink); }
a { color: inherit; text-underline-offset: .2em; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.skip-link { position: absolute; z-index: 3; left: 1rem; top: .6rem; padding: .5rem 1rem; background: var(--paper); transform: translateY(-160%); }
.skip-link:focus { transform: none; }
.page-width { width: min(100% - 3rem, 79rem); margin-inline: auto; }
.site-header { border-bottom: 1px solid var(--line); }
.nav-inner { min-height: 4.7rem; }
.brand { display: inline-flex; align-items: center; gap: .55rem; font-family: var(--display); font-size: 1.55rem; font-weight: 700; letter-spacing: -.075em; text-decoration: none; }
.brand img, .answer-head img { width: 1.8rem; height: 1.8rem; object-fit: contain; }
.brand img, .answer-head img { filter: var(--mark-color); }
.nav-links, .nav-actions { gap: clamp(.85rem, 2.5vw, 2rem); }
.nav-links a { font: 500 .85rem/1.45 var(--mono); text-decoration: none; padding-block: .4rem; }
.nav-links a:hover, .nav-links a[aria-current] { color: var(--accent); text-decoration: underline; }
.language-switch, .theme-toggle {
  background: transparent; color: var(--ink); min-width: 2.65rem; min-height: 2.65rem; border: 1px solid var(--line);
  display: inline-grid; place-items: center; border-radius: 50%; text-decoration: none; font-size: .8rem; font-weight: 700;
}
.theme-toggle { cursor: pointer; }
.theme-toggle[hidden], .theme-icon-sun, .dark .theme-icon-moon { display: none; }
.dark .theme-icon-sun { display: block; }
h1, h2 { font-family: var(--display); font-weight: 600; line-height: 1.01; margin: 0; }
h1 { font-size: clamp(2.6rem, 6.7vw, 6.4rem); letter-spacing: -.071em; }
h1 em { color: var(--accent); font-style: normal; }
h2 { font-size: clamp(2.05rem, 4vw, 4.2rem); letter-spacing: -.055em; }
h3 { font-size: 1.2rem; line-height: 1.35; margin: 0; }
p { margin: 0; }
.lead { color: var(--muted); font-size: clamp(1.06rem, 1.55vw, 1.34rem); max-width: 41ch; margin-top: 1.55rem; }
.eyebrow { color: var(--accent); font: 500 .84rem/1.55 var(--mono); margin-bottom: 1.25rem; }
.hero { padding-block: clamp(4rem, 9.5vw, 8rem); }
.actions { margin-top: 2rem; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 3.1rem; padding: .65rem 1.15rem; background: var(--action); color: var(--on-accent); text-decoration: none; font-weight: 700; border: 1px solid var(--action); border-radius: 100px; }
.button:hover { filter: brightness(.9); }
.button-outline { background: transparent; color: var(--accent); }
.text-link { color: var(--accent); font-weight: 600; }
.answer-card { margin: 0; padding: clamp(1.1rem, 3.5vw, 2.55rem); background: var(--tint); border: 1px solid var(--line); border-radius: .85rem; }
.answer-head { font-weight: 700; font-size: 1.1rem; }
.question { margin: 1.65rem 0 .7rem auto; padding: .7rem .95rem; max-width: 85%; border-radius: .65rem .65rem .1rem .65rem; background: var(--action); color: var(--on-accent); }
.answer { padding: .95rem; border-radius: .1rem .65rem .65rem .65rem; background: var(--paper); }
.source { display: inline-flex; align-items: center; gap: .45rem; margin-top: .9rem; font-size: .82rem; color: var(--muted); }
.source-icon { display: inline-block; flex: 0 0 .6rem; height: .7rem; background: var(--amber); border-radius: .15rem; }
.features { border-block: 1px solid var(--line); background: var(--paper); padding-block: clamp(2.75rem, 6vw, 5.2rem); }
.closing { padding-block: 4rem; }
.inner-page { max-width: 53rem; padding-block: clamp(3.4rem, 8vw, 7rem); }
code { padding: .1em .3em; background: var(--paper); border: 1px solid var(--line); border-radius: .22em; font-size: .92em; }
.site-footer {
  --footer-paper: var(--ink);
  --footer-muted: var(--muted);
  --footer-line: var(--line);
  background: var(--tint);
  color: var(--footer-paper);
}
.site-footer a:focus-visible { outline-color: var(--accent); }
.footer-grid { padding-block: clamp(2.4rem, 5vw, 4.25rem); }
.footer-brand .brand { gap: .75rem; font-size: 1.65rem; }
.site-footer .footer-brand img {
  flex: none;
  width: 2.45rem;
  height: 2.45rem;
  padding: .36rem;
  background: var(--footer-paper);
  border-radius: .55rem;
  filter: none;
}
.footer-brand p { margin-top: .85rem; max-width: 22ch; font-family: var(--display); font-size: 1.55rem; line-height: 1.08; color: var(--footer-muted); }
.footer-group h2 { margin: .25rem 0 .85rem; font: 700 1rem/1.35 "Instrument Sans", system-ui, sans-serif; letter-spacing: 0; }
.footer-group ul { margin: 0; padding: 0; list-style: none; }
.footer-group li + li { margin-top: .48rem; }
.footer-group a { font-size: .94rem; text-decoration: none; color: var(--footer-muted); }
.footer-group a:hover { color: var(--footer-paper); text-decoration: underline; }
.footer-bottom { border-top: 1px solid var(--footer-line); padding-block: 1rem; }
.footer-bottom small { font-size: .88rem; color: var(--footer-muted); }
.footer-languages a { padding: .22rem .6rem; border: 1px solid transparent; border-radius: .3rem; text-decoration: none; color: var(--footer-muted); font-size: .88rem; }
.footer-languages a[aria-current], .footer-languages a:hover { border-color: var(--footer-line); color: var(--footer-paper); }
@media (max-width: 560px) {
  .page-width { width: calc(100% - 2rem); }
  .nav-inner { padding-block: .65rem; gap: .4rem .8rem; }
  .nav-actions { gap: .5rem; }
}

.example-label { margin-left: auto; font-size: .82rem; font-weight: 400; color: var(--muted); }
.example-link { display: inline-block; margin-top: 1.15rem; }
.product-section { background: #211813; color: #f8eee4; padding-block: clamp(2.8rem, 7vw, 6rem); }
.product-section .lead, .product-screen figcaption { color: #dec7b9; }
.product-section .text-link { color: #ffae91; display: inline-block; margin-top: 1.1rem; }
.product-screen, .document-screen { margin: 0; min-width: 0; }
.product-screen img, .document-screen img { display: block; width: 100%; height: auto; border-radius: .65rem; }
.product-screen img { border: .36rem solid #694739; }
.product-screen figcaption, .document-screen figcaption { margin-top: .55rem; font-size: .84rem; }
.document-screen figcaption { color: var(--muted); }
.case-index { margin-top: 1.75rem; }
.case-card, .demo-card, .workflow > li { padding: clamp(1.05rem, 2.2vw, 1.65rem); background: var(--canvas); border: 1px solid var(--line); border-radius: .7rem; }
.case-category { color: var(--accent); font-size: .88rem; font-weight: 700; margin-bottom: .55rem; }
.case-card h3, .demo-card h3 { font-family: var(--display); font-size: 1.53rem; font-weight: 600; letter-spacing: -.05em; }
.case-card > p:not(.case-category) { margin-top: .35rem; padding-bottom: 1rem; color: var(--muted); }
.case-card .text-link { margin-top: auto; }
.article-page { width: min(100% - 3rem, 68rem); padding-block: clamp(3rem, 7.5vw, 6.5rem); }
.article-intro { max-width: 55rem; margin-bottom: clamp(1.7rem, 6vw, 4rem); }
.article-intro .lead { max-width: 53ch; }
.article-actions { margin-top: 2rem; }
.case-jumps { margin-bottom: 1.35rem; }
.case-jumps a { padding: .42rem .82rem; border: 1px solid var(--line); border-radius: 2rem; color: var(--accent); text-decoration: none; }
.case-jumps a:hover { background: var(--tint); }
.case-study, .guide-section { scroll-margin-top: 1.2rem; }
.case-study { border: 1px solid var(--line); padding: clamp(1.05rem, 4vw, 2.25rem); background: var(--paper); border-radius: .8rem; }
.case-study:target { border-color: var(--accent); }
.case-study h2, .guide-section h2, .next-steps h2, .demo-title { font-size: clamp(2.2rem, 4.5vw, 3.65rem); }
.case-study h2 + p { margin-top: .65rem; color: var(--muted); }
.case-command { margin-top: 1.1rem; font-size: .9rem; }
.case-transcript { padding: clamp(.85rem, 2vw, 1.4rem); background: var(--tint); border-radius: .6rem; }
.case-transcript dl { margin: 0; }
.case-transcript dt { font-weight: 700; font-size: .84rem; }
.case-transcript dd { margin: .25rem 0 1rem; }
.case-transcript .case-question { font-weight: 700; }
.case-source, .prompt-follow { border-top: 1px solid var(--line); padding-top: .75rem; }
.case-source summary, .prompt-follow summary { cursor: pointer; color: var(--accent); font-weight: 700; font-size: .94rem; }
.case-source blockquote { margin: .75rem 0 0; background: var(--paper); border-left: .2rem solid var(--accent); padding: .65rem .85rem; }
.case-source cite { display: inline-block; color: var(--muted); font-size: .88rem; margin-top: .55rem; }
.case-follow { margin-top: 1rem; color: var(--muted); }
.case-follow strong { display: block; font-size: .84rem; color: var(--ink); }
.demo-title { margin-bottom: 1.2rem; }
.demo-card, .workflow > li { background: var(--paper); }
.demo-card > p { margin-top: .4rem; }
.prompt-action { margin-block: .85rem; }
.prompt-action .button { min-height: 2.55rem; padding: .4rem .8rem; font-size: .9rem; cursor: pointer; }
.prompt-action .button[hidden] { display: none; }
.copy-status { color: var(--muted); font-size: .88rem; }
.prompt-follow p { margin-top: .4rem; }
.next-steps, .guide-section { margin-top: 2.4rem; border-top: 1px solid var(--line); padding-top: 1.65rem; }
.next-steps p, .guide-section p { color: var(--muted); max-width: 65ch; margin-top: .7rem; }
.guide-section :is(.button, .text-link), .next-steps .text-link { margin-top: 1rem; display: inline-flex; }
.workflow { margin: 0; padding: 0; list-style: none; }
.workflow h2 { font-size: clamp(1.9rem, 3vw, 2.65rem); }
.workflow p { color: var(--muted); margin-top: .65rem; }
@media (max-width: 560px) {
  .article-page { width: calc(100% - 2rem); }
  .case-transcript, .demo-card, .case-card { overflow-wrap: anywhere; }
}

.home-hero { padding-block: clamp(3.25rem, 6.4vw, 6.55rem); }
.home-hero h1 { font-size: clamp(2.65rem, 5.45vw, 5.75rem); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 4;
  background: color-mix(in srgb, var(--canvas), transparent 6%);
  backdrop-filter: blur(14px);
}
.skip-link { z-index: 5; }
.nav-links a.nav-demo {
  border: 1px solid var(--ink);
  border-radius: 100px;
  padding: .38rem .9rem;
  transition: color .18s ease, background .18s ease, border-color .18s ease;
}
.nav-links a.nav-demo:hover, .nav-links a.nav-demo[aria-current] {
  background: var(--ink);
  color: var(--canvas);
  text-decoration: none;
}
.nav-links a:not(.nav-demo) { position: relative; }
.nav-links a:not(.nav-demo)::after {
  content: "";
  position: absolute;
  inset: auto 0 .24rem;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .18s ease;
}
.nav-links a:not(.nav-demo):hover::after, .nav-links a[aria-current]:not(.nav-demo)::after { transform: scaleX(1); }
.nav-links a:not(.nav-demo):hover, .nav-links a[aria-current]:not(.nav-demo) { text-decoration: none; }
.language-switch:hover, .theme-toggle:hover { border-color: var(--accent); color: var(--accent); }
.button { transition: transform .18s ease, filter .18s ease, box-shadow .18s ease; }
.button:hover { transform: translateY(-2px); }
.button:active { transform: translateY(0); }
.button:not(.button-outline):hover { box-shadow: 0 6px 16px color-mix(in srgb, var(--action), transparent 77%); }

.eyebrow {
  display: flex;
  align-items: baseline;
  gap: .6rem;
}
.eyebrow::before {
  content: "";
  width: .56rem;
  height: .56rem;
  background: currentColor;
  flex: 0 0 .56rem;
}
.signal-stage {
  display: grid;
  isolation: isolate;
  align-content: end;
  position: relative;
  min-width: 0;
  max-width: 40rem;
  min-height: clamp(24rem, 42vw, 35rem);
  margin: 0;
  padding: clamp(1.15rem, 3.2vw, 3.05rem);
  padding-top: clamp(5.4rem, 10.1vw, 9.5rem);
  overflow: hidden;
  color: #fff1e8;
  border: 1px solid #623a2b;
  border-radius: 1.15rem;
  background:
    radial-gradient(ellipse at 79% 4%, #872e1d 0, transparent 53%),
    radial-gradient(ellipse at 7% 84%, #542b21 0, transparent 43%),
    linear-gradient(140deg, #281c17, #171211 72%);
}
.signal-stage::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 9% 8% 18%;
  transform: skewY(-7deg);
  border: 1px solid #f47e5440;
  box-shadow: 0 0 0 1.1rem #ff805b11, 0 0 0 2.2rem #f97b4f09;
  border-radius: .6rem;
  pointer-events: none;
}
.signal-stage .answer-card {
  background: var(--paper);
  color: var(--ink);
  border: 1px solid var(--line);
  padding: clamp(.85rem, 2.6vw, 1.6rem);
  border-radius: .72rem;
  box-shadow: 0 20px 46px #0f09076b;
}
.signal-stage .answer-head { border-bottom: 1px solid var(--line); padding-bottom: .65rem; }
.signal-stage .question { margin-top: .95rem; }
.signal-stage .answer { background: var(--tint); }
.signal-stage .example-label, .signal-stage .source { font: 500 .81rem/1.35 var(--mono); letter-spacing: -.025em; }
.signal-stage .example-link { font-size: .94rem; }

.product-section { position: relative; overflow: hidden; }
.product-section::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 1px;
  top: 0;
  background: linear-gradient(90deg, transparent, var(--accent) 32%, transparent 92%);
}
.product-section .product-screen img { box-shadow: 0 15px 35px #0d070649; }
.case-card, .demo-card, .workflow > li { transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease; }
.case-card:hover, .demo-card:focus-within, .workflow > li:hover {
  border-color: var(--accent);
  transform: translateY(-3px);
  box-shadow: 0 7px 22px color-mix(in srgb, var(--ink), transparent 94%);
}
.case-card .case-category { font-family: var(--mono); }
.site-footer { border-top: 1px solid var(--footer-line); }
.site-footer .footer-brand img { background: var(--tint); filter: var(--mark-color); }
.footer-brand .brand { font-size: clamp(1.75rem, 3vw, 2.3rem); }
.footer-group h2 { font: 500 .92rem/1.35 var(--mono); }
.footer-group ul { padding-top: .15rem; }
.case-study, .guide-section { scroll-margin-top: 7rem; }
.hero-text > *, .signal-stage { animation: hero-appear .72s cubic-bezier(.21, .71, .35, 1) both; }
.hero-text h1 { animation-delay: .08s; }
.hero-text .lead { animation-delay: .15s; }
.hero-text .actions { animation-delay: .21s; }
.signal-stage { animation-delay: .12s; }
.signal-stage .question, .signal-stage .answer, .signal-stage .example-link {
  animation: reply-appear .6s cubic-bezier(.21, .71, .35, 1) both;
}
.signal-stage .question { animation-delay: .28s; }
.signal-stage .answer { animation-delay: .47s; }
.signal-stage .example-link { animation-delay: .58s; }
.section-entering { animation: section-appear .68s cubic-bezier(.21, .71, .35, 1) both; }

@keyframes hero-appear {
  from { opacity: .14; transform: translateY(13px); }
  to { opacity: 1; transform: none; }
}
@keyframes reply-appear {
  from { opacity: .35; transform: translateX(7px); }
  to { opacity: 1; transform: none; }
}
@keyframes section-appear {
  from { opacity: .55; transform: translateY(9px); }
  to { opacity: 1; transform: none; }
}
@media (max-width: 560px) {
  .site-header { position: static; }
  .case-study, .guide-section { scroll-margin-top: 1rem; }
  .nav-links { gap: .3rem .9rem; }
  .nav-links a.nav-demo { padding: .29rem .7rem; }
  .signal-stage {
    min-height: 0;
    padding: 3.6rem .65rem .65rem;
    border-radius: .85rem;
  }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-delay: 0ms !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
}

.signal-stage-flow {
  align-content: start;
  min-height: 0;
  padding-top: clamp(2.45rem, 5vw, 4.65rem);
  background:
    radial-gradient(ellipse at 70% 8%, #984126 0%, transparent 58%),
    radial-gradient(ellipse at 2% 73%, #4f271d 0%, transparent 38%),
    #211511;
}
.signal-document {
  position: relative;
  width: min(88%, 22rem);
  min-height: 6rem;
  margin: 0 auto;
  isolation: isolate;
}
.signal-sheet {
  display: block;
  border: 1px solid #ffb38b91;
  border-radius: .45rem;
  box-shadow: 0 7px 22px #180d07aa;
}
.signal-sheet-back, .signal-sheet-mid {
  position: absolute;
  inset: .15rem 0 0;
  z-index: -1;
}
.signal-sheet-back { background: #713e2d; transform: translate(-12px, -15px) rotate(-8deg); }
.signal-sheet-mid { background: #ab5235; transform: translate(11px, -11px) rotate(6deg); }
.signal-sheet-front {
  position: relative;
  min-height: 6rem;
  padding: .8rem 1rem .7rem;
  background: #fff0e1;
  color: #482117;
  transform: rotate(-1.5deg);
  --passage-fill: #ffc2a3;
}
.dark .signal-sheet-front { background: #38241d; color: #fff0e0; --passage-fill: #743822; }
.signal-paper-title, .signal-passage { display: block; font: 500 .78rem/1.45 var(--mono); overflow-wrap: anywhere; }
.signal-paper-title { margin-bottom: .6rem; }
.signal-paper-line { display: block; width: 70%; height: 2px; margin-bottom: .38rem; background: currentColor; opacity: .25; }
.signal-passage {
  width: fit-content;
  max-width: 100%;
  padding: .14rem .26rem;
  background: linear-gradient(var(--passage-fill), var(--passage-fill)) left center / 100% 100% no-repeat;
}
.signal-route {
  position: relative;
  width: 2px;
  height: clamp(1.7rem, 4vw, 2.5rem);
  margin: 0 auto;
  background: #ff9a76b3;
}
.signal-route::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: -3px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ffb293;
  box-shadow: 0 0 13px #ff8e65;
}
.signal-citation {
  color: var(--accent);
  border: 1px solid var(--line);
  padding: .3rem .5rem;
  border-radius: .35rem;
  background: var(--paper);
  text-decoration: none;
}
.signal-citation:hover { border-color: var(--accent); text-decoration: underline; }
.motion-replay {
  justify-self: end;
  margin-top: .75rem;
  border: 0;
  background: transparent;
  cursor: pointer;
  color: #ffe0cf;
  font: 500 .78rem/1.35 var(--mono);
  text-decoration: underline;
  text-underline-offset: .25em;
}
.motion-replay[hidden] { display: none; }
.motion-replay:focus-visible { outline-color: #ffb38b; }

.followup-story {
  margin: clamp(2.7rem, 6vw, 5rem) 0 0;
  padding: clamp(1.1rem, 3vw, 2.4rem);
  border: 1px solid #765242;
  border-radius: .95rem;
  background:
    radial-gradient(ellipse at 10% 3%, #64321f 0%, transparent 58%),
    linear-gradient(125deg,#332018, #211713 73%);
}
.followup-caption { margin-bottom: 1.65rem; }
.followup-caption h3 {
  color: #fff2e8;
  font: 600 clamp(1.7rem, 3.4vw, 3.05rem)/1.08 var(--display);
  letter-spacing: -.045em;
}
.followup-caption p { color: #e6c6b5; margin-top: .55rem; font-size: .94rem; }
.followup-tour {
  --tour-gap: clamp(.85rem, 2vw, 1.65rem);
  display: grid;
  grid-template-columns: minmax(0, .87fr) minmax(0, 1fr) minmax(0, 1.18fr);
  gap: var(--tour-gap);
  padding: 1.03rem 0 0;
  margin: 0;
  list-style: none;
  border-top: 1px solid #b87150;
}
.followup-beat {
  --beat-delay: 0ms;
  position: relative;
  min-width: 0;
  padding: .85rem;
  border: 1px solid #805047;
  border-radius: .65rem;
  background: #251a16;
  color: #fff2e8;
  overflow-wrap: anywhere;
}
.followup-beat:nth-child(2) { --beat-delay: 170ms; }
.followup-beat:nth-child(3) { --beat-delay: 340ms; }
.followup-beat::before {
  content: "";
  position: absolute;
  width: 8px;
  height: 8px;
  top: -1.32rem;
  left: .85rem;
  border-radius: 50%;
  background: #ff9b72;
  box-shadow: 0 0 14px #c75938;
}
.followup-beat::after {
  content: "";
  position: absolute;
  height: 2px;
  width: calc(100% + var(--tour-gap));
  top: calc(-1.32rem + 3px);
  left: .85rem;
  background: #ffb08d;
  box-shadow: 0 0 10px #e76439;
  transform-origin: left center;
}
.followup-beat:last-child::after { width: calc(100% - .85rem); }
.followup-beat h4 {
  margin: 0 0 .75rem;
  color: #ffb193;
  font: 500 .8rem/1.45 var(--mono);
}
.followup-bubble {
  padding: .7rem .83rem;
  border-radius: .4rem;
  background: #472b22;
  color: #fff2e8;
  line-height: 1.47;
  font-size: .94rem;
}
.followup-customer { background: #683521; }
.followup-reference {
  margin-top: .7rem;
  color: #ffb193;
  font: 500 .75rem/1.4 var(--mono);
}
.followup-reference span {
  display: inline-block;
  width: .43rem;
  height: .43rem;
  margin-right: .38rem;
  background: #ff986e;
}
.followup-draft {
  margin: .55rem 0 0;
  border-left: 2px solid #ff9b72;
  background: #38251e;
}

.case-source { scroll-margin-top: 6rem; }
.case-source .case-source-document {
  margin: .75rem 0 0;
  background: var(--paper);
  border: 1px solid var(--line);
  border-left: .2rem solid var(--accent);
  padding: .9rem 1rem .95rem;
  border-radius: .35rem;
}
.case-source-document cite { display: block; margin: .1rem 0 .64rem; color: var(--ink); font-weight: 700; font-style: normal; }
.case-source-document .source-label {
  display: block;
  color: var(--accent);
  font: 500 .75rem/1.4 var(--mono);
}
.case-source-document mark {
  color: var(--ink);
  background: linear-gradient(
    transparent 14%,
    color-mix(in srgb, var(--amber) 27%, transparent) 14%,
    color-mix(in srgb, var(--amber) 27%, transparent) 90%,
    transparent 90%
  ) left center / 100% 100% no-repeat;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

.hero-flow-playing .signal-sheet-back { animation: signal-back 700ms cubic-bezier(.22,.62,.27,1) both; }
.hero-flow-playing .signal-sheet-mid { animation: signal-mid 700ms 115ms cubic-bezier(.22,.62,.27,1) both; }
.hero-flow-playing .signal-sheet-front { animation: signal-front 700ms 220ms cubic-bezier(.22,.62,.27,1) both; }
.hero-flow-playing .signal-passage { animation: motion-highlight 620ms 715ms cubic-bezier(.22,.62,.27,1) both; }
.hero-flow-playing .signal-route::after { animation: signal-travel 550ms 1130ms ease-in-out both; }
.hero-flow-playing .answer { animation-delay: 1320ms; }
.hero-flow-playing .example-link { animation-delay: 1680ms; }
.hero-flow-playing .signal-citation { animation: citation-arrival 900ms 1600ms ease-out both; }
.followup-beat-playing { animation: beat-arrival 660ms var(--beat-delay) cubic-bezier(.22,.62,.27,1) both; }
.followup-beat-playing::after { animation: trace-horizontal 560ms var(--beat-delay) cubic-bezier(.22,.62,.27,1) both; }
.followup-beat-playing .followup-draft { animation: beat-arrival 670ms 700ms cubic-bezier(.22,.62,.27,1) both; }
.case-source[open] .case-source-document { animation: beat-arrival 330ms cubic-bezier(.22,.62,.27,1) both; }
.case-source[open] mark { animation: motion-highlight 600ms 90ms cubic-bezier(.22,.62,.27,1) both; }

@keyframes signal-back {
  from { opacity: .28; transform: translate(-35px,-22px) rotate(-16deg); }
}
@keyframes signal-mid {
  from { opacity: .32; transform: translate(32px,-18px) rotate(13deg); }
}
@keyframes signal-front {
  from { opacity: .38; transform: translateY(-17px) rotate(3deg); }
}
@keyframes motion-highlight {
  from { background-size: 0% 100%; }
}
@keyframes signal-travel {
  from { top: 0; bottom: auto; opacity: .45; transform: scale(.65); }
  to { top: calc(100% - 8px); bottom: auto; opacity: 1; transform: scale(1.15); }
}
@keyframes citation-arrival {
  0%, 100% { box-shadow: none; }
  45% {
    background: var(--tint);
    border-color: var(--accent);
    box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 23%, transparent);
  }
}
@keyframes trace-horizontal {
  from { transform: scaleX(0); }
  to { transform: none; }
}
@keyframes trace-vertical {
  from { transform: scaleY(0); }
  to { transform: none; }
}
@keyframes beat-arrival {
  from { opacity: .32; transform: translateY(12px); }
  to { opacity: 1; transform: none; }
}
@media (max-width: 767px) {
  .followup-tour {
    grid-template-columns: minmax(0, 1fr);
    gap: .9rem;
    padding: 0 0 0 .85rem;
    border-top: 0;
    border-left: 1px solid #b87150;
  }
  .followup-beat:nth-child(n) { --beat-delay: 0ms; }
  .followup-beat::before { top: 1rem; left: -1.15rem; }
  .followup-beat::after {
    width: 2px;
    height: calc(100% + .9rem);
    top: 1.15rem;
    left: -.92rem;
    transform-origin: center top;
  }
  .followup-beat:last-child::after { width: 2px; height: calc(100% - 1.15rem); }
  .followup-beat-playing::after { animation-name: trace-vertical; }
}
@media (max-width: 560px) {
  .signal-stage-flow { padding: 2.05rem .65rem .66rem; }
  .signal-document { width: min(90%, 19rem); }
  .signal-sheet-front { padding: .65rem .75rem; min-height: 0; }
  .signal-document { min-height: 0; }
}
