/* HUMAN AGAIN sales page. Design system stylesheet.
   Greyscale only. Times New Roman for reading and headlines, bold letterspaced sans for labels.
   No external requests. Mobile first; desktop tokens from 900px. */

/* ---------- 1. Tokens ---------- */
:root {
  /* grounds */
  --ink: #0b0b0b;
  --ink-2: #101010;
  --surface: #141414;
  --raised: #1b1b1b;
  --paper: #ededed;
  /* text on dark (contrast on --ink) */
  --t1: #f2f2f2;   /* 17.6:1 */
  --t2: #d2d2d2;   /* 13.0:1 */
  --t3: #a6a6a6;   /* 8.1:1  */
  --t4: #8c8c8c;   /* 5.85:1, smallest text allowed on dark */
  /* text on paper (contrast on --paper) */
  --p1: #0b0b0b;   /* 16.8:1 */
  --p2: #3a3a3a;   /* 9.7:1  */
  --p3: #575757;   /* 6.2:1  */
  /* rules */
  --rule: #2c2c2c;        /* decorative hairline */
  --rule-2: #4a4a4a;      /* stronger hairline */
  --ui: #767676;          /* control borders, 4.3:1 on ink */
  --focus: #ffffff;

  --serif: "Times New Roman", Times, "Liberation Serif", serif;
  --sans: "Helvetica Neue", Helvetica, Arial, "Liberation Sans", sans-serif;

  /* type scale, mobile */
  --fs-display: 42px; --lh-display: 1.02;
  --fs-h2: 34px;      --lh-h2: 1.08;
  --fs-h3: 24px;      --lh-h3: 1.2;
  --fs-lead: 22px;    --lh-lead: 1.4;
  --fs-body: 18px;    --lh-body: 1.62;
  --fs-small: 15px;   --lh-small: 1.5;
  --fs-label: 12px;   --ls-label: .22em;
  --fs-num: 64px;
  --fs-quote: 28px;   --lh-quote: 1.25;

  /* spacing, 8px base */
  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 24px;
  --s6: 32px; --s7: 48px; --s8: 64px; --s9: 96px; --s10: 144px;
  --gutter: 20px;
  --section: 80px;
  --measure: 34em;   /* ~ 62 characters at body size */
  --tap: 48px;
}
@media (min-width: 900px) {
  :root {
    --fs-display: 76px; --lh-display: 1;
    --fs-h2: 56px;      --lh-h2: 1.04;
    --fs-h3: 30px;      --lh-h3: 1.18;
    --fs-lead: 26px;    --lh-lead: 1.4;
    --fs-body: 19px;    --lh-body: 1.65;
    --fs-small: 16px;
    --fs-num: 96px;
    --fs-quote: 44px;   --lh-quote: 1.15;
    --gutter: 40px;
    --section: 144px;
  }
}

/* ---------- 2. Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--ink); color: var(--t2);
  font: 400 var(--fs-body)/var(--lh-body) var(--serif);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; height: auto; }
p { margin: 0 0 1.1em; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .2em; }
a:hover { color: var(--t1); }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 400; color: var(--t1); margin: 0; letter-spacing: -.005em; }
h1 { font-size: var(--fs-display); line-height: var(--lh-display); letter-spacing: -.015em; }
h2 { font-size: var(--fs-h2); line-height: var(--lh-h2); letter-spacing: -.012em; max-width: 14em; }
h3 { font-size: var(--fs-h3); line-height: var(--lh-h3); }
ul, ol { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--t1); color: var(--ink); }

:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }
.on-paper :focus-visible { outline-color: var(--p1); }

.skip {
  position: absolute; left: var(--s4); top: -80px; z-index: 100;
  background: var(--t1); color: var(--ink); padding: 14px 20px; min-height: var(--tap);
  font: 700 13px/1.4 var(--sans); letter-spacing: .12em; text-transform: uppercase; text-decoration: none;
}
.skip:focus { top: var(--s4); }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- 3. Layout ---------- */
.wrap { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 var(--gutter); }
.sec { padding: var(--section) 0; border-top: 1px solid var(--rule); position: relative; }
.sec.flush-top { border-top: 0; }

