/* ============================================================
   ReadingFast — kinetic editorial redesign
   ============================================================ */

:root {
  --ink: #0d0c0a;
  --ink-2: #15130f;
  --ink-3: #1d1a14;
  --paper: #f4ede0;
  --paper-2: #ebe2cf;
  --cream: #f8f3e7;
  --accent: #ff6a35;
  --accent-2: #ff8c5e;
  --accent-deep: #c04618;
  --line: rgba(244,237,224,.14);
  --line-strong: rgba(244,237,224,.28);
  --muted: rgba(244,237,224,.55);
  --muted-2: rgba(244,237,224,.72);
  --line-ink: rgba(13,12,10,.16);
  --line-ink-strong: rgba(13,12,10,.36);
  --muted-ink: rgba(13,12,10,.58);

  --serif: "Instrument Serif", "Newsreader", Georgia, serif;
  --read: "Newsreader", Georgia, serif;
  --mono: "JetBrains Mono", ui-monospace, Menlo, monospace;

  --container: 1240px;
  --gutter: 32px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--read);
  background: var(--ink);
  color: var(--paper);
  font-size: 18px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; border: 0; background: none; color: inherit; cursor: pointer; }

/* —— grain overlay —— */
.grain {
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: .045;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  mix-blend-mode: overlay;
}

/* —— skip —— */
.skip {
  position: absolute; left: -999px; top: 0;
  background: var(--accent); color: #fff; padding: 8px 12px;
  font-family: var(--mono); font-size: 12px;
}
.skip:focus { left: 8px; top: 8px; z-index: 999; }

/* —— containers —— */
.container { max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); position: relative; z-index: 2; }

/* —— type primitives —— */
.display { font-family: var(--serif); font-weight: 400; letter-spacing: -.01em; }
.italic { font-style: italic; }
.mono { font-family: var(--mono); letter-spacing: .02em; }
.micro { font-size: 11px; text-transform: uppercase; letter-spacing: .12em; }
.num { font-feature-settings: "tnum" 1, "lnum" 1; font-variant-numeric: tabular-nums lining-nums; }
.accent { color: var(--accent); }
.muted { color: var(--muted); }

/* —— buttons —— */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 20px;
  font-family: var(--mono); font-size: 13px; letter-spacing: .04em;
  text-transform: uppercase;
  border: 1px solid var(--line-strong);
  background: transparent; color: var(--paper);
  transition: transform .18s ease, background .18s ease, color .18s ease, border-color .18s ease;
  position: relative; overflow: hidden;
  cursor: pointer;
}
.btn-lg { padding: 16px 26px; font-size: 13px; }
.btn-arrow { transition: transform .25s ease; }
.btn:hover .btn-arrow { transform: translateX(4px); }
.btn-accent { background: var(--accent); color: #1a0700; border-color: var(--accent); }
.btn-accent:hover { background: var(--accent-2); border-color: var(--accent-2); }
.btn-ghost:hover { background: rgba(255,255,255,.05); border-color: var(--paper); }
.btn-ink { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.btn-ink:hover { background: #000; }
.btn-ghost-ink { background: transparent; color: var(--ink); border-color: var(--line-ink-strong); }
.btn-ghost-ink:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.btn-block { width: 100%; justify-content: center; }
.btn-shine::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.35) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform .9s ease;
}
.btn-shine:hover::after { transform: translateX(120%); }

.link-quiet { font-family: var(--mono); font-size: 12px; text-transform: uppercase; letter-spacing: .1em; opacity: .8; transition: opacity .15s ease; }
.link-quiet:hover { opacity: 1; color: var(--accent); }

/* —— reveal animation utility —— */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .9s cubic-bezier(.2,.7,.2,1), transform .9s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in oklab, var(--ink) 80%, transparent);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 0;
  gap: 24px;
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand-mark {
  font-size: 28px; line-height: 1;
  border: 1px solid var(--line-strong);
  width: 38px; height: 38px;
  display: grid; place-items: center;
  background: var(--ink-2);
}
.brand-mark .italic { margin-left: -2px; }
.brand-text { font-family: var(--serif); font-size: 22px; letter-spacing: -.01em; }
.nav-links { display: flex; gap: 28px; }
.nav-links a { font-family: var(--mono); font-size: 12px; text-transform: uppercase; letter-spacing: .1em; opacity: .75; position: relative; }
.nav-links a:hover { opacity: 1; }
.nav-links a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -6px; height: 1px; background: var(--accent); transition: right .25s ease; }
.nav-links a:hover::after { right: 0; }
.nav-cta { display: flex; align-items: center; gap: 18px; white-space: nowrap; }
.nav-cta .btn, .nav-cta .link-quiet { white-space: nowrap; }
@media (max-width: 800px) { .nav-links { display: none; } }

/* ============================================================
   HERO
   ============================================================ */
.hero { position: relative; padding: clamp(48px, 9vw, 96px) 0 clamp(40px, 8vw, 80px); overflow: hidden; }
.hero-bgnum {
  position: absolute; inset: 0;
  pointer-events: none;
  font-family: var(--serif);
  color: rgba(244,237,224,.04);
  font-size: clamp(180px, 32vw, 480px);
  line-height: .8;
  letter-spacing: -.04em;
  z-index: 1;
  overflow: hidden;
}
.hero-bgnum span { position: absolute; white-space: nowrap; }
.bgnum-a { top: 6vw; left: -3vw; }
.bgnum-x { top: 28vw; right: 4vw; font-style: italic; color: rgba(255,106,53,.08); }
.bgnum-b { bottom: -6vw; right: -4vw; }

