/* Inducea marketing site — coral brand + four capability accents, light only.
   Contrast ratios for every text/background pair are listed in README.md. */

:root {
  /* ---- Palette: change colours here only. Names are roles, not hues. ---- */
  /* Text */
  --ink: #10243e;                 /* body text, headings, dark outlines (deep navy) */
  --ink-muted: #4a5d78;           /* secondary text */
  --link: #b83210;                /* links on light surfaces */
  --error: #b42318;
  --success: #0b7a5a;

  /* Brand: vivid coral for fills/shapes/dots/logo; deeper tones wherever white text sits on it */
  --brand: #ff5a36;
  --action: #d63c17;              /* primary button fill (white text) */
  --action-hover: #b83210;
  --on-action: #ffffff;

  /* Surfaces (light) */
  --surface: #ffffff;
  --surface-faint: #fffaf5;       /* warm neutral */
  --surface-soft: #f1f8ff;        /* soft tinted bands (pale sky) */
  --surface-tint: #fff1e6;        /* hero + main tinted bands (cream/peach) */
  --border-subtle: #f0d9c8;       /* decorative dividers only */
  --border-control: #6f7a8c;      /* input borders, >= 3:1 on every light surface */

  /* Surfaces (dark) */
  --dark: #0c1d33;                /* dark bands + footer */
  --dark-raise: #16304f;          /* panels on dark */
  --dark-line: #2c4a70;           /* decorative lines on dark */
  --on-dark: #f5f9ff;
  --on-dark-muted: #a9bbd3;
  --on-dark-accent: #7df0c4;      /* links, labels, dots on dark (mint) */

  /* "Early alpha" pill: ink text on teal soft */
  --pill-bg: #d9f7ea;
  --pill-border: #12b886;
  --pill-dot: #12b886;

  /* Small highlights (inserted text in product panels, "in progress" chips) */
  --highlight-soft: #fff1c9;

  /* Accent family: fill = bright (ink text on it), soft = card/panel background,
     strong = icons/borders/large numbers needing 3:1 on white */
  --accent-coral: #ff5a36; --accent-coral-soft: #ffe2d1; --accent-coral-strong: #d63c17; --accent-coral-on: #10243e;
  --accent-amber: #ffb224; --accent-amber-soft: #fff1c9; --accent-amber-strong: #a86a00; --accent-amber-on: #10243e;
  --accent-sky:   #2f9bff; --accent-sky-soft:   #dcefff; --accent-sky-strong:   #1c6ad1; --accent-sky-on:   #10243e;
  --accent-teal:  #12b886; --accent-teal-soft:  #d9f7ea; --accent-teal-strong:  #0b7a5a; --accent-teal-on:  #10243e;

  /* Focus */
  --focus: #b83210;
  --focus-on-dark: #ffd666;

  --shadow-rgb: 16, 36, 62;

  --font-display: "Spline Sans", "Atkinson Hyperlegible", system-ui, sans-serif;
  --font-body: "Atkinson Hyperlegible", "Spline Sans", system-ui, sans-serif;
  --r-control: 6px;
  --r-panel: 12px;
  --r-sheet: 16px;
  --max: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --band-y: clamp(64px, 10vw, 128px);
  --header-h: 68px;
  color-scheme: light;
}

/* Accent scopes: set on any element; everything inside that uses --acc* picks it up.
   Capabilities: research = sky, voice = amber, sequences = coral, editor = teal. */
.acc-coral, .acc-sequences { --acc: var(--accent-coral); --acc-soft: var(--accent-coral-soft); --acc-strong: var(--accent-coral-strong); --acc-on: var(--accent-coral-on); --acc-rgb: 255, 90, 54; }
.acc-amber, .acc-voice     { --acc: var(--accent-amber); --acc-soft: var(--accent-amber-soft); --acc-strong: var(--accent-amber-strong); --acc-on: var(--accent-amber-on); --acc-rgb: 255, 178, 36; }
.acc-sky, .acc-research    { --acc: var(--accent-sky);   --acc-soft: var(--accent-sky-soft);   --acc-strong: var(--accent-sky-strong);   --acc-on: var(--accent-sky-on);   --acc-rgb: 47, 155, 255; }
.acc-teal, .acc-editor     { --acc: var(--accent-teal);  --acc-soft: var(--accent-teal-soft);  --acc-strong: var(--accent-teal-strong);  --acc-on: var(--accent-teal-on);  --acc-rgb: 18, 184, 134; }

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 16px);
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  background: var(--surface);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  overflow-wrap: break-word;
}

img, svg { display: block; max-width: 100%; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; color: inherit; margin: 0; }
p, ul, ol, dl, dd, figure { margin: 0; }
ul[class], ol[class] { list-style: none; padding: 0; }
strong { font-weight: 700; }

a { color: var(--link); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
  border-radius: 4px;
}
main:focus { outline: none; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip {
  position: absolute;
  left: 16px; top: -100px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--ink);
  color: var(--on-dark);
  border-radius: var(--r-control);
  font-weight: 700;
}
.skip:focus { top: 12px; }

.wrap {
  width: 100%;
  max-width: calc(var(--max) + 2 * var(--gutter));
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 10px 20px;
  border: 1.5px solid transparent;
  border-radius: var(--r-control);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 160ms ease, color 160ms ease, border-color 160ms ease;
}
.btn-primary { background: var(--action); color: var(--on-action); }
.btn-primary:hover { background: var(--action-hover); }
.btn-primary:disabled { cursor: progress; background: var(--action-hover); }
.btn-secondary { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-secondary:hover { background: var(--ink); color: var(--on-dark); }
.btn-block { width: 100%; }
.button-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

/* ---------- Pills, eyebrows ---------- */
.soon-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px 5px 10px;
  border: 1px solid var(--pill-border);
  border-radius: 999px;
  background: var(--pill-bg);
  color: var(--ink);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}
.soon-pill .dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--pill-dot);
}
.soon-pill--dark { padding: 2px 10px; font-size: 0.8125rem; margin-right: 6px; }

