/* ============================================================================
   SparkSocial — marketing site
   Palette, type and geometry are taken from the product's own design tokens
   (apps/web/src/styles/tokens.css) so the site and the app look like one thing.

   1. Fonts        6. Navigation      11. FAQ
   2. Reset        7. Hero + mockup   12. Footer
   3. Variables    8. Sections        13. Legal pages
   4. Typography   9. Product panels  14. Responsive
   5. Buttons     10. Pricing         15. Motion / a11y
   ========================================================================= */

/* ── 1. Fonts ───────────────────────────────────────────────────────────── */
@font-face {
  font-family: 'Onest';
  src: url('../assets/fonts/Onest-Variable.ttf') format('truetype-variations');
  font-weight: 100 1000;
  font-display: swap;
}
/* Display face. Wordmark and one hero phrase only — never body copy. */
@font-face {
  font-family: 'Mollwish';
  src: url('../assets/fonts/CS-Mollwish.otf') format('opentype');
  font-weight: 400;
  font-display: swap;
}

/* ── 2. Reset ───────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; }
body { min-height: 100vh; line-height: 1.55; -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
button, input, select { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }
ul, ol { list-style: none; padding: 0; }
a { color: inherit; text-decoration: none; }
[hidden] { display: none !important; }

/* ── 3. Variables ───────────────────────────────────────────────────────── */
:root {
  /* Ink is the primary, not a blue — this is the product's own choice and it is
     what keeps the site off the default-SaaS-purple look. */
  --ink:        #0C0C0C;
  --ink-800:    #1E1E1E;
  --ink-600:    #5B5B5B;
  --ink-500:    #838383;
  --ink-300:    #B0B0B0;

  --paper:      #FFFFFF;
  --canvas:     #F7F7F7;
  --surface-2:  #F1F1F3;

  /* Signal = cyan, intelligence = purple. Pink is a gradient partner only. */
  --cyan:       #6CE8FF;
  --cyan-deep:  #1FB5D8;
  --purple:     #A341FF;
  --purple-deep:#7C22D4;
  --pink:       #F56BFF;

  --cyan-200:   #9CEFFF;   /* --ss-cyan-200 — the app's active-state surface */
  --teal-900:   #043133;   /* --ss-teal-900 — headings on a cyan ground */
  --teal-500:   #0BAAC7;   /* --ss-teal-500 — info chips */

  --good:       #17916B;
  --warn:       #B4771A;

  /* The product's canvas wash — pink from the top left, cyan beneath it, over
     #F7F7F7. Copied angle-for-angle from `--ss-grad-canvas`; it is the single
     most recognisable thing about the app's surfaces and the site was missing
     it entirely. */
  --wash:
    linear-gradient(-157.442deg, rgba(245,107,255,.20) 2.42%, rgba(255,255,255,0) 42.66%),
    linear-gradient(-198.502deg, rgba(108,232,255,.20) 4.4%, rgba(255,255,255,0) 38.06%),
    linear-gradient(var(--canvas), var(--canvas));

  --line:       rgba(131,131,131,.22);
  --line-strong:rgba(12,12,12,.14);
  --line-dark:  rgba(255,255,255,.13);

  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 20px;
  --r-xl: 28px;

  --shadow-sm: 0 1px 2px rgba(12,12,12,.05), 0 4px 12px -6px rgba(12,12,12,.08);
  --shadow-md: 0 2px 6px rgba(12,12,12,.05), 0 18px 40px -24px rgba(12,12,12,.22);
  --shadow-lg: 0 30px 80px -40px rgba(12,12,12,.45);

  --shell: 1200px;
  --pad: clamp(20px, 5vw, 40px);

  --ease: cubic-bezier(.22,.61,.36,1);
}

/* ── 4. Typography ──────────────────────────────────────────────────────── */
body {
  font-family: 'Onest', -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-size: 16px;
}

.wordmark {
  font-family: 'Mollwish', 'Onest', serif;
  font-weight: 400;
  letter-spacing: .01em;
  white-space: nowrap;
}

.h2 {
  font-size: clamp(30px, 4.4vw, 50px);
  line-height: 1.08;
  letter-spacing: -.025em;
  font-weight: 600;
  text-wrap: balance;
  max-width: 19ch;
}
.h2--light { color: var(--paper); }

.eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--ink-500);
  margin-bottom: 14px;
}
.eyebrow--light { color: var(--cyan); }

.lede {
  font-size: clamp(16px, 1.5vw, 18.5px);
  line-height: 1.6;
  color: var(--ink-600);
  max-width: 62ch;
  margin-top: 18px;
}
.lede--light { color: rgba(255,255,255,.72); }

.muted-note { font-size: 13.5px; color: var(--ink-500); margin-top: 14px; }

.shell { width: 100%; max-width: var(--shell); margin-inline: auto; padding-inline: var(--pad); }
.shell--narrow { max-width: 820px; }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--ink); color: var(--paper); padding: 12px 18px; border-radius: 0 0 var(--r-sm) 0;
}
.skip-link:focus { left: 0; }

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

[data-placeholder] {
  color: var(--ink-300);
  border: 1px dashed var(--line-strong);
  border-radius: var(--r-sm);
}

/* ── 5. Buttons ─────────────────────────────────────────────────────────── */
.btn {
  --btn-bg: transparent; --btn-fg: var(--ink); --btn-bd: transparent;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--btn-bg); color: var(--btn-fg);
  box-shadow: inset 0 0 0 1px var(--btn-bd);
  border-radius: 999px;
  font-weight: 550; font-size: 15px; line-height: 1;
  padding: 14px 24px;
  transition: transform .18s var(--ease), background .18s var(--ease), box-shadow .18s var(--ease), opacity .18s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn--primary { --btn-bg: var(--ink); --btn-fg: var(--paper); box-shadow: var(--shadow-sm); }
.btn--primary:hover { --btn-bg: var(--ink-800); box-shadow: 0 10px 28px -12px rgba(12,12,12,.5); }

.btn--outline { --btn-bd: var(--line-strong); }
.btn--outline:hover { --btn-bg: var(--canvas); }

.btn--ghost { color: var(--ink-600); }
.btn--ghost:hover { color: var(--ink); }

