/* Scroll Coach — official site design system
   Direction: "the quiet library" — editorial paper-and-ink, brand blue accent,
   blueprint-grid atmosphere echoing the app icon. Light-only, matching the app. */

/* ---------- Fonts ---------- */
@font-face {
  font-family: 'Fraunces';
  src: url('../fonts/fraunces-latin-full-normal.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Fraunces';
  src: url('../fonts/fraunces-latin-full-italic.woff2') format('woff2');
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'Schibsted Grotesk';
  src: url('../fonts/schibsted-grotesk-latin-wght-normal.woff2') format('woff2');
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Schibsted Grotesk';
  src: url('../fonts/schibsted-grotesk-latin-wght-italic.woff2') format('woff2');
  font-weight: 400 900;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'Fragment Mono';
  src: url('../fonts/fragment-mono-latin-400-normal.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
  --blue: #208AEF;
  --blue-deep: #1266BE;
  --blue-ink: #0E4B8F;
  --blue-soft: rgba(32, 138, 239, 0.10);
  --blue-tint: #F1F6FC;
  --blue-border: #D6E4F0;
  --ink: #101823;
  --ink-2: #4A5D71;
  --ink-3: #5C7085;
  --navy: #122B47;
  --navy-2: #1E3A5F;
  --paper: #FAFBFC;
  --card: #FFFFFF;
  --line: rgba(20, 40, 60, 0.12);
  --hairline: rgba(20, 40, 60, 0.08);
  --danger: #B3261E;
  --ok: #1B7F4D;

  --serif: 'Fraunces', 'Iowan Old Style', Georgia, serif;
  --sans: 'Schibsted Grotesk', 'Segoe UI', 'Helvetica Neue', sans-serif;
  --mono: 'Fragment Mono', 'Cascadia Code', Consolas, monospace;

  --fs-hero: clamp(2.75rem, 7vw, 4.9rem);
  --fs-h2: clamp(1.9rem, 4vw, 2.9rem);
  --fs-h3: clamp(1.25rem, 2vw, 1.5rem);
  --fs-lead: clamp(1.1rem, 1.6vw, 1.3rem);

  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 16px;
  --r-xl: 22px;
  --r-pill: 999px;

  --shadow-1: 0 1px 2px rgba(16, 24, 35, 0.05), 0 4px 14px rgba(16, 24, 35, 0.06);
  --shadow-2: 0 2px 6px rgba(16, 24, 35, 0.07), 0 14px 34px rgba(16, 24, 35, 0.10);
  --shadow-blue: 0 6px 22px rgba(32, 138, 239, 0.32);

  --wrap: 1128px;
  --ease: cubic-bezier(0.22, 0.9, 0.3, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg, video { display: block; max-width: 100%; }
input, button, textarea { font: inherit; color: inherit; }
a { color: var(--blue-deep); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--blue); }
::selection { background: rgba(32, 138, 239, 0.22); }

:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--navy); color: #fff; padding: 10px 18px; border-radius: 0 0 var(--r-md) 0;
}
.skip-link:focus { left: 0; }

/* ---------- Typography ---------- */
h1, h2, h3, .serif {
  font-family: var(--serif);
  font-optical-sizing: auto;
  font-weight: 580;
  line-height: 1.08;
  letter-spacing: -0.015em;
  color: var(--ink);
  text-wrap: balance;
}
h1 { font-size: var(--fs-hero); font-variation-settings: "SOFT" 30; }
h2 { font-size: var(--fs-h2); font-variation-settings: "SOFT" 30; }
h3 { font-size: var(--fs-h3); line-height: 1.25; font-weight: 560; }
.accent-i {
  font-style: italic;
  font-variation-settings: "SOFT" 65, "WONK" 1;
  color: var(--blue-deep);
}
.lead { font-size: var(--fs-lead); line-height: 1.55; color: var(--ink-2); text-wrap: pretty; }
.kicker {
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue-deep);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.kicker::before {
  content: "";
  width: 22px; height: 2px;
  background: var(--blue);
  border-radius: 2px;
}
.muted { color: var(--ink-2); }
.small { font-size: 0.9rem; }
.mono { font-family: var(--mono); font-size: 0.85em; }

/* ---------- Layout ---------- */
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 clamp(20px, 4vw, 40px); }
.section { padding: clamp(4rem, 9vw, 7rem) 0; position: relative; }
.section-tint { background: var(--blue-tint); border-top: 1px solid var(--hairline); border-bottom: 1px solid var(--hairline); }
.section-head { max-width: 640px; margin-bottom: clamp(2.2rem, 5vw, 3.6rem); display: grid; gap: 14px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .kicker { justify-content: center; }

.grid-2 { display: grid; gap: clamp(28px, 5vw, 64px); align-items: center; }
.grid-3 { display: grid; gap: 20px; }
@media (min-width: 800px) {
  .grid-2 { grid-template-columns: 1fr 1fr; }
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-2.rev > :first-child { order: 2; }
  .grid-2.rev > :last-child { order: 1; }
}

/* Blueprint-grid atmosphere (echoes the app icon) */
.blueprint {
  position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background-image:
    linear-gradient(rgba(32, 138, 239, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(32, 138, 239, 0.055) 1px, transparent 1px);
  background-size: 34px 34px;
  -webkit-mask-image: radial-gradient(ellipse 90% 80% at 50% 0%, #000 35%, transparent 78%);
  mask-image: radial-gradient(ellipse 90% 80% at 50% 0%, #000 35%, transparent 78%);
}
.section > .wrap { position: relative; z-index: 1; }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(250, 251, 252, 0.86);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--hairline);
}
.nav-inner { display: flex; align-items: center; gap: 28px; min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; color: var(--ink); margin-right: auto; }
.brand-mark {
  width: 32px; height: 32px; border-radius: 9px;
  background: linear-gradient(160deg, #3DA0F5, var(--blue) 55%, #1573D2);
  display: grid; place-items: center;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.35), 0 2px 6px rgba(32,138,239,0.35);
}
.brand-name { font-family: var(--serif); font-weight: 620; font-size: 1.22rem; letter-spacing: -0.01em; white-space: nowrap; }
@media (max-width: 420px) { .brand-name { font-size: 1.05rem; } }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a {
  text-decoration: none; color: var(--ink-2);
  font-weight: 500; font-size: 0.98rem;
  padding: 8px 13px; border-radius: var(--r-pill);
  transition: color .2s, background .2s;
}
.nav-links a:hover { color: var(--ink); background: var(--blue-soft); }
.nav-links a[aria-current="page"] { color: var(--blue-deep); }
.nav-cta { margin-left: 10px; }
.nav-toggle {
  display: none; background: none; border: 1px solid var(--line);
  border-radius: var(--r-md); padding: 8px 10px; cursor: pointer; color: var(--ink);
}
.nav-cta-bar { display: none; padding: 10px 18px; font-size: 0.92rem; }
@media (max-width: 900px) {
  .nav-cta-bar { display: inline-flex; margin-left: auto; }
  .nav-inner { gap: 12px; }
  .brand { margin-right: 0; }
}
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; align-items: center; gap: 8px; }
  .nav-links {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 2px;
    background: #fff; border-bottom: 1px solid var(--line);
    padding: 12px clamp(20px, 4vw, 40px) 18px;
    box-shadow: var(--shadow-2);
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 14px; font-size: 1.05rem; }
  .nav-cta { margin: 8px 0 0; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-weight: 650; font-size: 1rem; line-height: 1;
  padding: 15px 26px; border-radius: var(--r-pill);
  border: 1px solid transparent; cursor: pointer; text-decoration: none;
  transition: transform .18s var(--ease), box-shadow .18s var(--ease), background .18s;
  white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(180deg, #38A9FF, var(--blue) 60%);
  color: #fff;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.3), var(--shadow-blue);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: inset 0 1px 0 rgba(255,255,255,0.3), 0 10px 28px rgba(32,138,239,0.4); color: #fff; }
.btn-primary:active { transform: translateY(0); }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--line); box-shadow: var(--shadow-1); }
.btn-ghost:hover { border-color: var(--blue); color: var(--blue-deep); transform: translateY(-2px); }
.btn-lg { padding: 18px 32px; font-size: 1.08rem; }
.btn[disabled] { opacity: 0.6; cursor: wait; transform: none; }

/* ---------- Hero ---------- */
.hero { padding: clamp(4rem, 9vw, 7.5rem) 0 clamp(3.5rem, 7vw, 6rem); overflow: hidden; }
.hero-grid { display: grid; gap: clamp(36px, 5vw, 56px); align-items: center; }
@media (min-width: 980px) { .hero-grid { grid-template-columns: 1.08fr 0.92fr; } }
.hero-copy { display: grid; gap: 22px; max-width: 590px; }
.hero-copy .lead { max-width: 32em; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px; width: fit-content;
  font-family: var(--mono); font-size: 0.78rem; letter-spacing: 0.06em;
  color: var(--blue-ink); background: var(--blue-soft);
  border: 1px solid var(--blue-border); border-radius: var(--r-pill);
  padding: 7px 14px;
}
.hero-badge .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--blue); animation: pulse 2.4s infinite; }
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(32,138,239,0.45); } 55% { box-shadow: 0 0 0 7px rgba(32,138,239,0); } }

