/* ======================================================================
   Throughline — marketing landing page
   Modern, high-contrast. Pure black + pure white, alternating section
   grounds. Single typeface (Bricolage Grotesque variable, opsz/wght/wdth)
   carries the whole hierarchy. No ornaments, no shadows, no decoration:
   the typography does the work.
   Self-hosted; no CDN. Fully offline-capable from file://.
   ====================================================================== */

@font-face {
  font-family: "Bricolage Grotesque";
  font-style: normal;
  font-weight: 200 800;
  font-stretch: 75% 100%;
  font-display: swap;
  src: url("../assets/fonts/BricolageGrotesque.ttf") format("truetype-variations"),
       url("../assets/fonts/BricolageGrotesque.ttf") format("truetype");
  font-optical-sizing: auto;
}

/* Reset --------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Bricolage Grotesque", "Helvetica Neue", "Helvetica", "Arial", sans-serif;
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--paper);
  font-feature-settings: "ss01", "kern", "liga";
  font-variation-settings: "opsz" 14, "wght" 400, "wdth" 100;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
h1, h2, h3, h4 { margin: 0; font-weight: 600; line-height: 1.0; letter-spacing: -0.02em; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; color: inherit; }
ol, ul { margin: 0; padding: 0; list-style: none; }
img, svg { display: block; max-width: 100%; }

/* Tokens — mostly binary, single cool accent ------------------------- */
:root {
  --paper:        #ffffff;
  --paper-2:      #f4f6f9;       /* slight cool tilt */
  --paper-edge:   #e2e6ed;

  --ink:          #0a0a0a;
  --ink-2:        #161821;       /* very slight cool */
  --ink-muted:    #586374;       /* cool slate grey */
  --ink-faint:    #97a0b0;

  --rule:         #e2e6ed;
  --rule-strong:  #0a0a0a;

  /* Cool accent — Klein-adjacent cobalt */
  --accent-deep:  #1e3a8a;       /* on white grounds */
  --accent:       #6488e8;       /* on black grounds */
  --accent-tint:  rgba(30,58,138,0.08);
  --error:        #b42318;
  --error-tint:   rgba(180,35,24,0.08);

  /* On-dark counterparts */
  --on-dark-strong: #ffffff;
  --on-dark-muted:  #97a0b0;
  --on-dark-faint:  #586374;
  --on-dark-rule:   rgba(255,255,255,0.18);

  --container:    1200px;
  --gutter:       24px;

  --t:            220ms cubic-bezier(.2,.8,.2,1);
  --t-slow:       560ms cubic-bezier(.2,.8,.2,1);
}

@media (min-width: 720px) { :root { --gutter: 40px; } }

/* a11y ---------------------------------------------------------------- */
.skip {
  position: absolute; left: -9999px; top: auto;
  padding: 8px 14px; background: var(--ink); color: var(--paper);
  font-weight: 600;
}
.skip:focus { left: 12px; top: 12px; z-index: 100; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* Layout primitives --------------------------------------------------- */
.container { max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }

/* Section eyebrow / kicker — minimal, no rules */
.kicker {
  display: inline-block;
  font-variation-settings: "opsz" 14, "wght" 600, "wdth" 100;
  font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase;
  color: inherit; opacity: 0.7;
  margin-bottom: 24px;
}

hr.rule { border: 0; height: 1px; background: var(--rule); margin: 0; }

/* Section base — defines paper/ink for nested elements */
.section-dark {
  background: var(--ink);
  color: var(--on-dark-strong);
  --rule: var(--on-dark-rule);
  --ink-muted: var(--on-dark-muted);
  --ink-faint: var(--on-dark-faint);
  --ink: var(--on-dark-strong);
  --paper: var(--ink-2);
}

/* Header — sticky white strip with hairline rule --------------------- */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(255,255,255,0.92);
  backdrop-filter: saturate(180%) blur(10px);
  -webkit-backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--rule);
}
.site-header .container {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 10px; padding-bottom: 10px;
  gap: 24px;
  min-width: 0;
}
.brand {
  display: inline-flex;
  align-items: center;
  min-width: 118px;
}
.brand-logo {
  display: block;
  width: 118px;
  height: auto;
}
.masthead-meta {
  font-variation-settings: "opsz" 14, "wght" 500, "wdth" 100;
  font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ink-muted);
  white-space: nowrap;
}
.masthead-meta .sep { display: inline-block; padding: 0 6px; opacity: 0.5; }
.masthead-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
}
.app-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0 14px;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--paper);
  font-variation-settings: "opsz" 14, "wght" 700, "wdth" 100;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: background var(--t), color var(--t), border-color var(--t);
}
.app-link:hover,
.app-link:focus-visible {
  background: var(--paper);
  color: var(--ink);
}
@media (max-width: 560px) {
  .masthead-meta { display: none; }
  .app-link {
    min-height: 34px;
    padding: 0 12px;
    font-size: 10px;
  }
}