.eyebrow {
  margin-bottom: 14px;
  color: var(--ink-muted);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.eyebrow--dark { color: var(--on-dark-accent); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--border-subtle);
}
@supports (backdrop-filter: blur(8px)) {
  .site-header { background: rgba(255, 255, 255, 0.88); backdrop-filter: blur(10px); }
}
.header-row {
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: var(--header-h);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
  text-decoration: none;
  flex-shrink: 0;
}
.brand--dark { color: var(--on-dark); }
.brand--dark img { border-radius: 7px; box-shadow: 0 0 0 1px var(--dark-line); }

.site-nav { flex: 1; }
.nav-list { display: flex; align-items: center; gap: 4px; }
.nav-item { position: relative; display: flex; align-items: center; }
.nav-link {
  display: inline-block;
  padding: 10px 12px;
  border-radius: var(--r-control);
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.98rem;
  text-decoration: none;
  transition: background-color 160ms ease;
}
.nav-link:hover { background: var(--surface-soft); }
.nav-link[aria-current="page"] { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 0.4em; text-decoration-color: var(--brand); }
.has-menu .nav-link { padding-right: 4px; }
.nav-disclosure {
  display: inline-grid;
  place-items: center;
  width: 32px; height: 36px;
  margin-left: -2px;
  padding: 0;
  border: 0;
  border-radius: var(--r-control);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
}
.nav-disclosure:hover { background: var(--surface-soft); }
.nav-disclosure svg { transition: transform 160ms ease; }
.nav-disclosure[aria-expanded="true"] svg { transform: rotate(180deg); }
html:not(.js) .nav-disclosure { display: none; }

.nav-menu { display: none; }
.nav-item.is-open .nav-menu { display: block; }
.nav-menu-list a {
  display: grid;
  gap: 2px;
  padding: 12px 14px;
  border-radius: 8px;
  color: var(--ink);
  text-decoration: none;
}
.nav-menu-list a:hover { background: var(--acc-soft, var(--surface-soft)); }
.nm-title { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-display); font-weight: 600; }
.nm-title::before { content: ""; width: 10px; height: 10px; border-radius: 3px; background: var(--acc, var(--brand)); }
.nm-desc { padding-left: 18px; }
.nm-desc { color: var(--ink-muted); font-size: 0.9rem; line-height: 1.4; }

.btn-header { min-height: 42px; padding: 8px 16px; flex-shrink: 0; }
.menu-toggle { display: none; }

@media (min-width: 961px) {
  .nav-menu {
    position: absolute;
    top: calc(100% + 10px);
    left: -12px;
    width: 380px;
    padding: 10px;
    background: var(--surface);
    border: 1px solid var(--border-subtle);
    border-radius: var(--r-panel);
    box-shadow: 0 18px 40px -18px rgba(var(--shadow-rgb), 0.35);
  }
  .nav-menu::before { /* hover bridge so the menu doesn't close in the gap */
    content: "";
    position: absolute;
    top: -12px; left: 0; right: 0; height: 12px;
  }
}