/* The margin rail: label column on the left, content on the right, like marginalia in a book. */
.rail-grid { display: grid; gap: var(--s5); grid-template-columns: 1fr; }
@media (min-width: 900px) {
  .rail-grid { grid-template-columns: 200px minmax(0, 1fr); column-gap: var(--s8); }
  .rail-grid > .rail { position: sticky; top: var(--s7); align-self: start; }
}
.label {
  font: 700 var(--fs-label)/1.5 var(--sans); letter-spacing: var(--ls-label); text-transform: uppercase; color: var(--t3);
  margin: 0;
}
.label b { color: var(--t1); font-weight: 700; }
.rail .label { display: flex; gap: var(--s3); align-items: center; }
.rail .label::after { content: ""; height: 1px; background: var(--rule-2); flex: 1; }
@media (min-width: 900px) { .rail .label { flex-direction: column; align-items: flex-start; gap: var(--s3); } .rail .label::after { width: 48px; flex: none; } }

.measure { max-width: var(--measure); }
.lead { font-size: var(--fs-lead); line-height: var(--lh-lead); color: var(--t1); max-width: 28em; }
.small { font-size: var(--fs-small); line-height: var(--lh-small); color: var(--t3); }
.stack > * + * { margin-top: var(--s5); }
.hairline { height: 1px; background: var(--rule-2); border: 0; margin: 0; }

/* ---------- 4. Header ---------- */
.site-head { border-bottom: 1px solid var(--rule); }
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; min-height: 72px; gap: var(--s4); }
.site-head .logo { display: block; padding: 12px 0; }
.site-head .logo img { height: 20px; width: auto; }
.site-head nav { display: flex; align-items: center; gap: var(--s6); }
.site-head nav a.link { display: none; }
@media (min-width: 900px) {
  .site-head .wrap { min-height: 88px; }
  .site-head .logo img { height: 24px; }
  .site-head nav a.link { display: inline-flex; align-items: center; min-height: var(--tap); font: 700 12px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; text-decoration: none; color: var(--t3); }
  .site-head nav a.link:hover { color: var(--t1); }
}

/* ---------- 5. Buttons and controls ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s4);
  min-height: 56px; padding: 0 var(--s6); border: 1px solid var(--t1); border-radius: 0;
  background: var(--t1); color: var(--ink); cursor: pointer; text-decoration: none;
  font: 700 13px/1 var(--sans); letter-spacing: .18em; text-transform: uppercase;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}
.btn .arrow { display: inline-block; width: 22px; height: 1px; background: currentColor; position: relative; transition: width .25s ease; }
.btn .arrow::after { content: ""; position: absolute; right: 0; top: -3px; width: 7px; height: 7px; border-top: 1px solid currentColor; border-right: 1px solid currentColor; transform: rotate(45deg); }
.btn:hover { background: #fff; color: var(--ink); }
.btn:hover .arrow { width: 32px; }
.btn.ghost { background: transparent; color: var(--t1); border-color: var(--ui); }
.btn.ghost:hover { border-color: var(--t1); background: transparent; color: #fff; }
.btn.sm { min-height: var(--tap); padding: 0 var(--s5); font-size: 12px; }
.btn[disabled], .btn[aria-disabled="true"] {
  background: transparent; color: var(--t4); border: 1px dashed var(--ui); cursor: not-allowed; pointer-events: none;
}
.btn[disabled] .arrow, .btn[aria-disabled="true"] .arrow { display: none; }
.btn.block { display: flex; width: 100%; }

/* text link with arrow rule */
.tlink { display: inline-flex; align-items: center; min-height: var(--tap); font: 700 12px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--t1); text-decoration: none; border-bottom: 1px solid var(--ui); padding: 0; }
.tlink:hover { border-color: var(--t1); }