/* HERO — white, big modern type -------------------------------------- */
.hero {
  padding: 88px 0 96px;
  background: var(--paper);
}
@media (min-width: 1000px) { .hero { padding: 100px 0 96px; } }

.hero-grid {
  display: grid; gap: 56px; align-items: end;
}
.hero-grid > * { min-width: 0; }
@media (min-width: 1000px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 80px; align-items: center;
  }
}

.hero-issue {
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
  margin-bottom: 32px;
  font-variation-settings: "opsz" 14, "wght" 500, "wdth" 100;
  color: var(--ink-muted);
  font-size: 13px;
}
.hero-issue > span:not(.roman) { max-width: 36ch; line-height: 1.45; }
.hero-issue .roman {
  font-variation-settings: "opsz" 14, "wght" 700, "wdth" 100;
  letter-spacing: 0.18em;
  background: var(--accent-deep);
  color: var(--paper);
  padding: 5px 11px;
  font-size: 11px;
  text-transform: uppercase;
}

/* Display headline — uses Bricolage opsz axis at max */
.hero h1 {
  font-variation-settings: "opsz" 96, "wght" 700, "wdth" 96;
  font-size: clamp(56px, 6.4vw, 104px);
  letter-spacing: -0.04em;
  line-height: 0.96;
  color: var(--ink);
  margin-bottom: 28px;
}
.hero h1 .line { display: block; }
.hero h1 .line.ital {
  font-style: italic;
  font-variation-settings: "opsz" 96, "wght" 500, "wdth" 96;
  color: var(--accent-deep);
}
@media (max-width: 560px) {
  .hero h1 {
    font-size: clamp(40px, 11.4vw, 50px);
    letter-spacing: -0.035em;
    line-height: 1.0;
  }
}

.hero-sub {
  max-width: 56ch;
  font-variation-settings: "opsz" 14, "wght" 400, "wdth" 100;
  font-size: clamp(18px, 1.4vw, 21px);
  color: var(--ink-muted);
  margin-bottom: 40px;
  line-height: 1.55;
}

/* Subscribe card — flat rectangle, hairline border ------------------- */
.subscribe-card {
  background: var(--paper);
  border: 1px solid var(--ink);
  padding: 24px;
  position: relative;
  max-width: 560px;
}
.subscribe-card::before, .subscribe-card::after { content: none; }

.subscribe-card .label {
  display: flex; align-items: baseline; justify-content: space-between;
  flex-wrap: wrap; gap: 6px 16px;
  margin-bottom: 16px;
  font-variation-settings: "opsz" 14, "wght" 600, "wdth" 100;
  font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--ink);
}
.subscribe-card .label .num {
  color: var(--ink-muted);
  font-variation-settings: "opsz" 14, "wght" 400, "wdth" 100;
  letter-spacing: 0.06em; text-transform: none;
}

.waitlist {
  display: grid; grid-template-columns: 1fr auto; gap: 0;
  border: 1px solid var(--ink);
}
@media (max-width: 560px) {
  .waitlist { grid-template-columns: 1fr; gap: 0; }
  .waitlist button { border-top: 1px solid var(--ink); }
}
.waitlist textarea {
  grid-column: 1 / -1;
  border: 0;
  border-top: 1px solid var(--ink);
  background: transparent;
  padding: 14px 16px;
  font: inherit;
  font-size: 16px;
  color: var(--ink);
  resize: vertical;
  min-height: 92px;
}
.waitlist input {
  border: 0;
  background: transparent;
  padding: 14px 16px;
  font: inherit;
  font-variation-settings: "opsz" 14, "wght" 400, "wdth" 100;
  font-size: 16px;
  color: var(--ink);
  min-width: 0; width: 100%;
}
.waitlist input::placeholder,
.waitlist textarea::placeholder {
  color: var(--ink-faint);
  font-variation-settings: "opsz" 14, "wght" 400, "wdth" 100;
}
.waitlist input:focus,
.waitlist textarea:focus { outline: 0; background: var(--paper-2); }
.waitlist input.is-invalid,
.waitlist textarea.is-invalid {
  background: var(--error-tint);
  box-shadow: inset 0 0 0 2px var(--error);
}
.waitlist button {
  border: 0;
  border-left: 1px solid var(--ink);
  background: var(--ink);
  color: var(--paper);
  padding: 14px 28px;
  font-variation-settings: "opsz" 14, "wght" 600, "wdth" 100;
  font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase;
  transition: background var(--t), color var(--t);
  white-space: nowrap;
}
.waitlist button:hover { background: var(--paper); color: var(--ink); }
.waitlist button:focus-visible { outline: 2px solid var(--accent-deep); outline-offset: 3px; }
.waitlist button:disabled { cursor: wait; opacity: 0.72; }
.waitlist input:focus { outline: 0; background: var(--accent-tint); }