/* Load-in stagger */
.rise { opacity: 0; transform: translateY(18px); animation: rise .8s var(--ease) forwards; }
@keyframes rise { to { opacity: 1; transform: none; } }

/* ---------- Waitlist form ---------- */
.waitlist { display: grid; gap: 10px; max-width: 520px; }
.waitlist-row { display: flex; gap: 10px; flex-wrap: wrap; }
.waitlist input[type="email"] {
  flex: 1 1 240px;
  padding: 15px 22px;
  border-radius: var(--r-pill);
  border: 1.5px solid var(--line);
  background: #fff;
  font-size: 1rem;
  box-shadow: var(--shadow-1);
  transition: border-color .2s, box-shadow .2s;
}
.waitlist input[type="email"]:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px var(--blue-soft); }
.waitlist .hint { font-size: 0.85rem; color: var(--ink-3); }
.waitlist .form-msg { font-size: 0.95rem; font-weight: 550; }
.waitlist .form-msg.ok { color: var(--ok); }
.waitlist .form-msg.err { color: var(--danger); }
.waitlist-done {
  display: flex; gap: 14px; align-items: flex-start;
  background: #fff; border: 1px solid var(--blue-border);
  border-radius: var(--r-lg); padding: 20px 22px; box-shadow: var(--shadow-1);
}
.hp-field { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Phone mockup ---------- */
.phone-scene { position: relative; display: grid; place-items: center; padding: 12px 0; }
.phone {
  width: min(300px, 78vw);
  border-radius: 42px;
  background: #0d1420;
  padding: 11px;
  box-shadow: 0 24px 60px rgba(16, 24, 35, 0.28), inset 0 0 0 1px rgba(255,255,255,0.08);
  position: relative; z-index: 2;
}
.phone-screen {
  border-radius: 32px; overflow: hidden; background: #fff;
  display: grid; grid-template-rows: auto 1fr;
  aspect-ratio: 9 / 18.6;
}
.ph-top { padding: 16px 16px 10px; display: grid; gap: 10px; background: linear-gradient(180deg, var(--blue-tint), #fff); }
.ph-title { font-family: var(--serif); font-weight: 620; font-size: 1.02rem; }
.ph-search {
  display: flex; align-items: center; gap: 8px;
  background: #fff; border: 1px solid var(--blue-border); border-radius: var(--r-pill);
  padding: 8px 13px; font-size: 0.74rem; color: var(--ink-3);
  box-shadow: var(--shadow-1);
}
.ph-search .cursor { display: inline-block; width: 1px; height: 12px; background: var(--blue); animation: blink 1.1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.ph-feed { padding: 12px 14px 18px; display: grid; gap: 10px; align-content: start; background: var(--paper); }
.ph-card {
  background: #fff; border: 1px solid var(--hairline); border-radius: 14px;
  padding: 10px 12px; display: grid; grid-template-columns: 34px 1fr; gap: 10px;
  box-shadow: var(--shadow-1); align-items: center;
}
.ph-thumb { width: 34px; height: 34px; border-radius: 9px; }
.ph-lines { display: grid; gap: 5px; }
.ph-line { height: 7px; border-radius: 4px; background: #E6ECF2; }
.ph-line.w60 { width: 60%; }
.ph-line.w85 { width: 85%; }
.ph-tag {
  justify-self: start; font-family: var(--mono); font-size: 0.55rem; letter-spacing: 0.05em;
  color: var(--blue-ink); background: var(--blue-soft); border-radius: 4px; padding: 2px 6px;
}
.float-chip {
  position: absolute; z-index: 3;
  background: #fff; border: 1px solid var(--blue-border); border-radius: var(--r-md);
  box-shadow: var(--shadow-2); padding: 10px 14px;
  font-size: 0.8rem; font-weight: 550; display: flex; gap: 9px; align-items: center;
}
.float-chip .mono { font-size: 0.7rem; color: var(--blue-ink); }
@media (max-width: 560px) { .float-chip { display: none; } }

/* ---------- Index cards (captures) ---------- */
.index-card {
  background:
    repeating-linear-gradient(180deg, transparent 0 27px, rgba(32,138,239,0.10) 27px 28px),
    #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-1);
  padding: 18px 20px 16px;
  position: relative;
}
.index-card::before {
  content: ""; position: absolute; top: 0; bottom: 0; left: 26px;
  width: 1px; background: rgba(32,138,239,0.28);
}

/* ---------- Feature cards ---------- */
.card {
  background: var(--card);
  border: 1px solid var(--hairline);
  border-radius: var(--r-xl);
  padding: clamp(22px, 3vw, 30px);
  box-shadow: var(--shadow-1);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s;
  display: grid; gap: 12px; align-content: start;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-2); border-color: var(--blue-border); }
.card h3 { display: flex; align-items: center; gap: 12px; }
.card p { color: var(--ink-2); font-size: 0.98rem; }
.icon-tile {
  width: 40px; height: 40px; flex: 0 0 40px; border-radius: 12px;
  display: grid; place-items: center;
  background: var(--blue-soft); color: var(--blue-deep);
  border: 1px solid var(--blue-border);
}
.card .more { font-weight: 600; font-size: 0.92rem; text-decoration: none; }

/* ---------- Steps (how it works) ---------- */
.steps { display: grid; gap: 18px; counter-reset: step; }
@media (min-width: 800px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.step {
  counter-increment: step;
  background: #fff; border: 1px solid var(--hairline); border-radius: var(--r-xl);
  padding: 26px 24px; box-shadow: var(--shadow-1);
  display: grid; gap: 10px; align-content: start; position: relative;
}
.step::before {
  content: "0" counter(step);
  font-family: var(--mono); font-size: 0.8rem; color: var(--blue-deep);
  background: var(--blue-soft); border: 1px solid var(--blue-border);
  width: fit-content; padding: 4px 10px; border-radius: var(--r-pill);
}
.step h3 { font-size: 1.18rem; }
.step p { color: var(--ink-2); font-size: 0.97rem; }

/* ---------- Chat mockup ---------- */
.chat-demo { display: grid; gap: 12px; max-width: 460px; }
.bubble {
  padding: 13px 17px; border-radius: 18px; font-size: 0.95rem; line-height: 1.5;
  box-shadow: var(--shadow-1); width: fit-content; max-width: 92%;
}
.bubble.user { background: var(--blue); color: #fff; justify-self: end; border-bottom-right-radius: 6px; }
.bubble.ai { background: #fff; border: 1px solid var(--hairline); border-bottom-left-radius: 6px; }
.bubble .cite {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--mono); font-size: 0.68rem; color: var(--blue-ink);
  background: var(--blue-soft); border: 1px solid var(--blue-border);
  padding: 3px 8px; border-radius: var(--r-pill); margin-top: 8px;
}

/* ---------- Logo row / works-with ---------- */
.works-row {
  display: flex; flex-wrap: wrap; gap: 12px; align-items: center;
}
.works-chip {
  display: inline-flex; align-items: center; gap: 9px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-pill);
  padding: 9px 18px; font-weight: 550; font-size: 0.95rem;
  box-shadow: var(--shadow-1);
}

/* ---------- Trust strip ---------- */
.trust-strip { display: grid; gap: 14px; }
@media (min-width: 800px) { .trust-strip { grid-template-columns: repeat(4, 1fr); } }
.trust-item {
  border-left: 2px solid var(--blue); padding: 4px 0 4px 16px;
  display: grid; gap: 4px; align-content: start;
}
.trust-item .t { font-weight: 650; font-size: 0.98rem; }
.trust-item .d { color: var(--ink-2); font-size: 0.88rem; line-height: 1.5; }
.trust-item .m { font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.1em; color: var(--blue-deep); text-transform: uppercase; }

/* ---------- Comparison table ---------- */
.compare-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-xl); box-shadow: var(--shadow-1); background: #fff; }
.compare { width: 100%; border-collapse: collapse; min-width: 660px; }
.compare th, .compare td { padding: 15px 20px; text-align: left; border-bottom: 1px solid var(--hairline); font-size: 0.96rem; }
.compare thead th { font-family: var(--sans); font-weight: 700; font-size: 0.92rem; background: var(--blue-tint); }
.compare thead th:last-child { background: var(--blue); color: #fff; }
.compare tbody tr:last-child td { border-bottom: none; }
.compare td:last-child { background: rgba(32,138,239,0.045); font-weight: 550; }
.compare .no { color: var(--ink-3); }
.compare .yes { color: var(--blue-deep); font-weight: 600; }

/* ---------- FAQ ---------- */
.faq-list { display: grid; gap: 12px; max-width: 780px; margin: 0 auto; }
.faq-item {
  background: #fff; border: 1px solid var(--hairline); border-radius: var(--r-lg);
  box-shadow: var(--shadow-1); overflow: hidden;
  transition: border-color .2s;
}
.faq-item[open] { border-color: var(--blue-border); }
.faq-item summary {
  cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px;
  align-items: center; padding: 18px 22px; font-weight: 620; font-size: 1.04rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .chev { flex: 0 0 auto; transition: transform .25s var(--ease); color: var(--blue-deep); }
.faq-item[open] summary .chev { transform: rotate(180deg); }
.faq-item .faq-a { padding: 0 22px 20px; color: var(--ink-2); max-width: 64ch; }
.faq-item .faq-a p + p { margin-top: 10px; }

/* ---------- Prose (legal, about) ---------- */
.prose { max-width: 720px; }
.prose h2 { font-size: 1.5rem; margin: 2.2em 0 0.6em; }
.prose h3 { font-size: 1.15rem; margin: 1.6em 0 0.5em; }
.prose p, .prose li { color: var(--ink-2); }
.prose p { margin: 0.85em 0; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0.85em 0; }
.prose li { margin: 0.4em 0; }
.prose strong { color: var(--ink); }
.updated { font-family: var(--mono); font-size: 0.8rem; color: var(--ink-3); }

/* ---------- Page hero (subpages) ---------- */
.page-hero { padding: clamp(3.2rem, 7vw, 5.2rem) 0 clamp(2rem, 4vw, 3rem); }
.page-hero .wrap { display: grid; gap: 16px; max-width: calc(var(--wrap)); }
.page-hero h1 { font-size: clamp(2.3rem, 5vw, 3.6rem); max-width: 15em; }
.page-hero .lead { max-width: 38em; }

/* ---------- CTA band ---------- */
.cta-band {
  background:
    radial-gradient(ellipse 120% 140% at 50% -40%, rgba(61,160,245,0.55), transparent 60%),
    linear-gradient(165deg, #17416E, var(--navy) 70%);
  color: #fff; border-radius: var(--r-xl);
  padding: clamp(2.6rem, 6vw, 4.4rem) clamp(1.6rem, 5vw, 4rem);
  position: relative; overflow: hidden;
  display: grid; gap: 20px; justify-items: center; text-align: center;
}
.cta-band::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 34px 34px;
}
.cta-band > * { position: relative; }
.cta-band h2 { color: #fff; max-width: 17em; }
.cta-band .lead { color: rgba(255,255,255,0.78); max-width: 36em; }
.cta-band .waitlist { justify-items: center; }
.cta-band .waitlist .hint { color: rgba(255,255,255,0.6); }
.cta-band .waitlist input[type="email"] { border-color: transparent; }
.cta-band .form-msg.ok { color: #7FE0AE; }
.cta-band .form-msg.err { color: #FFB4A8; }

/* ---------- Footer ---------- */
.footer { background: var(--navy); color: rgba(255,255,255,0.82); margin-top: clamp(3rem, 7vw, 5rem); }
.footer a { color: rgba(255,255,255,0.82); text-decoration: none; }
.footer a:hover { color: #fff; text-decoration: underline; }
.footer-inner { display: grid; gap: 40px; padding: clamp(3rem, 6vw, 4.5rem) 0 2rem; }
@media (min-width: 800px) { .footer-inner { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.footer .brand { color: #fff; }
.footer .brand-name { color: #fff; }
.footer-col { display: grid; gap: 10px; align-content: start; }
.footer-col .h {
  font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.14em;
  text-transform: uppercase; color: rgba(255,255,255,0.58); margin-bottom: 4px;
}
.footer-blurb { color: rgba(255,255,255,0.6); font-size: 0.95rem; max-width: 30em; margin-top: 14px; }
.footer-base {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding: 20px 0 26px; display: flex; flex-wrap: wrap; gap: 14px 26px;
  align-items: center; justify-content: space-between;
  font-size: 0.85rem; color: rgba(255,255,255,0.5);
}

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- 404 ---------- */
.err-wrap { min-height: 62vh; display: grid; place-content: center; text-align: center; gap: 18px; padding: 4rem 20px; }
.err-code { font-family: var(--mono); color: var(--blue-deep); letter-spacing: 0.2em; }

/* ---------- Platform chips (hero) ---------- */
.plats { display: flex; flex-wrap: wrap; gap: 8px 10px; align-items: center; }
.plat {
  font-size: 0.85rem; font-weight: 550; color: var(--ink-2);
  background: #fff; border: 1px solid var(--hairline); border-radius: var(--r-pill);
  padding: 5px 13px; box-shadow: var(--shadow-1); white-space: nowrap;
}
.plats .plus { color: var(--ink-3); font-size: 0.85rem; }

/* ---------- Extraction layer list ---------- */
.layer-list { display: grid; gap: 0; }
.layer-row {
  display: grid; grid-template-columns: 26px 1fr auto; gap: 12px; align-items: center;
  padding: 13px 4px; border-bottom: 1px dashed rgba(32,138,239,0.22);
}
.layer-row:last-child { border-bottom: none; }
.layer-row .ic { color: var(--blue-deep); display: grid; place-items: center; }
.layer-row .l { font-weight: 620; font-size: 0.98rem; }
.layer-row .l small { display: block; font-weight: 450; color: var(--ink-2); font-size: 0.85rem; }
.layer-row .m { font-family: var(--mono); font-size: 0.68rem; color: var(--blue-ink); text-transform: uppercase; letter-spacing: 0.08em; }

/* ---------- Callout note ---------- */
.aside-note {
  border-left: 3px solid var(--blue);
  background: var(--blue-tint);
  border-radius: 0 var(--r-md) var(--r-md) 0;
  padding: 14px 18px; font-size: 0.95rem; color: var(--ink-2);
}
.aside-note strong { color: var(--ink); }

/* ---------- Pricing principles ---------- */
.tiers { display: grid; gap: 18px; }
@media (min-width: 800px) { .tiers { grid-template-columns: repeat(3, 1fr); } }
.tier-card {
  background: #fff; border: 1px solid var(--hairline); border-radius: var(--r-xl);
  padding: 28px 26px; box-shadow: var(--shadow-1); display: grid; gap: 10px; align-content: start;
}
.tier-card .t-name { font-family: var(--serif); font-weight: 620; font-size: 1.3rem; }
.tier-card p { color: var(--ink-2); font-size: 0.96rem; }
.badge-soft {
  width: fit-content; font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--blue-ink); background: var(--blue-soft);
  border: 1px solid var(--blue-border); padding: 4px 10px; border-radius: var(--r-pill);
}

/* ---------- Press ---------- */
.asset-grid { display: grid; gap: 18px; }
@media (min-width: 700px) { .asset-grid { grid-template-columns: repeat(3, 1fr); } }
.asset-tile {
  border: 1px solid var(--hairline); border-radius: var(--r-lg); background: #fff;
  box-shadow: var(--shadow-1); overflow: hidden; display: grid;
}
.asset-tile .preview { display: grid; place-items: center; padding: 34px; background: var(--blue-tint); }
.asset-tile .meta { padding: 14px 16px; font-size: 0.88rem; color: var(--ink-2); border-top: 1px solid var(--hairline); }
.asset-tile .meta a { font-weight: 600; }
.fact-table { width: 100%; border-collapse: collapse; }
.fact-table th, .fact-table td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--hairline); font-size: 0.96rem; vertical-align: top; }
.fact-table th { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-3); font-weight: 400; white-space: nowrap; }

/* ---------- Contact ---------- */
.contact-card {
  background: #fff; border: 1px solid var(--hairline); border-radius: var(--r-xl);
  box-shadow: var(--shadow-1); padding: clamp(24px, 4vw, 36px);
  display: grid; gap: 14px; max-width: 560px;
}
.contact-card .email {
  font-family: var(--mono); font-size: clamp(1rem, 2.6vw, 1.25rem);
  color: var(--blue-deep); word-break: break-all;
}

/* ---------- Story ---------- */
.prose-story p:first-of-type::first-letter {
  font-family: var(--serif); font-weight: 620; float: left;
  font-size: 3.4em; line-height: 0.85; padding: 4px 10px 0 0; color: var(--blue-deep);
}
.signature { margin-top: 2.2rem; display: grid; gap: 2px; }
.signature .sig-name { font-family: var(--serif); font-style: italic; font-size: 1.4rem; font-variation-settings: "SOFT" 65; }
.signature .sig-role { font-family: var(--mono); font-size: 0.75rem; color: var(--ink-3); letter-spacing: 0.08em; text-transform: uppercase; }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .rise, .reveal { animation: none; opacity: 1; transform: none; transition: none; }
  .hero-badge .dot, .ph-search .cursor { animation: none; }
  .btn, .card { transition: none; }
}
