/* consilyn.com — one stylesheet for every page.

   Two colour meanings are borrowed from the app and keep their meaning here:
   teal-green is "your own words", amber is "general knowledge, not verified".
   Neither is used as decoration on an answer. The brand colour is the teal,
   because the product's promise is the consultant's own material. */

@font-face {
  font-family: "Newsreader"; font-style: normal; font-weight: 200 800; font-display: swap;
  src: url("/assets/fonts/newsreader.woff2") format("woff2");
}
@font-face {
  font-family: "Newsreader"; font-style: italic; font-weight: 200 800; font-display: swap;
  src: url("/assets/fonts/newsreader-italic.woff2") format("woff2");
}
@font-face {
  font-family: "Inter"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("/assets/fonts/inter.woff2") format("woff2");
}

:root {
  --paper: #F6F4EF;
  --paper-2: #EEEAE1;
  --surface: #FFFFFF;
  --ink: #0E1A24;
  --ink-2: #44515E;
  --ink-3: #5F6A76;
  --line: #E0DBD0;
  --line-strong: #C9C2B4;
  --brand: #0B6E62;
  --brand-hover: #095B51;
  --brand-ink: #FFFFFF;
  --brand-soft: #DCEEE9;
  --amber: #8A5A05;
  --amber-soft: #F6EAD1;
  --clash: #A32118;
  --night: #0C1620;
  --night-2: #13212E;
  --night-ink: #E9EEF2;
  --night-ink-2: #A9B6C2;
  --night-line: #243545;
  --shadow: 0 1px 2px rgba(14, 26, 36, .06), 0 12px 32px -12px rgba(14, 26, 36, .22);
  --shadow-lg: 0 2px 4px rgba(14, 26, 36, .05), 0 32px 64px -24px rgba(14, 26, 36, .35);
  --radius: 14px;
  --font-display: "Newsreader", Georgia, "Times New Roman", serif;
  --font-ui: "Inter", "Segoe UI", system-ui, -apple-system, Roboto, sans-serif;
  --font-mono: "Cascadia Mono", Consolas, ui-monospace, "SF Mono", monospace;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #0B1117; --paper-2: #10181F; --surface: #141C25;
    --ink: #E8ECF1; --ink-2: #A9B4C0; --ink-3: #8C99A6;
    --line: #222E3A; --line-strong: #34414F;
    --brand: #5FCFBC; --brand-hover: #7DDBCB; --brand-ink: #06231F; --brand-soft: #12332F;
    --amber: #E3B25C; --amber-soft: #33280F; --clash: #F0928A;
    --night: #070C11; --night-2: #0F1820; --night-line: #1F2C38;
    --shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 12px 32px -12px rgba(0, 0, 0, .7);
    --shadow-lg: 0 2px 4px rgba(0, 0, 0, .4), 0 32px 64px -24px rgba(0, 0, 0, .8);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --paper: #0B1117; --paper-2: #10181F; --surface: #141C25;
  --ink: #E8ECF1; --ink-2: #A9B4C0; --ink-3: #8C99A6;
  --line: #222E3A; --line-strong: #34414F;
  --brand: #5FCFBC; --brand-hover: #7DDBCB; --brand-ink: #06231F; --brand-soft: #12332F;
  --amber: #E3B25C; --amber-soft: #33280F; --clash: #F0928A;
  --night: #070C11; --night-2: #0F1820; --night-line: #1F2C38;
  --shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 12px 32px -12px rgba(0, 0, 0, .7);
  --shadow-lg: 0 2px 4px rgba(0, 0, 0, .4), 0 32px 64px -24px rgba(0, 0, 0, .8);
  color-scheme: dark;
}

/* ------------------------------------------------------------------ base */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 400 17px/1.6 var(--font-ui);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--brand); }
:focus-visible { outline: 3px solid var(--focus, var(--brand)); outline-offset: 3px; border-radius: 4px; }
/* The light-theme teal is too dark to see on the navy bands. */
.night, .final-card, .guide-cta { --focus: #5FCFBC; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 500; letter-spacing: -.015em; line-height: 1.1; margin: 0; text-wrap: balance; }
p { margin: 0 0 1em; }
strong { font-weight: 650; }
code { font-family: var(--font-mono); font-size: .88em; background: var(--paper-2); padding: .1em .35em; border-radius: 4px; }

.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 24px; }
@media (max-width: 600px) { .wrap { padding: 0 16px; } }

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: var(--paper);
  padding: 10px 14px; border-radius: 8px; text-decoration: none; font-weight: 600;
}
.skip:focus { top: 12px; color: var(--paper); }

.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;
}

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; margin: 0 0 18px;
  font: 600 12px/1.2 var(--font-ui); letter-spacing: .14em; text-transform: uppercase; color: var(--brand);
}
.eyebrow::before { content: ""; width: 9px; height: 9px; border-radius: 2px; background: currentColor; }
.eyebrow a { text-decoration: none; }

/* --------------------------------------------------------------- buttons */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 22px; border-radius: 999px; border: 1px solid transparent;
  font: 600 16px/1.2 var(--font-ui); text-decoration: none; cursor: pointer;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease, transform .15s ease;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--brand); color: var(--brand-ink); }