@media (max-width: 560px) {
  .waitlist button { border-left: 0; }
}

.subscribe-card .fine {
  margin-top: 16px;
  font-size: 13px; color: var(--ink-muted);
  font-variation-settings: "opsz" 14, "wght" 400, "wdth" 100;
}

.form-error { color: var(--error); font-weight: 600; font-size: 13px; margin-top: 10px; }
.form-success {
  margin-top: 18px;
  padding: 16px 20px;
  border: 1px solid var(--ink);
  background: var(--paper-2);
  color: var(--ink);
  font-size: 15px; line-height: 1.5;
}
.form-success::before {
  content: "✓"; display: inline-block; margin-right: 10px;
  color: var(--ink); font-weight: 700;
}

/* Hero stage — production still — clean rectangle -------------------- */
.hero-stage { position: relative; }
.production-still {
  position: relative;
  background: var(--ink);
  border: 1px solid var(--ink);
  aspect-ratio: 3 / 2;
  display: grid; grid-template-rows: 1fr auto;
  overflow: hidden;
}
.production-still::before, .production-still::after { content: none; }
.production-still .frame-inner {
  margin: 0;
  position: relative;
  display: grid; place-items: stretch;
  overflow: hidden;
}
.production-still .frame-inner::after { content: none; }
.production-still .still-image {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: opacity var(--t);
}
.production-still .can-label {
  background: var(--on-dark-strong);
  color: var(--ink);
  padding: 10px 16px;
  font-variation-settings: "opsz" 14, "wght" 700, "wdth" 100;
  font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase;
  border-top: 1px solid var(--ink);
}

.production-strip {
  margin-top: 16px;
  display: grid; gap: 8px;
  grid-template-columns: repeat(4, 1fr);
}
@media (max-width: 600px) { .production-strip { grid-template-columns: repeat(2, 1fr); } }
.production-strip .thumb {
  aspect-ratio: 3 / 2;
  background: var(--paper);
  border: 1px solid var(--ink);
  display: grid; place-items: center;
  font-size: 11px;
  color: var(--ink-muted);
  text-align: center; padding: 8px;
  cursor: pointer;
  font-variation-settings: "opsz" 14, "wght" 500, "wdth" 100;
  transition: background var(--t), color var(--t);
}
.production-strip .thumb em {
  color: var(--ink); font-style: italic;
  font-variation-settings: "opsz" 14, "wght" 500, "wdth" 100;
}
.production-strip .thumb:hover {
  background: var(--ink); color: var(--paper);
  border-color: var(--ink);
}
.production-strip .thumb:hover em { color: var(--paper); }
.production-strip .thumb.is-active {
  background: var(--accent-deep); color: var(--paper);
  border-color: var(--accent-deep);
}
.production-strip .thumb.is-active em { color: var(--paper); }

/* HOW IT WORKS — white ----------------------------------------------- */
.how {
  padding: 130px 0 140px;
  background: var(--paper);
  color: var(--ink);
  border-bottom: 1px solid var(--rule);
}
.how-head { display: grid; gap: 14px; margin-bottom: 88px; max-width: 760px; }
.how-head h2 {
  font-variation-settings: "opsz" 96, "wght" 700, "wdth" 96;
  font-size: clamp(40px, 5.6vw, 80px);
  letter-spacing: -0.03em;
  color: var(--ink);
  line-height: 1.0;
}
.how-head h2 .ital {
  font-style: italic;
  font-variation-settings: "opsz" 96, "wght" 500, "wdth" 96;
  color: var(--accent-deep);
}