.btn--light { --btn-bg: var(--paper); --btn-fg: var(--ink); }
.btn--ghostlight { --btn-fg: var(--paper); --btn-bd: rgba(255,255,255,.28); }
.btn--ghostlight:hover { --btn-bg: rgba(255,255,255,.09); }

.btn--lg { padding: 17px 30px; font-size: 16px; }
.btn--sm { padding: 11px 19px; font-size: 14.5px; }
.btn--xs { padding: 8px 14px; font-size: 12.5px; font-weight: 550; }
.btn--block { width: 100%; }

.icon { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* ── 6. Navigation ──────────────────────────────────────────────────────── */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.82);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s, box-shadow .25s, background .25s;
}
.nav.is-stuck { border-bottom-color: var(--line); box-shadow: 0 1px 18px -10px rgba(12,12,12,.3); }

.nav__inner { display: flex; align-items: center; gap: 28px; height: 78px; transition: height .25s var(--ease); }
.nav.is-stuck .nav__inner { height: 64px; }

.nav__brand { display: flex; align-items: center; gap: 9px; flex-shrink: 0; }
.nav__mark { transition: width .25s var(--ease), height .25s var(--ease); }
.nav.is-stuck .nav__mark { width: 30px; height: 30px; }
.nav__brand .wordmark { font-size: 21px; }

.nav__links { display: flex; gap: 26px; margin-inline: auto; }
.nav__links a { font-size: 14.5px; color: var(--ink-600); transition: color .16s; position: relative; padding: 6px 0; }
.nav__links a:hover { color: var(--ink); }
.nav__links a::after {
  content: ''; position: absolute; left: 0; right: 100%; bottom: 0; height: 1.5px;
  background: var(--ink); transition: right .22s var(--ease);
}
.nav__links a:hover::after { right: 0; }

.nav__actions { display: flex; align-items: center; gap: 10px; }
.nav__toggle { display: none; width: 44px; height: 44px; flex-direction: column; align-items: center; justify-content: center; gap: 5px; }
.nav__bar { display: block; width: 20px; height: 1.8px; background: var(--ink); border-radius: 2px; transition: transform .25s var(--ease), opacity .2s; }
.nav__toggle[aria-expanded="true"] .nav__bar:first-child { transform: translateY(3.4px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] .nav__bar:last-child { transform: translateY(-3.4px) rotate(-45deg); }

.mobilenav { position: fixed; inset: 0; z-index: 99; background: rgba(12,12,12,.4); }
.mobilenav__panel {
  position: absolute; inset: 0 0 auto 0; top: 64px;
  background: var(--paper); padding: 22px var(--pad) 30px;
  border-bottom: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 4px;
  animation: drawer .28s var(--ease);
}
@keyframes drawer { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: none; } }
/* `:not(.btn)` matters — this rule outranks `.btn` on specificity, so without
   it the drawer's two buttons lose their own padding and collapse to a bar. */
.mobilenav__panel a:not(.btn) { padding: 14px 4px; font-size: 17px; font-weight: 500; border-bottom: 1px solid var(--line); }
.mobilenav__cta { display: grid; gap: 10px; margin-top: 22px; }

/* ── 7. Hero ────────────────────────────────────────────────────────────── */
.hero { position: relative; background: var(--ink); color: var(--paper); overflow: hidden; padding: clamp(60px, 9vw, 104px) 0 clamp(70px, 10vw, 120px); }
.hero__glow {
  position: absolute; inset: -30% -10% auto -10%; height: 90%;
  background:
    radial-gradient(48% 60% at 18% 30%, rgba(108,232,255,.20), transparent 68%),
    radial-gradient(44% 56% at 76% 18%, rgba(163,65,255,.24), transparent 70%),
    radial-gradient(30% 40% at 52% 8%, rgba(245,107,255,.12), transparent 72%);
  filter: blur(8px);
}
.hero__inner { position: relative; display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.08fr); gap: clamp(36px, 5vw, 72px); align-items: center; }
.hero .eyebrow { color: var(--cyan); }