.hero-inner {
  position: relative; z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: clamp(28px, 4vw, 64px);
  align-items: center;
}
.hero-text { min-width: 0; }
.hero-demo-col { min-width: 0; }
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; }
}
.eyebrow { display: inline-flex; align-items: center; gap: 10px; padding: 8px 14px; border: 1px solid var(--line-strong); border-radius: 999px; font-size: 11px; }
.eyebrow-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(255,106,53,.18); animation: pulse 2.4s ease-in-out infinite; }
@keyframes pulse { 0%,100% { box-shadow: 0 0 0 4px rgba(255,106,53,.18); } 50% { box-shadow: 0 0 0 8px rgba(255,106,53,.04); } }

.hero-title {
  font-size: clamp(40px, 6.4vw, 96px);
  line-height: .96;
  margin: 22px 0 24px;
  letter-spacing: -.02em;
  word-break: break-word;
  hyphens: auto;
}
.hl-line { display: block; }

/* word reel */
.reel { display: inline-flex; height: 1em; overflow: hidden; vertical-align: baseline; position: relative; padding: 0 .08em; max-width: 100%; }
.reel-track { display: flex; flex-direction: column; transition: transform .55s cubic-bezier(.86,0,.07,1); }
.reel-word { height: 1em; line-height: 1; font-style: italic; color: var(--accent); padding-right: .1em; white-space: nowrap; }

.lede { font-size: clamp(15px, 1.6vw, 22px); max-width: 720px; line-height: 1.55; color: var(--muted-2); }
.lede em { font-style: italic; color: var(--paper); }

.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin: clamp(24px, 4vw, 36px) 0 22px; }
.hero-cta .btn { flex: 0 1 auto; }
.hero-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; font-family: var(--mono); font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: .1em; }
.hero-meta .num { color: var(--paper); }
.dot { width: 4px; height: 4px; background: currentColor; border-radius: 50%; opacity: .5; }

/* hero demo */
.hero-demo { margin-top: 0; max-width: 100%; width: 100%; }
@media (max-width: 1024px) {
  .hero-demo { margin-top: clamp(36px, 6vw, 56px); max-width: 760px; }
}
.demo-frame {
  background: var(--ink-2);
  border: 1px solid var(--line);
  padding: clamp(14px, 2.4vw, 18px) clamp(14px, 2.4vw, 22px) clamp(16px, 2.4vw, 22px);
  position: relative;
  box-shadow: 0 40px 80px -40px rgba(0,0,0,.5), inset 0 1px 0 rgba(255,255,255,.04);
}
.demo-frame::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: .6;
}
.demo-head { display: flex; justify-content: space-between; align-items: center; padding-bottom: 14px; border-bottom: 1px solid var(--line); gap: 12px; flex-wrap: wrap; font-size: 11px; }
.demo-head-l { display: flex; align-items: center; gap: 10px; color: var(--muted); }
.dot-pulse { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 12px rgba(255,106,53,.6); animation: dotpulse 1.6s ease-in-out infinite; }
@keyframes dotpulse { 0%,100% { opacity: 1; } 50% { opacity: .35; } }
.demo-stage {
  position: relative;
  height: clamp(140px, 22vw, 200px);
  display: grid; place-items: center;
  font-family: var(--serif);
  font-size: clamp(36px, 7vw, 84px);
  letter-spacing: -.02em;
  overflow: hidden;
}
.demo-tick { position: absolute; left: 50%; transform: translateX(-50%); width: 18px; height: 1px; background: var(--accent); }
.demo-tick.top { top: 28px; }
.demo-tick.bot { bottom: 28px; }
.demo-word {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: baseline;
  width: 100%;
}
.demo-word .b { text-align: right; padding-right: 1px; color: var(--paper); }
.demo-word .a { text-align: left; padding-left: 1px; color: var(--paper); }
.demo-word .o { color: var(--accent); position: relative; }
.demo-word .o::after { content: ""; position: absolute; bottom: -.06em; left: 0; right: 0; height: 1.5px; background: var(--accent); opacity: .55; }
.demo-aura {
  position: absolute; inset: 0;
  background: radial-gradient(circle at 50% 50%, rgba(255,106,53,.18), transparent 55%);
  pointer-events: none;
  opacity: .6;
}
.demo-bar { height: 2px; background: var(--line); margin-top: 6px; position: relative; overflow: hidden; }
.demo-bar-fill { position: absolute; inset: 0; width: 0%; background: var(--accent); transition: width .12s linear; }
.demo-foot { display: flex; justify-content: center; align-items: center; gap: 18px; margin-top: 14px; }
.demo-ctrl { width: 32px; height: 32px; border: 1px solid var(--line-strong); display: grid; place-items: center; font-size: 18px; transition: all .15s ease; }
.demo-ctrl:hover { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.demo-play { padding: 8px 20px; border: 1px solid var(--paper); font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: .12em; transition: all .15s ease; }
.demo-play:hover { background: var(--paper); color: var(--ink); }
.demo-caption { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 18px; color: var(--muted); }
.caption-line { width: 40px; height: 1px; background: var(--line-strong); }

.scroll-cue { position: absolute; bottom: 18px; left: 50%; transform: translateX(-50%); display: none; flex-direction: column; align-items: center; gap: 10px; color: var(--muted); z-index: 3; }
@media (min-width: 980px) { .scroll-cue { display: flex; } }
.cue-line { width: 1px; height: 28px; background: linear-gradient(to bottom, var(--accent), transparent); animation: cuedrop 2s ease-in-out infinite; transform-origin: top; }
@keyframes cuedrop { 0%,100% { transform: scaleY(.4); opacity: .3; } 50% { transform: scaleY(1); opacity: 1; } }

/* ============================================================
   MARQUEE
   ============================================================ */
.marquee {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--ink-2);
  overflow: hidden;
  padding: 22px 0;
}
.marquee-track {
  display: flex; align-items: center; gap: 64px;
  white-space: nowrap;
  font-size: clamp(28px, 3.4vw, 44px);
  animation: scroll 45s linear infinite;
  width: max-content;
}
.marquee-dot { color: var(--accent); font-size: .8em; }
@keyframes scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ============================================================
   BANDS
   ============================================================ */