.steps { display: grid; gap: 80px; }
@media (min-width: 1000px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 32px; } }
.step { display: grid; gap: 16px; align-content: start; }
.step .roman {
  font-variation-settings: "opsz" 24, "wght" 600, "wdth" 100;
  font-style: normal;
  font-size: 14px;
  color: var(--ink-muted);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  line-height: 1;
}
.step h3 {
  font-variation-settings: "opsz" 24, "wght" 600, "wdth" 100;
  font-size: clamp(22px, 2vw, 28px);
  color: var(--ink);
  letter-spacing: -0.02em;
  line-height: 1.15;
}
.step > p {
  color: var(--ink-muted);
  font-size: 16px; line-height: 1.6;
  max-width: 36ch;
}

.step-visual {
  position: relative;
  margin-top: 16px;
  background: linear-gradient(145deg, #ffffff 0%, #f7faff 100%);
  color: var(--ink);
  padding: 20px;
  font-size: 14px;
  border: 1px solid var(--paper-edge);
  border-radius: 8px;
  box-shadow: 0 18px 44px rgba(30, 58, 138, 0.10);
  transition: background var(--t), border-color var(--t), transform var(--t);
}
.step:hover .step-visual {
  background: linear-gradient(145deg, #ffffff 0%, #eef4ff 100%);
  border-color: rgba(30, 58, 138, 0.22);
  transform: translateY(-2px);
}

.mockup-form .mock-row { display: grid; gap: 6px; margin-bottom: 16px; }
.mockup-form label {
  font-variation-settings: "opsz" 14, "wght" 600, "wdth" 100;
  font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--ink-muted);
}
.mock-input, .mock-textarea {
  background: var(--paper-2);
  border: 1px solid var(--rule);
  border-radius: 6px;
  padding: 8px 10px;
  color: var(--ink);
}
.mock-input {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, "Cascadia Mono", monospace;
  font-size: 13px; letter-spacing: 0.02em;
}
.mock-textarea {
  font-size: 14px; line-height: 1.55;
  font-variation-settings: "opsz" 14, "wght" 400, "wdth" 100;
  min-height: 92px;
}
.mock-btn {
  border: 1px solid var(--accent-deep);
  background: var(--accent-deep);
  color: var(--paper);
  border-radius: 6px;
  padding: 9px 18px;
  font-variation-settings: "opsz" 14, "wght" 600, "wdth" 100;
  font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
  margin-top: 6px;
  transition: background var(--t), color var(--t), border-color var(--t);
}
.mock-btn:hover { background: var(--paper); color: var(--accent-deep); }
.mock-btn.ghost {
  background: transparent;
  color: var(--accent-deep);
}
.mock-btn.ghost:hover { background: var(--accent-deep); color: var(--paper); }

/* Storyboard samples — live branch prep, not repeated thumbnails */
.storyboard {
  display: grid; grid-template-columns: 1fr 1fr 1fr;
  gap: 12px;
  background:
    linear-gradient(145deg, rgba(255,255,255,0.96), rgba(238,244,255,0.96)),
    radial-gradient(circle at 20% 0%, rgba(100,136,232,0.18), transparent 34%);
  padding: 12px;
  border: 1px solid var(--paper-edge);
  border-radius: 8px;
  box-shadow: 0 22px 60px rgba(30, 58, 138, 0.13);
}
@media (max-width: 680px) {
  .storyboard { grid-template-columns: 1fr; }
}
.storyboard-frame {
  position: relative;
  margin: 0;
  border: 1px solid rgba(30, 58, 138, 0.18);
  border-radius: 7px;
  background: var(--paper);
  display: grid; grid-template-rows: 1fr auto;
  overflow: hidden;
  box-shadow: 0 10px 24px rgba(10, 20, 42, 0.10);
}
.storyboard-frame img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  display: block;
}
.storyboard-frame figcaption {
  background: rgba(255,255,255,0.94);
  color: var(--ink-muted);
  padding: 8px 9px;
  font-size: 10.5px;
  letter-spacing: 0.04em;
  text-align: center;
  border-top: 1px solid var(--paper-edge);
  font-variation-settings: "opsz" 14, "wght" 500, "wdth" 100;
}
.storyboard-frame em {
  color: var(--accent-deep); font-style: normal;
  font-variation-settings: "opsz" 14, "wght" 700, "wdth" 100;
}
.storyboard-frame::before { content: none; }