.hero__title {
  font-size: clamp(38px, 5.6vw, 66px);
  line-height: 1.03; letter-spacing: -.032em; font-weight: 600;
  text-wrap: balance; max-width: 15ch;
}
.display-accent {
  font-family: 'Mollwish', 'Onest', serif; font-weight: 400;
  background: linear-gradient(96deg, var(--cyan) 8%, var(--pink) 92%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero__sub { margin-top: 22px; font-size: clamp(16px, 1.5vw, 18.5px); line-height: 1.62; color: rgba(255,255,255,.72); max-width: 54ch; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero__cta .btn--primary { --btn-bg: var(--paper); --btn-fg: var(--ink); }
.hero__cta .btn--outline { --btn-fg: var(--paper); --btn-bd: rgba(255,255,255,.28); }
.hero__cta .btn--outline:hover { --btn-bg: rgba(255,255,255,.09); }
.hero__note { margin-top: 15px; font-size: 13.5px; color: rgba(255,255,255,.5); }

/* ── App mockup ─────────────────────────────────────────────────────────── */
.hero__visual { perspective: 1600px; }
.app {
  display: grid; grid-template-columns: 178px minmax(0,1fr);
  background: var(--paper); color: var(--ink);
  border-radius: var(--r-xl); overflow: hidden;
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(255,255,255,.08);
  transform: rotateY(-7deg) rotateX(3deg) translateZ(0);
  transition: transform .7s var(--ease);
}
.hero__visual:hover .app { transform: rotateY(-3deg) rotateX(1.5deg); }

.app__rail { background: var(--canvas); border-right: 1px solid var(--line); padding: 16px 12px; display: flex; flex-direction: column; gap: 16px; }
.app__brand { display: flex; align-items: center; gap: 7px; }
.app__brandname { font-size: 15px; }
.app__nav { display: grid; gap: 2px; }
.app__nav li { display: flex; align-items: center; gap: 9px; font-size: 12.5px; color: var(--ink-600); padding: 7px 9px; border-radius: var(--r-sm); }
.app__nav .dot { width: 5px; height: 5px; border-radius: 50%; background: var(--ink-300); }
.app__nav .is-active { background: var(--paper); color: var(--ink); font-weight: 550; box-shadow: var(--shadow-sm); }
.app__nav .is-active .dot { background: var(--cyan-deep); box-shadow: 0 0 0 3px rgba(108,232,255,.3); }
.app__agent { margin-top: auto; display: flex; align-items: center; gap: 8px; padding: 9px; background: var(--paper); border-radius: var(--r-md); box-shadow: var(--shadow-sm); }
.app__agentdot { width: 8px; height: 8px; border-radius: 50%; background: var(--good); flex-shrink: 0; }
.app__agent strong { display: block; font-size: 12px; }
.app__agent em { display: block; font-size: 10.5px; font-style: normal; color: var(--ink-500); }

.app__main { padding: 18px; display: grid; gap: 11px; align-content: start; background: linear-gradient(180deg, var(--paper), var(--canvas)); }
.app__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.app__title { font-size: 15px; font-weight: 600; letter-spacing: -.01em; }
.app__head p:not(.app__title) { font-size: 11px; color: var(--ink-500); margin-top: 2px; }

.pill { display: inline-flex; align-items: center; gap: 6px; font-size: 10.5px; font-weight: 600; padding: 5px 10px; border-radius: 999px; background: var(--surface-2); color: var(--ink-600); }
.pill--live { background: rgba(23,145,107,.1); color: var(--good); }
.pulse { width: 6px; height: 6px; border-radius: 50%; background: currentColor; animation: pulse 2s infinite; }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: .3; } }

.tcard { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-md); padding: 13px; box-shadow: var(--shadow-sm); }
.tcard--lead { border-color: rgba(163,65,255,.28); box-shadow: 0 0 0 3px rgba(163,65,255,.07), var(--shadow-sm); }
.tcard__top { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-bottom: 7px; }
.tcard__src { font-size: 10px; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-500); font-weight: 600; }
.tcard__h { font-size: 13.5px; font-weight: 600; line-height: 1.32; letter-spacing: -.01em; }
.tcard__meters { display: grid; gap: 7px; margin-top: 11px; }
.tcard__foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 12px; padding-top: 11px; border-top: 1px solid var(--line); }
.tcard__why { font-size: 10.5px; color: var(--ink-500); line-height: 1.35; }
.tcard-row { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.tcard--mini { display: grid; gap: 6px; align-content: start; }
.tcard--mini .tcard__h { font-size: 11.5px; }
.tcard--mini .chip { justify-self: start; }

.chip { display: inline-flex; align-items: center; font-size: 10px; font-weight: 600; padding: 4px 9px; border-radius: 999px; background: var(--surface-2); color: var(--ink-600); white-space: nowrap; }
.chip--rise { background: rgba(108,232,255,.34); color: var(--teal-900); }
.chip--steady { background: rgba(131,131,131,.14); color: var(--ink-600); }
.chip--fall { background: rgba(180,119,26,.12); color: var(--warn); }
.chip--ok { background: rgba(23,145,107,.11); color: var(--good); }
.chip--draft { background: rgba(163,65,255,.1); color: var(--purple-deep); }

.meter { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 8px; }
.meter__label { font-size: 10.5px; color: var(--ink-500); white-space: nowrap; }
.meter__track { height: 5px; border-radius: 999px; background: var(--surface-2); overflow: hidden; }
.meter__fill { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--cyan-deep), var(--cyan)); }
.meter__fill--purple { background: linear-gradient(90deg, var(--purple-deep), var(--purple)); }
.meter__val { font-size: 10.5px; font-weight: 650; font-variant-numeric: tabular-nums; }

.app__draft { background: var(--ink); color: var(--paper); border-radius: var(--r-md); padding: 12px 13px; }
.app__draftline { display: flex; align-items: center; gap: 7px; font-size: 10px; text-transform: uppercase; letter-spacing: .08em; color: var(--cyan); font-weight: 600; }
.spark { width: 7px; height: 7px; border-radius: 2px; background: linear-gradient(135deg, var(--cyan), var(--purple)); }
.app__draft p { font-size: 11.5px; line-height: 1.45; color: rgba(255,255,255,.82); margin-top: 8px; }
.app__drafttags { display: flex; gap: 6px; margin-top: 10px; }
.app__drafttags span { font-size: 9.5px; font-weight: 600; padding: 3px 8px; border-radius: 999px; background: rgba(255,255,255,.1); }

/* ── 8. Sections ────────────────────────────────────────────────────────── */
.section { padding: clamp(64px, 8.5vw, 116px) 0; }
.section--canvas { background: var(--wash); }
/* A full cyan band, the same ground the product's sign-in sits on. */
.section--sky { background: var(--cyan); color: var(--teal-900); }
.section--sky .eyebrow { color: var(--teal-900); opacity: .72; }
.section--sky .lede { color: rgba(4,49,51,.78); }
.section--sky .ticks li { color: rgba(4,49,51,.82); }
.section--sky .ticks li::before { border-color: var(--teal-900); }
.section--sky .ticks strong { color: var(--teal-900); }
.section--dark { background: var(--ink); color: var(--paper); }
.section__head { margin-bottom: clamp(34px, 4.6vw, 60px); }

.trust { padding: 44px 0; border-bottom: 1px solid var(--line); }
.trust__title { font-size: 14px; font-weight: 500; color: var(--ink-500); text-align: center; letter-spacing: -.005em; }
.trust__row { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 22px; }
.trust__logo { display: grid; place-items: center; min-width: 128px; height: 44px; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; }
.trust__note { text-align: center; font-size: 12px; color: var(--ink-300); margin-top: 16px; }

/* Problem / compare */
.compare { display: grid; grid-template-columns: 1fr auto 1fr; gap: clamp(18px, 3vw, 38px); align-items: center; }
.compare__col { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(22px, 3vw, 32px); }
.compare__col--good { border-color: rgba(163,65,255,.25); box-shadow: 0 0 0 4px rgba(163,65,255,.05); }
.compare__title { font-size: 12px; font-weight: 650; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-500); margin-bottom: 20px; }
.compare__col--good .compare__title { color: var(--purple-deep); }
.compare__arrow { color: var(--ink-300); }
.compare__arrow svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