.band { padding: 120px 0; position: relative; }
.band-cream { background: var(--paper); color: var(--ink); }
.band-coach { background: var(--ink-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.band-head { max-width: 880px; margin: 0 auto 64px; text-align: left; }
.running-head { display: flex; align-items: center; gap: 14px; margin: 0 0 18px; opacity: .8; }
.running-head .rule { flex: 0 0 60px; height: 1px; background: var(--paper); opacity: .4; }
.running-head.light .rule { background: var(--ink); }
.band-title { font-size: clamp(40px, 6vw, 76px); line-height: 1.02; letter-spacing: -.02em; margin: 0 0 18px; }
.band-cream .lede { color: var(--muted-ink); }
.band-cream .lede em { color: var(--ink); }
.band-cream .running-head { color: var(--ink); opacity: 1; }

/* ============================================================
   PROBLEMS
   ============================================================ */
.problems { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.problem { padding: 28px; border: 1px solid var(--line); background: var(--ink-2); position: relative; transition: transform .3s ease, border-color .3s ease, background .3s ease; min-height: 360px; display: flex; flex-direction: column; }
.problem:hover { transform: translateY(-4px); border-color: var(--line-strong); background: var(--ink-3); }
.problem-num { font-size: 72px; line-height: 1; color: var(--accent); margin-bottom: 18px; opacity: .9; }
.ph3 { font-size: 32px; margin: 6px 0 10px; }
.problem-body { color: var(--muted-2); font-size: 16px; line-height: 1.55; flex: 1; }
.problem-vis { margin-top: 22px; min-height: 60px; display: flex; flex-wrap: wrap; align-items: center; gap: 6px; padding-top: 18px; border-top: 1px dashed var(--line); }
.vis-sub .sub-w { font-family: var(--serif); font-size: 22px; opacity: .35; transition: opacity .3s ease, color .3s ease; }
.vis-sub .sub-w.lit { opacity: 1; color: var(--accent); }
/* .vis-reg / .vis-span / .span-dot / .span-arc removed — all three problem
   cards now use the .vis-sub text-tagline layout for visual consistency. */
@media (max-width: 880px) { .problems { grid-template-columns: 1fr; } }

/* ============================================================
   DRILLS
   ============================================================ */
.drills { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.drill {
  background: var(--ink); color: var(--paper);
  padding: 32px;
  position: relative;
  display: flex; flex-direction: column;
  min-height: 460px;
  border: 1px solid var(--ink);
  transition: transform .35s ease;
}
.drill:hover { transform: translateY(-6px); }
.drill::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
  background: var(--accent);
  transform: scaleY(0); transform-origin: top;
  transition: transform .4s ease;
}
.drill:hover::before { transform: scaleY(1); }
.drill-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 22px; }
.drill-pill { padding: 4px 10px; border: 1px solid var(--line-strong); border-radius: 999px; color: var(--muted-2); }
.dh3 { font-size: 32px; line-height: 1.1; margin: 0 0 14px; letter-spacing: -.01em; }
.drill-body { color: var(--muted-2); font-size: 16px; line-height: 1.55; flex: 1; }
.drill-vis { margin: 22px 0; min-height: 96px; padding: 22px; border: 1px dashed var(--line); display: grid; place-items: center; position: relative; overflow: hidden; }
.drill-foot { display: flex; justify-content: space-between; align-items: center; padding-top: 18px; border-top: 1px dashed var(--line); color: var(--muted-2); }
.drill-arrow { font-size: 16px; transition: transform .25s ease; }
.drill:hover .drill-arrow { transform: translateX(6px); }

.vis-rsvp { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px; }
.rsvp-tick { height: 1px; background: var(--line-strong); }
.rsvp-word { font-family: var(--serif); font-size: 30px; letter-spacing: -.01em; animation: rsvpFlash 1.1s ease-in-out infinite; }
@keyframes rsvpFlash { 0%, 50%, 100% { opacity: 1; } 25%, 75% { opacity: .25; } }

.vis-sweep { position: relative; display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; align-items: center; }
.sweep-w { font-family: var(--serif); font-size: 18px; padding: 6px 10px; border-bottom: 1px solid transparent; transition: all .3s ease; }
.sweep-glow { position: absolute; left: 0; top: 50%; transform: translateY(-50%); height: 32px; width: 100px; background: linear-gradient(90deg, transparent, rgba(255,106,53,.25), transparent); animation: sweepMove 3s ease-in-out infinite; }
@keyframes sweepMove { 0% { left: -10%; } 100% { left: 110%; } }

.vis-saccade { position: relative; display: flex; justify-content: space-between; align-items: center; width: 100%; padding: 0 8px; }
.dot-fix { width: 10px; height: 10px; border-radius: 50%; background: var(--paper); opacity: .35; transition: all .3s ease; animation: fixHop 2.5s ease-in-out infinite; }
.dot-fix.lit { background: var(--accent); opacity: 1; transform: scale(1.4); box-shadow: 0 0 18px rgba(255,106,53,.6); }
@keyframes fixHop { 0%, 100% { opacity: .35; transform: scale(1); } 50% { opacity: 1; transform: scale(1.3); } }
.dot-fix:nth-child(1) { animation-delay: 0s; }
.dot-fix:nth-child(2) { animation-delay: .4s; }
.dot-fix:nth-child(3) { animation-delay: .8s; animation-name: none; }
.dot-fix:nth-child(4) { animation-delay: 1.2s; }
.dot-fix:nth-child(5) { animation-delay: 1.6s; }
.sac-line { position: absolute; left: 8px; right: 8px; top: 50%; height: 1px; background: linear-gradient(90deg, transparent, var(--line-strong), transparent); }

.drills-foot { display: flex; justify-content: space-between; align-items: center; margin-top: 36px; padding-top: 22px; border-top: 1px solid var(--line-ink); color: var(--muted-ink); }
@media (max-width: 880px) { .drills { grid-template-columns: 1fr; } .drills-foot { flex-direction: column; gap: 16px; } }

/* ============================================================
   COACH
   ============================================================ */
.coach-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
@media (max-width: 880px) { .coach-grid { grid-template-columns: 1fr; gap: 36px; } }
.coach-list { list-style: none; padding: 0; margin: 28px 0 0; }
.coach-list li { padding: 14px 0; border-top: 1px solid var(--line); display: flex; gap: 14px; font-size: 18px; }
.coach-list li:last-child { border-bottom: 1px solid var(--line); }
.li-mark { font-family: var(--mono); }
.coach-card {
  background: var(--ink); border: 1px solid var(--line-strong);
  padding: 32px;
  position: relative;
  margin: 0;
  box-shadow: 0 40px 80px -40px rgba(0,0,0,.5);
}
.coach-card::before {
  content: ""; position: absolute; top: -1px; left: -1px; right: -1px; height: 2px;
  background: linear-gradient(90deg, var(--accent), transparent);
}
.coach-head { display: flex; align-items: center; gap: 10px; padding-bottom: 18px; border-bottom: 1px solid var(--line); margin-bottom: 22px; }
.coach-quote { font-size: clamp(22px, 2.2vw, 30px); line-height: 1.3; margin: 0; min-height: 4.2em; color: var(--paper); }
.cq-caret { display: inline-block; width: 2px; height: 1em; background: var(--accent); margin-left: 4px; transform: translateY(.15em); animation: blink 1s steps(2) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.coach-foot { display: flex; justify-content: space-between; align-items: center; margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); }
.plan-preview { display: flex; flex-direction: column; gap: 0; }
.plan-row {
  display: grid; grid-template-columns: 28px 1fr auto;
  align-items: baseline; gap: 12px;
  padding: 12px 0; border-top: 1px solid var(--line);
  font-family: var(--read); font-size: 16px; color: var(--paper);
}
.plan-row:first-child { border-top: 0; padding-top: 4px; }
.plan-row .num { color: var(--paper); }
.coach-replay { padding: 6px 12px; border: 1px solid var(--line-strong); transition: all .15s ease; }
.coach-replay:hover { background: var(--paper); color: var(--ink); border-color: var(--paper); }

/* ============================================================
   SCIENCE
   ============================================================ */
.sci-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--line-ink); border-left: 1px solid var(--line-ink); }
.sci-stat { padding: 36px 24px 28px; border-right: 1px solid var(--line-ink); border-bottom: 1px solid var(--line-ink); position: relative; transition: background .3s ease; }
.sci-stat:hover { background: var(--paper-2); }
.sci-num { font-size: clamp(64px, 8vw, 112px); line-height: 1; letter-spacing: -.03em; margin-bottom: 8px; }
.sci-num .frac { font-style: italic; }
.sci-num .sm { font-size: .42em; vertical-align: super; opacity: .6; margin-left: 2px; }
.sci-stat p { font-size: 14px; line-height: 1.5; margin: 18px 0 0; max-width: 28ch; color: var(--muted-ink); }
.sci-foot { max-width: 720px; margin: 28px auto 0; text-align: center; color: var(--muted-ink); line-height: 1.7; }
@media (max-width: 880px) { .sci-grid { grid-template-columns: repeat(2, 1fr); } }