.branch-storyboard {
  grid-template-columns: 1fr;
}
.branch-storyboard .storyboard-frame {
  grid-template-columns: minmax(112px, 42%) 1fr;
  grid-template-rows: minmax(104px, 1fr);
}
.branch-storyboard .storyboard-frame img {
  height: 100%;
  aspect-ratio: auto;
}
.branch-storyboard .storyboard-frame figcaption {
  border-top: 0;
  border-left: 1px solid var(--paper-edge);
  display: flex;
  align-items: center;
  text-align: left;
  line-height: 1.35;
}
@media (max-width: 680px) {
  .branch-storyboard .storyboard-frame {
    grid-template-columns: 1fr;
    grid-template-rows: 1fr auto;
  }
  .branch-storyboard .storyboard-frame img {
    aspect-ratio: 3 / 2;
  }
  .branch-storyboard .storyboard-frame figcaption {
    border-left: 0;
    border-top: 1px solid var(--paper-edge);
    text-align: center;
    justify-content: center;
  }
}

/* Step 3 — dashboard mockup */
.mockup-dashboard { display: grid; gap: 16px; }
.mock-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  color: var(--accent-deep);
  background: rgba(30, 58, 138, 0.08);
  border: 1px solid rgba(30, 58, 138, 0.16);
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-variation-settings: "opsz" 14, "wght" 700, "wdth" 100;
}
.mock-status .pulse {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #1fb875;
  box-shadow: 0 0 0 0 rgba(31,184,117,0.45);
  animation: tl-pulse 1.6s ease-out infinite;
}
@keyframes tl-pulse {
  0% { box-shadow: 0 0 0 0 rgba(31,184,117,0.45); }
  70% { box-shadow: 0 0 0 8px rgba(31,184,117,0); }
  100% { box-shadow: 0 0 0 0 rgba(31,184,117,0); }
}
.mock-board {
  display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 8px;
  border: 1px solid var(--paper-edge);
  border-radius: 8px;
  padding: 8px;
  background: rgba(255,255,255,0.72);
}
@media (max-width: 680px) {
  .mock-board { grid-template-columns: 1fr; }
}
.mock-board-frame {
  aspect-ratio: 3 / 2;
  background: var(--ink);
  border-radius: 6px;
  display: grid; place-items: stretch;
  overflow: hidden;
}
.mock-board-frame img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
}
.mock-label {
  font-variation-settings: "opsz" 24, "wght" 600, "wdth" 100;
  font-size: 16px; color: var(--ink);
  letter-spacing: -0.015em;
}
.mock-narrative {
  font-size: 14px; color: var(--ink-muted);
  line-height: 1.55;
  max-width: 44ch;
  margin-top: 4px;
}
.mock-narrative .em {
  color: var(--accent-deep); font-style: normal;
  font-variation-settings: "opsz" 14, "wght" 700, "wdth" 100;
  letter-spacing: 0.06em; text-transform: uppercase;
  font-size: 11px; padding: 1px 6px;
  border: 1px solid var(--accent-deep);
}
.mock-board-actions { display: flex; gap: 8px; flex-wrap: wrap; }

/* FEATURES — black inverse ------------------------------------------- */
.features {
  padding: 130px 0 140px;
  background: var(--ink);
  color: var(--paper);
  border-bottom: 1px solid var(--ink);
}
.features-head { text-align: left; margin-bottom: 80px; max-width: 720px; }
.features .kicker { color: var(--paper); opacity: 0.6; }
.features-head h2 {
  font-variation-settings: "opsz" 96, "wght" 700, "wdth" 96;
  font-size: clamp(36px, 5vw, 68px);
  letter-spacing: -0.03em;
  color: var(--paper);
  line-height: 1.0;
}
.features-head h2 .ital {
  font-style: italic;
  font-variation-settings: "opsz" 96, "wght" 500, "wdth" 96;
  color: var(--accent);
}
.cards {
  display: grid; gap: 0;
  grid-template-columns: 1fr;
  border-top: 1px solid var(--on-dark-rule);
}
.cards .card { border-bottom: 1px solid var(--on-dark-rule); }
@media (min-width: 800px) {
  .cards { grid-template-columns: repeat(3, 1fr); }
  .cards .card { border-bottom: 0; border-left: 1px solid var(--on-dark-rule); }
  .cards .card:first-child { border-left: 0; }
}
.card {
  background: transparent;
  padding: 48px 36px;
  display: grid; gap: 14px; align-content: start;
  position: relative;
  transition: background var(--t);
}
.card:hover { background: rgba(255,255,255,0.04); }
.card .num {
  font-variation-settings: "opsz" 14, "wght" 600, "wdth" 100;
  font-style: normal;
  font-size: 12px;
  color: var(--paper); opacity: 0.5;
  margin-bottom: 8px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  line-height: 1;
}
.card h3 {
  font-variation-settings: "opsz" 24, "wght" 600, "wdth" 100;
  font-size: clamp(20px, 1.8vw, 24px);
  color: var(--paper);
  letter-spacing: -0.02em;
  line-height: 1.15;
}
.card p {
  color: rgba(255,255,255,0.65);
  font-size: 16px; line-height: 1.6;
  max-width: 32ch;
}