.flow { display: grid; gap: 2px; position: relative; }
.flow li { position: relative; padding: 11px 0 11px 26px; }
.flow li::before {
  content: ''; position: absolute; left: 4.5px; top: 22px; bottom: -2px; width: 1.5px;
  background: var(--line-strong);
}
.flow li:last-child::before { display: none; }
.flow__node { position: absolute; left: 0; top: 15px; width: 10px; height: 10px; border-radius: 50%; background: var(--ink-300); }
.flow--good li::before { background: linear-gradient(180deg, var(--cyan-deep), var(--purple)); opacity: .5; }
.flow--good .flow__node { background: linear-gradient(135deg, var(--cyan-deep), var(--purple)); }
.flow strong { display: block; font-size: 15px; font-weight: 600; letter-spacing: -.01em; }
.flow em { display: block; font-style: normal; font-size: 13px; color: var(--ink-500); margin-top: 2px; }

/* Steps */
.steps__list { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 30px; }
.steps__tab {
  display: inline-flex; align-items: baseline; gap: 9px;
  padding: 12px 20px; border-radius: 999px; font-size: 15px; font-weight: 550;
  color: var(--ink-600); background: var(--paper); box-shadow: inset 0 0 0 1px var(--line);
  transition: color .18s, background .18s, box-shadow .18s;
}
.steps__tab span { font-size: 11px; font-weight: 700; color: var(--ink-300); font-variant-numeric: tabular-nums; }
.steps__tab:hover { color: var(--ink); }
/* `--ss-cyan-200` is what the app paints an active tab, toggle or pill with —
   not ink. Matching it is the difference between "same palette" and "same
   product". */
.steps__tab.is-active { background: var(--cyan-200); color: var(--teal-900); box-shadow: inset 0 0 0 1px rgba(4,49,51,.14); }
.steps__tab.is-active span { color: var(--teal-500); }

.steps__panel { display: grid; grid-template-columns: minmax(0,.92fr) minmax(0,1.08fr); gap: clamp(28px, 4vw, 60px); align-items: center; }
.steps__panel:not(.is-active) { display: none; }
.steps__copy h3 { font-size: clamp(22px, 2.6vw, 30px); font-weight: 600; letter-spacing: -.02em; line-height: 1.18; max-width: 18ch; }
.steps__copy > p { margin-top: 14px; color: var(--ink-600); max-width: 52ch; }

.ticks { display: grid; gap: 10px; margin-top: 22px; }
.ticks li { position: relative; padding-left: 28px; font-size: 15px; color: var(--ink-600); line-height: 1.5; }
.ticks li::before {
  content: ''; position: absolute; left: 4px; top: 8px; width: 9px; height: 5px;
  border-left: 1.8px solid var(--purple); border-bottom: 1.8px solid var(--purple);
  transform: rotate(-45deg);
}
.ticks strong { color: var(--ink); font-weight: 600; }

.sources { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 24px; }
.sources li { font-size: 12.5px; font-weight: 550; padding: 7px 13px; border-radius: 999px; background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); color: var(--ink-600); }

/* ── 9. Product panels ──────────────────────────────────────────────────── */
.panel { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 20px; box-shadow: var(--shadow-md); }
.panel__head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 16px; }
.panel__title { font-size: 15px; font-weight: 600; letter-spacing: -.01em; }
.panel__sub { font-size: 12px; color: var(--ink-500); }

.srclist { display: grid; gap: 3px; }
.srclist li { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 14px; padding: 11px 6px; border-bottom: 1px solid var(--line); }
.srclist li:last-child { border-bottom: 0; }
.srclist__name { font-size: 14px; font-weight: 500; }
.srclist__n { font-size: 13px; font-variant-numeric: tabular-nums; color: var(--ink-500); min-width: 24px; text-align: right; }
.spark-line { display: block; width: 74px; height: 22px; }
.spark-line svg { width: 100%; height: 100%; overflow: visible; }
.spark-line path { fill: none; stroke: var(--cyan-deep); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.scorecard__trend { font-size: 16px; font-weight: 600; line-height: 1.35; letter-spacing: -.012em; margin-bottom: 18px; }
.scorecard .meter { margin-bottom: 12px; }
.scorecard__why { background: var(--canvas); border-radius: var(--r-md); padding: 14px; margin-top: 16px; }
.scorecard__why strong { font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: var(--purple-deep); }
.scorecard__why p { font-size: 13.5px; color: var(--ink-600); margin-top: 6px; line-height: 1.5; }

.draftbox__tag { display: inline-block; font-size: 10.5px; font-weight: 650; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-500); margin-bottom: 12px; }
.draftbox p { font-size: 14.5px; line-height: 1.55; color: var(--ink-600); margin-bottom: 10px; }
.draftbox p strong { color: var(--ink); font-weight: 600; }
.draftbox__actions { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line); }