/* forms */
.field { display: grid; gap: var(--s2); }
.field > label { font: 700 12px/1.4 var(--sans); letter-spacing: .18em; text-transform: uppercase; }
.input {
  width: 100%; min-height: var(--tap); padding: 0 var(--s4); border-radius: 0;
  border: 1px solid var(--ui); background: transparent; color: inherit; font: 400 18px/1.3 var(--serif);
}
.input::placeholder { color: var(--t4); opacity: 1; }
.check { display: grid; grid-template-columns: 28px 1fr; gap: var(--s4); align-items: start; cursor: pointer; font-size: var(--fs-small); line-height: 1.5; }
.check input {
  appearance: none; -webkit-appearance: none; margin: 0; width: 28px; height: 28px; border: 1px solid currentColor; border-radius: 0;
  background: transparent; display: grid; place-items: center; cursor: pointer; flex: none;
}
.check input::after { content: ""; width: 14px; height: 7px; border-left: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(-45deg) translate(1px, -1px); opacity: 0; }
.check input:checked { background: var(--p1); color: var(--paper); border-color: var(--p1); }
.check input:checked::after { opacity: 1; }
.check span { padding-top: 2px; }
/* the tap target is the whole row, at least 48px */
.check { min-height: var(--tap); }

/* ---------- 6. Hero ---------- */
.hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--rule); }
/* flat black ground: no spotlight, no grain, no glow. The cover's own black lower half is the page black. */
.hero::before, .hero.grain::after { content: none; }
.hero-grid { position: relative; z-index: 1; display: grid; gap: var(--s7); padding-block: var(--s7) var(--s8); }
.hero .kicker { margin-bottom: var(--s5); }
.hero h1 { max-width: 9.5em; }
.hero h1 em { font-style: italic; display: block; color: var(--t2); }
.hero .lead { margin-top: var(--s6); }
.hero .actions { display: flex; flex-wrap: wrap; gap: var(--s4); margin-top: var(--s7); align-items: center; }
.hero .byline { margin-top: var(--s7); padding-top: var(--s5); border-top: 1px solid var(--rule-2); max-width: 30em; }
.hero-grid { padding-bottom: 0; gap: var(--s7); }
/* the book sits on the rule and is cropped by it: bottom of the cover runs off the section edge */
.hero-book { position: relative; justify-self: center; width: min(86%, 380px); margin-bottom: -7% !important; align-self: end; }
.hero-book img { display: block; width: 100%; filter: none; }
.hero-book .caption { margin-top: var(--s5); text-align: center; }
@media (min-width: 900px) {
  .hero-grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--s8); align-items: end; padding-block: var(--s9) 0; }
  .hero-grid > div:first-child { padding-bottom: var(--s9); }
  .hero-book { width: 110%; max-width: 600px; justify-self: end; margin-right: -3vw; margin-bottom: -7% !important; }
}

/* ---------- 7. At a glance strip ---------- */
.glance { display: grid; grid-template-columns: repeat(2, 1fr); border-bottom: 1px solid var(--rule); }
.glance li { padding: var(--s5) var(--s4) var(--s5) 0; border-top: 1px solid var(--rule); }
.glance li:nth-child(-n+2) { border-top: 0; }
.glance li:nth-child(even) { padding-left: var(--s4); border-left: 1px solid var(--rule); }
.glance b { display: block; font: 400 var(--fs-num)/.9 var(--serif); color: var(--t1); letter-spacing: -.02em; }
.glance span { display: block; margin-top: var(--s3); font: 400 15px/1.4 var(--serif); color: var(--t3); max-width: 15em; }
/* the one accent borrowed from the Instagram slides: a soft-grey card with black type */
.glance li.hl, .glance li.hl:nth-child(even) { background: #e6e6e4; border-left: 0; border-top: 0; padding: var(--s5) var(--s4); margin: 0 0 -1px; }
.glance li.hl b { color: #0b0b0b; font-size: 52px; line-height: .95; }
.glance li.hl span { color: #3a3a3a; }
.glance-note { margin: var(--s4) 0 0; color: var(--t3); }
@media (min-width: 900px) {
  .glance { grid-template-columns: repeat(4, 1fr); }
  .glance li, .glance li:nth-child(-n+2) { border-top: 0; padding: var(--s7) var(--s5); }
  .glance li:first-child { padding-left: 0; }
  .glance li + li { border-left: 1px solid var(--rule); }
  .glance li:nth-child(even) { padding-left: var(--s5); }
  .glance span { font-size: 17px; }
  .glance li.hl, .glance li.hl:nth-child(even) { padding: var(--s7) var(--s5); margin: 0 0 -1px; border-left: 0; }
  .glance li.hl b { font-size: var(--fs-num); }
}

/* ---------- 8. The cost: image band + long form ---------- */
.band { position: relative; min-height: 700px; display: grid; align-items: end; overflow: hidden; border-top: 1px solid var(--rule); background: var(--ink); }
.band img.photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 62% 30%; filter: grayscale(1) contrast(1.05) brightness(.85); }
.band::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(11,11,11,.35) 0%, rgba(11,11,11,0) 30%, rgba(11,11,11,.55) 62%, var(--ink) 100%); }
.band .wrap { position: relative; z-index: 2; padding-bottom: var(--s8); padding-top: 400px; }
.band h2 { font-size: var(--fs-display); line-height: var(--lh-display); max-width: 11em; text-shadow: 0 2px 24px rgba(0,0,0,.6); }
.band h2 span { display: block; color: var(--t2); font-style: italic; }
@media (min-width: 900px) { .band { min-height: 980px; } .band .wrap { padding-top: 620px; } .band .wrap { padding-bottom: var(--s9); } .band img.photo { object-position: 60% 0; } }