@media (max-width: 960px) {
  .js .menu-toggle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 42px;
    padding: 8px 12px;
    border: 1.5px solid var(--ink);
    border-radius: var(--r-control);
    background: transparent;
    color: var(--ink);
    font: 600 0.95rem var(--font-display);
    cursor: pointer;
  }
  .menu-toggle-bars,
  .menu-toggle-bars::before,
  .menu-toggle-bars::after {
    display: block;
    width: 16px; height: 2px;
    background: currentColor;
    border-radius: 2px;
    transition: transform 160ms ease, opacity 160ms ease;
  }
  .menu-toggle-bars { position: relative; }
  .menu-toggle-bars::before, .menu-toggle-bars::after { content: ""; position: absolute; left: 0; }
  .menu-toggle-bars::before { top: -5px; }
  .menu-toggle-bars::after { top: 5px; }
  .menu-toggle[aria-expanded="true"] .menu-toggle-bars { background: transparent; }
  .menu-toggle[aria-expanded="true"] .menu-toggle-bars::before { transform: translateY(5px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] .menu-toggle-bars::after { transform: translateY(-5px) rotate(-45deg); }

  .header-row { flex-wrap: wrap; gap: 12px; }
  .btn-header { order: 2; margin-left: auto; }
  .js .menu-toggle { order: 3; }
  .site-nav { order: 4; flex-basis: 100%; }
  .js .site-nav { display: none; }
  .js .site-header.nav-open .site-nav {
    display: block;
    max-height: calc(100vh - var(--header-h));
    max-height: calc(100dvh - var(--header-h));
    overflow-y: auto;
    padding: 4px 0 20px;
  }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-item { flex-wrap: wrap; border-top: 1px solid var(--border-subtle); }
  .nav-link { flex: 1; padding: 14px 4px; font-size: 1.05rem; }
  .nav-disclosure { width: 48px; height: 48px; }
  .nav-menu { flex-basis: 100%; padding: 0 0 10px; }
  .nav-menu-list a { padding: 10px 12px; }
  html:not(.js) .site-nav { padding-bottom: 12px; }
}
@media (max-width: 520px) {
  .cta-rest { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .btn-header { padding: 8px 14px; }
  .brand { font-size: 1.125rem; }
}

/* ---------- Bands ---------- */
.band { padding: var(--band-y) 0; }
.band--peach { background: var(--surface-tint); }
.band--soft { background: var(--surface-soft); }
.band--faint { background: var(--surface-faint); }
.band--acc { background: var(--acc-soft, var(--surface-soft)); }
.band--white { background: var(--surface); }
.band--dark { background: var(--dark); color: var(--on-dark); }
.band--dark .section-lede { color: var(--on-dark-muted); }
.band--dark a { color: var(--on-dark-accent); }
.band--dark :focus-visible { outline-color: var(--focus-on-dark); }

.section-head { max-width: 760px; margin-bottom: clamp(40px, 6vw, 64px); }
.section-head--wide { max-width: 900px; }
.section-title {
  font-size: clamp(1.9rem, 4vw, 3rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  text-wrap: balance;
}
.section-lede {
  margin-top: 20px;
  color: var(--ink-muted);
  font-size: clamp(1.0625rem, 1.6vw, 1.25rem);
  line-height: 1.55;
  max-width: 66ch;
}

/* ---------- Hero ---------- */
.hero {
  --hero-cut: clamp(120px, 16vw, 220px);
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-top: clamp(56px, 9vw, 112px);
  background: linear-gradient(to bottom, var(--surface-tint) 0, var(--surface-tint) calc(100% - var(--hero-cut)), var(--surface) calc(100% - var(--hero-cut)));
}
/* Soft colour shapes behind the hero text (decorative, low contrast). */
.hero-backdrop {
  position: absolute;
  inset: 0 0 var(--hero-cut) 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}
.page-hero .hero-backdrop { bottom: 0; }
.blob {
  position: absolute;
  width: 46vmax; height: 46vmax;
  max-width: 720px; max-height: 720px;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.55;
}
.blob--a { left: -14%; top: -30%; background: var(--accent-coral-soft); }
.blob--b { right: -16%; top: -24%; background: var(--accent-sky-soft); }
.blob--c { left: 30%; top: 40%; width: 36vmax; height: 36vmax; background: var(--accent-amber-soft); opacity: 0.7; }
.blob--d { right: 10%; top: 55%; width: 22vmax; height: 22vmax; background: var(--accent-coral-soft); opacity: 0.6; }
.hero-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.hero-title, .page-title {
  margin-top: 28px;
  font-size: clamp(2.6rem, 7vw, 5.25rem);
  line-height: 1.02;
  letter-spacing: -0.035em;
  font-weight: 600;
  text-wrap: balance;
}
.hero-title { max-width: 15.5ch; }
.hero-lede {
  margin-top: 24px;
  max-width: 40rem;
  color: var(--ink-muted);
  font-size: clamp(1.125rem, 2vw, 1.375rem);
  line-height: 1.5;
}
.band--dark .hero-lede { color: var(--on-dark-muted); }
.hero-capture { width: 100%; max-width: 560px; margin-top: 36px; }
.hero-figure { margin-top: clamp(56px, 8vw, 88px); }

/* ---------- Page heroes (inner pages) ---------- */
.page-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(56px, 9vw, 112px) 0 clamp(56px, 8vw, 96px);
  background: var(--surface-tint);
}
.page-hero-inner { display: flex; flex-direction: column; align-items: center; text-align: center; }
.page-title { max-width: 18ch; font-size: clamp(2.4rem, 6vw, 4.5rem); }
.page-hero--404 .page-title { margin-top: 0; }
.page-hero--404 .button-row { justify-content: center; }

.jump {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 40px;
}
.jump a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  border: 1px solid var(--border-control);
  border-radius: 999px;
  background: var(--surface);
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 500;
  text-decoration: none;
  transition: border-color 160ms ease, background-color 160ms ease;
}
.jump a:hover { border-color: var(--ink); background: var(--surface-faint); }
.jump-n {
  display: inline-grid; place-items: center;
  min-width: 26px; height: 22px; padding: 0 6px;
  border-radius: 999px;
  background: var(--acc, var(--surface-tint));
  color: var(--acc-on, var(--ink));
  font-size: 0.75rem; font-weight: 700;
}

/* ---------- Waitlist forms ---------- */
.capture {
  display: flex;
  align-items: stretch;
  padding: 6px;
  background: var(--surface);
  border: 1.5px solid var(--border-control);
  border-radius: 12px;
  box-shadow: 0 10px 30px -16px rgba(var(--shadow-rgb), 0.4);
  transition: border-color 160ms ease;
}
.capture:focus-within { border-color: var(--ink); }
.capture-input {
  flex: 1;
  min-width: 0;
  padding: 10px 14px;
  border: 0;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 1.0625rem;
}
.capture-input::placeholder { color: var(--ink-muted); opacity: 1; }
.capture-input:focus-visible { outline: none; }
.capture:has(.capture-input:focus-visible) { outline: 3px solid var(--focus); outline-offset: 3px; }
.capture-input[aria-invalid="true"] { color: var(--error); }
.capture:has([aria-invalid="true"]) { border-color: var(--error); }
.capture-button { flex-shrink: 0; }
@media (max-width: 480px) {
  .capture { flex-direction: column; gap: 6px; }
  .capture-input { padding: 12px; }
}

.waitlist--hero .form-status, .waitlist--hero .fineprint { text-align: center; }

.waitlist--full { display: flex; flex-direction: column; }
.field { display: grid; gap: 6px; }
.field label { font-weight: 700; font-size: 0.98rem; }
.req, .opt { color: var(--ink-muted); font-weight: 400; }
.field input {
  width: 100%;
  min-height: 48px;
  padding: 10px 14px;
  border: 1.5px solid var(--border-control);
  border-radius: var(--r-control);
  background: var(--surface);
  color: var(--ink);
  font: inherit;
  transition: border-color 160ms ease;
}
.field input:hover { border-color: var(--ink); }
.field input:focus-visible { outline-offset: 1px; border-color: var(--ink); }
.field input[aria-invalid="true"] { border-color: var(--error); }

.form-status { min-height: 1.5em; margin-top: 10px; font-weight: 700; font-size: 0.98rem; }
.form-status:empty { min-height: 0; margin: 0; }
.form-status.is-success { color: var(--success); }
.form-status.is-error { color: var(--error); }
.fineprint { margin-top: 12px; color: var(--ink-muted); font-size: 0.9rem; }
/* Full form: an even 18px rhythm; the empty status line takes no space at all. */
.waitlist--full > * + * { margin-top: 18px; }
.waitlist--full > .form-status:empty { margin-top: 0; }

.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.panel-surface {
  padding: clamp(24px, 4vw, 36px);
  background: var(--surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--r-sheet);
}
.form-title { font-size: 1.375rem; letter-spacing: -0.02em; margin-bottom: 20px; }