.cal { display: grid; grid-template-columns: repeat(5, 1fr); gap: 7px; }
.cal__dow { font-size: 10.5px; font-weight: 650; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-500); padding-bottom: 4px; }
.cal__day { background: var(--canvas); border-radius: var(--r-sm); padding: 8px 7px; min-height: 76px; display: grid; gap: 6px; align-content: start; }
.cal__n { font-size: 11px; font-weight: 600; color: var(--ink-500); font-variant-numeric: tabular-nums; }
.ev { font-size: 10.5px; font-weight: 600; padding: 6px 7px; border-radius: 6px; line-height: 1.2; cursor: grab; }
.ev--cyan { background: rgba(108,232,255,.3); color: #0a5265; }
.ev--purple { background: rgba(163,65,255,.15); color: var(--purple-deep); }
.ev--pink { background: rgba(245,107,255,.16); color: #9b2ca4; }
.ev--ink { background: var(--ink); color: var(--paper); }
.ev--ghost { background: transparent; box-shadow: inset 0 0 0 1px var(--line-strong); color: var(--ink-300); border-style: dashed; }

.accounts { display: grid; gap: 4px; }
.accounts li { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; padding: 12px 6px; border-bottom: 1px solid var(--line); }
.accounts li:last-child { border-bottom: 0; }
.accounts__badge { width: 32px; height: 32px; border-radius: 9px; background: var(--canvas); display: grid; place-items: center; font-size: 11px; font-weight: 700; color: var(--ink-600); text-transform: lowercase; }
.accounts__name { font-size: 14.5px; font-weight: 500; }

/* Trend intelligence (dark) */
.tgrid { display: grid; grid-template-columns: minmax(0,1.25fr) minmax(0,.85fr); gap: clamp(18px, 2.4vw, 28px); align-items: start; }
.tbig { background: rgba(255,255,255,.05); border: 1px solid var(--line-dark); border-radius: var(--r-xl); padding: clamp(24px, 3.2vw, 38px); }
.tbig__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.tbig__srcs { display: flex; gap: 6px; }
.tbig__srcs span { font-size: 10.5px; font-weight: 650; letter-spacing: .05em; text-transform: uppercase; padding: 5px 10px; border-radius: 999px; background: rgba(255,255,255,.09); color: rgba(255,255,255,.7); }
.tbig h3 { font-size: clamp(21px, 2.6vw, 31px); font-weight: 600; line-height: 1.16; letter-spacing: -.022em; margin-top: 18px; max-width: 20ch; }
.tbig__stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 28px 0; padding: 22px 0; border-block: 1px solid var(--line-dark); }
.stat__k { display: block; font-size: clamp(24px, 3vw, 34px); font-weight: 600; letter-spacing: -.03em; font-variant-numeric: tabular-nums;
  background: linear-gradient(120deg, var(--cyan), var(--purple)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat__l { display: block; font-size: 12px; color: rgba(255,255,255,.55); margin-top: 4px; }
.tbig__why { background: rgba(163,65,255,.1); border-left: 2px solid var(--purple); border-radius: 0 var(--r-md) var(--r-md) 0; padding: 16px 18px; margin-bottom: 26px; }
.tbig__why strong { font-size: 11px; text-transform: uppercase; letter-spacing: .09em; color: var(--cyan); }
.tbig__why p { font-size: 14.5px; line-height: 1.55; color: rgba(255,255,255,.76); margin-top: 7px; }
.tbig .btn--primary { --btn-bg: var(--paper); --btn-fg: var(--ink); }

.tside { display: grid; gap: 12px; }
.tsmall { background: rgba(255,255,255,.04); border: 1px solid var(--line-dark); border-radius: var(--r-lg); padding: 20px; transition: background .2s, transform .2s var(--ease); }
.tsmall:hover { background: rgba(255,255,255,.07); transform: translateX(3px); }
.tsmall__src { font-size: 10px; font-weight: 650; letter-spacing: .07em; text-transform: uppercase; color: rgba(255,255,255,.45); }
.tsmall h4 { font-size: 15.5px; font-weight: 600; line-height: 1.35; letter-spacing: -.012em; margin: 9px 0 14px; }
.tsmall__row { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.rel { font-size: 12.5px; font-weight: 600; color: var(--cyan); font-variant-numeric: tabular-nums; }
.rel--low { color: rgba(255,255,255,.35); }
.tsmall--muted { opacity: .58; }
.tsmall--muted h4 { text-decoration: line-through; text-decoration-color: rgba(255,255,255,.3); }
.tsmall__note { font-size: 11.5px; color: rgba(255,255,255,.45); margin-top: 12px; line-height: 1.45; }
.section--dark .chip--rise { background: rgba(108,232,255,.16); color: var(--cyan); }
.section--dark .chip--steady { background: rgba(255,255,255,.1); color: rgba(255,255,255,.65); }
.section--dark .chip--fall { background: rgba(255,255,255,.08); color: rgba(255,255,255,.5); }

/* Interactive demo */
.demo { display: grid; grid-template-columns: minmax(0,.8fr) minmax(0,1.2fr); gap: clamp(18px, 2.6vw, 32px); align-items: start; }
.demo__side { background: var(--canvas); border-radius: var(--r-lg); padding: 24px; display: grid; gap: 18px; align-content: start; }
.demo__label { display: block; font-size: 10.5px; font-weight: 650; letter-spacing: .09em; text-transform: uppercase; color: var(--ink-500); margin-bottom: 9px; }
.demo__trend { background: var(--paper); border-radius: var(--r-md); padding: 16px; box-shadow: var(--shadow-sm); }
.demo__trend .tsmall__src { color: var(--ink-500); }
.demo__trend h3 { font-size: 16px; font-weight: 600; line-height: 1.32; letter-spacing: -.014em; margin: 8px 0 14px; }
.demo__pick select {
  width: 100%; padding: 13px 14px; border-radius: var(--r-md);
  border: 1px solid var(--line-strong); background: var(--paper); font-size: 14.5px;
}
.demo__out { background: var(--ink); color: var(--paper); border-radius: var(--r-lg); padding: 24px; min-height: 320px; display: grid; grid-template-rows: auto 1fr auto; gap: 18px; }
.demo__status { display: flex; align-items: center; gap: 9px; font-size: 12.5px; color: rgba(255,255,255,.6); }
.demo__statusdot { width: 7px; height: 7px; border-radius: 50%; background: var(--ink-500); transition: background .3s; }
.demo.is-working .demo__statusdot { background: var(--cyan); animation: pulse 1.1s infinite; }
.demo.is-done .demo__statusdot { background: var(--good); }
.demo__idle { font-size: 14px; color: rgba(255,255,255,.35); display: grid; place-items: center; height: 100%; text-align: center; }
.demo__stage { display: grid; align-content: start; gap: 12px; }
.demo__actions { display: flex; flex-wrap: wrap; gap: 7px; padding-top: 16px; border-top: 1px solid var(--line-dark); }
.demo__actions .btn--outline { --btn-fg: var(--paper); --btn-bd: rgba(255,255,255,.26); }
.demo__actions .btn--outline:hover { --btn-bg: rgba(255,255,255,.1); }
.demo__actions .btn--primary { --btn-bg: var(--paper); --btn-fg: var(--ink); }

.think { display: grid; gap: 9px; }
.think li { display: flex; align-items: center; gap: 10px; font-size: 13.5px; color: rgba(255,255,255,.5); opacity: 0; transform: translateY(5px); }
.think li.is-in { opacity: 1; transform: none; transition: opacity .3s, transform .3s var(--ease); }
.think li.is-done { color: rgba(255,255,255,.8); }
.think__tick { width: 15px; height: 15px; border-radius: 50%; border: 1.5px solid currentColor; display: grid; place-items: center; font-size: 9px; flex-shrink: 0; }
.think li.is-done .think__tick { background: var(--cyan); border-color: var(--cyan); color: var(--ink); }

.result { animation: rise .45s var(--ease); }
@keyframes rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.result__tag { display: inline-block; font-size: 10.5px; font-weight: 650; letter-spacing: .07em; text-transform: uppercase; color: var(--cyan); margin-bottom: 12px; }
.result__hook { font-size: 17px; font-weight: 600; line-height: 1.35; letter-spacing: -.016em; margin-bottom: 11px; }
.result__body { font-size: 14px; line-height: 1.6; color: rgba(255,255,255,.68); }
.result__body + .result__body { margin-top: 9px; }

/* Split (campaigns) */
.split { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: clamp(30px, 5vw, 70px); align-items: center; }
.split__copy .btn { margin-top: 28px; }
.kv { display: grid; gap: 1px; background: var(--line); border-radius: var(--r-md); overflow: hidden; }
.kv > div { display: grid; grid-template-columns: 120px 1fr; gap: 12px; background: var(--paper); padding: 13px 15px; }
.kv dt { font-size: 12.5px; color: var(--ink-500); }
.kv dd { font-size: 13.5px; font-weight: 500; }
.campprog { margin-top: 18px; }
.campprog__bar { display: block; height: 7px; border-radius: 999px; background: var(--surface-2); overflow: hidden; }
.campprog__bar span { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--cyan-deep), var(--purple)); }
.campprog__txt { display: block; font-size: 12px; color: var(--ink-500); margin-top: 8px; }

/* Why */
.why { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(16px, 2.4vw, 28px); }
.why__col { border-radius: var(--r-lg); padding: clamp(24px, 3vw, 36px); border: 1px solid var(--line); }
.why__col--new { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.why__title { font-size: 12px; font-weight: 650; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 22px; }
.why__title--old { color: var(--ink-500); }
.why__title--new { color: var(--cyan); }
.why__steps { counter-reset: s; display: grid; gap: 12px; }
.why__steps li { counter-increment: s; display: flex; align-items: baseline; gap: 13px; font-size: 15.5px; color: var(--ink-600); }
.why__steps li::before { content: counter(s); font-size: 11px; font-weight: 700; color: var(--ink-300); font-variant-numeric: tabular-nums; min-width: 14px; }
.why__steps--new li { color: rgba(255,255,255,.9); font-weight: 500; font-size: 17px; }
.why__steps--new li::before { color: var(--cyan); }
.why__note { font-size: 13px; color: rgba(255,255,255,.5); margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line-dark); }

/* ── 11. Pricing ────────────────────────────────────────────────────────── */
.plans { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 16px; align-items: start; }
.plan { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-xl); padding: clamp(24px, 3vw, 34px); display: grid; gap: 16px; align-content: start; }
.plan--feature { border-color: var(--ink); box-shadow: var(--shadow-md); position: relative; }
.plan__flag { position: absolute; top: -11px; left: 50%; transform: translateX(-50%); font-size: 11px; font-weight: 650; padding: 5px 14px; border-radius: 999px; background: var(--ink); color: var(--paper); white-space: nowrap; }
.plan__name { font-size: 20px; font-weight: 600; letter-spacing: -.018em; }
.plan__for { font-size: 13.5px; color: var(--ink-500); line-height: 1.5; margin-top: -10px; }
.plan__price { display: flex; align-items: baseline; gap: 7px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.plan__amt { font-size: 28px; font-weight: 600; letter-spacing: -.03em; padding: 3px 12px; }
.plan__per { font-size: 13.5px; color: var(--ink-500); }
.plan__feats { display: grid; gap: 10px; }
.plan__feats li { position: relative; padding-left: 26px; font-size: 14px; color: var(--ink-600); line-height: 1.45; }
.plan__feats li::before { content: ''; position: absolute; left: 3px; top: 7px; width: 9px; height: 5px; border-left: 1.8px solid var(--purple); border-bottom: 1.8px solid var(--purple); transform: rotate(-45deg); }
.plans__note { text-align: center; font-size: 12.5px; color: var(--ink-300); margin-top: 26px; }

/* Stories */
.stories { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 16px; }
.story--empty { border: 1px dashed var(--line-strong); border-radius: var(--r-lg); padding: 36px 24px; text-align: center; display: grid; gap: 10px; place-content: center; min-height: 190px; }
.story--empty span { font-size: 12px; letter-spacing: .09em; color: var(--ink-300); border: 0; }
.story--empty p { font-size: 13px; color: var(--ink-300); }

/* ── 12. FAQ ────────────────────────────────────────────────────────────── */
.faq { display: grid; gap: 0; border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 18px;
  padding: 22px 4px; text-align: left; font-size: clamp(16px, 1.6vw, 18px); font-weight: 550;
  letter-spacing: -.012em; transition: color .16s;
}
.faq__q:hover { color: var(--purple-deep); }
.faq__icon { position: relative; width: 16px; height: 16px; flex-shrink: 0; }
.faq__icon::before, .faq__icon::after {
  content: ''; position: absolute; inset: 50% 0 auto 0; height: 1.8px; background: currentColor; border-radius: 2px;
  transform: translateY(-50%); transition: transform .26s var(--ease), opacity .2s;
}
.faq__icon::after { transform: translateY(-50%) rotate(90deg); }
.faq__q[aria-expanded="true"] .faq__icon::after { transform: translateY(-50%) rotate(0deg); opacity: 0; }
.faq__a { padding: 0 4px 24px; max-width: 68ch; }
.faq__a p { font-size: 15px; line-height: 1.62; color: var(--ink-600); }

/* Finale */
.finale { position: relative; background: var(--ink); color: var(--paper); text-align: center; padding: clamp(74px, 10vw, 130px) 0; overflow: hidden; }
.finale__glow {
  position: absolute; inset: auto -10% -60% -10%; height: 120%;
  background:
    radial-gradient(40% 50% at 30% 90%, rgba(108,232,255,.2), transparent 70%),
    radial-gradient(40% 50% at 70% 95%, rgba(163,65,255,.24), transparent 70%);
  filter: blur(10px);
}
.finale__inner { position: relative; }
.finale__title { font-size: clamp(30px, 4.6vw, 54px); font-weight: 600; line-height: 1.08; letter-spacing: -.03em; max-width: 20ch; margin-inline: auto; text-wrap: balance; }
.finale__sub { font-size: clamp(15.5px, 1.5vw, 18px); color: rgba(255,255,255,.66); max-width: 54ch; margin: 20px auto 0; }
.finale__cta { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 34px; }
.finale__note { font-size: 13px; color: rgba(255,255,255,.42); margin-top: 18px; }

/* ── 13. Footer ─────────────────────────────────────────────────────────── */
.footer { background: var(--canvas); border-top: 1px solid var(--line); padding: clamp(46px, 6vw, 72px) 0 34px; }
.footer__grid { display: grid; grid-template-columns: 2fr repeat(5, 1fr); gap: clamp(22px, 3vw, 40px); }
.footer__brandcol .nav__brand .wordmark { font-size: 20px; }
.footer__blurb { font-size: 13.5px; color: var(--ink-500); margin-top: 14px; max-width: 30ch; line-height: 1.55; }
.footer__contact { font-style: normal; display: grid; gap: 7px; margin-top: 24px; }
.footer__ctitle { font-size: 11px; font-weight: 650; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-500); margin-bottom: 3px; }
.footer__contact a { font-size: 13.5px; color: var(--ink-600); }
.footer__contact a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.footer__h { font-size: 11px; font-weight: 650; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-500); margin-bottom: 14px; }
.footer__col ul { display: grid; gap: 9px; }
.footer__col a { font-size: 13.5px; color: var(--ink-600); }
.footer__col a:hover { color: var(--ink); }
.footer__base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; margin-top: clamp(36px, 5vw, 56px); padding-top: 22px; border-top: 1px solid var(--line); }
.footer__base p { font-size: 12.5px; color: var(--ink-500); }
.footer__legalnote { color: var(--ink-300); }