.longform p { max-width: var(--measure); }
.longform .statement { font-size: var(--fs-lead); line-height: var(--lh-lead); color: var(--t1); max-width: 24em; }
.longform .drop::first-letter { float: left; font-size: 4.2em; line-height: .8; padding: .06em .1em 0 0; color: var(--t1); }

/* the bill: ledger */
.ledger { margin: var(--s7) 0; border-top: 1px solid var(--t1); max-width: 40em; }
.ledger li { display: grid; grid-template-columns: 1fr auto; gap: var(--s4); align-items: baseline; padding: var(--s4) 0; border-bottom: 1px solid var(--rule-2); font-size: var(--fs-h3); line-height: 1.25; color: var(--t1); }
.ledger li span { font: 700 12px/1 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--t3); white-space: nowrap; }
.ledger .total { border-bottom: 0; font-style: italic; color: var(--t2); }

/* pull quote inside long form */
.pull { margin: var(--s8) 0; padding-top: var(--s5); border-top: 1px solid var(--t1); max-width: 26em; }
.pull p { margin: 0; font: italic 400 var(--fs-quote)/var(--lh-quote) var(--serif); color: var(--t1); letter-spacing: -.01em; max-width: none; }
.pull cite { display: block; margin-top: var(--s4); font: 700 12px/1.5 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--t3); font-style: normal; }
@media (min-width: 900px) { .pull { margin-left: -1px; } }

/* ---------- 9. The method: ladder ---------- */
.ladder { margin-top: var(--s7); border-top: 1px solid var(--t1); counter-reset: none; }
.rung { display: grid; grid-template-columns: 1fr; gap: var(--s3); padding: var(--s6) 0; border-bottom: 1px solid var(--rule-2); position: relative; }
.rung .num { font: 400 var(--fs-num)/.85 var(--serif); color: var(--t1); letter-spacing: -.03em; }
.rung h3 { margin-bottom: var(--s2); }
.rung p { margin: 0; color: var(--t2); max-width: 30em; }
.rung .time { font: 700 12px/1.5 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--t3); }
.rung.next { background: var(--t1); color: var(--p2); border-bottom: 0; padding-left: var(--s5); padding-right: var(--s5); margin-top: var(--s5); }
.rung.next .num, .rung.next h3 { color: var(--p1); }
.rung.next p { color: var(--p2); }
.rung.next .time { color: var(--p3); }
.rung.next .num { font-size: var(--fs-h2); line-height: 1; }
@media (min-width: 900px) {
  /* the staircase: each rung steps in, the body climbs one phase at a time */
  .rung { grid-template-columns: 148px minmax(0, 1fr) 200px; gap: var(--s6); align-items: start; padding: var(--s6) 0; }
  .rung:nth-child(2) { margin-left: 5%; }
  .rung:nth-child(3) { margin-left: 10%; }
  .rung:nth-child(4) { margin-left: 15%; }
  .rung .time { text-align: right; padding-top: 14px; }
  .rung.next { margin-left: 0; grid-template-columns: 1fr; padding: var(--s7); margin-top: var(--s7); }
}
.signals { margin-top: var(--s7); display: grid; gap: var(--s5); border-top: 1px solid var(--rule-2); padding-top: var(--s5); }
@media (min-width: 900px) { .signals { grid-template-columns: 1fr 1fr; gap: var(--s8); } }