/* ============================================================
   QUOTES
   ============================================================ */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.quote { margin: 0; padding: 28px 28px 32px; border: 1px solid var(--line); position: relative; background: var(--ink-2); display: flex; flex-direction: column; min-height: 320px; transition: all .3s ease; }
.quote:hover { border-color: var(--accent); transform: translateY(-3px); }
.quote-mark { position: absolute; top: -22px; left: 18px; font-size: 100px; line-height: 1; color: var(--accent); opacity: .3; }
.quote blockquote { font-size: 22px; line-height: 1.35; margin: 0; flex: 1; }
.quote figcaption { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 14px; }
.quote-stat { display: flex; align-items: baseline; gap: 8px; margin-top: 10px; font-family: var(--serif); }
.qs-from { font-size: 28px; opacity: .55; text-decoration: line-through; }
.qs-arrow { font-size: 18px; opacity: .6; }
.qs-to { font-size: 36px; }
.qs-unit { color: var(--muted); align-self: center; }
@media (max-width: 880px) { .quotes { grid-template-columns: 1fr; } }

/* ============================================================
   PRICING
   ============================================================ */
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; max-width: 920px; margin: 0 auto; }
.plan { background: var(--cream); border: 1px solid var(--line-ink); padding: 36px; position: relative; transition: all .3s ease; }
.plan:hover { transform: translateY(-3px); border-color: var(--ink); }
.plan-feature { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.plan-feature:hover { border-color: var(--accent); }
.plan-tag { position: absolute; top: -1px; right: 24px; background: var(--accent); color: #1a0700; padding: 6px 12px; }
.plan-name { font-size: 36px; margin: 0; }
.plan-price { display: flex; align-items: baseline; gap: 6px; margin: 22px 0; padding-bottom: 22px; border-bottom: 1px solid var(--line-ink); }
.plan-feature .plan-price { border-bottom-color: var(--line); }
.plan-price .num { font-size: 64px; line-height: 1; letter-spacing: -.02em; }
.plan-price .mono { font-size: 14px; opacity: .55; }
.plan-list { list-style: none; padding: 0; margin: 0 0 28px; }
.plan-list li { padding: 10px 0; font-size: 16px; }
.plan-list li::before { content: "→ "; color: var(--accent); font-family: var(--mono); margin-right: 4px; }
.plan-feature .plan-list li::before { content: "+ "; }
.plan-foot { margin-top: 14px; text-align: center; }
@media (max-width: 720px) { .plans { grid-template-columns: 1fr; } }

/* ============================================================
   FAQ
   ============================================================ */
.faq-grid { display: grid; grid-template-columns: 1fr 2fr; gap: 56px; align-items: start; }
.faq-grid .band-head { margin: 0; }
.faq-list { display: flex; flex-direction: column; }
.faq { border-top: 1px solid var(--line); padding: 0; }
.faq:last-child { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 0; display: flex; justify-content: space-between; align-items: center; font-family: var(--serif); font-size: 22px; transition: color .2s ease; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--accent); }
.faq-x { font-family: var(--mono); font-size: 20px; transition: transform .3s ease; color: var(--accent); }
.faq[open] .faq-x { transform: rotate(45deg); }
.faq p { margin: 0 0 22px; max-width: 70ch; color: var(--muted-2); line-height: 1.6; }
@media (max-width: 880px) { .faq-grid { grid-template-columns: 1fr; gap: 28px; } }

/* ============================================================
   CTA
   ============================================================ */
.cta { padding: 140px 0 120px; position: relative; overflow: hidden; border-top: 1px solid var(--line); }
.cta-bg { position: absolute; inset: 0; pointer-events: none; display: flex; align-items: center; justify-content: center; gap: 24px; font-family: var(--serif); font-size: clamp(120px, 18vw, 280px); line-height: 1; color: rgba(244,237,224,.04); letter-spacing: -.03em; z-index: 0; white-space: nowrap; }
.cta-bg .accent { color: rgba(255,106,53,.10); }
.cta-inner { text-align: center; position: relative; z-index: 2; }
.cta-inner .running-head { justify-content: center; }
.cta-title { font-size: clamp(48px, 7.5vw, 96px); line-height: 1.02; letter-spacing: -.02em; margin: 18px 0 32px; }
.cta-row { display: flex; flex-direction: column; align-items: center; gap: 14px; }

/* ============================================================
   FOOTER
   ============================================================ */
.foot { padding: 64px 0 32px; background: var(--ink-2); border-top: 1px solid var(--line); }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 48px; padding-bottom: 36px; border-bottom: 1px solid var(--line); }
.foot-brand .brand-mark { margin-bottom: 14px; }
.foot nav { display: flex; flex-direction: column; gap: 10px; }
.foot nav h4 { margin: 0 0 8px; }
.foot nav a { font-family: var(--read); font-size: 15px; color: var(--muted-2); transition: color .15s ease; }
.foot nav a:hover { color: var(--accent); }
.foot-fine { display: flex; justify-content: space-between; padding-top: 24px; }
@media (max-width: 720px) { .foot-grid { grid-template-columns: 1fr 1fr; } }