/* -- 13b. Additional product sections ------------------------------------ */

/* Genome / "learns your brand" */
.genome { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: clamp(30px,5vw,68px); align-items: center; }
.genome__chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.gchip { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 550; padding: 9px 14px; border-radius: 999px; background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); }
.gchip::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: linear-gradient(135deg, var(--cyan-deep), var(--purple)); }
.crawl { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 20px; box-shadow: var(--shadow-md); }
.crawl__url { display: flex; align-items: center; gap: 9px; background: var(--canvas); border-radius: 999px; padding: 10px 15px; font-size: 13px; color: var(--ink-600); }
.crawl__url b { color: var(--teal-500); }
.crawl__out { display: grid; gap: 0; margin-top: 16px; }
.crawl__row { display: grid; grid-template-columns: 96px 1fr; gap: 12px; align-items: baseline; padding: 10px 0; border-bottom: 1px solid var(--line); }
.crawl__row:last-child { border-bottom: 0; }
.crawl__k { font-size: 11px; font-weight: 650; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-500); }
.crawl__v { font-size: 13.5px; font-weight: 500; }
.crawl__v em { font-style: normal; color: var(--ink-500); font-weight: 400; }

/* Asset graph */
.assets-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 12px; }
.acard { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.acard__thumb { height: 92px; display: grid; place-items: center; font-size: 11px; font-weight: 650; letter-spacing: .07em; text-transform: uppercase; color: rgba(4,49,51,.5); }
.acard__thumb--1 { background: linear-gradient(140deg, var(--cyan-200), rgba(245,107,255,.35)); }
.acard__thumb--2 { background: linear-gradient(140deg, rgba(163,65,255,.3), var(--cyan-200)); }
.acard__thumb--3 { background: linear-gradient(140deg, rgba(245,107,255,.3), rgba(108,232,255,.45)); }
.acard__thumb--4 { background: var(--canvas); color: var(--ink-300); border-bottom: 1px dashed var(--line-strong); }
.acard__body { padding: 13px; display: grid; gap: 7px; }
.acard__name { font-size: 13px; font-weight: 600; }
.acard__meta { display: flex; flex-wrap: wrap; gap: 5px; }

/* Capture loop -- the WhatsApp thread */
.capture { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,.85fr); gap: clamp(30px,5vw,64px); align-items: center; }
.thread { background: var(--paper); border-radius: var(--r-xl); padding: 20px; box-shadow: var(--shadow-lg); display: grid; gap: 11px; }
.msg { max-width: 84%; padding: 12px 14px; border-radius: 16px; font-size: 13.5px; line-height: 1.48; }
.msg--them { background: var(--canvas); border-bottom-left-radius: 5px; justify-self: start; }
.msg--you { background: var(--cyan-200); color: var(--teal-900); border-bottom-right-radius: 5px; justify-self: end; }
.msg b { display: block; font-weight: 650; margin-bottom: 4px; }
.msg ol { display: grid; gap: 4px; margin-top: 7px; counter-reset: shot; }
.msg ol li { counter-increment: shot; font-size: 12.5px; color: var(--ink-600); padding-left: 18px; position: relative; }
.msg ol li::before { content: counter(shot); position: absolute; left: 0; font-weight: 700; font-size: 10px; color: var(--teal-500); }
.msg--clip { display: flex; align-items: center; gap: 9px; font-size: 12.5px; }
.msg__film { width: 26px; height: 26px; border-radius: 7px; background: rgba(4,49,51,.14); display: grid; place-items: center; font-size: 12px; }