/* ---------- 10. Inside the book ---------- */
.inside-grid { display: grid; gap: var(--s7); }
.contents li { display: grid; grid-template-columns: 44px 1fr; gap: var(--s3); padding: var(--s5) 0; border-top: 1px solid var(--rule-2); }
.contents li:last-child { border-bottom: 1px solid var(--rule-2); }
.contents .i { font: 700 12px/2.2 var(--sans); letter-spacing: .15em; color: var(--t3); }
.contents h3 { font-size: 24px; margin-bottom: var(--s1); }
.contents p { margin: 0; color: var(--t3); font-size: var(--fs-small); line-height: 1.55; max-width: 32em; }
.inside-fig { position: relative; display: grid; place-items: center; padding: var(--s7) 0; background: radial-gradient(ellipse 60% 60% at 50% 45%, rgba(255,255,255,.1), transparent 70%); }
.inside-fig img { width: min(70%, 320px); filter: drop-shadow(0 30px 40px rgba(0,0,0,.7)); }
.inside-fig figcaption { margin-top: var(--s5); }
@media (min-width: 900px) {
  .inside-grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--s8); align-items: start; }
  .inside-fig { position: sticky; top: var(--s7); }
}

/* ---------- 11. How it fits together: the path ---------- */
.path { margin-top: var(--s7); display: grid; gap: 0; position: relative; }
.node { position: relative; display: grid; grid-template-columns: 56px 1fr; gap: var(--s4); padding-bottom: var(--s7); }
.node:last-child { padding-bottom: 0; }
.node::before { content: ""; position: absolute; left: 27px; top: 56px; bottom: 0; width: 0; border-left: 1px solid var(--t1); }
.node:last-child::before { display: none; }
.node.soon::before { border-left-style: dashed; border-left-color: var(--ui); }
.node.prev-soon::before { border-left-style: dashed; border-left-color: var(--ui); }
.node .icon { width: 56px; height: 56px; border: 1px solid var(--t1); display: grid; place-items: center; background: var(--ink); position: relative; z-index: 1; }
.node.soon .icon { border-style: dashed; border-color: var(--ui); }
.node .icon svg { width: 28px; height: 28px; stroke: var(--t1); fill: none; stroke-width: 1.25; }
.node.final .icon { background: var(--t1); }
.node.final .icon svg { stroke: var(--ink); }
.node h3 { font-size: 26px; margin-bottom: var(--s2); }
.node p { margin: 0; font-size: var(--fs-small); line-height: 1.55; color: var(--t3); max-width: 24em; }
.tag { display: inline-block; font: 700 11px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; padding: 6px 8px; border: 1px solid var(--ui); color: var(--t2); margin-bottom: var(--s3); }
.tag.dashed { border-style: dashed; }
@media (min-width: 900px) {
  .path { grid-template-columns: repeat(4, 1fr); gap: var(--s6); }
  .node { grid-template-columns: 1fr; padding-bottom: 0; gap: var(--s5); }
  .node::before { left: 56px; right: calc(-1 * var(--s6)); width: auto; height: 0; top: 27px; bottom: auto; border-left: 0; border-top: 1px solid var(--t1); }
  .node.soon::before, .node.prev-soon::before { border-left: 0; border-top: 1px dashed var(--ui); }
  .node .icon { width: 56px; height: 56px; }
}

/* ---------- 12. Chat window ---------- */
.guide-grid { display: grid; gap: var(--s7); }
@media (min-width: 900px) { .guide-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--s8); align-items: start; } }
.tools { margin-top: var(--s6); counter-reset: t; }
.tools li { counter-increment: t; display: grid; grid-template-columns: 36px 1fr; gap: var(--s3); padding: var(--s4) 0; border-top: 1px solid var(--rule-2); color: var(--t1); font-size: 20px; line-height: 1.3; }
.tools li:last-child { border-bottom: 1px solid var(--rule-2); }
.tools li::before { content: "0" counter(t); font: 700 12px/2.1 var(--sans); letter-spacing: .15em; color: var(--t3); }