/* ---------- Product panels (CSS-built, decorative) ---------- */
.illus { position: relative; }
.illus-frame {
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--r-sheet);
  box-shadow: 0 30px 60px -36px rgba(var(--shadow-rgb), 0.45);
  font-size: 0.9rem;
  line-height: 1.45;
}
.illus-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 16px;
  border-bottom: 1px solid var(--border-subtle);
  background: var(--surface-faint);
}
.illus-dots { display: inline-flex; gap: 6px; }
.illus-dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--border-subtle); }
.illus-label { font-family: var(--font-display); font-weight: 600; font-size: 0.875rem; }
.illus-body { display: grid; gap: 14px; padding: 18px; }
.illus-foot { display: flex; justify-content: flex-end; gap: 8px; padding: 14px 16px; border-top: 1px solid var(--border-subtle); }

.ws { display: grid; grid-template-columns: 220px 1fr 280px; min-height: 340px; }
.ws-side { padding: 18px 16px; background: var(--surface-faint); border-right: 1px solid var(--border-subtle); }
.ws-kicker { color: var(--ink-muted); font-size: 0.75rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }
.ws-project { margin: 4px 0 16px; font-family: var(--font-display); font-weight: 600; }
.ws-nav { display: grid; gap: 4px; }
.ws-nav li { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 8px 10px; border-radius: 6px; }
.ws-nav li > span:first-child { display: inline-flex; align-items: center; gap: 8px; }
.ws-nav li > span:first-child::before { content: ""; flex-shrink: 0; width: 8px; height: 8px; border-radius: 50%; background: var(--acc, var(--border-control)); }
.ws-nav li.is-active { background: var(--acc-soft, var(--surface-tint)); font-weight: 700; }
.ws-doc { display: grid; align-content: start; gap: 12px; padding: 24px 28px; text-align: left; }
.ws-subject { font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; }
.ws-para { line-height: 1.6; }
.ws-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; margin-top: 10px; }
.ws-chat { display: grid; align-content: start; gap: 10px; padding: 18px 16px; border-left: 1px solid var(--border-subtle); background: var(--surface-faint); text-align: left; }
.ws-review { display: flex; gap: 6px; }

.ed { display: grid; grid-template-columns: 1fr 200px; }
.ed-doc { display: grid; align-content: start; gap: 12px; padding: 20px; }
.ed-chat { display: grid; align-content: start; gap: 10px; padding: 16px; border-left: 1px solid var(--border-subtle); background: var(--surface-faint); }

.ui-line { display: block; height: 9px; border-radius: 5px; background: var(--surface-soft); }
.w-30 { width: 30%; } .w-60 { width: 60%; } .w-70 { width: 70%; } .w-75 { width: 75%; }
.w-80 { width: 80%; } .w-85 { width: 85%; } .w-88 { width: 88%; } .w-90 { width: 90%; } .w-95 { width: 95%; }
.ui-del { color: var(--ink-muted); text-decoration: line-through; text-decoration-color: var(--accent-coral-strong); }
.ui-ins { background: var(--highlight-soft); box-shadow: 0 0 0 2px var(--highlight-soft); border-radius: 2px; }
.ui-btn {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 6px;
  background: var(--action);
  color: var(--on-action);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.8125rem;
  white-space: nowrap;
}
.ui-btn--ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px var(--border-control); }
.ui-btn--small { padding: 4px 10px; font-size: 0.78rem; }
.ui-bubble { padding: 10px 12px; border: 1px solid var(--border-subtle); border-radius: 10px 10px 10px 3px; background: var(--surface); font-size: 0.875rem; }
.ui-bubble--you { justify-self: end; border-radius: 10px 10px 3px 10px; background: var(--surface-soft); }

.ui-status { flex-shrink: 0; padding: 1px 8px; border-radius: 999px; background: var(--surface-soft); color: var(--ink-muted); font-size: 0.75rem; font-weight: 700; }
.ui-status--done { background: var(--accent-teal-soft); color: var(--ink); }
.ui-status--live { background: var(--highlight-soft); color: var(--ink); }

.ui-field-label { font-size: 0.8rem; font-weight: 700; color: var(--ink-muted); }
.ui-field { display: block; margin-top: -8px; padding: 9px 12px; border: 1.5px solid var(--border-control); border-radius: 6px; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 0.85rem; }
.ui-checklist { display: grid; gap: 8px; }
.ui-checklist li { position: relative; padding-left: 26px; }
.ui-checklist li::before {
  content: "";
  position: absolute; left: 0; top: 3px;
  width: 16px; height: 16px;
  border-radius: 50%;
  border: 1.5px solid var(--border-control);
}
.ui-checklist li.is-done::before { background: var(--action); border-color: var(--action); }
.ui-checklist li.is-done::after {
  content: "";
  position: absolute; left: 5px; top: 6px;
  width: 6px; height: 9px;
  border: solid var(--on-action);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.ui-checklist li.is-live::before { border-color: var(--ink); border-style: dashed; }

.ui-quote { padding: 10px 12px; border-left: 3px solid var(--brand); background: var(--surface-faint); border-radius: 0 6px 6px 0; }
.ui-outline { display: grid; gap: 6px; counter-reset: o; }
.ui-outline li { counter-increment: o; display: flex; gap: 10px; padding: 7px 10px; border: 1px solid var(--border-subtle); border-radius: 6px; }
.ui-outline li::before { content: counter(o); color: var(--ink-muted); font-weight: 700; min-width: 1ch; }

.ui-seq { display: grid; }
.ui-seq li {
  display: grid;
  grid-template-columns: 28px 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 13px 16px;
  border-bottom: 1px solid var(--border-subtle);
}
.ui-seq li:last-child { border-bottom: 0; }
.ui-seq li.is-active { background: var(--surface-faint); box-shadow: inset 3px 0 0 var(--brand); }
.ui-seq .n {
  display: grid; place-items: center;
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--surface-soft);
  font-size: 0.75rem;
  font-weight: 700;
}
.ui-seq .t { min-width: 0; }