/* ============================================================
   SPEED TEST SECTION
   ============================================================ */
.band-test {
  padding: clamp(72px, 9vw, 120px) 0;
  background: var(--ink-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  position: relative;
}
.band-test .container { max-width: 880px; }

.fade-slide { animation: fadeSlide .35s cubic-bezier(.2,.7,.2,1) both; }
@keyframes fadeSlide {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: none; }
}

.test-intro { text-align: left; }
.test-intro .band-title { font-size: clamp(36px, 5.5vw, 68px); margin: 14px 0 18px; line-height: 1.02; }
.test-cta { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; margin-top: 28px; }
.test-cta .btn { align-self: flex-start; }
.test-results .test-cta, .test-quiz .test-cta, .test-reading .test-cta { align-items: center; }
.test-results .test-cta .btn, .test-quiz .test-cta .btn, .test-reading .test-cta .btn { align-self: center; }

/* Reading phase */
.test-reading-bar {
  display: flex; gap: 18px; align-items: center; justify-content: space-between;
  padding: 14px 0; margin-bottom: 20px;
  border-bottom: 1px dashed var(--line);
  max-width: 640px; margin-left: auto; margin-right: auto;
}
.test-passage {
  font-family: var(--read);
  font-size: 18px; line-height: 1.85;
  color: var(--paper);
  max-width: 640px; margin: 0 auto;
}
.test-passage-title {
  font-size: clamp(24px, 3vw, 32px);
  color: var(--paper);
  margin: 0 0 18px;
  letter-spacing: -.01em;
}
.test-passage p { margin: 0 0 18px; }