.chat { background: var(--surface); border: 1px solid var(--rule-2); border-radius: 4px; overflow: hidden; box-shadow: 0 40px 80px rgba(0,0,0,.5); }
.chat-bar { display: flex; align-items: center; justify-content: space-between; gap: var(--s4); padding: var(--s4) var(--s5); border-bottom: 1px solid var(--rule-2); background: var(--ink-2); }
.chat-bar .dots { display: flex; gap: 6px; }
.chat-bar .dots i { width: 9px; height: 9px; border: 1px solid var(--ui); border-radius: 50%; display: block; }
.chat-bar .title { font: 700 11px/1.3 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--t3); text-align: center; flex: 1; }
.chat-bar .ill { font: 700 11px/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--t2); border: 1px dashed var(--ui); padding: 5px 7px; white-space: nowrap; }
.chat-body { padding: var(--s5); display: grid; gap: var(--s5); }
.msg { display: grid; gap: var(--s2); max-width: 88%; }
.msg .who { font: 700 11px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--t3); }
.msg .bubble { padding: var(--s4) var(--s5); font-size: 17px; line-height: 1.5; }
.msg .bubble p { margin: 0 0 .7em; } .msg .bubble p:last-child { margin: 0; }
.msg.guide { justify-self: start; }
.msg.guide .bubble { background: var(--raised); color: var(--t1); border: 1px solid var(--rule-2); border-radius: 2px 18px 18px 18px; }
.msg.me { justify-self: end; text-align: right; }
.msg.me .bubble { background: var(--t1); color: var(--ink); border-radius: 18px 2px 18px 18px; text-align: left; }
.msg.me .who { text-align: right; }
.bubble .sum { display: block; margin-top: .7em; padding-top: .7em; border-top: 1px solid var(--rule-2); font: 400 16px/1.6 "SF Mono", Menlo, Consolas, monospace; color: var(--t2); }
.chat-foot { display: flex; align-items: center; gap: var(--s4); padding: var(--s4) var(--s5); border-top: 1px solid var(--rule-2); background: var(--ink-2); }
.chat-foot .fake { flex: 1; min-height: 44px; border: 1px solid var(--ui); display: flex; align-items: center; padding: 0 var(--s4); color: var(--t4); font-size: 16px; }
.chat-note { margin-top: var(--s4); }
@media (max-width: 899px) { .msg { max-width: 94%; } .chat-body { padding: var(--s4); } .chat-bar .title { display: none; } .chat-bar { justify-content: space-between; } }

/* ---------- 13. App teaser ---------- */
.app-grid { display: grid; gap: var(--s7); }
.app-card { border: 1px dashed var(--ui); padding: var(--s6); display: grid; gap: var(--s5); position: relative; background: repeating-linear-gradient(135deg, transparent 0 14px, rgba(255,255,255,.025) 14px 15px); }
.app-card ul li { display: grid; grid-template-columns: 1fr auto; padding: var(--s4) 0; border-top: 1px solid var(--rule-2); color: var(--t1); font-size: 22px; line-height: 1.2; }
.app-card ul li span { font: 700 11px/2 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--t3); }
@media (min-width: 900px) { .app-grid { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: var(--s8); align-items: center; } .app-card { padding: var(--s7); } }

/* ---------- 14. Pull quote band ---------- */
.quote-band { padding: var(--section) 0; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); background: var(--ink-2); text-align: left; }
.quote-band blockquote { margin: 0; max-width: 28em; }
.quote-band blockquote p { margin: 0; font: italic 400 var(--fs-quote)/var(--lh-quote) var(--serif); color: var(--t1); letter-spacing: -.01em; }
.quote-band blockquote p::before { content: "\201C"; display: block; font: 400 120px/.7 var(--serif); color: var(--t4); margin-bottom: var(--s4); height: 56px; }
.quote-band footer { margin-top: var(--s6); display: flex; gap: var(--s4); align-items: center; }
.quote-band footer::before { content: ""; width: 48px; height: 1px; background: var(--t1); }
.quote-band cite { font: 700 12px/1.5 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--t2); font-style: normal; }
@media (min-width: 900px) { .quote-band blockquote { margin-left: 264px; } }