/* PROOF — white, transitional --------------------------------------- */
.proof {
  padding: 88px 0;
  background: var(--paper);
  color: var(--ink);
  text-align: center;
  border-bottom: 1px solid var(--rule);
}
.proof .dingbat { display: none; }
.proof p {
  color: var(--ink-muted);
  font-size: clamp(17px, 1.5vw, 20px);
  max-width: 50ch; margin: 0 auto;
  line-height: 1.55;
}

/* APP ACCESS — plain route for invited testers ---------------------- */
.app-access {
  padding: 92px 0;
  background: var(--paper);
  color: var(--ink);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.app-access-grid {
  display: grid;
  gap: 32px;
  align-items: center;
}
@media (min-width: 900px) {
  .app-access-grid {
    grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.72fr);
    gap: 72px;
  }
}
.app-access h2 {
  font-variation-settings: "opsz" 72, "wght" 700, "wdth" 96;
  font-size: clamp(36px, 5vw, 72px);
  letter-spacing: -0.035em;
  line-height: 0.98;
  max-width: 12ch;
}
.app-access-card {
  border: 1px solid var(--ink);
  background: var(--paper-2);
  padding: 28px;
}
.app-access-card p {
  color: var(--ink-muted);
  font-size: clamp(17px, 1.35vw, 20px);
  line-height: 1.5;
  margin-bottom: 22px;
}
.app-access-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--paper);
  font-variation-settings: "opsz" 14, "wght" 700, "wdth" 100;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: background var(--t), color var(--t);
}
.app-access-button:hover,
.app-access-button:focus-visible {
  background: var(--paper);
  color: var(--ink);
}

/* CTA — black closing curtain ---------------------------------------- */
.cta {
  padding: 140px 0 130px;
  text-align: center;
  background: var(--ink);
  color: var(--paper);
  border-bottom: 1px solid var(--ink);
}
.cta::before, .cta::after { content: none; }
.cta .kicker { color: var(--paper); opacity: 0.6; }
.cta h2 {
  font-variation-settings: "opsz" 96, "wght" 700, "wdth" 96;
  font-size: clamp(46px, 6.4vw, 92px);
  letter-spacing: -0.035em;
  margin: 16px auto 18px;
  max-width: 22ch;
  color: var(--paper);
  line-height: 0.96;
}
.cta h2 .ital {
  font-style: italic;
  font-variation-settings: "opsz" 96, "wght" 500, "wdth" 96;
  color: var(--accent);
}
.cta .standfirst {
  color: rgba(255,255,255,0.7);
  font-size: clamp(17px, 1.4vw, 20px);
  max-width: 44ch; margin: 0 auto 48px;
  line-height: 1.55;
}
.cta .subscribe-card {
  margin: 0 auto;
  background: var(--ink);
  color: var(--paper);
  border-color: var(--paper);
  text-align: left;
}
.cta .subscribe-card .label { color: var(--paper); }
.cta .subscribe-card .label .num { color: rgba(255,255,255,0.5); }
.cta .waitlist { border-color: var(--paper); }
.cta .waitlist input,
.cta .waitlist textarea { color: var(--paper); }
.cta .waitlist textarea { border-top-color: var(--paper); }
.cta .waitlist input::placeholder,
.cta .waitlist textarea::placeholder { color: rgba(255,255,255,0.4); }
.cta .waitlist input:focus,
.cta .waitlist textarea:focus { background: rgba(255,255,255,0.06); }
.cta .waitlist button {
  background: var(--paper);
  color: var(--ink);
  border-left-color: var(--paper);
}
.cta .waitlist button:hover { background: var(--ink); color: var(--paper); }
.cta .subscribe-card .fine { color: rgba(255,255,255,0.5); }
.cta .form-error { color: var(--paper); }
.cta .form-success {
  background: rgba(255,255,255,0.06);
  border-color: var(--paper);
  color: var(--paper);
}