.ui-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.ui-chip { padding: 3px 10px; border: 1px solid var(--border-subtle); border-radius: 999px; font-size: 0.8rem; font-weight: 700; }
.ui-chip--on { background: var(--ink); color: var(--on-dark); border-color: var(--ink); }
.ui-pipeline { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.ui-pipeline li { padding: 6px 4px; border-radius: 6px; background: var(--surface-soft); color: var(--ink-muted); text-align: center; font-size: 0.78rem; font-weight: 700; }
.ui-pipeline li.is-done { background: var(--acc-soft, var(--surface-tint)); color: var(--ink); }
.ui-pipeline li.is-live { background: var(--highlight-soft); color: var(--ink); }
.ui-insight { padding: 12px 14px; border: 1px solid var(--border-subtle); border-radius: 8px; }
.ui-insight-label { margin-bottom: 2px; color: var(--ink-muted); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }
.ui-dials { display: grid; gap: 10px; }
.ui-dials li { display: grid; grid-template-columns: 90px 1fr; align-items: center; gap: 12px; }
.ui-meter { height: 8px; border-radius: 4px; background: var(--surface-soft); overflow: hidden; }
.ui-meter-fill { display: block; height: 100%; border-radius: 4px; background: var(--acc, var(--brand)); transform-origin: left center; }
.ui-rule { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 12px; border: 1px solid var(--border-subtle); border-radius: 8px; }
.ui-cite { flex-shrink: 0; color: var(--ink-muted); font-size: 0.75rem; font-weight: 700; }

@media (max-width: 960px) {
  .ws { grid-template-columns: 1fr 240px; }
  .ws-side { display: none; }
}
@media (max-width: 640px) {
  .ws, .ed { grid-template-columns: 1fr; }
  .ws-chat, .ed-chat { border-left: 0; border-top: 1px solid var(--border-subtle); }
  .ws-doc { padding: 18px; }
  .ws { min-height: 0; }
  .illus-dots { display: none; }
}

/* ---------- Home: capabilities ---------- */
.cap-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.cap-card {
  position: relative;
  display: flex; flex-direction: column; gap: 14px;
  padding: 28px 26px 26px;
  background: var(--surface);
  border: 1px solid var(--border-subtle);
  border-top: 4px solid var(--acc, var(--brand));
  border-radius: var(--r-sheet);
}
.cap-icon {
  width: 56px; height: 56px;
  padding: 8px;
  border-radius: 14px;
  background: var(--acc-soft, var(--surface-tint));
  color: var(--acc-strong, var(--brand));
}
.icon-soft { fill: var(--surface); }
.cap-title { font-size: 1.375rem; letter-spacing: -0.02em; }
.cap-card p { color: var(--ink-muted); }
.cap-link {
  margin-top: auto;
  padding-top: 6px;
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--link);
}
.cap-link::after { content: " \2192"; display: inline-block; }
@media (max-width: 1080px) { .cap-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .cap-grid { grid-template-columns: 1fr; } }

/* ---------- Home: problem band ---------- */
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.compare-col { padding: clamp(24px, 4vw, 40px); border: 1px solid var(--dark-line); border-radius: var(--r-sheet); }
.compare-col--accent { background: var(--dark-raise); border-color: var(--dark-line); }
.compare-title { font-size: 1.25rem; margin-bottom: 20px; }
.compare-list { display: grid; gap: 14px; }
.compare-list li { position: relative; padding-left: 28px; }
.compare-list li::before {
  content: "";
  position: absolute; left: 2px; top: 0.45em;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--on-dark-accent);
}
.compare-list--muted li { color: var(--on-dark-muted); }
.compare-list--muted li::before { background: transparent; border: 1.5px solid var(--on-dark-muted); }
@media (max-width: 760px) { .compare { grid-template-columns: 1fr; } }

/* ---------- Home: steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 3vw, 40px); }
.step { display: flex; flex-direction: column; gap: 28px; }
.step-num {
  display: grid; place-items: center;
  width: 40px; height: 40px;
  margin-bottom: 18px;
  border-radius: 50%;
  background: var(--acc, var(--ink));
  color: var(--acc-on, var(--on-dark));
  font-family: var(--font-display);
  font-weight: 600;
  box-shadow: 0 0 0 6px var(--surface-soft);
}
.step-title { font-size: 1.5rem; letter-spacing: -0.02em; margin-bottom: 10px; }
.step-copy p { color: var(--ink-muted); }

@media (max-width: 960px) { .steps { grid-template-columns: 1fr; max-width: 560px; } }

/* ---------- Who / tick lists / split ---------- */
.who-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.who-card {
  display: flex; flex-direction: column; gap: 12px;
  padding: clamp(24px, 3vw, 32px);
  background: var(--surface);
  border: 1px solid var(--border-subtle);
  border-top: 6px solid var(--acc, var(--brand));
  border-radius: var(--r-sheet);
}
.who-title { font-size: 1.5rem; letter-spacing: -0.02em; }
.who-card p { color: var(--ink-muted); }
@media (max-width: 900px) { .who-grid { grid-template-columns: 1fr; } }

.split { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.split .section-lede { margin-bottom: 28px; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }

.tick-list { display: grid; gap: 18px; }
.tick-list li { position: relative; padding-left: 36px; font-size: 1.0625rem; }
.tick-list li::before {
  content: "";
  position: absolute; left: 0; top: 0.2em;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--acc-soft, var(--surface-tint));
}
.tick-list li::after {
  content: "";
  position: absolute; left: 8px; top: calc(0.2em + 5px);
  width: 6px; height: 10px;
  border: solid var(--acc-strong, var(--brand));
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.band--peach .tick-list li::before, .band--acc .tick-list li::before { background: var(--surface); }
.tick-list--compact { gap: 14px; margin-top: 8px; }
.tick-list--compact li { font-size: 1rem; }

/* ---------- FAQ ---------- */
.faq-wrap { max-width: calc(880px + 2 * var(--gutter)); }
.faq-list { border-top: 1px solid var(--border-subtle); }
.faq { border-bottom: 1px solid var(--border-subtle); }
.faq summary {
  position: relative;
  padding: 22px 48px 22px 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.0625rem, 2vw, 1.25rem);
  letter-spacing: -0.01em;
  list-style: none;
  cursor: pointer;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  position: absolute; right: 8px; top: 50%;
  width: 12px; height: 12px;
  margin-top: -9px;
  border: solid var(--ink);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
  transition: transform 160ms ease;
}
.faq[open] summary::after { transform: rotate(-135deg); margin-top: -3px; }
.faq summary:hover { color: var(--link); }
.faq-body { padding: 0 48px 24px 0; color: var(--ink-muted); max-width: 70ch; }
.faq-after { margin-top: 40px; }