/* ---------- 15. Buy box (the one light surface) ---------- */
.buy { padding: var(--section) 0; border-top: 1px solid var(--rule); }
.buy-grid { display: grid; gap: var(--s7); }
.buy-pitch h2 { margin-bottom: var(--s5); }
.buy-box { background: var(--paper); color: var(--p2); padding: var(--s6); display: grid; gap: var(--s5); position: relative; }
.buy-box::before { content: ""; position: absolute; inset: 8px; border: 1px solid rgba(11,11,11,.25); pointer-events: none; }
.buy-box > * { position: relative; }
.buy-box h3, .buy-box .price { color: var(--p1); }
.buy-box .label { color: var(--p3); }
.buy-box .price { font: 400 64px/1 var(--serif); letter-spacing: -.02em; margin: 0; }
.buy-box .price small { display: block; margin-top: var(--s2); font: 400 16px/1.4 var(--serif); letter-spacing: 0; color: var(--p3); }
.buy-box .includes li { padding: var(--s3) 0; border-top: 1px solid rgba(11,11,11,.22); color: var(--p1); font-size: 17px; line-height: 1.4; display: grid; grid-template-columns: 24px 1fr; gap: var(--s2); }
.buy-box .includes li::before { content: ""; width: 12px; height: 6px; border-left: 2px solid var(--p1); border-bottom: 2px solid var(--p1); transform: rotate(-45deg); margin-top: 7px; }
.buy-box .includes li:last-child { border-bottom: 1px solid rgba(11,11,11,.22); }
.buy-box .input { border-color: #5f5f5f; color: var(--p1); }
.buy-box .input::placeholder { color: var(--p3); }
.buy-box .btn { background: var(--p1); color: var(--paper); border-color: var(--p1); }
.buy-box .btn:hover { background: #000; }
.buy-box .btn[disabled], .buy-box .btn[aria-disabled="true"] { background: #d2d2d2; color: #4d4d4d; border: 1px dashed #5f5f5f; }
.buy-box .fine { font-size: 14px; line-height: 1.5; color: var(--p3); margin: 0; }
.buy-box .state { font: 700 11px/1.5 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--p3); margin: 0; }
@media (min-width: 900px) {
  .buy-grid { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: var(--s9); align-items: start; }
  .buy-box { padding: var(--s7); }
}
.buy-assure { margin-top: var(--s6); display: grid; gap: var(--s3); }
.buy-assure li { display: flex; gap: var(--s3); align-items: baseline; color: var(--t2); font-size: var(--fs-small); }
.buy-assure li::before { content: ""; width: 20px; height: 1px; background: var(--t1); flex: none; transform: translateY(-5px); }

/* ---------- 16. FAQ ---------- */
.faq { border-top: 1px solid var(--t1); max-width: 52em; }
.faq details { border-bottom: 1px solid var(--rule-2); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: var(--s5); align-items: center; min-height: 72px; padding: var(--s4) 0; font: 400 24px/1.25 var(--serif); color: var(--t1); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 14px; height: 14px; background: linear-gradient(var(--t1), var(--t1)) center/100% 1px no-repeat, linear-gradient(var(--t1), var(--t1)) center/1px 100% no-repeat; transition: transform .25s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:hover { color: #fff; }
.faq .answer { padding: 0 0 var(--s6); max-width: var(--measure); color: var(--t2); }
.faq .answer p:last-child { margin: 0; }
@media (max-width: 899px) { .faq summary { font-size: 21px; } }

/* ---------- 17. Author ---------- */
.author { display: grid; gap: var(--s6); }
.author .sig { font: italic 400 34px/1 var(--serif); color: var(--t1); }
@media (min-width: 900px) { .author { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: var(--s8); align-items: end; } }
.legal-note { border-top: 1px solid var(--rule-2); padding-top: var(--s5); }

/* ---------- 18. Footer ---------- */
.site-foot { border-top: 1px solid var(--rule-2); padding: var(--s8) 0 calc(var(--s8) + 80px); background: var(--ink); }
.foot-grid { display: grid; gap: var(--s7); }
.site-foot .logo img { height: 22px; width: auto; margin-bottom: var(--s5); }
.foot-nav a { display: flex; align-items: center; min-height: var(--tap); font: 700 12px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; text-decoration: none; color: var(--t2); }
.foot-nav a:hover { color: #fff; }
.site-foot .small { max-width: 34em; }
.big-mark { font: 400 clamp(54px, 15vw, 220px)/.9 var(--serif); letter-spacing: .02em; color: var(--ink); -webkit-text-stroke: 1px var(--rule-2); margin-top: var(--s8); text-transform: uppercase; user-select: none; }
@media (min-width: 900px) { .foot-grid { grid-template-columns: 5fr 3fr 3fr; gap: var(--s8); } .site-foot { padding-bottom: var(--s8); } }

/* ---------- 19. Sticky mobile buy bar ---------- */
.buybar { display: none; }
@media (max-width: 899px) {
  .buybar { display: flex; align-items: center; justify-content: space-between; gap: var(--s4); position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom)); background: rgba(11,11,11,.96); border-top: 1px solid var(--rule-2); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
  .buybar .t { font: 400 17px/1.2 var(--serif); color: var(--t1); }
  .buybar .t small { display: block; font: 700 11px/1.5 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--t3); }
  .buybar .btn { min-height: var(--tap); padding: 0 var(--s5); }
}

/* ---------- 20. Motion (restrained) ---------- */
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    .reveal { animation: rise linear both; animation-timeline: view(); animation-range: entry 5% entry 45%; }
  }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ---------- 21. Print and forced colours ---------- */
@media (forced-colors: active) { .btn, .input, .check input { border: 1px solid CanvasText; } .btn[disabled] { border-style: dashed; } }

/* footer logo tap target */
.site-foot .logo { display: inline-block; padding: 13px 0; }
.site-foot .logo img { margin-bottom: 0; }


/* ---------- QA pass additions ---------- */
:root{color-scheme:dark}
html{scroll-padding-bottom:88px}
.stack>h1{font-size:var(--fs-display);line-height:var(--lh-display)}
@media(min-width:900px){.stack>h1{font-size:68px}}
.stack>h2{font-size:var(--fs-h3);line-height:var(--lh-h3);margin-top:var(--s8)}
.stack>h2:first-child{margin-top:0}
ol.steps{counter-reset:s;padding:0;margin:var(--s5) 0 0;list-style:none}
ol.steps li{counter-increment:s;display:grid;grid-template-columns:44px 1fr;padding:var(--s4) 0;border-top:1px solid var(--rule);color:var(--t2);font-size:var(--fs-body)}
ol.steps li:last-child{border-bottom:1px solid var(--rule)}
ol.steps li::before{content:"0" counter(s);font:700 12px/2.4 var(--sans);letter-spacing:.15em;color:var(--t3)}
.phase-more summary{min-height:44px;display:flex;align-items:center;padding:0}
.big-mark{font-size:calc((100vw - 2 * var(--gutter)) / 7.9);white-space:nowrap;line-height:.85;letter-spacing:.01em;-webkit-text-stroke:1px #5a5a5a}
@media(min-width:1281px){.big-mark{font-size:152px}}
@media(min-width:900px){.guide-grid>div:first-child,.buy-pitch{position:sticky;top:var(--s7);align-self:start}}
.rung .time{text-wrap:balance}
@media(min-width:900px){.rung .time{text-align:left;padding-left:var(--s5);border-left:1px solid var(--rule-2)}}
.quote-band cite{text-wrap:balance;max-width:32em;display:inline-block}
.site-foot{padding-bottom:var(--s8)}
.has-buybar .site-foot{padding-bottom:calc(var(--s8) + 80px)}
.sig li input,.check input{accent-color:#f2f2f2}
.state{margin:var(--s3) 0 0;font-size:var(--fs-small);color:var(--t3)}
.check[aria-disabled="true"]{opacity:.55}
.buybar{display:none}
@media(max-width:899px){.buybar.on{display:flex}}
@media print{.reveal{animation:none!important;opacity:1!important;transform:none!important}}