/* Engagement */
.inbox { display: grid; gap: 10px; }
.imsg { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-md); padding: 15px; display: grid; gap: 9px; }
.imsg__top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.imsg__who { font-size: 12.5px; font-weight: 600; }
.imsg__body { font-size: 13.5px; color: var(--ink-600); line-height: 1.45; }
.imsg__reply { background: var(--canvas); border-radius: var(--r-sm); padding: 11px 12px; font-size: 13px; color: var(--ink-600); border-left: 2px solid var(--cyan-deep); }
.imsg__reply b { display: block; font-size: 10.5px; text-transform: uppercase; letter-spacing: .07em; color: var(--teal-500); margin-bottom: 5px; }
.chip--lead { background: rgba(163,65,255,.13); color: var(--purple-deep); }
.chip--esc { background: rgba(180,119,26,.14); color: var(--warn); }

/* Learning loop */
.loop { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.loopstep { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 20px; position: relative; }
.loopstep__n { font-size: 11px; font-weight: 700; color: var(--teal-500); letter-spacing: .06em; }
.loopstep h3 { font-size: 15.5px; font-weight: 600; letter-spacing: -.013em; margin: 8px 0 6px; }
.loopstep p { font-size: 13px; color: var(--ink-500); line-height: 1.5; }

/* Governance */
.gov { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 14px; }
.govcard { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 24px; }
.govcard h3 { font-size: 16px; font-weight: 600; letter-spacing: -.014em; margin-bottom: 8px; }
.govcard p { font-size: 13.5px; color: var(--ink-500); line-height: 1.55; }
.govcard__rule { margin-top: 14px; font-size: 12px; font-weight: 550; padding: 9px 12px; border-radius: var(--r-sm); background: var(--canvas); color: var(--ink-600); }

/* Legal pages */
.legal { padding: clamp(50px,7vw,90px) 0 clamp(60px,8vw,110px); }
.legal__meta { font-size: 13px; color: var(--ink-500); margin-top: 12px; }
.legal__body { margin-top: clamp(30px,4vw,48px); }
.legal__body h2 { font-size: clamp(20px,2.2vw,25px); font-weight: 600; letter-spacing: -.02em; margin: 40px 0 12px; scroll-margin-top: 90px; }
.legal__body h3 { font-size: 16.5px; font-weight: 600; margin: 24px 0 8px; }
.legal__body p, .legal__body li { font-size: 15.5px; line-height: 1.68; color: var(--ink-600); }
.legal__body p { margin-bottom: 14px; }
.legal__body ul { display: grid; gap: 9px; margin: 0 0 18px; }
.legal__body ul li { position: relative; padding-left: 24px; }
.legal__body ul li::before { content: ""; position: absolute; left: 4px; top: 11px; width: 6px; height: 6px; border-radius: 50%; background: var(--cyan-deep); }
.legal__body strong { color: var(--ink); font-weight: 600; }
.legal__toc { background: var(--wash); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 22px 24px; margin-bottom: 40px; }
.legal__toctitle { font-size: 12px; font-weight: 650; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-500); margin-bottom: 12px; }
.legal__toc ol { display: grid; gap: 7px; counter-reset: toc; }
.legal__toc li { counter-increment: toc; font-size: 14px; }
.legal__toc a { color: var(--ink-600); }
.legal__toc a:hover { color: var(--purple-deep); text-decoration: underline; text-underline-offset: 3px; }
.legal__toc li::before { content: counter(toc) ". "; color: var(--ink-300); font-variant-numeric: tabular-nums; }
.notice { background: rgba(180,119,26,.08); border: 1px solid rgba(180,119,26,.3); border-radius: var(--r-md); padding: 16px 18px; margin-bottom: 30px; }
.notice p { font-size: 14px; color: #7a5210; margin: 0; }
.notice strong { color: #5e3f0c; }

/* ── 14. Responsive ─────────────────────────────────────────────────────── */
@media (max-width: 1100px) {
  .footer__grid { grid-template-columns: 1.6fr repeat(3, 1fr); row-gap: 34px; }
}

@media (max-width: 1100px) {
  .assets-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .loop { grid-template-columns: repeat(2, 1fr); row-gap: 14px; }
  .gov { grid-template-columns: 1fr; }
}

@media (max-width: 980px) {
  .genome, .capture { grid-template-columns: 1fr; }
  .nav__links { display: none; }
  .nav__login { display: none; }
  .nav__toggle { display: flex; }
  .nav__inner { height: 64px; gap: 14px; }
  .nav__actions { margin-left: auto; }

  .hero__inner { grid-template-columns: 1fr; }
  .hero__title { max-width: 18ch; }
  .app { transform: none; }
  .hero__visual:hover .app { transform: none; }

  .compare { grid-template-columns: 1fr; }
  .compare__arrow { justify-self: center; transform: rotate(90deg); }

  .steps__panel { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; }
  .tgrid { grid-template-columns: 1fr; }
  .demo { grid-template-columns: 1fr; }
  .plans { grid-template-columns: 1fr; max-width: 480px; margin-inline: auto; }
  .plan--feature { order: -1; }
  .stories { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
  .assets-grid { grid-template-columns: 1fr; }
  .loop { grid-template-columns: 1fr; }
  .crawl__row { grid-template-columns: 1fr; gap: 3px; }
  .msg { max-width: 94%; }
  .why { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__brandcol { grid-column: 1 / -1; }
  .tbig__stats { grid-template-columns: 1fr; gap: 14px; padding: 18px 0; }
  .cal { grid-template-columns: repeat(3, 1fr); }
  .cal__dow:nth-child(n+4) { display: none; }
  .cal__day:nth-child(n+12) { display: none; }
  .kv > div { grid-template-columns: 1fr; gap: 2px; }
  .hero__cta .btn, .finale__cta .btn { flex: 1 1 100%; }
}

@media (max-width: 980px) {
  /* The nav CTA is the one control a thumb has to hit while scrolling, and
     `btn--sm` leaves it at 37px. Above the WCAG 2.5.8 floor, under the size
     anyone actually finds comfortable. */
  .nav__actions .btn--sm { min-height: 44px; padding-inline: 18px; }
  .nav__toggle { min-height: 44px; min-width: 44px; }
}

@media (max-width: 460px) {
  :root { --pad: 18px; }
  .app { grid-template-columns: 1fr; }
  .app__rail { flex-direction: row; align-items: center; gap: 10px; overflow: hidden; padding: 11px 13px; border-right: 0; border-bottom: 1px solid var(--line); }
  .app__nav, .app__agent { display: none; }
  .tcard-row { grid-template-columns: 1fr; }
  .trust__logo { min-width: 104px; }
  .steps__tab { padding: 10px 15px; font-size: 14px; }
}

/* ── 15. Motion / accessibility ─────────────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(16px); }
.reveal.is-visible { opacity: 1; transform: none; transition: opacity .6s var(--ease), transform .6s var(--ease); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
  .app { transform: none !important; }
}

@media (prefers-contrast: more) {
  :root { --line: rgba(12,12,12,.4); --ink-500: #4a4a4a; }
}