/* ---------- CTA ---------- */
.cta-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.cta-copy .section-title { margin-top: 22px; }
.cta-facts { display: grid; gap: 10px; margin-top: 28px; }
.cta-facts li { position: relative; padding-left: 22px; }
.cta-facts li::before { content: ""; position: absolute; left: 0; top: 0.6em; width: 10px; height: 2px; background: var(--brand); }
@media (max-width: 860px) { .cta-grid { grid-template-columns: 1fr; } }

/* ---------- Product + who pages ---------- */
.feature-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.feature-grid--flip .feature-copy { order: 2; }
.feature-copy > p:not(.eyebrow):not(.section-lede) { margin-top: 16px; }
.feature-sub { margin-top: 32px; font-size: 1.125rem; letter-spacing: -0.01em; }
.feature-copy .tick-list { margin-top: 20px; }
@media (max-width: 900px) {
  .feature-grid { grid-template-columns: 1fr; }
  .feature-grid--flip .feature-copy { order: 0; }
}

.persona-grid { display: grid; gap: clamp(28px, 4vw, 48px); }
.persona-head { max-width: 760px; }
.persona-cols { display: grid; grid-template-columns: 1fr 1.2fr; gap: 24px; }
.persona-col { padding: clamp(24px, 3vw, 36px); border: 1px solid var(--border-subtle); border-radius: var(--r-sheet); background: var(--surface); }
.persona-col p { color: var(--ink-muted); }
.persona-col--help { background: var(--acc-soft, var(--surface-tint)); border-color: var(--acc-soft, var(--surface-tint)); border-top: 4px solid var(--acc, var(--brand)); }
.persona-col--help .tick-list li::before { background: var(--surface); }
.persona-sub { margin-bottom: 14px; font-size: 1.125rem; }
@media (max-width: 860px) { .persona-cols { grid-template-columns: 1fr; } }

/* ---------- Early access ---------- */
.page-hero--access { text-align: left; }
.access-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.access-copy .page-title { max-width: 14ch; }
@media (max-width: 900px) { .access-grid { grid-template-columns: 1fr; } }

.timeline { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: t; }
.timeline li { padding: 24px; border-top: 4px solid var(--acc, var(--brand)); background: var(--surface); border-radius: 0 0 var(--r-panel) var(--r-panel); }
.timeline-n { display: block; margin-bottom: 14px; color: var(--acc-strong, var(--brand)); font-family: var(--font-display); font-weight: 600; font-size: 2rem; line-height: 1; }
.timeline h3 { font-size: 1.25rem; margin-bottom: 8px; }
.timeline p { color: var(--ink-muted); }
@media (max-width: 960px) { .timeline { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .timeline { grid-template-columns: 1fr; } }

.undecided { display: grid; gap: 16px; }
.undecided div { padding: 22px 24px; border: 1px solid var(--dark-line); border-radius: var(--r-panel); background: var(--dark-raise); }
.undecided dt { font-family: var(--font-display); font-weight: 600; font-size: 1.25rem; }
.undecided dd { margin-top: 6px; color: var(--on-dark-muted); }

/* ---------- About ---------- */
.prose-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: clamp(24px, 6vw, 96px); }
.prose { display: grid; gap: 18px; max-width: 68ch; font-size: 1.125rem; }
.prose p { color: var(--ink); }
.prose .btn { margin-top: 6px; }
@media (max-width: 860px) { .prose-grid { grid-template-columns: 1fr; } }
.data-list { display: grid; gap: 0; border-top: 1px solid var(--border-subtle); }
.data-list div { display: grid; grid-template-columns: 200px 1fr; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--border-subtle); }
.data-list dt { font-weight: 700; }
.data-list dd { color: var(--ink-muted); }
@media (max-width: 600px) { .data-list div { grid-template-columns: 1fr; gap: 4px; } }