/* Quiz */
.test-quiz .band-title { font-size: clamp(32px, 4.6vw, 56px); margin: 14px 0 28px; }
.quiz-list { display: flex; flex-direction: column; gap: 22px; }
.quiz-card {
  background: var(--ink-3);
  border: 1px solid var(--line);
  padding: 24px;
}
.quiz-q-text { font-family: var(--read); font-size: 18px; margin: 6px 0 16px; line-height: 1.4; }
.quiz-options-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
@media (max-width: 600px) { .quiz-options-grid { grid-template-columns: 1fr; } }
.quiz-option {
  display: flex; align-items: flex-start; gap: 10px;
  text-align: left;
  padding: 14px 16px;
  background: transparent;
  border: 1px solid var(--line-strong);
  color: var(--paper);
  font-family: var(--read);
  font-size: 15px;
  line-height: 1.4;
  cursor: pointer;
  transition: border-color .15s ease, background .15s ease, transform .15s ease;
  min-height: 60px;
}
.quiz-option:hover { border-color: var(--accent); }
.quiz-option.selected {
  border-color: var(--accent);
  background: rgba(255,106,53,.08);
  box-shadow: inset 3px 0 0 var(--accent);
}
.quiz-option .mono { flex-shrink: 0; padding-top: 2px; }

/* Results */
.result-hero {
  display: flex; flex-direction: column; align-items: flex-start; gap: 14px;
  padding: 28px 0;
  border-bottom: 1px dashed var(--line);
  margin-bottom: 36px;
}
.result-big {
  font-size: clamp(72px, 12vw, 128px);
  line-height: 1;
  letter-spacing: -.03em;
  color: var(--paper);
}
.result-unit { font-size: .22em; color: var(--muted); margin-left: 12px; letter-spacing: .12em; text-transform: uppercase; }
.result-pill {
  display: inline-block;
  padding: 8px 16px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
}
.result-pill.tone-soft { color: var(--muted-2); border-color: var(--line-strong); }
.result-pill.tone-warm { color: var(--accent); border-color: var(--accent); background: rgba(255,106,53,.06); }
.result-pill.tone-hot  { color: #1a0700; background: var(--accent); border-color: var(--accent); }

.result-stats {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0;
  border: 1px solid var(--line);
  margin-bottom: 36px;
}
.result-stat {
  padding: 24px;
  border-right: 1px solid var(--line);
}
.result-stat:last-child { border-right: 0; }
.result-stat .display {
  font-size: clamp(32px, 4.4vw, 52px);
  line-height: 1; margin: 6px 0;
  letter-spacing: -.02em;
}
.result-stat .sm { font-size: .42em; color: var(--muted); margin-left: 4px; }
.result-stat-note { font-size: 12px; color: var(--muted); margin: 6px 0 0; }
@media (max-width: 720px) {
  .result-stats { grid-template-columns: 1fr; }
  .result-stat { border-right: 0; border-bottom: 1px solid var(--line); }
  .result-stat:last-child { border-bottom: 0; }
}

.result-bars { margin-bottom: 36px; }
.bar-row {
  display: grid; grid-template-columns: 140px 1fr 60px;
  align-items: center; gap: 14px;
  padding: 12px 0;
  border-bottom: 1px dashed var(--line);
}
.bar-row:last-child { border-bottom: 0; }
.bar-label { font-size: 13px; color: var(--muted-2); }
.bar-track { height: 6px; background: var(--ink-3); border-radius: 3px; overflow: hidden; }
.bar-fill { display: block; height: 100%; background: var(--line-strong); border-radius: 3px; transition: width .8s cubic-bezier(.2,.7,.2,1); }
.bar-fill-you { background: var(--accent); box-shadow: 0 0 12px rgba(255,106,53,.4); }
.bar-value { text-align: right; font-size: 13px; }
.bar-you { background: rgba(255,106,53,.04); margin: 0 -16px; padding: 12px 16px; border-radius: 6px; border-bottom: 0; }
@media (max-width: 600px) {
  .bar-row { grid-template-columns: 110px 1fr 56px; gap: 10px; }
}

.result-insight {
  font-size: clamp(20px, 2.4vw, 26px);
  line-height: 1.4;
  color: var(--paper);
  border-left: 2px solid var(--accent);
  padding: 6px 0 6px 22px;
  margin: 36px 0;
  max-width: 640px;
}

.share-card {
  background: var(--ink);
  border: 1px solid var(--line-strong);
  padding: 32px;
  margin: 36px 0;
  position: relative;
  overflow: hidden;
}
.share-card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--accent), transparent);
}
.share-card-header {
  text-transform: uppercase;
  letter-spacing: .18em;
  color: var(--muted);
  font-size: 11px;
}
.share-card-num {
  font-size: clamp(64px, 10vw, 112px);
  line-height: 1; letter-spacing: -.03em;
  color: var(--accent);
  margin: 14px 0 8px;
}
.share-card-unit { font-size: .25em; color: var(--muted); margin-left: 10px; letter-spacing: .12em; text-transform: uppercase; }
.share-card-line { color: var(--muted-2); margin: 0 0 6px; max-width: 480px; font-size: 16px; line-height: 1.5; }
.share-card-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.btn-ghost-light { background: transparent; border: 1px solid var(--line-strong); color: var(--paper); padding: 10px 18px; }
.btn-ghost-light:hover { background: var(--paper); color: var(--ink); border-color: var(--paper); }