/* FOOTER — black ----------------------------------------------------- */
.site-footer {
  padding: 56px 0 64px;
  background: var(--ink);
  color: rgba(255,255,255,0.55);
  font-size: 13px;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.colophon {
  display: grid; gap: 24px;
  grid-template-columns: 1fr;
}
@media (min-width: 800px) {
  .colophon { grid-template-columns: 2fr 1fr 1fr; gap: 56px; }
}
.colophon h4 {
  font-variation-settings: "opsz" 14, "wght" 600, "wdth" 100;
  font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--paper);
  margin-bottom: 12px;
}
.colophon p { line-height: 1.55; max-width: 48ch; }
.colophon p em { color: var(--paper); font-style: italic; }
.colophon a {
  color: rgba(255,255,255,0.78);
  border-bottom: 1px solid rgba(255,255,255,0.18);
  transition: color var(--t), border-color var(--t);
}
.colophon a:hover { color: var(--paper); border-bottom-color: var(--paper); }

/* Reveal animation --------------------------------------------------- */
.reveal {
  opacity: 1;
  transform: none;
}
.js .reveal {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 700ms ease, transform 700ms cubic-bezier(.2,.8,.2,1);
}
.js .reveal.is-in { opacity: 1; transform: translateY(0); }
.js .reveal[data-delay="1"] { transition-delay: 60ms; }
.js .reveal[data-delay="2"] { transition-delay: 160ms; }
.js .reveal[data-delay="3"] { transition-delay: 280ms; }
.js .reveal[data-delay="4"] { transition-delay: 420ms; }
.js .reveal[data-delay="5"] { transition-delay: 580ms; }
.js .hero .reveal {
  opacity: 1;
  transform: none;
  transition: none;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
  .js .reveal { opacity: 1; transform: none; }
}

/* ======================================================================
   Additions for v2: hero triptych caption, WHO section, ABOUT section,
   essay page (design.html). All additive; existing styles untouched.
   ====================================================================== */

/* Hero triptych — uses .storyboard layout but lives in the hero column */
.hero-storyboard {
  /* inherits .storyboard 3-col grid */
}
.hero-storyboard-caption {
  margin-top: 18px;
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--ink-muted);
  font-variation-settings: "opsz" 14, "wght" 500, "wdth" 100;
  line-height: 1.5;
  max-width: 60ch;
}

/* WHO THIS IS FOR — slight cool-tilt paper, centered prose */
.who {
  padding: 110px 0 110px;
  background: var(--paper-2);
  color: var(--ink);
  border-bottom: 1px solid var(--rule);
}
.who-head {
  max-width: 760px;
  margin: 0 auto 48px;
  text-align: center;
}
.who-head h2 {
  font-variation-settings: "opsz" 96, "wght" 700, "wdth" 96;
  font-size: clamp(34px, 4.6vw, 60px);
  letter-spacing: -0.03em;
  color: var(--ink);
  line-height: 1.0;
}
.who-head h2 .ital {
  font-style: italic;
  font-variation-settings: "opsz" 96, "wght" 500, "wdth" 96;
  color: var(--accent-deep);
}
.who-body {
  max-width: 64ch;
  margin: 0 auto;
  display: grid;
  gap: 24px;
}
.who-body p {
  color: var(--ink);
  font-size: clamp(17px, 1.4vw, 19px);
  line-height: 1.65;
}

/* ABOUT US — white, founder voice + cost transparency */
.about {
  padding: 130px 0 130px;
  background: var(--paper);
  color: var(--ink);
  border-bottom: 1px solid var(--rule);
}
.about-head {
  margin-bottom: 56px;
  max-width: 760px;
}
.about-head h2 {
  font-variation-settings: "opsz" 96, "wght" 700, "wdth" 96;
  font-size: clamp(36px, 5vw, 64px);
  letter-spacing: -0.03em;
  color: var(--ink);
  line-height: 1.0;
}
.about-head h2 .ital {
  font-style: italic;
  font-variation-settings: "opsz" 96, "wght" 500, "wdth" 96;
  color: var(--accent-deep);
}
.about-body {
  max-width: 68ch;
  display: grid;
  gap: 22px;
}
.about-body p {
  color: var(--ink);
  font-size: 17px;
  line-height: 1.65;
}
.about-body p strong {
  font-variation-settings: "opsz" 14, "wght" 700, "wdth" 100;
  color: var(--ink);
}
.about-readmore {
  margin-top: 12px;
}
.about-readmore a {
  color: var(--accent-deep);
  border-bottom: 1px solid var(--accent-deep);
  font-variation-settings: "opsz" 14, "wght" 600, "wdth" 100;
  font-size: 14px;
  letter-spacing: 0.04em;
  padding-bottom: 2px;
  transition: color var(--t), border-color var(--t);
}
.about-readmore a:hover {
  color: var(--ink);
  border-bottom-color: var(--ink);
}