/* ---------- Footer ---------- */
.site-footer {
  padding: clamp(64px, 8vw, 96px) 0 32px;
  background: var(--dark);
  color: var(--on-dark-muted);
}
.site-footer a { color: var(--on-dark); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.site-footer :focus-visible { outline-color: var(--focus-on-dark); }
.footer-grid { display: grid; grid-template-columns: 1.3fr 2fr; gap: clamp(40px, 6vw, 96px); }
.footer-brand { display: grid; gap: 18px; align-content: start; max-width: 340px; }
.footer-status { display: flex; align-items: baseline; gap: 10px; font-size: 0.95rem; }
.footer-status .soon-pill { flex-shrink: 0; margin: 0; }
.footer-nav { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.footer-heading {
  margin-bottom: 16px;
  color: var(--on-dark-accent);
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.footer-col ul { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.footer-col li[class] a { position: relative; }
.footer-col li[class] a::before { content: ""; position: absolute; left: -16px; top: 0.5em; width: 8px; height: 8px; border-radius: 50%; background: var(--acc); }
.footer-base {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  margin-top: clamp(48px, 6vw, 80px);
  padding-top: 24px;
  border-top: 1px solid var(--dark-line);
  font-size: 0.95rem;
}
@media (max-width: 860px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-nav { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 420px) { .footer-nav { grid-template-columns: 1fr; } }
@media (max-width: 480px) {
  /* No room to hang the dots in the gutter: indent those links instead. */
  .footer-col li[class] a { padding-left: 16px; }
  .footer-col li[class] a::before { left: 0; }
}

/* ---------- Accent polish ---------- */
.illus-frame { border-top: 4px solid var(--acc, var(--brand)); }
.illus-bar { background: var(--acc-soft, var(--surface-faint)); }
.feature .eyebrow, .persona .eyebrow { display: inline-flex; align-items: center; gap: 10px; }
.feature .eyebrow::before, .persona .eyebrow::before {
  content: ""; width: 12px; height: 12px; border-radius: 4px; background: var(--acc, var(--brand));
}
.site-header { transition: box-shadow 200ms ease; }
.site-header.is-scrolled { box-shadow: 0 8px 24px -16px rgba(var(--shadow-rgb), 0.45); }
.btn { transition: background-color 160ms ease, color 160ms ease, border-color 160ms ease, transform 160ms ease, box-shadow 160ms ease; }
.cap-card, .who-card { transition: transform 220ms ease, box-shadow 220ms ease; }
.waitlist { position: relative; }

/* Form success mark (added by app.js, decorative). Static by default. */
.celebrate { position: relative; display: inline-block; width: 26px; height: 26px; margin-right: 10px; vertical-align: middle; pointer-events: none; }
.celebrate-check { position: absolute; inset: 0; width: 26px; height: 26px; }
.celebrate-check circle { fill: var(--accent-teal-soft); }
.celebrate-check path { fill: none; stroke: var(--success); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.celebrate-dot { position: absolute; left: 10px; top: 10px; width: 6px; height: 6px; border-radius: 50%; opacity: 0; }

/* ---------- Motion (all movement lives inside no-preference) ---------- */
@media (prefers-reduced-motion: no-preference) {
  /* Hero entrance (CSS-only; always ends fully visible) */
  @keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
  .js .hero-inner > *, .js .page-hero-inner > *, .js .access-copy > *, .js .access-form {
    animation: rise 600ms cubic-bezier(.2,.7,.2,1) both;
  }
  .js .hero-inner > :nth-child(2), .js .page-hero-inner > :nth-child(2), .js .access-copy > :nth-child(2) { animation-delay: 80ms; }
  .js .hero-inner > :nth-child(3), .js .page-hero-inner > :nth-child(3), .js .access-copy > :nth-child(3) { animation-delay: 160ms; }
  .js .hero-inner > :nth-child(4), .js .page-hero-inner > :nth-child(4), .js .access-form { animation-delay: 240ms; }
  .js .hero-figure { animation: rise 700ms 320ms cubic-bezier(.2,.7,.2,1) both; }

  /* Drifting backdrop; paused when the hero is off-screen or the tab is hidden */
  @keyframes drift-a { from { transform: translate3d(0,0,0) scale(1); } to { transform: translate3d(6%, 8%, 0) scale(1.08); } }
  @keyframes drift-b { from { transform: translate3d(0,0,0) scale(1.05); } to { transform: translate3d(-7%, 6%, 0) scale(0.95); } }
  .blob--a, .blob--c { animation: drift-a 26s ease-in-out infinite alternate; }
  .blob--b, .blob--d { animation: drift-b 32s ease-in-out infinite alternate; }
  .is-paused .blob, .doc-hidden .blob { animation-play-state: paused; }

  /* Coming-soon dot: a few gentle pulses, then still */
  @keyframes pulse { from { transform: scale(1); opacity: .55; } to { transform: scale(2.6); opacity: 0; } }
  .soon-pill .dot { position: relative; }
  .soon-pill .dot::after {
    content: ""; position: absolute; inset: 0; border-radius: 50%;
    background: var(--pill-dot); opacity: 0;
    animation: pulse 2.4s 1s ease-out 6;
  }

  /* Micro-interactions */
  .btn:hover { transform: translateY(-2px); box-shadow: 0 10px 20px -12px rgba(var(--shadow-rgb), .55); }
  .btn:active { transform: translateY(0) scale(.98); box-shadow: none; }
  .cap-link::after { transition: transform 180ms ease; }
  .cap-link:hover::after { transform: translateX(4px); }
  .cap-card:hover, .who-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 22px 40px -22px rgba(var(--acc-rgb, var(--shadow-rgb)), .7);
  }
  @keyframes menu-in { from { opacity: 0; transform: translateY(-6px) scale(.98); } to { opacity: 1; transform: none; } }
  .nav-item.is-open .nav-menu { animation: menu-in 160ms ease-out; transform-origin: top left; }
  @keyframes faq-in { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
  .faq[open] .faq-body { animation: faq-in 260ms ease-out; }

  /* Success: the check draws, a few accent dots burst */
  @keyframes draw { from { stroke-dashoffset: 24; } to { stroke-dashoffset: 0; } }
  @keyframes pop { 0% { transform: scale(.4); } 70% { transform: scale(1.12); } 100% { transform: scale(1); } }
  .celebrate-check { animation: pop 380ms ease-out both; }
  .celebrate-check path { stroke-dasharray: 24; animation: draw 420ms 120ms ease-out both; }
  @keyframes burst {
    0% { opacity: 1; transform: translate(0,0) scale(1); }
    100% { opacity: 0; transform: translate(var(--dx), var(--dy)) scale(.4); }
  }
  .celebrate-dot { animation: burst 650ms ease-out both; }

  /* ---- Scroll reveals: hidden only after app.js has set up its observer ---- */
  .reveal-ready [data-reveal]:not(.is-in) { opacity: 0; transform: translateY(22px); }
  .reveal-ready [data-reveal="left"]:not(.is-in) { transform: translateX(-24px); }
  .reveal-ready [data-reveal="dim"]:not(.is-in) { opacity: 0; transform: none; }
  .reveal-ready [data-reveal] {
    transition: opacity 520ms ease-out, transform 520ms cubic-bezier(.2,.7,.2,1);
    transition-delay: var(--reveal-delay, 0ms);
  }
  .reveal-ready .compare-list > li::before { transition: transform 420ms cubic-bezier(.3,1.6,.5,1); transition-delay: calc(var(--reveal-delay, 0ms) + 180ms); }
  .reveal-ready .compare-list > li[data-reveal]:not(.is-in)::before { transform: scale(0); }
  .reveal-ready .compare-col:first-child.is-in,
  .reveal-ready .compare-col:first-child:not([data-reveal]) { opacity: .82; transition: opacity 400ms ease; }

  /* Steps: connecting line draws once the steps reveal */
  .reveal-ready .steps:not(.is-in)::before { transform: scaleX(0); }
  .reveal-ready .steps::before { transition: transform 1100ms 250ms cubic-bezier(.4,0,.2,1); }

  /* /product/ panels: one purposeful animation each, once, when revealed */
  @keyframes arrive { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
  @keyframes chip-pop { 0% { opacity: 0; transform: scale(.7); } 70% { transform: scale(1.06); } 100% { opacity: 1; transform: none; } }
  @keyframes settle { 0% { transform: scaleX(0); } 70% { transform: scaleX(1.08); } 85% { transform: scaleX(.97); } 100% { transform: scaleX(1); } }
  @keyframes strike { from { transform: scaleX(0); } to { transform: scaleX(1); } }
  @keyframes press { 0%, 100% { transform: none; box-shadow: 0 0 0 0 rgba(var(--acc-rgb), 0); } 40% { transform: scale(.92); box-shadow: 0 0 0 6px rgba(var(--acc-rgb), .35); } }

  .illus.play .ui-pipeline li { animation: chip-pop 380ms ease-out both; }
  .illus.play .ui-pipeline li:nth-child(2) { animation-delay: 150ms; }
  .illus.play .ui-pipeline li:nth-child(3) { animation-delay: 300ms; }
  .illus.play .ui-pipeline li:nth-child(4) { animation-delay: 450ms; }
  .illus.play .ui-insight { animation: arrive 500ms ease-out both; animation-delay: 700ms; }
  .illus.play .ui-insight + .ui-insight { animation-delay: 1000ms; }

  .illus.play .ui-meter-fill { animation: settle 1100ms cubic-bezier(.3,.7,.3,1) both; animation-delay: 200ms; }
  .illus.play .ui-dials li:nth-child(2) .ui-meter-fill { animation-delay: 350ms; }
  .illus.play .ui-dials li:nth-child(3) .ui-meter-fill { animation-delay: 500ms; }
  .illus.play .ui-rule { animation: arrive 450ms ease-out both; animation-delay: 900ms; }
  .illus.play .ui-rule + .ui-rule { animation-delay: 1100ms; }

  .illus.play .ui-seq .ui-status--done { animation: chip-pop 400ms ease-out both; animation-delay: 250ms; }
  .illus.play .ui-seq li:nth-child(2) .ui-status--done { animation-delay: 550ms; }
  .illus.play .ui-seq li.is-active { animation: arrive 450ms 850ms ease-out both; }
  .illus.play .illus-foot .ui-btn:last-child { animation: press 600ms 1400ms ease-out both; }

  .illus.play .ed .ui-del { position: relative; text-decoration: none; }
  .illus.play .ed .ui-del::after {
    content: ""; position: absolute; left: 0; right: 0; top: 55%; height: 1.5px;
    background: var(--accent-coral-strong); transform-origin: left; animation: strike 500ms 400ms ease-out both;
  }
  .illus.play .ed .ui-ins { animation: arrive 450ms 900ms ease-out both; }
  .illus.play .ed .ui-bubble { animation: arrive 400ms ease-out both; animation-delay: 150ms; }
  .illus.play .ed .ui-bubble + .ui-bubble { animation-delay: 650ms; }
  .illus.play .ed .ws-review .ui-btn:first-child { animation: press 600ms 1500ms ease-out both; }

  /* Hero demo (app.js adds .demo-on only when it is going to play the loop) */
  .demo-on [data-demo-step], .demo-on [data-demo-review] { opacity: 0; transform: translateY(8px); transition: opacity 380ms ease-out, transform 380ms ease-out; }
  .demo-on [data-demo-step].is-shown, .demo-on [data-demo-review].is-shown { opacity: 1; transform: none; }
  .demo-on .ui-del { text-decoration-color: transparent; transition: text-decoration-color 300ms ease; }
  .demo-on .ui-del.is-struck { text-decoration-color: var(--accent-coral-strong); }
  .demo-on .ui-del.is-faded { text-decoration-color: var(--border-control); }
  .demo-on .ui-ins { background: transparent; box-shadow: none; }
  .demo-on .ch { opacity: 0; }
  .demo-on .ch.on { opacity: 1; background: var(--highlight-soft); }
  .demo-on .is-pressed { animation: press 600ms ease-out; }
  .demo-on .ch { transition: opacity 120ms linear, background-color 600ms ease; }
  .demo-on .is-accepted .ch.on { background: transparent; }
  .demo-on [data-demo-keep] { transition: box-shadow 300ms ease, background-color 300ms ease; }
  .demo-on [data-demo-keep].is-kept { background: var(--accent-teal-strong); box-shadow: 0 0 0 3px var(--accent-teal-soft); }
  .demo-on [data-demo-count] { display: inline-block; }
  .demo-on [data-demo-count].is-ticked { animation: chip-pop 380ms ease-out; }
}

/* Steps connecting line (drawn by default; only animated when JS + motion allowed) */
.steps { position: relative; --steps-gap: clamp(24px, 3vw, 40px); gap: var(--steps-gap); }
.steps::before {
  content: "";
  position: absolute;
  top: 19px; left: 20px;
  width: calc((100% - 2 * var(--steps-gap)) * 2 / 3 + 2 * var(--steps-gap));
  height: 2px;
  background: linear-gradient(to right, var(--accent-amber), var(--accent-coral), var(--accent-teal));
  transform-origin: left center;
  z-index: 0;
}
.step-num { position: relative; z-index: 1; }
@media (max-width: 960px) { .steps::before { display: none; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; }
}