.result-convert {
  margin-top: 40px;
  padding-top: 36px;
  border-top: 1px solid var(--line);
}
.result-convert-title {
  font-size: clamp(32px, 4.4vw, 56px);
  line-height: 1.04;
  margin: 0 0 14px;
  letter-spacing: -.02em;
}
.result-convert-cta {
  display: flex; flex-wrap: wrap; align-items: center; gap: 14px;
  margin-top: 22px;
}
.email-capture { display: flex; gap: 8px; flex: 1 1 320px; min-width: 0; }
.email-capture input {
  flex: 1; min-width: 0;
  padding: 12px 14px;
  background: var(--ink-3);
  border: 1px solid var(--line-strong);
  color: var(--paper);
  font-family: var(--read);
  font-size: 15px;
  outline: none;
  transition: border-color .15s ease;
}
.email-capture input:focus { border-color: var(--accent); }

/* Name input — sits between insight + share card */
.name-input {
  display: block;
  margin: 30px 0 18px;
  max-width: 520px;
}
.name-input > .mono {
  display: block;
  letter-spacing: .14em;
  margin-bottom: 8px;
  font-size: 11px;
}
.name-input input {
  width: 100%;
  padding: 12px 14px;
  background: var(--ink-3);
  border: 1px solid var(--line-strong);
  color: var(--paper);
  font-family: var(--read);
  font-size: 16px;
  outline: none;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.name-input input::placeholder { color: var(--muted); }
.name-input input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(255,106,53,.18);
}

/* Share-card brand row (logo + wordmark) */
.share-card-brand {
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 14px;
}
.share-card-logo {
  width: 30px; height: 30px;
  border: 1px solid var(--line-strong);
  background: var(--ink-3);
  display: grid; place-items: center;
  font-family: var(--display);
  font-size: 20px; line-height: 1;
  color: var(--paper);
}
.share-card-logo .italic { margin-left: -2px; }
.share-card-wordmark {
  font-family: var(--display);
  font-size: 18px;
  letter-spacing: -.005em;
}

/* Subtitle (the hook) — slightly larger, white/light */
.share-card-name {
  font-family: var(--display);
  font-size: 24px;
  color: var(--paper);
  margin: 6px 0 4px;
  letter-spacing: -.005em;
  line-height: 1.25;
  max-width: 520px;
}

/* Bottom watermark */
.share-card-watermark {
  margin-top: 18px;
  color: var(--muted);
  letter-spacing: .14em;
  text-transform: uppercase;
}

/* Stats variants — when comprehension is hidden, show one card full-width */
.result-stats-1 { grid-template-columns: 1fr; }
.result-stats-3 { grid-template-columns: repeat(3, 1fr); }

/* Share row */
.share-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}
.share-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  width: 44px; height: 44px;
  padding: 0;
  background: var(--ink-3);
  border: 1px solid var(--line-strong);
  color: var(--paper);
  cursor: pointer;
  transition: all .15s ease;
  border-radius: 4px;
}
.share-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(255,106,53,.06);
}
.share-btn-primary {
  width: auto;
  padding: 0 18px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
  border-color: var(--accent);
  color: var(--accent);
}
.share-btn-primary:hover {
  background: var(--accent);
  color: #1a0700;
}
@media (max-width: 540px) {
  .share-btn { width: 42px; height: 42px; }
  .share-btn-primary { width: 100%; }
}

.share-toast {
  margin-top: 14px;
  padding: 10px 14px;
  background: var(--ink-3);
  border: 1px solid var(--line-strong);
  border-left: 2px solid var(--accent);
  color: var(--paper);
  letter-spacing: .08em;
  text-transform: uppercase;
  font-size: 11px;
  display: inline-block;
  animation: fadeSlide .25s ease both;
}

/* "Take it again" — quieter than the primary action */
.btn-take-again {
  background: none;
  border: 0;
  padding: 8px 4px;
  color: var(--muted);
  letter-spacing: .14em;
  text-transform: uppercase;
  cursor: pointer;
  text-decoration: underline;
  font-size: 11px;
}
.btn-take-again:hover { color: var(--accent); }