.btn-primary:hover { background: var(--brand-hover); color: var(--brand-ink); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn-ghost:hover { border-color: var(--ink); color: var(--ink); }
.btn-small { min-height: 40px; padding: 8px 16px; font-size: 15px; }
.btn svg { width: 18px; height: 18px; flex: none; }

/* ---------------------------------------------------------------- header */

.site-head {
  position: sticky; top: 0; z-index: 50;
  background: var(--paper);
  background: color-mix(in srgb, var(--paper) 86%, transparent);
  -webkit-backdrop-filter: saturate(1.4) blur(12px); backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid transparent; transition: border-color .2s ease;
}
.site-head.scrolled, .doc .site-head { border-bottom-color: var(--line); }
.head-row { display: flex; align-items: center; gap: 28px; min-height: 68px; }
.brand {
  display: inline-flex; align-items: center; gap: 10px; text-decoration: none;
  font: 600 21px/1 var(--font-display); letter-spacing: -.01em; color: var(--ink);
}
.brand:hover { color: var(--ink); }
.mark {
  width: 28px; height: 28px; border-radius: 8px; background: var(--ink); position: relative; flex: none;
}
.mark::before, .mark::after { content: ""; position: absolute; left: 7px; height: 3px; border-radius: 2px; }
.mark::before { top: 9px; width: 14px; background: var(--brand-soft); }
.mark::after { top: 16px; width: 9px; background: #5FCFBC; }
.main-nav { display: flex; gap: 26px; margin-left: auto; }
.main-nav a { text-decoration: none; font-size: 15px; font-weight: 500; color: var(--ink-2); }
.main-nav a:hover { color: var(--ink); }
.head-cta { margin-left: 4px; white-space: nowrap; }
/* On a phone the menu folds behind a "Menu" button (user, 2026-10-09: there was no
   menu at all below 900px). Shown only when site.js runs, which opens it; without
   script the footer's links are the way round. */
.menu-btn { display: none; }
@media (max-width: 900px) {
  .main-nav { display: none; }
  .head-cta { margin-left: auto; }
  .js .menu-btn {
    display: inline-flex; align-items: center; min-height: 40px; padding: 8px 14px;
    border-radius: 999px; border: 1px solid var(--line-strong); background: transparent;
    font: 600 15px/1 var(--font-ui); color: var(--ink); cursor: pointer;
  }
  .js .menu-btn[aria-expanded="true"] { border-color: var(--ink); }
  .site-head.menu-open .main-nav {
    display: flex; flex-direction: column; gap: 0; margin: 0;
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--paper); border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
    padding: 8px 16px 14px;
  }
  .site-head.menu-open .main-nav a { padding: 13px 4px; font-size: 17px; border-bottom: 1px solid var(--line); }
  .site-head.menu-open .main-nav a:last-child { border-bottom: 0; }
}
.doc-nav { display: flex; gap: 20px; margin-left: auto; flex-wrap: wrap; }
.doc-nav a { text-decoration: none; font-size: 15px; color: var(--ink-2); }
.doc-nav a[aria-current="page"] { color: var(--ink); font-weight: 600; }
@media (max-width: 600px) { .doc-nav { gap: 14px; } .doc-nav a { font-size: 14px; } }

/* ------------------------------------------------------------------ hero */

.hero { position: relative; padding: 56px 0 72px; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: -20% -10% auto auto; width: 70%; height: 120%; z-index: -1;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--brand) 14%, transparent), transparent 70%);
  pointer-events: none;
}
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: 56px; align-items: start; }
@media (min-width: 1024px) { .hero-copy { padding-top: 64px; } }
.hero h1 { font-size: clamp(38px, 4.5vw, 60px); font-weight: 450; line-height: 1.02; letter-spacing: -.025em; }
.hero h1 em { font-style: italic; color: var(--brand); font-weight: 450; }
.intro { font-size: clamp(18px, 1.6vw, 20px); line-height: 1.55; color: var(--ink-2); margin: 22px 0 30px; max-width: 34em; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.cta-note { margin: 14px 0 0; font-size: 14px; color: var(--ink-3); }
.trust-row { display: flex; flex-wrap: wrap; gap: 10px 22px; margin: 30px 0 0; padding: 0; list-style: none; }
.trust-row li { display: inline-flex; align-items: center; gap: 8px; font-size: 14.5px; color: var(--ink-2); }
.trust-row svg { width: 18px; height: 18px; color: var(--brand); flex: none; }
@media (max-width: 1023px) {
  .hero { padding: 36px 0 56px; }
  .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
}

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

.section { padding: 96px 0; }
.section-tight { padding: 72px 0; }
.section-alt { background: var(--paper-2); }
@media (max-width: 700px) { .section { padding: 64px 0; } .section-tight { padding: 48px 0; } }
.section-head { max-width: 760px; margin: 0 0 48px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.section-head h2 { font-size: clamp(32px, 4vw, 48px); }
.section-head p:not(.eyebrow) { font-size: 18px; color: var(--ink-2); margin: 18px 0 0; }

/* The moment: three short pains. */
.moment { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.moment-item { padding: 26px 24px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.moment-item .num { font: 500 40px/1 var(--font-display); color: var(--brand); margin: 0 0 14px; }
.moment-item h3 { font-size: 22px; margin: 0 0 8px; }
.moment-item p { color: var(--ink-2); margin: 0; font-size: 16px; }
@media (max-width: 860px) { .moment { grid-template-columns: minmax(0, 1fr); } }

/* How it works. */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; list-style: none; margin: 0; padding: 0; }
.step { position: relative; padding: 28px 26px 26px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.step-n {
  display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%;
  background: var(--ink); color: var(--paper); font: 600 15px/1 var(--font-ui); margin: 0 0 18px;
}
.step h3 { font-size: 24px; margin: 0 0 10px; }
.step p { color: var(--ink-2); font-size: 16px; margin: 0 0 16px; }
.step-visual {
  margin-top: 18px; border-radius: 10px; background: var(--paper); border: 1px solid var(--line);
  padding: 14px; font-size: 13.5px; color: var(--ink-2);
}
.mini-field { display: block; font: 600 11px/1.3 var(--font-ui); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); margin: 0 0 6px; }
.mini-box { background: var(--surface); border: 1px solid var(--line); border-radius: 6px; padding: 8px 10px; margin: 0 0 10px; line-height: 1.45; }
.mini-box:last-child { margin-bottom: 0; }
.mini-progress { height: 6px; border-radius: 3px; background: var(--line); overflow: hidden; margin: 8px 0 4px; }
.mini-progress span { display: block; height: 100%; width: 100%; background: var(--brand); border-radius: 3px; }
/* Step 3 shows a fragment of the app screen. The full demo above is a fixed 640px
   window; this one is only as tall as its answer, or it stretches all three step
   cards to its height (user, 2026-10-09). */
.step-visual .app { height: auto; min-height: 0; box-shadow: none; }
.step-visual .app-card { padding: 12px 14px; }
.step-visual .app-answer { font-size: 15px; }
.step-visual .chip { white-space: normal; }   /* a long chip wraps on a phone instead of overflowing */
@media (max-width: 960px) { .steps { grid-template-columns: minmax(0, 1fr); } }

/* Features. */
.features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.feature { background: var(--surface); padding: 30px 28px; }
.feature-icon { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand); margin: 0 0 18px; }
.feature-icon svg { width: 22px; height: 22px; }
.feature h3 { font-size: 22px; margin: 0 0 8px; }
.feature p { color: var(--ink-2); font-size: 16px; margin: 0; }
@media (max-width: 960px) { .features { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .features { grid-template-columns: minmax(0, 1fr); } }

/* Two-column spotlight: text beside a static app fragment. */
.spot { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.spot + .spot { margin-top: 88px; }
.spot.flip .spot-text { order: 2; }
.spot-text h3 { font-size: clamp(28px, 3vw, 38px); margin: 0 0 16px; }
.spot-text p { color: var(--ink-2); font-size: 17px; }
.spot-text ul { padding: 0; margin: 18px 0 0; list-style: none; }
.spot-text li { position: relative; padding-left: 28px; margin: 0 0 10px; color: var(--ink-2); }
.spot-text li::before {
  content: ""; position: absolute; left: 2px; top: .55em; width: 12px; height: 7px;
  border-left: 2px solid var(--brand); border-bottom: 2px solid var(--brand); transform: rotate(-45deg);
}
@media (max-width: 960px) {
  .spot { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .spot.flip .spot-text { order: 0; }
  .spot + .spot { margin-top: 64px; }
}

/* ------------------------------------------------------- privacy band */

.night { background: var(--night); color: var(--night-ink); }
.night .eyebrow { color: #5FCFBC; }
.night .section-head p:not(.eyebrow) { color: var(--night-ink-2); }
.night a:hover { color: #5FCFBC; }
.flow { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 20px; align-items: start; }
.flow-box { border: 1px solid var(--night-line); border-radius: var(--radius); padding: 26px; background: var(--night-2); }
.flow-box h3 { font-size: 22px; margin: 0 0 6px; color: var(--night-ink); }
.flow-box > p { color: var(--night-ink-2); font-size: 15px; margin: 0 0 18px; }
.flow-laptop { border-color: color-mix(in srgb, #5FCFBC 45%, var(--night-line)); }
.flow-laptop h3::after {
  content: "Stays here" / ""; margin-left: 10px; vertical-align: 3px;
  font: 600 10.5px/1 var(--font-mono); letter-spacing: .1em; text-transform: uppercase;
  color: #5FCFBC; border: 1px solid #5FCFBC; border-radius: 3px; padding: 3px 6px;
}
.flow-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.flow-list li { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; color: var(--night-ink); line-height: 1.45; }
.flow-list svg { width: 18px; height: 18px; flex: none; margin-top: 2px; color: #5FCFBC; }
.flow-list .out svg { color: #E3B25C; }
.flow-side { display: grid; gap: 20px; }
.flow-note { margin: 28px 0 0; font-size: 15px; color: var(--night-ink-2); max-width: 70ch; }
@media (max-width: 900px) { .flow { grid-template-columns: minmax(0, 1fr); } }

/* ------------------------------------------------------- comparison */

.compare-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.compare { width: 100%; border-collapse: collapse; min-width: 640px; font-size: 15.5px; }
.compare th, .compare td { padding: 16px 18px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.compare tr:last-child th, .compare tr:last-child td { border-bottom: 0; }
.compare thead th { font: 600 13px/1.3 var(--font-ui); letter-spacing: .04em; color: var(--ink-3); background: var(--paper); }
.compare thead th.us { color: var(--brand); }
.compare tbody th { font-weight: 600; width: 34%; }
.compare td.us { background: color-mix(in srgb, var(--brand) 6%, transparent); }
@media (max-width: 700px) {
  .compare { min-width: 560px; font-size: 14.5px; }
  .compare th, .compare td { padding: 12px 12px; }
  .compare tbody th, .compare thead th:first-child { position: sticky; left: 0; z-index: 1; background: var(--surface); width: 150px; }
  .compare thead th:first-child { background: var(--paper); }
}
.yes, .no, .meh { display: inline-flex; align-items: center; gap: 8px; }
.yes::before, .no::before, .meh::before { content: ""; width: 10px; height: 10px; border-radius: 50%; flex: none; }
.yes::before { background: var(--brand); }
.no::before { background: transparent; border: 2px solid var(--clash); }
.meh::before { background: transparent; border: 2px dashed var(--amber); }
.compare-note { font-size: 14px; color: var(--ink-3); margin: 14px 0 0; }

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

.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: stretch; }
.plan { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 28px; }
.plan.featured { border: 2px solid var(--brand); box-shadow: var(--shadow); position: relative; }
.plan-badge {
  position: absolute; top: -13px; left: 26px; background: var(--brand); color: var(--brand-ink);
  font: 600 12px/1 var(--font-ui); letter-spacing: .06em; text-transform: uppercase; padding: 7px 10px; border-radius: 999px;
}
.plan h3 { font: 600 15px/1.3 var(--font-ui); letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); margin: 0 0 14px; }
.price { font: 500 52px/1 var(--font-display); letter-spacing: -.02em; margin: 0 0 6px; }
.price small { font: 500 16px/1 var(--font-ui); color: var(--ink-3); letter-spacing: 0; margin-left: 4px; }
.plan-sub { color: var(--ink-2); font-size: 15.5px; margin: 0 0 20px; }
.plan ul { list-style: none; padding: 0; margin: 0 0 26px; display: grid; gap: 10px; }
.plan li { position: relative; padding-left: 26px; font-size: 15.5px; color: var(--ink-2); }
.plan li::before {
  content: ""; position: absolute; left: 2px; top: .5em; width: 11px; height: 6px;
  border-left: 2px solid var(--brand); border-bottom: 2px solid var(--brand); transform: rotate(-45deg);
}
.plan .btn { margin-top: auto; }
.pay-line { margin: 12px 0 0; text-align: center; font-size: 13.5px; color: var(--ink-3); }
.price-note { margin: 24px auto 0; max-width: 760px; text-align: center; font-size: 14.5px; color: var(--ink-3); }
@media (max-width: 960px) { .plans { grid-template-columns: minmax(0, 1fr); max-width: 520px; margin: 0 auto; } }

/* Requirements. */
.needs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; }
.needs li { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 20px; font-size: 15px; color: var(--ink-2); }
.needs b { display: block; font: 500 20px/1.2 var(--font-display); color: var(--ink); margin: 0 0 6px; }
@media (max-width: 900px) { .needs { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .needs { grid-template-columns: minmax(0, 1fr); } }

/* Responsible use. */
.rules { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; counter-reset: rule; margin: 0; padding: 0; list-style: none; }
.rules li { counter-increment: rule; border-top: 2px solid var(--ink); padding: 18px 0 0; }
.rules li::before { content: "0" counter(rule); display: block; font: 600 13px/1 var(--font-mono); color: var(--brand); margin: 0 0 12px; letter-spacing: .08em; }
.rules h3 { font-size: 22px; margin: 0 0 8px; }
.rules p { color: var(--ink-2); font-size: 16px; margin: 0; }
@media (max-width: 860px) { .rules { grid-template-columns: minmax(0, 1fr); } }

/* ---------------------------------------------------------------- FAQ */

.faq { max-width: 860px; margin: 0 auto; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 22px 4px; font: 500 21px/1.3 var(--font-display); color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; width: 12px; height: 12px; flex: none; margin-right: 6px;
  border-right: 2px solid var(--ink-2); border-bottom: 2px solid var(--ink-2); transform: rotate(45deg) translateY(-3px);
  transition: transform .2s ease;
}
.faq details[open] summary::after { transform: rotate(-135deg) translateY(-3px); }
.faq summary:hover { color: var(--brand); }
.faq .answer-body { padding: 0 4px 22px; color: var(--ink-2); font-size: 16.5px; max-width: 70ch; }
.faq .answer-body p:last-child { margin-bottom: 0; }
.faq .answer-body ul { margin: 0 0 12px; padding-left: 22px; }
.faq .answer-body li { margin-bottom: 4px; }
.faq .answer-body ul:last-child { margin-bottom: 0; }

/* ------------------------------------------------------------ final CTA */

.final { text-align: center; }
.final-card {
  background: var(--night); color: var(--night-ink); border-radius: 24px; padding: 72px 32px;
  position: relative; overflow: hidden;
}
.final-card::before {
  content: ""; position: absolute; inset: auto -20% -60% -20%; height: 120%;
  background: radial-gradient(closest-side, color-mix(in srgb, #5FCFBC 22%, transparent), transparent 70%);
  pointer-events: none;
}
.final-card > * { position: relative; }
.final h2 { font-size: clamp(32px, 4.4vw, 52px); max-width: 18em; margin: 0 auto; }
.final p:not(.cta-note) { color: var(--night-ink-2); font-size: 18px; margin: 18px auto 30px; max-width: 36em; }
.final .cta-row { justify-content: center; }
.final .btn-primary { background: #5FCFBC; color: #06231F; }
.final .btn-primary:hover { background: #7DDBCB; color: #06231F; }
.final .btn-ghost { color: var(--night-ink); border-color: var(--night-line); }
.final .btn-ghost:hover { border-color: var(--night-ink); color: var(--night-ink); }
.final .cta-note { color: var(--night-ink-2); }
@media (max-width: 600px) { .final-card { padding: 52px 20px; border-radius: 18px; } }

/* --------------------------------- why people stop, and the email form (2026-10-16) */

/* The questions need the script; without it they are not shown at all. */
.ask { display: none; }
.js .ask { display: block; }
.ask-q { font-weight: 600; margin: 0 0 10px; }
.ask-options { display: flex; flex-wrap: wrap; gap: 8px; }
.ask-options[hidden] { display: none; }
.ask-options button, .ask-note button {
  font: 500 14.5px/1.25 var(--font-ui); padding: 9px 14px; border-radius: 999px; cursor: pointer;
  background: transparent; color: var(--ink); border: 1px solid var(--line-strong); text-align: left;
}
.ask-options button:hover, .ask-options button[aria-pressed="true"] { border-color: var(--brand); color: var(--brand); }
.ask-note { margin-top: 12px; }
.ask-note label { display: block; font-size: 14px; margin-bottom: 6px; }
.ask-note-row { display: flex; gap: 8px; flex-wrap: wrap; }
.ask-note input {
  flex: 1 1 200px; min-width: 0; font: 15px/1.3 var(--font-ui); padding: 9px 12px; border-radius: 10px;
  border: 1px solid var(--line-strong); background: var(--surface); color: var(--ink);
}
.ask-thanks { margin: 4px 0 0; }
.setup-call { margin: 16px 0 0; font-size: 14px; color: var(--ink-3); }

/* On the dark final card. */
.final .ask-stopped { margin: 36px auto 0; max-width: 40em; padding-top: 28px; border-top: 1px solid var(--night-line);
  text-align: center; }
.final .ask-note label { text-align: left; }
.final .ask-options { justify-content: center; }
.final .ask-options button, .final .ask-note button { color: var(--night-ink); border-color: var(--night-line); }
.final .ask-options button:hover, .final .ask-options button[aria-pressed="true"] { border-color: #5FCFBC; color: #5FCFBC; }
.final .ask-note input { background: var(--night-2); color: var(--night-ink); border-color: var(--night-line); }
/* Beats `.final p:not(.cta-note)`, which would make these 18px with wide margins. */
.final .ask .ask-q { color: var(--night-ink); font-size: 16px; margin: 0 auto 12px; }
.final .ask .ask-thanks { color: var(--night-ink); font-size: 16px; margin: 4px auto 0; }
.final .ask .setup-call { color: var(--night-ink-2); font-size: 14px; margin: 18px auto 0; }
.final .setup-call a, .final .ask-thanks a { color: #5FCFBC; }

/* After a Download press. */
.after-dl {
  width: min(560px, calc(100% - 32px)); max-height: calc(100% - 32px); overflow: auto; box-sizing: border-box;
  padding: 28px 28px 24px; border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--surface); color: var(--ink); box-shadow: var(--shadow-lg);
}
.after-dl::backdrop { background: rgba(14, 26, 36, .5); }
.after-dl h2 { font-size: 26px; margin: 0 32px 14px 0; }
.after-dl-close { position: absolute; top: 12px; right: 12px; margin: 0; }
.after-dl-close button {
  width: 36px; height: 36px; border-radius: 999px; border: 1px solid var(--line); background: transparent;
  color: var(--ink-2); font: 22px/1 var(--font-ui); cursor: pointer;
}
.after-dl-close button:hover { color: var(--ink); border-color: var(--line-strong); }
.after-dl-steps { margin: 0 0 20px; padding-left: 20px; color: var(--ink-2); font-size: 15px; }
.after-dl-steps li { margin-bottom: 8px; }
.after-dl .ask { padding-top: 18px; border-top: 1px solid var(--line); }
.after-dl .ask-thanks a, .after-dl .setup-call a { color: var(--brand); }
/* Want a hand? (2026-10-18). Needs the script, like the questions. */
.help-ask { display: none; margin: 18px 0 0; padding-top: 18px; border-top: 1px solid var(--line); }
.js .help-ask { display: block; }
.help-sub { margin: 0 0 10px; font-size: 15px; color: var(--ink-2); }
.help-row { display: flex; gap: 8px; flex-wrap: wrap; }
.help-row input {
  flex: 1 1 220px; min-width: 0; font: 15px/1.3 var(--font-ui); padding: 9px 12px; border-radius: 10px;
  border: 1px solid var(--line-strong); background: var(--surface); color: var(--ink);
}
.help-row button {
  font: 500 14.5px/1.25 var(--font-ui); padding: 9px 16px; border-radius: 999px; cursor: pointer;
  background: var(--brand); color: var(--brand-ink); border: 1px solid var(--brand);
}
.help-row button:hover { background: var(--brand-hover); }
.help-row button:disabled { opacity: .6; cursor: default; }
.help-tick { display: flex; gap: 8px; align-items: flex-start; margin-top: 10px; font-size: 14px; color: var(--ink-2); }
.help-tick input { margin-top: 3px; }
.help-status { margin: 8px 0 0; font-size: 14px; color: var(--ink-2); min-height: 1em; }
.help-done { margin: 0; font-weight: 600; }
@media (max-width: 600px) { .after-dl { padding: 22px 16px 18px; } .after-dl h2 { font-size: 22px; } }

/* "Email me the link", on phones, tablets and Macs. */
.cta-row .send-link { flex: 1 1 100%; }
.send-link { margin: 0; max-width: 460px; }
.final .send-link { margin: 0 auto; text-align: left; }
.send-link-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.send-link-row { display: flex; gap: 8px; flex-wrap: wrap; }
.send-link-row input {
  flex: 1 1 210px; min-width: 0; font: 16px/1.3 var(--font-ui); padding: 12px 14px; border-radius: 999px;
  border: 1px solid var(--line-strong); background: var(--surface); color: var(--ink);
}
.send-link-row .btn { flex: 0 0 auto; }
.send-link-tick { display: flex; gap: 8px; align-items: flex-start; margin-top: 10px; font-size: 14px; color: var(--ink-2); }
.send-link-tick input { margin-top: 3px; }
.send-link-status { margin: 8px 0 0; font-size: 14px; color: var(--ink-2); min-height: 1em; }
.send-link-done { margin: 0; font-weight: 600; }
.final .send-link-row input { background: var(--night-2); color: var(--night-ink); border-color: var(--night-line); }
.final .send-link-tick, .final .send-link-status { color: var(--night-ink-2); }
.final .send-link-done { color: var(--night-ink); }

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

.site-foot { border-top: 1px solid var(--line); padding: 48px 0 40px; font-size: 14.5px; color: var(--ink-2); }
.foot-grid { display: grid; grid-template-columns: 1.4fr repeat(3, minmax(0, 1fr)); gap: 32px; }
.foot-grid h2 { font: 600 12px/1.3 var(--font-ui); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); margin: 0 0 14px; }
.foot-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.foot-grid a { text-decoration: none; }
.foot-grid a:hover { text-decoration: underline; }
.foot-about p { margin: 14px 0 0; max-width: 34ch; }
.foot-legal { margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 13px; color: var(--ink-3); display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; }
.foot-row { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.foot-row a { text-decoration: none; }
.foot-row a:hover { text-decoration: underline; }
@media (max-width: 860px) { .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .foot-about { grid-column: 1 / -1; } }

/* ------------------------------------------------------- policy pages */

.doc-main { padding-top: 48px; padding-bottom: 80px; }
.prose { max-width: 680px; margin: 0 auto; font-size: 17px; }
.prose h1 { font-size: clamp(36px, 5vw, 52px); margin: 0 0 28px; }
.prose h2 { font-size: 27px; margin: 44px 0 12px; }
.prose h3 { font-size: 21px; margin: 32px 0 10px; }
.prose p, .prose li { color: var(--ink-2); }
.prose strong { color: var(--ink); }
.prose ul, .prose ol { padding-left: 22px; margin: 0 0 1.1em; }
.prose li { margin: 0 0 8px; }
.prose a { color: var(--brand); }
.prose .meta { font-size: 14.5px; color: var(--ink-3); margin: -12px 0 28px; }
.prose .callout {
  border-left: 3px solid var(--brand); background: var(--surface); padding: 16px 20px; border-radius: 0 10px 10px 0; margin: 24px 0;
}
.prose .callout p:last-child { margin: 0; }

/* =====================================================================
   The live screen, recreated. Values come from src/copilot/static/app.css
   so the demo looks like the app, in both themes. Sizes are scaled down to
   fit a column; the structure, labels and colours are the app's own.
   ===================================================================== */

.app {
  --a-ground: #F6F4EF; --a-surface: #FFFFFF; --a-surface-2: #EEEAE1;
  --a-ink: #0E1A24; --a-ink-2: #44515E; --a-ink-3: #5F6A76; --a-said: #77828F;
  --a-look-b: #132A45; --a-look-b-soft: #33506E; --a-look-c: #2C1B0F; --a-look-c-soft: #5E4630;
  --a-line: #E0DBD0; --a-line-strong: #C9C2B4;
  --a-verified: #0B6E62; --a-verified-bg: #DCEEE9;
  --a-unverified: #8A5A05; --a-unverified-bg: #F7EBD3;
  --a-clash: #A32118; --a-clash-bg: #F8E2E0; --a-live: #B3261E;
  --a-brand-soft: #DCEEE9;
  /* The app wears the site's Inter and Newsreader since 0.1.3 (2026-10-09); the answer
     keeps the faces it was gated in, so look b is still Segoe UI. */
  --a-font-ui: var(--font-ui);
  --a-font-display: var(--font-display);
  --a-font-sans-read: "Segoe UI", system-ui, -apple-system, sans-serif;
  --a-font-read: Georgia, "Times New Roman", serif;
  --a-font-read-alt: Cambria, Constantia, "Palatino Linotype", Georgia, serif;
  --a-font-data: "Cascadia Mono", Consolas, ui-monospace, monospace;
  font-family: var(--a-font-ui); color: var(--a-ink);
  background: var(--a-ground); border: 1px solid var(--line-strong);
  border-radius: 12px; overflow: hidden; box-shadow: var(--shadow-lg);
  display: flex; flex-direction: column; position: relative;
  height: 640px; text-align: left;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .app {
    --a-ground: #0B1117; --a-surface: #141C25; --a-surface-2: #1F2731;
    --a-ink: #E8ECF1; --a-ink-2: #A9B4C0; --a-ink-3: #8C99A6; --a-said: #6B7886;
    --a-look-b: #D3E7FA; --a-look-b-soft: #93B4D4; --a-look-c: #F6E7D2; --a-look-c-soft: #C9B393;
    --a-line: #222E3A; --a-line-strong: #34414F;
    --a-verified: #5FCFBC; --a-verified-bg: #12332F;
    --a-unverified: #E3B25C; --a-unverified-bg: #33280F;
    --a-clash: #F0928A; --a-clash-bg: #3A1A17; --a-live: #F0928A;
    --a-brand-soft: #12332F;
  }
}
:root[data-theme="dark"] .app {
  --a-ground: #0B1117; --a-surface: #141C25; --a-surface-2: #1F2731;
    --a-ink: #E8ECF1; --a-ink-2: #A9B4C0; --a-ink-3: #8C99A6; --a-said: #6B7886;
    --a-look-b: #D3E7FA; --a-look-b-soft: #93B4D4; --a-look-c: #F6E7D2; --a-look-c-soft: #C9B393;
    --a-line: #222E3A; --a-line-strong: #34414F;
    --a-verified: #5FCFBC; --a-verified-bg: #12332F;
    --a-unverified: #E3B25C; --a-unverified-bg: #33280F;
    --a-clash: #F0928A; --a-clash-bg: #3A1A17; --a-live: #F0928A;
    --a-brand-soft: #12332F;
}

/* The app's top bar on a call: its mark and name, the client, LISTENING in red, the
   clock and End call. Same background as the window, as in the app. */
.app-bar {
  display: flex; align-items: center; gap: 12px; padding: 9px 16px; min-height: 48px;
  background: var(--a-ground); border-bottom: 1px solid var(--a-line); font-size: 13px; min-width: 0;
}
.app-brand {
  display: inline-flex; align-items: center; gap: 8px; white-space: nowrap;
  font: 600 16px/1 var(--a-font-display); letter-spacing: -.01em;
}
.app-mark { width: 20px; height: 20px; border-radius: 6px; background: var(--a-ink); position: relative; flex: none; }
.app-mark::before, .app-mark::after { content: ""; position: absolute; left: 5px; height: 2.5px; border-radius: 2px; }
.app-mark::before { top: 6px; width: 10px; background: var(--a-brand-soft); }
.app-mark::after { top: 11.5px; width: 6.5px; background: #5FCFBC; }
.app-client { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.app-client em { font-style: normal; font-weight: 400; color: var(--a-ink-2); }
.app-spacer { flex: 1; }
.app-live {
  display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; color: var(--a-live);
  font-family: var(--a-font-data); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase;
}
.app-live::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--a-live); animation: app-blink 1.6s ease-in-out infinite; }
.app-timer { font-family: var(--a-font-data); color: var(--a-ink-2); font-size: 11.5px; font-variant-numeric: tabular-nums; }
.app-end {
  font-size: 12px; font-weight: 600; color: var(--a-clash); white-space: nowrap;
  border: 1px solid var(--a-clash); border-radius: 999px; padding: 5px 12px;
}
@keyframes app-blink { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }

.app-heard-slot { position: relative; }
.app-heard {
  display: flex; gap: 12px; align-items: flex-start; padding: 10px 18px;
  background: var(--a-surface); border-bottom: 1px solid var(--a-line); min-height: 64px;
}
.app-label {
  font-family: var(--a-font-data); font-size: 10px; font-weight: 500; letter-spacing: .13em;
  text-transform: uppercase; color: var(--a-ink-3); padding-top: 4px; white-space: nowrap;
}
.app-heard-text { font-family: var(--a-font-read); font-size: 15px; line-height: 1.45; color: var(--a-ink-2); margin: 0; }
.app-heard-text .who { font-family: var(--a-font-ui); font-size: 12px; font-weight: 600; color: var(--a-ink-3); margin-right: 6px; }
.app-clash {
  position: absolute; inset: 0 0 auto 0; min-height: 100%; z-index: 2; display: flex; align-items: center; gap: 10px;
  background: var(--a-clash-bg); border-bottom: 1px solid var(--a-clash); color: var(--a-clash);
  padding: 8px 18px; font-size: 14px; line-height: 1.4;
}
.app-clash b { font-weight: 700; }
.app-clash .x { margin-left: auto; border: 1px solid var(--a-clash); padding: 0 7px; font-size: 15px; line-height: 1.3; }

.app-working { padding: 9px 22px 11px; background: var(--a-surface-2); color: var(--a-ink-2); font-size: 12px; }
.app-working.answered { background: var(--a-ground); }
.app-working-head { display: flex; align-items: center; gap: 8px; min-height: 14px; }
.app-working .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--a-ink-3); animation: app-pulse 1.1s ease-in-out infinite; }
.app-working.answered .dot { animation: none; opacity: .3; }
.app-working-head.read-this .dot { border-radius: 2px; background: var(--a-ink); animation: none; opacity: 1; }
@keyframes app-pulse { 0%, 100% { opacity: .25; } 50% { opacity: 1; } }
.app-say { font-family: var(--a-font-read); font-size: 17px; line-height: 1.38; color: var(--a-ink); margin: 5px 0 0; max-width: 40ch; }
.app-say:empty { display: none; }

.app-cutin { padding: 7px 22px; background: var(--a-ink); color: var(--a-surface); font-size: 13px; font-weight: 600; letter-spacing: .02em; }

.app-card {
  flex: 1; background: var(--a-surface); padding: 18px 22px 16px;
  display: flex; flex-direction: column; gap: 12px; min-height: 0;
  transition: opacity .25s ease;
}
.app-card.answered { border-top: 3px solid var(--a-ink); }
.app-card.stale { opacity: .35; transition: none; }
.app-read, .app-working-head.read-this .app-read-text {
  display: flex; align-items: center; gap: 8px;
  font-family: var(--a-font-data); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--a-ink);
}
.app-read::before { content: ""; width: 8px; height: 8px; border-radius: 2px; background: var(--a-ink); }
.app-read-text { font-family: var(--a-font-data); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--a-ink); }
.app-prov { display: flex; gap: 6px; flex-wrap: wrap; }
.chip {
  display: inline-flex; align-items: center; font-family: var(--a-font-data); font-size: 10.5px;
  letter-spacing: .07em; text-transform: uppercase; padding: 3px 9px; border-radius: 6px; white-space: nowrap; max-width: 100%;
}
.chip-verified { background: var(--a-verified-bg); color: var(--a-verified); border: 1px solid var(--a-verified); }
.chip-unverified { background: var(--a-unverified-bg); color: var(--a-unverified); border: 1px dashed var(--a-unverified); }
.chip-muted { background: var(--a-surface-2); color: var(--a-ink-3); border: 1px solid var(--a-line); }
.chip-solid { background: var(--a-verified); color: var(--a-surface); }
.app-answer { font-family: var(--a-font-read); font-size: 20px; line-height: 1.42; color: var(--a-ink); margin: 0; max-width: 40ch; }
.app-answer.unverified { border-left: 3px dashed var(--a-unverified); padding-left: 12px; color: var(--a-ink-2); }
.app-answer.look-b, .app-working.look-b .app-say { font-family: var(--a-font-sans-read); color: var(--a-look-b); letter-spacing: -.012em; }
.app-answer.unverified.look-b { color: var(--a-look-b-soft); }
.app-answer.look-c, .app-working.look-c .app-say { font-family: var(--a-font-read-alt); color: var(--a-look-c); }
.app-answer.unverified.look-c { color: var(--a-look-c-soft); }
.app-answer .sent, .app-say .sent { display: block; text-wrap: pretty; }   /* as the app: no one-word last lines */
.app-answer .sent + .sent { margin-top: .45em; }
.app-say .sent + .sent { margin-top: .25em; }
.app-answer .sent.lead { font-weight: 600; }
.app-answer .sent { animation: app-in .35s ease both; }
@keyframes app-in { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
.app-foot { margin-top: auto; border-top: 1px solid var(--a-line); padding-top: 10px; display: flex; gap: 22px; flex-wrap: wrap; }
.app-foot-item { font-size: 12.5px; color: var(--a-ink-2); max-width: 36ch; line-height: 1.45; }
.app-foot-item b {
  display: block; margin-bottom: 2px; font-family: var(--a-font-data); font-size: 10px; font-weight: 500;
  letter-spacing: .13em; text-transform: uppercase; color: var(--a-ink-3);
}
.app-blank { margin: auto 0; padding: 0 8px 24px; }
.app-blank h4 { margin: 0 0 6px; font: 500 22px/1.15 var(--a-font-display); letter-spacing: -.015em; color: var(--a-ink); }
.app-blank p { margin: 0; font-size: 13.5px; color: var(--a-ink-2); }
.app-keys {
  border-top: 1px solid var(--a-line); background: var(--a-surface-2); padding: 6px 18px; display: flex; gap: 16px;
  font-family: var(--a-font-data); font-size: 10.5px; color: var(--a-ink-3);
}
.app-keys kbd {
  font-family: inherit; background: var(--a-surface); border: 1px solid var(--a-line-strong);
  border-bottom-width: 2px; border-radius: 3px; padding: 0 5px; color: var(--a-ink-2);
}
.hidden { display: none !important; }

@media (max-width: 600px) {
  .app { height: 720px; }
  .app-bar { padding: 9px 12px; gap: 8px; }
  .app-timer, .app-end, .app-client em { display: none; }
  .app-brand { font-size: 15px; }
  .app-heard { padding: 9px 14px; }
  .app-working, .app-cutin { padding-left: 14px; padding-right: 14px; }
  .app-card { padding: 14px 14px 12px; }
  .app-answer { font-size: 18px; }
  .app-say { font-size: 16px; }
  .app-keys { padding: 6px 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .app-live::before, .app-working .dot { animation: none; }
  .app-answer .sent { animation: none; }
  .app-card { transition: none; }
}

/* ---------------------------------------------------- demo chrome */

.demo { position: relative; }
.demo-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin: 0 0 14px; }
.demo-tab {
  font: 500 14px/1.2 var(--font-ui); color: var(--ink-2); background: var(--surface);
  border: 1px solid var(--line); border-radius: 999px; padding: 9px 14px; cursor: pointer; min-height: 40px;
}
.demo-tab:hover { border-color: var(--ink-3); color: var(--ink); }
.demo-tab[aria-pressed="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.demo-controls { display: flex; align-items: center; gap: 12px; margin: 14px 0 0; flex-wrap: wrap; }
.demo-btn {
  display: inline-flex; align-items: center; gap: 8px; font: 500 14px/1 var(--font-ui); color: var(--ink);
  background: transparent; border: 1px solid var(--line-strong); border-radius: 999px; padding: 9px 14px; cursor: pointer; min-height: 40px;
}
.demo-btn:hover { border-color: var(--ink); }
.demo-btn svg { width: 14px; height: 14px; }
.demo-steps { display: flex; gap: 6px; flex: 1; min-width: 120px; }
.demo-steps span { flex: 1; height: 4px; border-radius: 2px; background: var(--line); overflow: hidden; position: relative; }
.demo-steps span.done { background: var(--brand); }
.demo-steps span.now { background: color-mix(in srgb, var(--brand) 45%, var(--line)); }
.demo-disclaimer { margin: 10px 0 0; font-size: 13px; color: var(--ink-3); }

/* Static fragments used in the spotlights. */
.frag { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow); overflow: hidden; }
.frag .app { box-shadow: none; border: 0; border-radius: 0; min-height: 0; }
.frag .app-card { min-height: 0; }

/* ------------------------------------------------------------- 404 */

.notfound { min-height: 60vh; display: grid; place-items: center; text-align: center; padding: 80px 0; }
.notfound h1 { font-size: clamp(40px, 6vw, 64px); margin: 0 0 14px; }
.notfound p { color: var(--ink-2); font-size: 18px; margin: 0 0 28px; }

/* ----------------------------------------------------------- motion */

.reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }
.no-js .reveal { opacity: 1; transform: none; }

/* ------------------------------------------------- where it fits, guides */

.fits {
  margin-top: 48px; padding: 24px 26px; border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--surface); display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 20px; align-items: start;
}
.fits h3 { font-size: 22px; margin: 0; }
.fits ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 28px; }
.fits li { position: relative; padding-left: 26px; color: var(--ink-2); font-size: 16px; }
.fits li::before {
  content: ""; position: absolute; left: 2px; top: .5em; width: 11px; height: 6px;
  border-left: 2px solid var(--brand); border-bottom: 2px solid var(--brand); transform: rotate(-45deg);
}
@media (max-width: 760px) { .fits { grid-template-columns: minmax(0, 1fr); } .fits ul { grid-template-columns: minmax(0, 1fr); } }
.compare-title { font-size: 26px; margin: 0 0 18px; }

.guide-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.guide-card {
  display: flex; flex-direction: column; gap: 10px; padding: 24px; min-height: 180px; text-decoration: none;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  transition: border-color .15s ease, transform .15s ease;
}
.guide-card:hover { border-color: var(--brand); color: inherit; transform: translateY(-2px); }
.guide-kicker { font: 600 12px/1.2 var(--font-ui); letter-spacing: .12em; text-transform: uppercase; color: var(--brand); }
.guide-title { font: 500 23px/1.2 var(--font-display); color: var(--ink); }
.guide-more { margin-top: auto; font-size: 15px; font-weight: 600; color: var(--ink-2); }
.guide-more::after { content: " \2192"; }
@media (max-width: 900px) { .guide-list { grid-template-columns: minmax(0, 1fr); } .guide-card { min-height: 0; } }
@media (prefers-reduced-motion: reduce) { .guide-card:hover { transform: none; } }

/* Footer links big enough to tap (WCAG 2.5.8). */
.foot-grid li a, .foot-row a { display: inline-block; padding: 3px 0; min-height: 24px; }

/* Guide pages. */
.crumbs { font-size: 14px; color: var(--ink-3); margin: 0 0 18px; }
.crumbs a { color: var(--ink-3); }
.crumbs span[aria-hidden] { margin: 0 6px; }
.guide-cta {
  margin: 48px 0 0; padding: 28px; border-radius: var(--radius); background: var(--night); color: var(--night-ink);
}
.guide-cta h2 { color: var(--night-ink); margin: 0 0 10px; font-size: 26px; }
.guide-cta p { color: var(--night-ink-2); margin: 0 0 18px; }
.guide-cta .btn-primary { background: #5FCFBC; color: #06231F; }
.guide-cta .btn-primary:hover { background: #7DDBCB; color: #06231F; }
.related { margin: 40px 0 0; padding: 24px 0 0; border-top: 1px solid var(--line); }
.related h2 { font-size: 22px; margin: 0 0 12px; }
.related ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.copied { color: var(--brand); }

/* ------------------------------------------------ fixes from the review */

.app-heard { height: 72px; overflow: hidden; }
.app-card { flex: 1 1 auto; }
.demo-legend { margin: 10px 0 0; font-size: 14px; color: var(--ink-2); line-height: 1.6; }
.demo-legend .key {
  display: inline-block; font: 600 10.5px/1 var(--font-mono); letter-spacing: .07em; text-transform: uppercase;
  padding: 3px 8px; border-radius: 6px; margin-right: 2px; vertical-align: 1px;
}
.demo-legend .key-u { color: var(--amber); background: var(--amber-soft); border: 1px dashed var(--amber); }
.demo-legend .key-v { color: var(--brand); background: var(--brand-soft); border: 1px solid var(--brand); margin-left: 6px; }
.demo.paused .app-live::before, .demo.paused .app-working .dot { animation-play-state: paused; }
.demo-text { margin: 12px 0 0; font-size: 15px; color: var(--ink-2); }
.demo-text summary { cursor: pointer; font-weight: 600; color: var(--ink); min-height: 24px; }
.demo-text h3 { font-size: 20px; margin: 18px 0 6px; }
.demo-text p, .demo-text li { margin: 0 0 6px; }
.demo-text ul { padding-left: 20px; margin: 0 0 10px; }
@media (min-width: 600px) and (max-width: 1023px) { .demo { max-width: 680px; } }
@media (max-width: 1023px) { .hero::before { width: 120%; height: 60%; inset: -10% -40% auto auto; } }
@media (max-width: 600px) {
  .cta-row .btn { flex: 1 1 100%; }
  .hero h1 { font-size: 40px; }
  .moment-item, .step, .feature, .plan { padding: 22px 20px; }
  .chip { white-space: normal; }
}
.main-nav a[aria-current] { color: var(--ink); font-weight: 600; }

/* The comparison table restacks on a phone: one card per row, each value labelled. */
@media (max-width: 700px) {
  .compare-wrap { overflow: visible; }
  .compare, .compare tbody, .compare tr { display: block; min-width: 0; width: 100%; }
  .compare thead { display: none; }
  .compare tr { border-bottom: 1px solid var(--line); padding: 6px 0 10px; }
  .compare tr:last-child { border-bottom: 0; }
  .compare tbody th { display: block; position: static; width: auto; border: 0; padding: 12px 16px 6px; background: none; }
  .compare td { display: grid; grid-template-columns: 9.5em minmax(0, 1fr); gap: 8px; border: 0; padding: 4px 16px; }
  .compare td::before { content: attr(data-label); color: var(--ink-3); font-size: 13.5px; }
  .compare td.us { background: none; }
  .compare td.us::before { color: var(--brand); font-weight: 600; }
}

@media (forced-colors: active) {
  .demo-tab[aria-pressed="true"], .plan.featured { outline: 2px solid CanvasText; }
  .yes::before, .no::before, .meh::before { forced-color-adjust: none; }
  .app-card.answered { border-top-color: CanvasText; }
}

/* Guide pages: a list of sections, and a line per guide on the hub. */
.toc { margin: 0 0 32px; padding: 18px 22px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.toc-head { font: 600 12px/1.3 var(--font-ui); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); margin: 0 0 10px; }
.prose .toc ol { margin: 0; padding-left: 20px; }
.prose .toc li { margin: 0 0 6px; font-size: 15.5px; }
.prose h2[id], .prose h3[id] { scroll-margin-top: 84px; }
.guide-desc { font-size: 15px; color: var(--ink-2); line-height: 1.5; }
.notfound ul { list-style: none; padding: 0; margin: 24px 0 0; display: flex; gap: 10px 22px; flex-wrap: wrap; justify-content: center; }

/* Why Consilyn: what each card replaces, struck through */
.why .feature { display: flex; flex-direction: column; }
.why .feature p:not(.was) { flex: 1; }
.feature .was { margin-top: 14px; padding-top: 12px; border-top: 1px dashed var(--line); font-size: 14px; color: var(--ink-3, var(--ink-2)); text-decoration: line-through; text-decoration-color: color-mix(in srgb, currentColor 55%, transparent); }

/* Privacy: three points on the dark band */
.privacy-points { max-width: 760px; gap: 16px; }
.privacy-points li { font-size: 17px; }
.privacy-points strong { color: var(--night-ink); }