/* ESSAY page (design.html) */
.essay {
  padding: 88px 0 130px;
  background: var(--paper);
  color: var(--ink);
}
.essay-header {
  margin-bottom: 56px;
}
.essay-header .back {
  display: inline-block;
  font-variation-settings: "opsz" 14, "wght" 500, "wdth" 100;
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--ink-muted);
  margin-bottom: 32px;
  border-bottom: 1px solid var(--rule);
  padding-bottom: 2px;
  transition: color var(--t), border-color var(--t);
}
.essay-header .back:hover {
  color: var(--ink);
  border-bottom-color: var(--ink);
}
.essay-header h1 {
  font-variation-settings: "opsz" 96, "wght" 700, "wdth" 96;
  font-size: clamp(40px, 5.6vw, 72px);
  letter-spacing: -0.03em;
  line-height: 1.0;
  color: var(--ink);
  max-width: 18ch;
  margin-bottom: 16px;
}
.essay-header .lede {
  color: var(--ink-muted);
  font-size: 17px;
  line-height: 1.6;
  max-width: 64ch;
}
.essay-body {
  max-width: 64ch;
  display: grid;
  gap: 28px;
}
.essay-body p {
  color: var(--ink);
  font-size: 18px;
  line-height: 1.65;
}
.essay-body h2 {
  font-variation-settings: "opsz" 48, "wght" 600, "wdth" 100;
  font-size: clamp(24px, 2.4vw, 32px);
  color: var(--ink);
  letter-spacing: -0.02em;
  margin-top: 28px;
  margin-bottom: 0;
}
.essay-body h2 .ital,
.essay-body h2 em {
  font-style: italic;
  color: var(--accent-deep);
  font-variation-settings: "opsz" 48, "wght" 500, "wdth" 100;
}

/* "What this actually feels like" — long-form prose on dark ground */
.features-essay {
  max-width: 64ch;
  display: grid;
  gap: 22px;
}
.features-essay p {
  color: rgba(255,255,255,0.86);
  font-size: clamp(17px, 1.4vw, 19px);
  line-height: 1.65;
  margin: 0;
}
.features-essay p em {
  font-style: italic;
  color: var(--paper);
}

/* Expandable "How it works, in detail" — native <details>/<summary> */
.howdetail {
  margin-top: 88px;
  border: 1px solid var(--ink);
  background: var(--paper);
}
.howdetail summary {
  list-style: none;
  cursor: pointer;
  padding: 22px 28px;
  font-variation-settings: "opsz" 24, "wght" 600, "wdth" 100;
  font-size: clamp(17px, 1.6vw, 20px);
  letter-spacing: -0.01em;
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  transition: background var(--t);
}
.howdetail summary::-webkit-details-marker { display: none; }
.howdetail summary::marker { content: ""; }
.howdetail summary::after {
  content: "+";
  font-variation-settings: "opsz" 14, "wght" 400, "wdth" 100;
  font-size: 26px;
  color: var(--ink-muted);
  width: 24px;
  text-align: center;
  line-height: 1;
  transition: color var(--t);
}
.howdetail[open] summary::after { content: "−"; }
.howdetail summary:hover {
  background: var(--paper-2);
}
.howdetail summary:hover::after {
  color: var(--ink);
}
.howdetail summary:focus-visible {
  outline: 2px solid var(--accent-deep);
  outline-offset: -2px;
}
.howdetail-body {
  padding: 8px 28px 36px;
  display: grid;
  gap: 18px;
  border-top: 1px solid var(--rule);
}
.howdetail-body h3 {
  font-variation-settings: "opsz" 24, "wght" 700, "wdth" 100;
  font-size: 17px;
  color: var(--ink);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-top: 22px;
  margin-bottom: 0;
}
.howdetail-body h3:first-child { margin-top: 8px; }
.howdetail-body p {
  color: var(--ink);
  font-size: 16px;
  line-height: 1.65;
  max-width: 64ch;
  margin: 0;
}
.howdetail-body ul {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 0;
  max-width: 64ch;
  list-style: none;
}
.howdetail-body ul li {
  position: relative;
  padding-left: 22px;
  color: var(--ink);
  font-size: 16px;
  line-height: 1.6;
}
.howdetail-body ul li::before {
  content: "·";
  position: absolute;
  left: 8px;
  top: -3px;
  color: var(--accent-deep);
  font-weight: 700;
  font-size: 22px;
}