/* Single-plan pricing layout */
.plans-single { grid-template-columns: minmax(0, 520px); justify-content: center; }
.plan-single { padding: 36px; }
.plan-toggle-row { display: flex; justify-content: center; margin: 14px 0 18px; }
.pc-toggle {
  display: inline-flex; gap: 4px; padding: 4px;
  background: rgba(13,12,10,.06); border: 1px solid var(--line);
  border-radius: 999px;
}
.plan-feature .pc-toggle { background: rgba(244,237,224,.06); border-color: var(--line-strong); }
.pc-toggle button {
  padding: 8px 16px; border-radius: 999px;
  font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase;
  color: var(--muted-2); background: transparent; cursor: pointer;
  transition: all .15s ease;
}
.plan-feature .pc-toggle button { color: var(--muted-2); }
.pc-toggle button.active { background: var(--accent); color: #1a0700; }
.pc-save { margin-left: 6px; font-size: 9px; opacity: .8; }
.pc-toggle button.active .pc-save { opacity: 1; }

.plan-price-single { justify-content: flex-start; align-items: baseline; }
.plan-list-checked li { padding: 10px 0; font-size: 15px; border-bottom: 1px dashed var(--line); }
.plan-list-checked li:last-child { border-bottom: 0; }
.plan-feature .plan-list-checked li { border-bottom-color: var(--line); }
.plan-list-checked li::before { content: ""; display: none; }

/* Week-by-week progression cards (replaces fake testimonials) */
.quote.week { padding-top: 24px; }
.quote.week .week-tag {
  display: inline-block; padding: 4px 10px;
  border: 1px solid var(--line-strong); border-radius: 999px;
  letter-spacing: .14em; font-size: 11px; color: var(--muted-2);
  margin-bottom: 14px;
}
.quote.week .week-tag.accent { color: var(--accent); border-color: var(--accent); background: rgba(255,106,53,.08); }
.quote.week .week-h {
  font-family: var(--serif); font-size: 24px; line-height: 1.15; margin: 0 0 10px;
  letter-spacing: -.005em; color: var(--paper);
}
.quote.week .week-body {
  font-family: var(--read); font-size: 15px; line-height: 1.55;
  color: var(--muted-2); margin: 0 0 18px; flex: 1;
}
.quote.week .week-meta { letter-spacing: .12em; margin-bottom: 4px; }
.quote.week .week-range { font-size: 28px; line-height: 1; margin-bottom: 14px; letter-spacing: -.01em; }
.quote.week .week-range .muted { font-size: 13px; margin-left: 6px; letter-spacing: .08em; text-transform: uppercase; font-family: var(--mono); }
.quote.week .week-bar {
  height: 4px; background: var(--ink-3); border-radius: 2px;
  overflow: hidden;
}
.quote.week .week-fill {
  display: block; height: 100%; background: var(--line-strong);
  border-radius: 2px; transition: width 1s cubic-bezier(.2,.7,.2,1);
}
.quote.week .week-fill-final { background: var(--accent); box-shadow: 0 0 12px rgba(255,106,53,.35); }

/* Research-finding card variant of .quote (no quote mark, big stat instead) */
.quote.research { padding-top: 32px; }
.quote.research .research-stat {
  font-size: clamp(54px, 6vw, 72px);
  line-height: 1; letter-spacing: -.03em;
  color: var(--accent);
  margin: 0 0 18px;
  display: flex; align-items: baseline;
}
.quote.research .research-unit {
  font-size: .42em; color: var(--muted);
  margin-left: 6px; letter-spacing: 0;
}
.quote.research .research-claim {
  font-family: var(--read);
  font-style: normal;
  font-size: 17px;
  line-height: 1.5;
  margin: 0;
  color: var(--paper);
  flex: 1;
}
.quote.research .research-claim .italic { color: var(--accent); }

/* FAQ — minor copy fix (kept) */

/* ============================================================
   Long-form pages (/about, /privacy, /terms)
   ============================================================ */
.page {
  max-width: 720px;
  margin: 0 auto;
  padding: clamp(60px, 9vw, 110px) 24px clamp(60px, 8vw, 100px);
}
.page .running-head { margin-bottom: 18px; }
.page-h1 {
  font-family: var(--serif);
  font-size: clamp(44px, 6.4vw, 76px);
  line-height: 1.02;
  letter-spacing: -.02em;
  margin: 0 0 12px;
}
.page-h1 .italic { color: var(--accent); }
.page-meta {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 36px;
}
.prose { font-family: var(--read); font-size: 18px; line-height: 1.75; color: var(--paper); }
.prose p { margin: 0 0 22px; max-width: 64ch; }
.prose p strong { color: var(--paper); }
.prose em, .prose .italic { font-style: italic; color: var(--accent); }
.prose h2 {
  font-family: var(--serif);
  font-size: clamp(28px, 3.6vw, 38px);
  letter-spacing: -.01em;
  margin: 44px 0 14px;
  line-height: 1.1;
}
.prose h3 {
  font-family: var(--serif);
  font-size: 22px;
  margin: 28px 0 10px;
}
.prose ul, .prose ol { padding-left: 22px; margin: 0 0 22px; max-width: 64ch; }
.prose li { padding: 4px 0; }
.prose a { color: var(--accent); border-bottom: 1px dashed var(--accent); }
.prose a:hover { background: var(--accent-glow); }
.prose blockquote {
  border-left: 2px solid var(--accent);
  padding: 6px 0 6px 18px;
  margin: 22px 0;
  font-style: italic;
  color: var(--paper);
}
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 36px 0; }
.prose .signature {
  font-family: var(--serif);
  font-style: italic;
  font-size: 22px;
  color: var(--accent);
  margin-top: 28px;
}

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