/* vahue landing — forked from the WorkRoom stylesheet, same design system,
   louder accent. One stylesheet for all pages. No build step, no JS. */

/* notion.com/product typography: their NotionInter is a fork of Inter
   (OFL), so we self-host the real thing — four weights, variable-free */
@font-face {
  font-family: "Inter";
  src: url("fonts/Inter-Regular.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("fonts/Inter-Medium.woff2") format("woff2");
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("fonts/Inter-SemiBold.woff2") format("woff2");
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("fonts/Inter-Bold.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
}

:root {
  --ink: #17202b;
  --ink-soft: #4a5568;
  --ink-faint: #5f7185;
  /* notion.com/product look: flat white canvas, black display type, one
     electric accent for actions, a soft yellow highlight pill behind the key
     phrase, and doodle faces in colored rings. vahue swaps WorkRoom's Notion
     blue for a louder signal orange. */
  --paper: #ffffff;
  --paper-raised: #ffffff;
  --line: #e8e6e1;
  --accent: #ff4d00;
  --accent-deep: #ff4d00;
  --accent-hover: #d94200;
  --hl: #ffe08f;
  --hl-dot: #f5b301;
  --hero-bg: #131b26;
  --hero-ink: #eef2f8;
  --good: #999b85;
  --bad: #c37c54;
  --radius: 14px;
  --maxw: 1080px;
  /* motion vocabulary (design-eng skill): strong custom curves, never
     the weak built-ins; ease-out for entrances, ease-in-out for movement */
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --ease-pop: cubic-bezier(0.34, 1.56, 0.64, 1);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ---------- nav ---------- */

nav {
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}
nav .wrap {
  display: flex;
  align-items: center;
  gap: 28px;
  height: 60px;
}
nav .brand {
  font-weight: 700;
  font-size: 18px;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: -0.02em;
}
/* the "hue" in vahue, each letter in its own ring color, like the doodle faces */
nav .brand span.rm i { font-style: normal; }
nav .brand span.rm i:nth-child(1) { color: #5b9bd5; }
nav .brand span.rm i:nth-child(2) { color: #e2574c; }
nav .brand span.rm i:nth-child(3) { color: #f2a93b; }
nav .links { display: flex; gap: 20px; margin-left: auto; flex-wrap: wrap; }
nav .links a {
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
}
nav .links a:hover { color: var(--accent-deep); }
nav .links a.cta {
  color: #fff;
  background: var(--accent);
  padding: 8px 16px;
  border-radius: 8px;
  font-weight: 600;
}
nav .links a.cta:hover { background: var(--accent-hover); }

/* ---------- hero ----------
   LaunchDarkly structure, daylight execution: same huge centered statement
   and engineering grid, but on Cloud Dancer paper with the brand blue as
   the single electric accent. */
.hero {
  background: var(--paper);
  color: var(--ink);
  text-align: center;
  padding: 104px 0 96px;
}
.hero.versus { padding: 56px 0 52px; }
.hero .kicker {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 13px;
  color: var(--ink-faint);
  margin: 0 0 18px;
  font-weight: 700;
}
.hero h1 {
  /* notion.com/product hero, toned down one notch: SemiBold, their clamp
     formula with the cap lowered from 6rem so headings don't dwarf body */
  font-weight: 600;
  font-size: clamp(2.5rem, calc(9vw - 20px), 5.25rem);
  line-height: clamp(2.9rem, calc(9.4vw - 15px), 5.5rem);
  letter-spacing: clamp(-0.25rem, calc(-0.6458vw + 2.375px), -0.09375rem);
  text-wrap: balance;
  margin: 0 0 20px;
}
.hero.versus h1 { font-size: clamp(30px, 4vw, 40px); letter-spacing: -0.03em; line-height: 1.1; }
.hero p.lede {
  font-size: 20px;
  font-weight: 400;
  letter-spacing: -0.01em;
  color: var(--ink-soft);
  max-width: 62ch;
  margin: 0 auto 32px;
  text-wrap: pretty;
}
.hero .actions { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; }
.hero .btn-note { margin: 16px 0 0; color: var(--ink-faint); font-size: 13.5px; }
.hero .btn.primary {
  box-shadow: 0 8px 28px rgba(255, 77, 0, 0.38);
}
.btn {
  display: inline-block;
  padding: 13px 28px;
  border-radius: 10px;
  font-weight: 500;
  font-size: 16px;
  text-decoration: none;
  transition: transform 160ms var(--ease-out), box-shadow 160ms var(--ease-out),
    background-color 160ms ease, border-color 160ms ease, color 160ms ease;
}
.btn.primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 6px 18px rgba(255, 77, 0, 0.30);
}
.btn.primary:hover { background: var(--accent-hover); }
/* lift is motion — gate it to precise pointers like every other transform hover */
@media (hover: hover) and (pointer: fine) {
  .btn.primary:hover { transform: translateY(-1px); }
}
.btn.ghost {
  color: var(--ink);
  background: #f1f1ef;
  border: 1px solid transparent;
}
.btn.ghost:hover { background: #e8e6e1; }
/* press feedback: the interface confirms it heard you */
.btn:active, .chip:active { transform: scale(0.97); }

/* ---------- sections ---------- */

section { padding: 64px 0; }
section + section { border-top: 1px solid var(--line); }
section h2 {
  font-size: clamp(28px, 3.2vw, 40px);
  font-weight: 600;
  letter-spacing: -0.03em;
  text-wrap: balance;
  margin: 0 0 12px;
}
/* the pill makes this heading wider than the rest — shrink it onto one
   line (small screens may wrap as usual) */
h2.oneliner { font-size: clamp(24px, 3vw, 38px); white-space: nowrap; text-wrap: unset; }
@media (max-width: 860px) { h2.oneliner { white-space: normal; } }
section .sub {
  color: var(--ink-soft);
  font-size: 18px;
  max-width: 68ch;
  margin: 0 0 28px;
}

.grid { display: grid; gap: 16px; }
.grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 860px) {
  .grid.cols-3, .grid.cols-2 { grid-template-columns: 1fr; }
  nav .wrap { height: auto; padding: 10px 24px; flex-wrap: wrap; gap: 14px; }
  nav .links { margin-left: 0; }
}

.card {
  background: var(--paper-raised);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: 0 1px 3px rgba(19, 27, 38, 0.05);
  transition: transform 200ms var(--ease-out), box-shadow 200ms var(--ease-out);
}
/* hover motion gated to precise pointers — touch fires hover on tap */
@media (hover: hover) and (pointer: fine) {
  .card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(19, 27, 38, 0.08);
  }
}
.card h3 { margin: 0 0 8px; font-size: 18px; font-weight: 600; letter-spacing: -0.01em; }
.card p { margin: 0; color: var(--ink-soft); font-size: 16px; }
.card a.card-link {
  display: inline-block;
  margin-top: 14px;
  color: var(--accent-deep);
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
}
.card a.card-link:hover { text-decoration: underline; }

.pain b { color: var(--bad); font-weight: 600; }

/* numbered steps */
.steps { counter-reset: step; display: grid; gap: 12px; }
.step {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 18px;
  align-items: start;
  background: var(--paper-raised);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 20px;
}
.step::before {
  counter-increment: step;
  content: counter(step);
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--hero-bg);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700;
}
.step h3 { margin: 2px 0 4px; font-size: 16px; grid-column: 2; }
.step p { margin: 0; color: var(--ink-soft); font-size: 16px; grid-column: 2; }

/* ---------- tables ---------- */

table.compare {
  width: 100%;
  border-collapse: collapse;
  background: var(--paper-raised);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  font-size: 15.5px;
}
table.compare th, table.compare td {
  text-align: left;
  padding: 13px 16px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
table.compare thead th {
  background: var(--hero-bg);
  color: var(--hero-ink);
  font-size: 14px;
  letter-spacing: 0.02em;
}
table.compare tbody tr:last-child td { border-bottom: none; }
table.compare td.axis { font-weight: 600; color: var(--ink); white-space: nowrap; }
table.compare td.wr { background: rgba(255, 77, 0, 0.05); }

/* two-column verdict */
.verdict { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 860px) { .verdict { grid-template-columns: 1fr; } }
.verdict .choose {
  border-radius: var(--radius);
  padding: 24px 26px;
  border: 1px solid var(--line);
  background: var(--paper-raised);
}
.verdict .choose.wr { border-color: var(--accent); background: rgba(255, 77, 0, 0.04); }
.verdict .choose h3 { margin: 0 0 10px; font-size: 17px; }
.verdict ul { margin: 0; padding-left: 20px; color: var(--ink-soft); font-size: 16px; }
.verdict li { margin-bottom: 6px; }

/* honesty note */
.note {
  border-left: 3px solid var(--accent);
  background: rgba(255, 77, 0, 0.05);
  padding: 16px 20px;
  border-radius: 0 8px 8px 0;
  color: var(--ink-soft);
  font-size: 16px;
}

/* know / don't-know lists */
.truth li { margin-bottom: 8px; color: var(--ink-soft); font-size: 16px; }
.truth li b { color: var(--ink); }

/* ---------- YC landing extras ---------- */

/* product mock: a channel window, pure HTML/CSS */
.mock {
  background: var(--paper-raised);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  font-size: 14px;
  box-shadow: 0 12px 32px rgba(19, 27, 38, 0.10);
}
.mock-head {
  background: var(--hero-bg);
  color: var(--hero-ink);
  padding: 10px 16px;
  font-weight: 600;
  display: flex;
  gap: 10px;
  align-items: center;
}
.mock-head .dot { width: 9px; height: 9px; border-radius: 50%; background: #3b4a5f; }
.mock-body { padding: 14px 18px; display: grid; gap: 12px; }
.mock-msg { display: grid; grid-template-columns: 32px 1fr; gap: 10px; }
.mock-avatar {
  width: 32px; height: 32px; border-radius: 6px;
  background: rgba(255, 77, 0, 0.20); color: var(--accent-deep);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 13px;
}
.mock-avatar.agent { background: rgba(245, 179, 1, 0.18); color: var(--accent-deep); }
.mock-name { font-weight: 600; }
.mock-name .badge {
  font-size: 11px; font-weight: 600; color: var(--ink);
  background: rgba(245, 179, 1, 0.14);
  border: 1px solid rgba(245, 179, 1, 0.55); border-radius: 4px; padding: 0 5px; margin-left: 6px;
}
.mock-name .time { color: var(--ink-faint); font-weight: 400; font-size: 12px; margin-left: 8px; }
.mock-text { color: var(--ink-soft); margin-top: 1px; }
.mock-run {
  margin-left: 42px;
  border-left: 2px solid var(--line);
  padding: 4px 0 4px 14px;
  color: var(--ink-faint);
  font-size: 13px;
  display: grid;
  gap: 3px;
}
.mock-mem {
  margin-left: 42px;
  background: rgba(153, 155, 133, 0.12);
  border: 1px solid rgba(153, 155, 133, 0.40);
  border-radius: 6px;
  padding: 8px 12px;
  color: var(--accent-deep);
  font-size: 13px;
}

/* terminal block */
.term {
  background: var(--hero-bg);
  color: #c8d6ea;
  border-radius: var(--radius);
  padding: 18px 22px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 13.5px;
  line-height: 1.7;
  overflow-x: auto;
}
.term .p { color: #7ee2a8; }
.term .c { color: #6b7d94; }

/* faq */
.faq { display: grid; gap: 14px; }
.faq details {
  background: var(--paper-raised);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 22px;
}
.faq summary {
  font-weight: 600;
  cursor: pointer;
  font-size: 15.5px;
  list-style: none;
}
.faq summary::before { content: "+ "; color: var(--accent-deep); font-weight: 700; }
.faq details[open] summary::before { content: "– "; }
.faq details p { color: var(--ink-soft); font-size: 16px; margin: 10px 0 0; }
.faq details a { color: var(--accent-deep); }

/* ---------- pricing ---------- */

.footnote { color: var(--ink-faint); font-size: 13.5px; margin: 16px 0 0; }

/* domain chips */
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.chips.flush { margin-top: 0; }
.chip {
  padding: 7px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper-raised);
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: transform 160ms var(--ease-out), border-color 160ms ease, color 160ms ease;
}
a.chip:hover { border-color: var(--accent-deep); color: var(--accent-deep); }

/* proof band directly under the hero: the agents WorkRoom works with,
   in place of the customer-logo strip we don't have */
.proof { padding: 36px 0 32px; text-align: center; }
.proof-label {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 12.5px;
  color: var(--ink-faint);
  font-weight: 700;
  margin: 0 0 12px;
}
.proof-names {
  margin: 0;
  font-size: 21px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ink-soft);
}
.proof-note { margin: 8px 0 0; color: var(--ink-faint); font-size: 14px; }

/* slim band under the proof strip */
.slim { padding: 32px 0; }

/* scenario cards: a mini product mock does the talking, not a paragraph */
.scenario .mock { font-size: 13px; margin: 14px 0 2px; box-shadow: none; }
.scenario .mock-head { padding: 8px 14px; font-size: 13px; }
.scenario .mock-body { padding: 10px 14px; gap: 10px; }
.scenario .card-link { margin-top: 10px; }

/* "How it works": steps beside the terminal, aligned to the top */
.how { align-items: start; }

/* room memory list (role pages) */
.memlist {
  background: var(--paper-raised);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.memlist-head {
  background: var(--hero-bg);
  color: var(--hero-ink);
  padding: 10px 18px;
  font-weight: 600;
  font-size: 14px;
}
.memlist ul { list-style: none; margin: 0; padding: 16px 22px; }
.memlist li {
  padding: 9px 0;
  border-bottom: 1px solid var(--line);
  font-size: 16px;
  color: var(--ink);
}
.memlist li:last-child { border-bottom: none; }
.memlist li::before { content: "◦ "; color: var(--accent); font-weight: 700; }
.memlist li.human::before { content: "• "; color: var(--good); }
.memlist li span { display: block; color: var(--ink-faint); font-size: 14px; margin-top: 1px; }

.pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
@media (max-width: 860px) { .pricing { grid-template-columns: 1fr; } }
.price-card {
  background: var(--paper-raised);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  display: flex;
  flex-direction: column;
}
.price-card.featured { border-color: var(--accent); box-shadow: 0 8px 24px rgba(255, 77, 0, 0.10); }
.price-card .tier { font-size: 13px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--ink-faint); font-weight: 700; }
.price-card .amount { font-size: 36px; font-weight: 700; letter-spacing: -0.02em; margin: 10px 0 2px; }
.price-card .amount span { font-size: 15px; font-weight: 500; color: var(--ink-faint); }
.price-card .tagline { color: var(--ink-soft); font-size: 15.5px; margin: 0 0 18px; }
.price-card ul { list-style: none; margin: 0 0 22px; padding: 0; font-size: 15.5px; color: var(--ink-soft); }
.price-card li { padding: 5px 0 5px 24px; position: relative; }
.price-card li::before { content: "✓"; position: absolute; left: 0; color: var(--good); font-weight: 700; }
.price-card .btn { margin-top: auto; text-align: center; }
.price-card .btn.ghost { color: var(--ink); border-color: var(--line); }
.price-card .btn.ghost:hover { border-color: var(--accent-deep); color: var(--accent-deep); }

/* doodle faces: inline SVG from the page's sprite, sized by context */
.face { width: 32px; height: 32px; display: block; }

/* hero face parade: the room's seats, person and agent alternating,
   each slightly rotated so the row feels hand-placed, not gridded */
.parade { display: flex; align-items: center; justify-content: center; gap: 12px; margin-top: 38px; flex-wrap: wrap; }
.pface {
  width: 46px; height: 46px; border-radius: 50%;
  background: #fff;
  border: 2px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  transform: rotate(var(--r, 0deg));
  box-shadow: 0 3px 10px rgba(19, 27, 38, 0.10);
}
/* Notion's face row: every doodle in its own colored ring */
.pface:nth-child(6n+1) { border-color: #5b9bd5; }
.pface:nth-child(6n+2) { border-color: #e2574c; }
.pface:nth-child(6n+3) { border-color: #f2c14e; }
.pface:nth-child(6n+4) { border-color: #3e7cb1; }
.pface:nth-child(6n+5) { border-color: #efa28b; }
.pface:nth-child(6n+6) { border-color: #59b8a2; }
.pface .face { width: 34px; height: 34px; }
.parade-note { color: var(--ink-faint); font-size: 14px; margin-left: 6px; }

/* Notion's signature move: the key phrase sits on a soft yellow pill
   with a solid dot, not in colored text */
.hl {
  display: inline-flex;
  align-items: center;
  gap: 0.18em;
  background: var(--hl);
  border-radius: 999px;
  padding: 0.02em 0.28em 0.02em 0.14em;
}
.hl em { font-style: normal; color: var(--ink); }
.hl-dot {
  width: 0.32em; height: 0.32em;
  border-radius: 50%;
  background: var(--hl-dot);
  flex: none;
}

/* ---------- footer ---------- */

footer {
  border-top: 1px solid var(--line);
  padding: 32px 0 44px;
  color: var(--ink-faint);
  font-size: 14px;
}
footer .wrap { display: flex; gap: 24px; flex-wrap: wrap; align-items: center; }
footer a { color: var(--ink-soft); text-decoration: none; }
footer a:hover { color: var(--accent-deep); }
footer .spacer { margin-left: auto; }

/* ---------- motion ----------
   Marketing page, read once: the delight budget lives in the hero entrance,
   everything functional stays instant. Rules: transform/opacity only,
   custom curves, stagger 30-80ms, hover gated to precise pointers, reduced
   motion means gentler — not zero. No JS: scroll reveals use view()
   timelines behind @supports, so unsupported browsers simply render
   content — nothing is ever hidden waiting for an animation. */

@keyframes rise {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes pop {
  from { opacity: 0; transform: scale(0.85) rotate(var(--r, 0deg)); }
  to { opacity: 1; transform: scale(1) rotate(var(--r, 0deg)); }
}
@keyframes slidein {
  from { opacity: 0; transform: translateX(-8px); }
  to { opacity: 1; transform: translateX(0); }
}
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-3px); }
}

/* hero entrance: one cascade, then the page is still */
.hero .kicker, .hero h1, .hero .lede, .hero .actions, .hero .btn-note {
  animation: rise 560ms var(--ease-out) backwards;
}
.hero h1 { animation-delay: 70ms; }
.hero .lede { animation-delay: 140ms; }
.hero .actions { animation-delay: 210ms; }
.hero .btn-note { animation-delay: 280ms; }

/* faces pop in one by one with a hint of overshoot, then bob gently —
   the room is alive. The bob sits on the inner svg so hover on the
   circle can still interrupt cleanly. */
.parade .pface { animation: pop 480ms var(--ease-pop) backwards; }
.parade .pface:nth-child(1) { animation-delay: 330ms; }
.parade .pface:nth-child(2) { animation-delay: 375ms; }
.parade .pface:nth-child(3) { animation-delay: 420ms; }
.parade .pface:nth-child(4) { animation-delay: 465ms; }
.parade .pface:nth-child(5) { animation-delay: 510ms; }
.parade .pface:nth-child(6) { animation-delay: 555ms; }
.parade .pface:nth-child(7) { animation-delay: 600ms; }
.parade .pface .face { animation: bob 7s ease-in-out infinite; }
.parade .pface:nth-child(odd) .face { animation-delay: 1.4s; }
.parade .pface:nth-child(even) .face { animation-delay: 2.1s; }
.parade-note { animation: rise 560ms var(--ease-out) 660ms backwards; }
@media (hover: hover) and (pointer: fine) {
  .pface { transition: transform 200ms var(--ease-out); }
  .pface:hover { transform: translateY(-4px) rotate(0deg); }
}

/* scroll reveals: sections rise as they enter, grid children stagger */
@supports (animation-timeline: view()) {
  section .wrap > *:not(.grid) {
    animation: rise 620ms var(--ease-out) backwards;
    animation-timeline: view();
    animation-range: entry 0% entry 35%;
  }
  .grid > * {
    animation: rise 560ms var(--ease-out) backwards;
    animation-timeline: view();
    animation-range: entry 0% entry 30%;
  }
  .grid > *:nth-child(2) { animation-delay: 60ms; }
  .grid > *:nth-child(3) { animation-delay: 120ms; }
  .grid > *:nth-child(4) { animation-delay: 180ms; }
  .grid > *:nth-child(5) { animation-delay: 240ms; }
  .grid > *:nth-child(6) { animation-delay: 300ms; }

  /* the agent's work streams in line by line — explanation, not garnish */
  #product .mock-run span {
    animation: slidein 420ms var(--ease-out) backwards;
    animation-timeline: view();
    animation-range: entry 0% entry 40%;
  }
  #product .mock-run span:nth-child(2) { animation-delay: 140ms; }
  #product .mock-run span:nth-child(3) { animation-delay: 280ms; }

  /* memory entries cascade the way they would land in the channel */
  .memlist li {
    animation: slidein 420ms var(--ease-out) backwards;
    animation-timeline: view();
    animation-range: entry 0% entry 40%;
  }
  .memlist li:nth-child(2) { animation-delay: 90ms; }
  .memlist li:nth-child(3) { animation-delay: 180ms; }
  .memlist li:nth-child(4) { animation-delay: 270ms; }
  .memlist li:nth-child(5) { animation-delay: 360ms; }
}

/* FAQ answers fade open instead of teleporting */
.faq details[open] p { animation: rise 240ms var(--ease-out); }

/* smooth accordion height where the platform allows it — interruptible,
   unlike keyframes that restart on every toggle */
@supports selector(::details-content) {
  :root { interpolate-size: allow-keywords; }
  .faq details::details-content {
    block-size: 0;
    overflow: clip;
    transition: block-size 260ms var(--ease-out),
      content-visibility 260ms allow-discrete;
  }
  .faq details[open]::details-content { block-size: auto; }
}

/* smooth anchor scrolling for those who want motion at all */
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

/* reduced motion: movement and looping go away, a plain fade stays */
@media (prefers-reduced-motion: reduce) {
  .parade .pface .face { animation: none; }
  .hero .kicker, .hero h1, .hero .lede, .hero .actions, .hero .btn-note,
  .parade .pface, .parade-note, .faq details[open] p {
    animation: fade 240ms ease backwards;
  }
  /* transitions move too — press and hover motion goes, not just keyframes */
  .btn:active, .chip:active, .card:hover, .btn.primary:hover { transform: none; }
  .pface:hover { transform: rotate(var(--r, 0deg)); }
  .faq details::details-content { transition: none; }
  @supports (animation-timeline: view()) {
    section .wrap > *:not(.grid), .grid > *,
    #product .mock-run span, .memlist li {
      animation-name: fade;
      animation-delay: 0ms;
    }
  }
}
