/* The Missing Word Files: one stylesheet. Design tokens first, then components in page order.
   Motion rules live under html.motion (set by motion.js), so the page is complete without them. */

/* ---------- Fonts (self-hosted, see assets/fonts/README.txt) ---------- */
@font-face { font-family: 'Bebas Neue'; src: url('assets/fonts/bebas-neue.woff') format('woff'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Briarbridge Sans'; src: url('assets/fonts/sans-regular.woff') format('woff'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Briarbridge Sans'; src: url('assets/fonts/sans-bold.woff') format('woff'); font-weight: 700; font-display: swap; }
@font-face { font-family: 'Briarbridge Sans'; src: url('assets/fonts/sans-black.woff') format('woff'); font-weight: 900; font-display: swap; }
@font-face { font-family: 'Kalam'; src: url('assets/fonts/kalam.woff') format('woff'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Special Elite'; src: url('assets/fonts/special-elite.woff') format('woff'); font-weight: 400; font-display: swap; }

/* ---------- Design tokens ---------- */
:root {
  --cream: #f5f0e3;
  --paper: #fffdf6;
  --ink: #14181c;
  --teal: #0e6b68;
  --teal-deep: #0a4f4d;
  --teal-mid: #9cc5bd;
  --tint: #d3e2d9;
  --pop: #e2512f;
  --pop-text: #a93518;
  --graphite: #3b4046;
  --muted: #47505a;
  --focus: #14181c;

  --display: 'Bebas Neue', 'Arial Narrow', Impact, sans-serif;
  --sans: 'Briarbridge Sans', Lato, 'Segoe UI', system-ui, -apple-system, Roboto, Arial, sans-serif;
  --hand: 'Kalam', 'Segoe Print', 'Bradley Hand', 'Comic Sans MS', cursive;
  --type: 'Special Elite', 'Courier New', Courier, monospace;

  --t: 56px;                 /* letter-tile size; components override it */
  --line: 3px;               /* outline weight */
  --radius: 14px;
  --hard: 6px 6px 0 var(--ink);
  --soft: 0 18px 40px rgba(20, 24, 28, .18);
  --shell: 1200px;
  --bar: 0px;                /* height of the sticky buy bar (phones only) */
  --panel: auto;             /* height of one full-screen panel (phones only) */
  --gutter: clamp(16px, 4vw, 40px);
  --header: 62px;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --thump: cubic-bezier(.2, 1.5, .4, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header) + 8px); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--cream); color: var(--ink); font: 400 1.0625rem/1.6 var(--sans); overflow-x: hidden; }
img, svg { max-width: 100%; }
img { height: auto; display: block; }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 400; line-height: .95; margin: 0; letter-spacing: .01em; text-transform: uppercase; }
h2 { font-size: clamp(2.5rem, 6.4vw, 4.6rem); }
h3 { font-size: 1.75rem; line-height: 1; }
h4 { font-size: 1.5rem; line-height: 1; }
.vh { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
p { margin: 0 0 1em; }
a { color: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; cursor: pointer; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 4px; }
main { overflow-x: clip; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.shell { width: min(var(--shell), 100% - 2 * var(--gutter)); margin-inline: auto; }
.shell.narrow { width: min(800px, 100% - 2 * var(--gutter)); }
.skip { position: absolute; left: 12px; top: -80px; z-index: 100; background: var(--ink); color: var(--cream); padding: 12px 18px; border-radius: 10px; font-weight: 700; }
.skip:focus { top: 12px; }

.kicker { font: 700 .8125rem/1.3 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--teal); margin: 0 0 .9em; }
.kicker.light { color: var(--tint); }
.fine { font-size: .9375rem; color: var(--muted); }
.fine.light { color: var(--tint); }
.section { padding: clamp(64px, 10vw, 128px) 0; }
.section-head { max-width: 760px; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head > p:last-child { font-size: 1.1875rem; margin: 1em 0 0; color: var(--muted); }

/* Buttons */
.button { display: inline-flex; align-items: center; justify-content: center; gap: .5em; min-height: 52px; padding: 12px 24px; border: var(--line) solid var(--ink); border-radius: 12px; background: var(--teal); color: #fff; font: 900 1rem/1.1 var(--sans); letter-spacing: .04em; text-decoration: none; text-transform: uppercase; box-shadow: 4px 4px 0 var(--ink); transition: transform .18s var(--ease), box-shadow .18s var(--ease); }
.button:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--ink); }
.button:active { transform: translate(3px, 3px); box-shadow: 1px 1px 0 var(--ink); }
.button.ghost { background: var(--paper); color: var(--ink); }
.button.light { background: var(--cream); color: var(--ink); }
.button.small { min-height: 44px; padding: 8px 16px; font-size: .875rem; box-shadow: 3px 3px 0 var(--ink); }
.link { background: none; border: 0; min-height: 44px; padding: 8px 10px; font-weight: 700; text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 2px; }
.link:hover { color: var(--teal); }

/* Rubber stamps and pins */
.stamp { display: inline-block; font: 400 1.5rem/1 var(--type); letter-spacing: .06em; text-transform: uppercase; color: var(--pop); border: 3px solid var(--pop); border-radius: 8px; padding: .5em .7em .34em; outline: 1.5px solid var(--pop); outline-offset: -8px; transform: rotate(-8deg); background: rgba(255, 253, 246, .6); white-space: nowrap; }
.pin { position: absolute; left: 50%; top: -9px; width: 20px; height: 20px; margin-left: -10px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #f6957c 0 22%, var(--pop) 24%); box-shadow: 2px 3px 0 rgba(20, 24, 28, .35); z-index: 3; }

/* Letter tiles and ladders (the cover's motif) */
.ladder { position: relative; display: grid; gap: calc(var(--t) * .13); width: max-content; }
.ladder::before, .ladder::after { content: ''; position: absolute; top: calc(var(--t) * -.38); bottom: calc(var(--t) * -.38); width: calc(var(--t) * .1); border-radius: 99px; background: var(--teal); left: calc(var(--t) * .45); }
.ladder::after { left: calc(var(--t) * 3.81); }
.lrow { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(4, var(--t)); gap: calc(var(--t) * .12); }
.lrow > span { height: var(--t); display: grid; place-items: center; border: calc(var(--t) * .06) solid var(--ink); border-radius: 18%; background: var(--paper); color: var(--ink); font: 900 calc(var(--t) * .58)/1 var(--sans); }
.lrow.given > span { background: var(--ink); color: var(--cream); }
.lrow.pencil b { font: 400 calc(var(--t) * .66)/1 var(--hand); color: var(--graphite); transform: translateY(6%); }
.lrow > span.ev { background: var(--teal); border-color: var(--teal); }
.lrow > span.ev b { color: #fff; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--cream); border-bottom: var(--line) solid var(--ink); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: var(--header); }
.wordmark { display: flex; align-items: center; gap: 10px; text-decoration: none; font: 400 1.5rem/1 var(--display); letter-spacing: .02em; text-transform: uppercase; white-space: nowrap; }
.wordmark b { font-weight: 400; color: var(--teal); }
.mark { display: flex; gap: 3px; }
.mark i { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 6px; background: var(--ink); color: var(--cream); font: 900 .875rem/1 var(--sans); }
.mark i.t { background: var(--teal); }
.site-header nav { display: none; gap: 4px; }
.site-header nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 6px 10px; white-space: nowrap; font: 700 .8125rem/1 var(--sans); letter-spacing: .07em; text-transform: uppercase; text-decoration: none; border-radius: 8px; }
.site-header nav a:hover { background: var(--tint); }
.site-header nav .nav-cta, .site-header nav.open .nav-cta { display: none; }
/* Phone and tablet menu: nav.js shows the button and toggles .open on the nav. */
.nav-toggle { display: grid; place-items: center; flex: none; order: 3; width: 44px; height: 44px; padding: 0; border: var(--line) solid var(--ink); border-radius: 10px; background: var(--paper); }
.bars, .bars::before, .bars::after { display: block; width: 20px; height: 3px; border-radius: 2px; background: var(--ink); transition: transform .2s var(--ease); }
.bars { position: relative; }
.bars::before, .bars::after { content: ''; position: absolute; left: 0; top: -7px; }
.bars::after { top: 7px; }
.nav-toggle[aria-expanded="true"] .bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .bars::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .bars::after { transform: translateY(-7px) rotate(-45deg); }
@media (max-width: 1219px) {
  .wordmark { margin-right: auto; }
  .site-header .button { order: 2; }
  .site-header nav.open { display: flex; flex-direction: column; gap: 2px; position: absolute; left: 0; right: 0; top: 100%; max-height: calc(100vh - var(--header)); overflow-y: auto; padding: 8px var(--gutter) 16px; background: var(--cream); border-block: var(--line) solid var(--ink); box-shadow: 0 14px 24px rgba(20, 24, 28, .2); }
  .site-header nav.open a { display: flex; align-items: center; min-height: 48px; font-size: 1rem; }
}
@media (max-width: 639px) {
  .site-header .button { display: none; }
  .site-header nav.open .nav-cta { display: flex; justify-content: center; margin-top: 8px; border: var(--line) solid var(--ink); background: var(--teal); color: #fff; }
  .site-header nav.open .nav-cta:hover { background: var(--teal-deep); }
}
.progress { position: absolute; left: 0; bottom: -3px; height: 3px; width: 100%; background: var(--pop); transform: scaleX(0); transform-origin: 0 50%; }
@media (max-width: 480px) { .mark { display: none; } .nav { gap: 10px; } .wordmark { font-size: min(1.5rem, 6.1vw); } }
.site-header .button { white-space: nowrap; }
@media (min-width: 1220px) { .site-header nav { display: flex; } .nav-toggle { display: none; } }

/* ---------- 1. Hero ---------- */
.hero { position: relative; overflow: hidden; display: flex; flex-direction: column; }
.hero-print { position: absolute; width: clamp(200px, 22vw, 320px); height: clamp(250px, 27.5vw, 400px); right: -70px; top: 46%; color: var(--tint); opacity: .8; transform: rotate(-14deg); pointer-events: none; }
.hero-grid { position: relative; display: grid; gap: 36px; flex: 1; padding-block: clamp(28px, 5vw, 64px) clamp(40px, 6vw, 72px); }
.hero h1 { font-size: clamp(3rem, 6.1vw, 5.25rem); line-height: .9; margin: 0 0 1.125rem; text-wrap: balance; }
.hero h1 span { display: block; }
.hero h1 .l2 { color: var(--teal); }
.hero h1 .sub { font: 700 clamp(1rem, 1.6vw, 1.25rem)/1.35 var(--sans); letter-spacing: 0; text-transform: none; max-width: 27em; margin: 1rem 0 0; text-wrap: pretty; }
.hero .lead { font-size: 1.125rem; max-width: 34em; color: var(--graphite); margin-bottom: 1.5em; }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; }
.reassure { margin: 22px 0 0; font: 700 .8125rem/1.5 var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--teal-deep); }

.hero-stage { position: relative; --t: clamp(48px, 4.5vw, 66px); }
.hero-ladder-wrap { position: relative; padding: calc(var(--t) * .5) 0 0; }
.hl-glass { position: absolute; z-index: 4; width: calc(var(--t) * 1.9); height: calc(var(--t) * 1.9); left: calc(var(--t) * 3.132); top: calc(var(--t) * 2.052); color: var(--ink); pointer-events: none; overflow: visible; }
.hl .g { width: 100%; height: 100%; overflow: visible; }
.hl .g path { fill: none; stroke: #2c3136; stroke-width: 8.5; stroke-linecap: round; stroke-linejoin: round; }
.hl .ev .g path { stroke: #fff; }
.stamp-files { position: absolute; z-index: 5; left: calc(var(--t) * -.1); top: calc(var(--t) * 6.3); font-size: clamp(.95rem, 3.6vw, 1.25rem); text-align: center; transform: rotate(-9deg); background: var(--cream); margin: 0; }
.stamp-files small { display: block; font-size: .72em; margin-top: .3em; text-transform: none; }
.scrawl { font: 400 1.25rem/1.2 var(--hand); color: var(--graphite); text-align: right; margin: calc(var(--t) * .7) 0 0 calc(var(--t) * 2.2); max-width: calc(var(--t) * 2.6); transform: rotate(-2deg); }
.replay { display: block; margin: 6px auto 0; min-height: 44px; padding: 8px 14px; background: none; border: 0; font: 700 .8125rem/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--teal-deep); text-decoration: underline; text-underline-offset: 4px; }
.pencil-tool { position: absolute; left: 0; top: 0; z-index: 6; width: calc(var(--t) * .44); height: calc(var(--t) * 2.2); transform-origin: 50% 100%; pointer-events: none; opacity: 0; transition: opacity .35s; overflow: visible; will-change: transform; }
.pencil-shadow { position: absolute; left: 0; top: 0; z-index: 5; width: calc(var(--t) * .9); height: calc(var(--t) * .2); border-radius: 50%; background: rgba(20, 24, 28, .3); filter: blur(4px); pointer-events: none; opacity: 0; transition: opacity .35s; will-change: transform; }
.hl.writing .pencil-tool, .hl.writing .pencil-shadow { opacity: 1; }

.book { transform: rotate(-3deg) translateY(calc(var(--y, 0) * 1px)); }
.book img { width: 100%; filter: drop-shadow(10px 14px 16px rgba(20, 24, 28, .22)); }

.band { background: var(--ink); color: var(--cream); }
.band-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 28px; padding-block: 16px; font: 700 .8125rem/1.2 var(--sans); letter-spacing: .14em; text-transform: uppercase; }
.band-row li { display: flex; align-items: baseline; gap: 8px; }
.band-row strong { font: 400 1.9rem/1 var(--display); color: #fff; letter-spacing: .02em; }

/* Phones and tablets: promise, then the cover beside the lead, then the buttons and the reassurance line.
   The animated ladder is decoration and is left to wider screens. */
@media (max-width: 1099px) {
  .hero-grid { grid-template-columns: minmax(0, .52fr) minmax(0, 1fr); grid-template-areas: "k k" "h h" "b l" "c c" "r r"; gap: 0 20px; align-items: center; align-content: center; padding-block: 24px; }
  .hero-copy, .hero-stage { display: contents; }
  .hero .kicker { grid-area: k; }
  .hero h1 { grid-area: h; font-size: min(8.1vw, 4.6rem); }
  .hero h1 .l1, .hero h1 .l2 { white-space: nowrap; }
  .hero h1 .sub { font-size: clamp(.9375rem, 2.4vw, 1.1875rem); }
  .book { grid-area: b; width: 100%; max-width: 280px; justify-self: center; }
  .hero .lead { grid-area: l; margin: 0; }
  .cta-row { grid-area: c; margin-top: 24px; }
  .reassure { grid-area: r; }
  .hero-ladder-wrap, .hero-print { display: none; }
}
@media (min-width: 1100px) and (max-width: 1299px) { .book { width: 35% !important; } }
@media (min-width: 1100px) {
  .hero-grid { grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr); align-items: center; gap: 24px; }
  .hero-print { right: auto; left: 44%; top: 34%; }
  .hero-stage { display: block; min-height: calc(var(--t) * 8.9); }
  .book { position: absolute; left: -2%; top: 10%; width: 41%; transform: perspective(1500px) rotateY(10deg) rotate(-4deg) translateY(calc(var(--y, 0) * 1px)); }
  .hero-ladder-wrap { position: absolute; right: calc(var(--t) * .8); top: 0; }
  .stamp-files { left: calc(var(--t) * -2.6); top: calc(var(--t) * 6.5); }
  .scrawl { text-align: center; margin: calc(var(--t) * .62) 0 0; max-width: none; }
}

/* ---------- 2. The story ---------- */
.story { background: var(--teal); color: var(--cream); --focus: #fff; padding: clamp(56px, 9vw, 110px) 0; }
.story-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 18px 32px; margin-bottom: clamp(28px, 5vw, 56px); }
.story-head h2 { max-width: 13em; font-size: clamp(2.1rem, 5.4vw, 3.9rem); }
.count { display: flex; align-items: center; gap: 12px; padding: 10px 16px 8px 10px; border: var(--line) solid var(--cream); border-radius: var(--radius); background: var(--teal-deep); }
.count-clock { width: 54px; height: 54px; flex: none; color: var(--cream); }
.count-hand { transform-box: view-box; transform-origin: 50% 50%; }
.count p { margin: 0; font: 400 1.5rem/1 var(--display); letter-spacing: .04em; text-transform: uppercase; }
.count strong { display: inline-block; min-width: 1.1em; font-weight: 400; font-size: 2.6rem; color: #fff; font-variant-numeric: tabular-nums; text-align: right; }
.count small { display: block; font: 700 .6875rem/1.2 var(--sans); letter-spacing: .16em; color: var(--tint); margin-top: 2px; }

.beats { display: grid; gap: clamp(40px, 7vw, 72px); }
.beat { display: grid; gap: 24px; align-items: center; }
.beat h3 { font-size: clamp(2.2rem, 7vw, 5.4rem); color: #fff; margin-bottom: .3em; }
.beat-copy p { font-size: clamp(1.0625rem, 2.2vw, 1.3125rem); max-width: 30em; }
.beat-cta { margin: 1.4em 0 0; }
.beat-art { display: grid; place-items: center; min-height: 180px; }
.beat-dots { display: none; }
@media (min-width: 820px) {
  .beat { grid-template-columns: 1.1fr .9fr; gap: 48px; }
  .beat-art > * { zoom: 1.3; }
}

.notecard { position: relative; background: var(--paper); color: var(--ink); padding: 34px 30px 20px; border-radius: 4px; box-shadow: 8px 10px 0 rgba(10, 40, 39, .5); transform: rotate(-3deg); max-width: 300px; }
.notecard p { font: 400 clamp(1.5rem, 5vw, 1.9rem)/1.25 var(--hand); margin: 0 0 .3em; }
.notecard span { display: block; text-align: right; font: 400 1.25rem/1 var(--hand); color: var(--teal); }

.cabinet { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px 8px; width: min(100%, 340px); }
.cabinet i { position: relative; display: grid; place-items: center; height: 46px; background: var(--cream); color: var(--ink); border: 2px solid var(--ink); border-radius: 0 6px 6px 6px; font: 400 1.25rem/1 var(--display); font-style: normal; }
.cabinet i::before { content: ''; position: absolute; left: -2px; top: -9px; width: 46%; height: 9px; background: var(--cream); border: 2px solid var(--ink); border-bottom: 0; border-radius: 5px 5px 0 0; }

.strip { position: relative; background: var(--paper); color: var(--ink); padding: 26px 22px 30px; border-radius: 3px; box-shadow: 8px 10px 0 rgba(10, 40, 39, .5); transform: rotate(1.5deg); max-width: 400px; }
.strip p { font: 400 clamp(1.0625rem, 3.6vw, 1.25rem)/1.9 var(--type); margin: 0; }
.hole { position: relative; display: inline-block; vertical-align: -0.35em; width: 5.6em; height: 1.55em; background: var(--teal); box-shadow: inset 3px 3px 0 rgba(10, 40, 39, .55); }
.scrap { position: absolute; inset: -1px; background: var(--paper); border: 1.5px dashed var(--ink); transform: translate(18px, 34px) rotate(13deg); box-shadow: 3px 4px 0 rgba(10, 40, 39, .4); }
.scrap::after { content: ''; position: absolute; inset: 26% 12%; background: var(--ink); border-radius: 2px; }
.snips { position: absolute; right: 14px; bottom: -22px; width: 46px; height: 46px; color: var(--ink); transform: rotate(-150deg); }

.claim { position: relative; background: var(--paper); color: var(--ink); padding: 22px 24px 26px; border: 2px solid var(--ink); border-radius: 4px; box-shadow: 8px 10px 0 rgba(10, 40, 39, .5); transform: rotate(-2deg); max-width: 340px; }
.claim small { display: block; font: 700 .75rem/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--teal); border-bottom: 2px solid var(--ink); padding-bottom: 10px; margin-bottom: 12px; }
.claim p { font: 400 1.0625rem/1.5 var(--type); margin: 0 0 .7em; }
.claim em { font: 400 1.375rem/1 var(--hand); color: var(--graphite); }
.stamp-claim { position: absolute; right: -14px; bottom: 30px; font-size: 1.9rem; transform: rotate(-14deg); background: rgba(255, 253, 246, .82); }

.leaf { background: var(--paper); color: var(--ink); width: 210px; text-align: center; border: var(--line) solid var(--ink); border-radius: 10px; overflow: hidden; box-shadow: 8px 10px 0 rgba(10, 40, 39, .5); transform: rotate(3deg); transform-origin: 50% 0; }
.leaf small { display: block; background: var(--pop); color: var(--ink); font: 900 .75rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; padding: 12px 6px; border-bottom: var(--line) solid var(--ink); }
.leaf strong { display: block; font: 400 6.2rem/.9 var(--display); padding-top: 14px; text-transform: uppercase; }
.leaf span { display: block; font: 700 .8125rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; padding: 4px 0 16px; }

/* ---------- 3. How it works ---------- */
.how { background: var(--cream); padding: clamp(64px, 10vw, 120px) 0; }
.how-grid { display: grid; gap: 36px; }
.how-copy h2 { margin-bottom: .5em; }
.steps { display: grid; gap: 18px; }
.steps li { display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: start; }
.steps .num { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 10px; background: var(--ink); color: var(--cream); font: 400 1.75rem/1 var(--display); padding-top: 2px; }
.steps h3 { margin: .25em 0 .25em; }
.steps p { margin: 0; color: var(--graphite); }
.how-stage { display: grid; gap: 22px; justify-items: center; align-content: center; --t: 46px; }
.how-ladder { position: relative; padding: calc(var(--t) * .5) 0; justify-self: start; margin-left: 2px; }
.tag { display: inline-block; font: 900 .75rem/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; background: var(--teal); color: #fff; padding: 7px 10px; border-radius: 6px; margin: 0 0 calc(var(--t) * .55); }
.tag.dark { background: var(--ink); color: var(--cream); margin-bottom: 12px; }
.ladder.mini em { position: absolute; left: calc(100% + 10px); top: 50%; transform: translateY(-50%); width: max-content; max-width: 132px; font: 700 .8125rem/1.25 var(--sans); font-style: normal; background: var(--paper); border: 2px solid var(--ink); border-radius: 8px; padding: 6px 9px; }
.casecard { position: relative; width: 100%; max-width: 420px; background: var(--paper); border: var(--line) solid var(--ink); border-radius: var(--radius); box-shadow: var(--hard); padding: 16px 16px 18px; }
.cc-q { font: 400 1.6rem/1 var(--display); text-transform: uppercase; margin: 0 0 12px; max-width: 60%; }
.cc-theories { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 14px; }
.cc-theories li { position: relative; font: 700 .8125rem/1.2 var(--sans); border: 2px solid var(--ink); border-radius: 9px; padding: 8px 8px 8px 34px; min-height: 44px; display: flex; align-items: center; background: var(--paper); transition: background .3s, color .3s; }
.cc-theories b { position: absolute; left: 6px; top: 50%; margin-top: -11px; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 5px; background: var(--ink); color: var(--cream); font: 400 1.05rem/1 var(--display); padding-top: 1px; }
.cc-theories .right { background: var(--teal); color: #fff; }
.tick { position: absolute; right: -8px; top: -10px; width: 26px; height: 26px; border-radius: 50%; background: var(--pop); border: 2px solid var(--ink); }
.tick::after { content: ''; position: absolute; left: 7px; top: 3px; width: 7px; height: 12px; border: solid var(--ink); border-width: 0 3px 3px 0; transform: rotate(40deg); }
.cc-label { font: 900 .6875rem/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; margin: 0 0 8px; color: var(--teal); }
.cc-boxes { display: grid; grid-template-columns: repeat(5, 44px); gap: 6px; }
.cc-boxes span { height: 44px; display: grid; place-items: center; border: var(--line) solid var(--ink); border-radius: 9px; background: var(--tint); font: 900 1.5rem/1 var(--sans); }
.cc-boxes span:first-child { background: var(--teal); color: #fff; border-color: var(--teal); }
.cc-boxes b { display: block; }
.stamp-closed { position: absolute; right: 6px; top: 8px; font-size: clamp(1.25rem, 4.6vw, 1.75rem); transform: rotate(-12deg); background: rgba(255, 253, 246, .86); }
@media (min-width: 620px) { .how-stage { --t: 56px; } .how-ladder { justify-self: center; margin-left: -120px; } .ladder.mini em { max-width: 190px; font-size: .9375rem; } }
@media (min-width: 980px) {
  .how-grid { grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: center; }
  .how-ladder { margin-left: -150px; }
  .how-stage { --t: clamp(56px, 7.4vh, 68px); gap: 30px; }
  .casecard { max-width: 470px; padding: 20px 22px 24px; }
  .cc-q { font-size: 2rem; }
  .cc-boxes { grid-template-columns: repeat(5, 52px); } .cc-boxes span { height: 52px; font-size: 1.75rem; }
}

/* ---------- 4. Playable ladder ---------- */
.puzzle { background: var(--ink); color: var(--cream); --focus: #fff; }
.puzzle h2 { margin-bottom: .4em; }
.puzzle-grid { display: grid; gap: 40px; }
.puzzle-copy > p { max-width: 34em; }
.exhibit { background: var(--paper); color: var(--ink); font: 400 1.0625rem/1.6 var(--type); padding: 18px 20px 16px; border-radius: 4px; border-left: 8px solid var(--teal); transform: rotate(-.6deg); }
.exhibit span { display: block; font: 900 .6875rem/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--teal); margin-bottom: 8px; }
.demo { position: relative; --t: clamp(46px, 13.5vw, 60px); --focus: var(--ink); background: var(--cream); color: var(--ink); border-radius: 20px; padding: clamp(18px, 4vw, 32px); box-shadow: 8px 8px 0 var(--teal); display: grid; gap: 14px; justify-self: center; width: 100%; max-width: 560px; }
.demo .row { display: grid; gap: 6px; }
.demo .tiles { position: relative; display: grid; grid-template-columns: repeat(4, var(--t)); gap: calc(var(--t) * .12); width: max-content; border-radius: 12px; }
.demo .tiles > span, .demo .tiles > i { height: var(--t); display: grid; place-items: center; border: var(--line) solid var(--ink); border-radius: 18%; font: 900 calc(var(--t) * .56)/1 var(--sans); font-style: normal; }
.demo .tiles > span { background: var(--ink); color: var(--cream); }
.demo .tiles > i { background: var(--paper); }
.demo .tiles > i.ev { background: var(--tint); border-color: var(--teal); }
.demo input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; border: 0; background: transparent; color: var(--ink); font: 700 calc(var(--t) * .55)/1 'Courier New', Courier, monospace; text-transform: uppercase; letter-spacing: calc(var(--t) * .79); padding: 0 0 0 calc(var(--t) * .335); border-radius: 12px; outline-offset: 5px; }
.js .demo input { color: transparent; caret-color: transparent; letter-spacing: 0; }
.js .demo input::selection { background: transparent; }
.demo .tiles > i.cur { box-shadow: 0 0 0 3px var(--cream), 0 0 0 6px var(--pop); }
.demo label { font: 700 1rem/1.3 var(--sans); display: grid; grid-template-columns: auto 1fr; gap: 2px 10px; align-items: baseline; order: -1; }
.demo label > b { flex: none; display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--ink); color: var(--cream); font-size: .8125rem; transform: translateY(-1px); }
.demo label small { grid-column: 2; font-weight: 400; font-size: .875rem; color: var(--teal); }
.demo .row.fixed { grid-template-columns: max-content 1fr; align-items: center; gap: 14px; }
.demo .row.fixed em { font: 400 1.25rem/1 var(--display); font-style: normal; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.demo .row.ok .tiles > i { background: var(--tint); }
.demo .row.ok .tiles > i.ev { background: var(--teal); color: #fff; }
.demo .row.bad .tiles > i { border-color: var(--pop-text); background: #fbe3dc; }
.demo-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin-top: 8px; }
#demo-status { margin: 0; min-height: 3.2em; font-weight: 700; padding: 12px 14px; border-radius: 10px; background: var(--paper); border: 2px solid var(--ink); }
#demo-status.warn { border-color: var(--pop-text); color: #7d240e; background: #fbe3dc; }
#demo-status.good { border-color: var(--teal); color: #07403e; background: var(--tint); }
.stamp-solved { position: absolute; right: 8px; top: 16px; font-size: clamp(1.9rem, 7vw, 2.5rem); border-width: 4px; transform: rotate(-14deg) scale(2.4); opacity: 0; pointer-events: none; background: rgba(255, 253, 246, .88); }
.demo.solved .stamp-solved { opacity: 1; transform: rotate(-14deg) scale(1); transition: transform .32s var(--thump), opacity .12s; }
@media (min-width: 560px) {
  .demo .row { grid-template-columns: max-content 1fr; align-items: center; gap: 16px; }
  .demo label { order: 0; }
  .stamp-solved { top: 37%; right: 4px; }
}
@media (min-width: 980px) { .puzzle-grid { grid-template-columns: .85fr 1.15fr; gap: 64px; align-items: center; } }

/* ---------- 4b. Quick facts, the word ladder explainer and the FAQ (question headings with direct answers) ---------- */
.facts-grid { display: grid; gap: 32px; }
.facts-copy h2 { margin-bottom: .4em; }
.facts-copy h3 { margin: 1.1em 0 .4em; }
.facts-copy p { max-width: 36em; }
.facts-table h3 { margin-bottom: .6em; }
.facts { width: 100%; border-collapse: separate; border-spacing: 0; background: var(--paper); border: var(--line) solid var(--ink); border-radius: var(--radius); box-shadow: var(--hard); overflow: hidden; }
.facts th, .facts td { padding: 11px 14px; text-align: left; vertical-align: top; border-bottom: 2px solid var(--tint); }
.facts tr:last-child > * { border-bottom: 0; }
.facts th { width: 32%; font: 900 .75rem/1.6 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--teal-deep); background: #f3f1e6; }
@media (min-width: 900px) { .facts-grid { grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; } }

.explain-sec { background: var(--tint); }
.explain { display: grid; gap: 22px; align-items: start; }
.explain details { background: var(--paper); border: var(--line) solid var(--ink); border-radius: var(--radius); padding: 0 22px; box-shadow: var(--hard); }
.explain details p, .explain details ol { color: var(--graphite); }
.explain a, .steps a { color: var(--teal-deep); font-weight: 700; text-underline-offset: 3px; }
.tips { list-style: decimal; padding-left: 1.3em; margin-bottom: 1.2em; }
.tips li { margin-bottom: .5em; padding-left: .2em; }
.tips strong { color: var(--ink); }
@media (min-width: 960px) { .explain { grid-template-columns: repeat(3, 1fr); gap: 24px; } }

summary { position: relative; cursor: pointer; list-style: none; padding: 20px 52px 16px 0; font: 400 1.6rem/1.05 var(--display); letter-spacing: .02em; text-transform: uppercase; }
summary::-webkit-details-marker { display: none; }
summary h3, summary h4 { display: inline; font: inherit; letter-spacing: inherit; }
summary::after { content: '+'; position: absolute; right: 0; top: 50%; margin-top: -18px; width: 36px; height: 36px; display: grid; place-items: center; border-radius: 9px; background: var(--ink); color: var(--cream); font: 900 1.25rem/1 var(--sans); transition: transform .25s var(--ease), background .25s; }
summary:hover::after { background: var(--teal-deep); }
details[open] > summary::after { content: '\2013'; background: var(--teal); transform: rotate(180deg); }
details p { margin: 0 0 22px; max-width: 44em; }

/* ---------- 5. Evidence board ---------- */
.board-sec { background: var(--tint); }
.board { position: relative; display: grid; gap: 44px; padding: 10px 0; }
.string { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 2; pointer-events: none; overflow: visible; }
.string path { fill: none; stroke: var(--pop); stroke-width: 2.5; stroke-linecap: round; }
.card { position: relative; z-index: 1; width: 88%; background: var(--paper); border: var(--line) solid var(--ink); border-radius: 6px; padding: 30px 20px 18px; box-shadow: var(--hard); transform-origin: 50% 0; transform: rotate(var(--rot, 0deg)); }
.card:nth-child(odd) { justify-self: end; }
.card .tab { display: inline-block; font: 900 .6875rem/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: #fff; background: var(--teal); padding: 6px 9px; border-radius: 5px; margin-bottom: 12px; }
.card h3 { margin-bottom: .35em; font-size: 1.9rem; }
.card p { margin: 0; color: var(--graphite); }
.c1 { --rot: -1.5deg; } .c2 { --rot: 1.8deg; } .c3 { --rot: -1deg; } .c4 { --rot: 1.4deg; } .c5 { --rot: -2deg; } .c6 { --rot: 1deg; }
.c6 .tab { background: var(--ink); }
.board-note { max-width: 40em; margin: clamp(36px, 6vw, 64px) auto 0; text-align: center; font: 400 1.4rem/1.4 var(--hand); color: var(--ink); }
@media (min-width: 760px) {
  .board { grid-template-columns: repeat(2, 1fr); gap: 56px 48px; }
  .card, .card:nth-child(odd) { width: auto; justify-self: stretch; }
  .card:nth-child(even) { margin-top: 36px; }
}
@media (min-width: 1080px) {
  .board { grid-template-columns: repeat(3, 1fr); gap: 72px 52px; }
  .card:nth-child(even) { margin-top: 0; }
  .c2, .c5 { margin-top: 48px !important; }
}

/* ---------- 6. Levels ---------- */
.levels { display: grid; gap: 18px; }
.lv { background: var(--paper); border: var(--line) solid var(--ink); border-radius: var(--radius); overflow: hidden; box-shadow: var(--hard); display: flex; flex-direction: column; }
.lv > p { margin: 0; padding: 16px 18px 20px; }
.lv-top { padding: 18px 18px 14px; border-bottom: var(--line) solid var(--ink); }
.lv-top h4 { font-size: 2.6rem; }
.lv-cases { margin: 4px 0 0; font: 700 .75rem/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; }
.dots { display: flex; gap: 5px; margin-bottom: 12px; }
.dots i { width: 22px; height: 12px; border: 2px solid currentColor; border-radius: 5px; }
.dots i.on { background: currentColor; }
.lv1 .lv-top { background: var(--tint); }
.lv2 .lv-top { background: var(--teal-mid); }
.lv3 .lv-top { background: var(--teal); color: #fff; }
.lv4 .lv-top { background: var(--ink); color: var(--cream); }
.levels-note { margin: clamp(28px, 5vw, 48px) 0 0; max-width: 46em; font-size: 1.125rem; }
@media (min-width: 620px) { .levels { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) {
  .levels { grid-template-columns: repeat(4, 1fr); align-items: stretch; gap: 22px; }
  .lv1 { margin-top: 108px; } .lv2 { margin-top: 72px; } .lv3 { margin-top: 36px; }
}

/* ---------- 7. Inside the book ---------- */
.inside-sec { background: var(--paper); border-block: var(--line) solid var(--ink); overflow: hidden; }
.inside-grid { display: grid; gap: 36px; }
.inside-copy h2 { margin-bottom: .4em; }
.inside-copy > p { max-width: 32em; }
.deck { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 22px; }
.deck figure { margin: 0; }
.deck img { border: var(--line) solid var(--ink); border-radius: 8px; background: #fff; }
.deck figcaption { font: 700 .9375rem/1.35 var(--sans); padding-top: 10px; }
.deck-ctrl { display: flex; align-items: center; gap: 14px; margin-top: 24px; }
.deck-ctrl p { margin: 0; font: 400 1.5rem/1 var(--display); letter-spacing: .06em; text-transform: uppercase; min-width: 6.4em; text-align: center; }
.round { width: 52px; height: 52px; border-radius: 50%; border: var(--line) solid var(--ink); background: var(--teal); color: #fff; font-size: 1.4rem; font-weight: 900; line-height: 1; box-shadow: 3px 3px 0 var(--ink); transition: transform .18s var(--ease), box-shadow .18s var(--ease); }
.round:hover { transform: translate(-2px, -2px); box-shadow: 5px 5px 0 var(--ink); }
.round:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--ink); }
.deck-tip { margin-top: 12px; }
.js .deck { display: block; position: relative; width: min(100% - 44px, 400px); aspect-ratio: 770 / 1290; margin: 26px auto 0; touch-action: pan-y; }
.js .deck figure { position: absolute; left: 0; top: 0; width: 100%; transition: transform .5s var(--ease), opacity .35s; transform-origin: 100% 100%; cursor: grab; }
.js .deck figure img { box-shadow: 6px 6px 0 rgba(20, 24, 28, .16); -webkit-user-drag: none; user-select: none; }
.js .deck figcaption { text-align: center; font-size: 1.0625rem; padding: 14px 6px 0; transition: opacity .3s; }
.js .deck figure:not(.top) figcaption { opacity: 0; }
@media (min-width: 900px) { .inside-grid { grid-template-columns: .9fr 1.1fr; align-items: center; gap: 56px; } }

/* ---------- 9. FAQ ---------- */
.faq-grid { width: min(820px, 100% - 2 * var(--gutter)); display: grid; gap: 8px; }
.faq-sec h2 { margin-bottom: .5em; }
.faq-sub { font: 900 .8125rem/1.3 var(--sans); letter-spacing: .16em; color: var(--teal-deep); margin: 28px 0 12px; }
.faq-group details { border-bottom: var(--line) solid var(--ink); }
.faq-group details:first-of-type { border-top: var(--line) solid var(--ink); }
.faq-group details p { color: var(--graphite); }

/* ---------- 10. Buy ---------- */
.buy { background: var(--teal); color: var(--cream); --focus: #fff; padding: clamp(64px, 10vw, 120px) 0; overflow: hidden; }
.buy-grid { display: grid; gap: 40px; align-items: center; }
.buy-art img { width: min(74%, 330px); margin-inline: auto; transform: rotate(-4deg); border-radius: 3px 8px 8px 3px; box-shadow: 4px 4px 0 #e9e3d2, 8px 8px 0 var(--ink), 26px 34px 50px rgba(6, 30, 29, .5); }
.buy-copy h2 { color: #fff; margin-bottom: .35em; }
.buy-copy > p { max-width: 36em; }
.prelaunch { background: var(--cream); color: var(--ink); border-left: 10px solid var(--pop); border-radius: 6px; padding: 16px 18px; font-size: 1.0625rem; }
.prelaunch strong { display: block; font: 400 1.9rem/1 var(--display); letter-spacing: .03em; text-transform: uppercase; margin-bottom: 4px; }
.editions { display: grid; gap: 16px; margin: 22px 0; }
.edition { border: var(--line) solid var(--cream); border-radius: var(--radius); padding: 18px 18px 20px; background: var(--teal-deep); }
.edition h3 { color: #fff; margin-bottom: .3em; }
.edition p { margin: 0 0 12px; }
.soon { display: inline-block; font: 900 .75rem/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; border: 2px solid var(--cream); border-radius: 99px; padding: 8px 12px; margin: 0 !important; }
.buy-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.buy-actions .price { font-weight: 700; }
.buy-lead { max-width: 36em; }
@media (min-width: 620px) { .editions { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .buy-grid { grid-template-columns: .7fr 1.3fr; gap: 56px; } }

/* ---------- The six reasons: shared pieces ---------- */
.lead { font-size: 1.1875rem; color: var(--graphite); max-width: 36em; }
h2 + .lead { margin-top: 1em; }
.proofs { display: grid; gap: 14px; margin: 24px 0; }
.proofs li { position: relative; padding-left: 40px; }
.proofs li::before { content: ''; position: absolute; left: 0; top: 1px; width: 26px; height: 26px; border-radius: 7px; background: var(--teal); }
.proofs li::after { content: ''; position: absolute; left: 9px; top: 5px; width: 8px; height: 14px; border: solid #fff; border-width: 0 3px 3px 0; transform: rotate(40deg); }
.proofs strong { display: block; font: 400 1.5rem/1.1 var(--display); letter-spacing: .02em; text-transform: uppercase; }
.proofs span { color: var(--graphite); }
.page-shot { margin: 0; justify-self: center; width: 100%; max-width: 380px; transform: rotate(1.5deg); }
.page-shot img { border: var(--line) solid var(--ink); border-radius: 8px; background: #fff; box-shadow: var(--hard); }
.page-shot figcaption { font: 700 .8125rem/1.3 var(--sans); letter-spacing: .1em; text-transform: uppercase; text-align: center; padding-top: 16px; }
.why-sec { background: var(--paper); }
.why-grid, .can-grid { display: grid; gap: 36px; align-items: center; }
.why-for { margin: 0; }
@media (min-width: 900px) { .why-grid, .can-grid { grid-template-columns: 1.15fr .85fr; gap: 64px; } }

/* Call-to-action bands between the reasons */
.cta-band { background: var(--pop); color: var(--ink); border-block: var(--line) solid var(--ink); padding: 28px 0; }
.cta-band-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; }
.cta-band p { margin: 0; flex: 1 1 320px; max-width: 42em; font-size: 1.125rem; font-weight: 700; }
.cta-band strong { display: block; font: 400 2.25rem/1 var(--display); letter-spacing: .02em; text-transform: uppercase; margin-bottom: 4px; }

/* Reason 3: levels */
.levels-h { font-size: 2.25rem; margin: clamp(40px, 6vw, 72px) 0 24px; }

/* Reason 4: comparison table */
.compare-sec { background: var(--tint); }
.compare-grid { display: grid; gap: 32px; }
.compare { width: 100%; table-layout: fixed; border-collapse: separate; border-spacing: 0; background: var(--paper); border: var(--line) solid var(--ink); border-radius: var(--radius); box-shadow: var(--hard); overflow: hidden; }
.compare th, .compare td { position: relative; padding: 13px 10px; text-align: center; vertical-align: middle; border-bottom: 2px solid var(--tint); }
.compare tbody tr:last-child > * { border-bottom: 0; }
.compare thead td, .compare thead th { background: var(--ink); color: var(--cream); border-bottom: 0; }
.compare thead td { width: 36%; }
.compare thead th { font: 900 .75rem/1.25 var(--sans); letter-spacing: .08em; text-transform: uppercase; }
.compare thead th.us { background: var(--teal); color: #fff; }
.compare tbody th { text-align: left; padding-left: 16px; font: 700 .9375rem/1.3 var(--sans); }
.compare td.us { background: #e4eee8; }
.compare td.y::before { content: ''; display: inline-block; width: 10px; height: 18px; margin-top: -5px; border: solid var(--teal); border-width: 0 4px 4px 0; transform: rotate(40deg); }
.compare td.n::before, .compare td.n::after { content: ''; position: absolute; left: 50%; top: 50%; width: 16px; height: 3px; margin: -1.5px 0 0 -8px; border-radius: 2px; background: #6f7976; transform: rotate(45deg); }
.compare td.n::after { transform: rotate(-45deg); }
.compare td.v { font: 700 .75rem/1.2 var(--sans); color: var(--muted); }
.compare-note { margin: 14px 0 0; }
@media (min-width: 1000px) { .compare-grid { grid-template-columns: .8fr 1.2fr; gap: 56px; align-items: center; } }

/* Reason 5: value */
.value-sec { background: var(--ink); color: var(--cream); --focus: #fff; }
.value-sec .lead { color: var(--tint); }
.value-time { display: block; margin-top: .6em; color: #fff; font-weight: 700; }
.value-grid { display: grid; gap: 32px; }
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.stats li { border: var(--line) solid var(--cream); border-radius: var(--radius); background: var(--teal-deep); padding: 16px 18px 14px; }
.stats strong { display: block; font: 400 3.4rem/.9 var(--display); color: #fff; letter-spacing: .02em; }
.stats span { font: 700 .8125rem/1.3 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--tint); }
.prices { width: 100%; margin-top: 18px; border-collapse: separate; border-spacing: 0; background: var(--cream); color: var(--ink); border-radius: 10px; overflow: hidden; font-size: .9375rem; }
.prices th, .prices td { padding: 10px 12px; text-align: left; border-bottom: 2px solid var(--tint); }
.prices tbody tr:last-child > * { border-bottom: 0; }
.prices thead th { font: 900 .6875rem/1.2 var(--sans); letter-spacing: .12em; text-transform: uppercase; background: var(--tint); }
.prices tbody th { font-weight: 900; }
@media (min-width: 960px) { .value-grid { grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; } }

/* Reason 6: editions */
.season { font-weight: 700; color: #fff; }
.edition { display: flex; flex-direction: column; align-items: flex-start; }
.edition .buy-actions, .edition .soon { margin-top: auto !important; }
.edition .buy-actions { width: 100%; }
.ed-price { font: 400 1.5rem/1 var(--display); letter-spacing: .04em; color: #fff; margin: 0 0 8px !important; }
.price::before { content: ' \00b7  '; white-space: pre; }
.price:empty::before { content: none; }

/* Swipe controls (phones) and the sticky buy bar (phones) */
.swipe-ctrl, .buybar, .stage-kicker, .narrow { display: none; }
.round:disabled { opacity: .35; cursor: default; box-shadow: none; transform: none; }

/* ---------- Footer and 404 ---------- */
.footer { background: var(--ink); color: var(--cream); --focus: #fff; padding: 44px 0 36px; }
.footer-row { display: grid; gap: 14px; margin-bottom: 22px; }
.footer-brand { font: 400 2rem/1 var(--display); letter-spacing: .02em; text-transform: uppercase; }
.footer-brand b { font-weight: 400; color: var(--teal-mid); }
.footer p { margin: 0; }
.footer .links { display: flex; flex-wrap: wrap; gap: 0 20px; }
.footer .links a { display: inline-flex; align-items: center; min-height: 44px; padding: 4px 0; font: 700 .8125rem/1 var(--sans); letter-spacing: .1em; text-transform: uppercase; }
.footer small { display: block; color: #c3ccc8; font-size: .875rem; line-height: 1.6; max-width: 70em; }
@media (min-width: 900px) { .footer-row { grid-template-columns: auto 1fr; align-items: center; column-gap: 32px; } .footer .links { grid-column: 1 / -1; } }
.lost { min-height: 100vh; display: grid; place-items: center; background: var(--teal); color: var(--cream); --focus: #fff; padding: 40px 0; }
.lost h1 { font-size: clamp(3.4rem, 13vw, 7rem); color: #fff; margin-bottom: .2em; text-transform: uppercase; }
.lost p { font-size: 1.1875rem; max-width: 30em; }

/* =====================================================================
   MOTION (only when motion.js has added html.motion; never under reduced motion)
   ===================================================================== */
.motion .reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: calc(var(--d, 0) * 80ms); }
.motion .reveal.in { opacity: 1; transform: none; }
.motion .card.reveal { transform: rotate(var(--rot, 0deg)) translateY(26px); }
.motion .card.reveal.in { transform: rotate(var(--rot, 0deg)); }

/* Hero entrance */
/* Transform only: hero text is never transparent, so it shows even if an animation is slow or never runs. */
@keyframes rise { from { transform: translateY(14px); } to { transform: none; } }
@keyframes slam { from { transform: translateY(-18%) scaleY(1.12); } to { transform: none; } }
@keyframes thump { 0% { opacity: 0; transform: rotate(-9deg) scale(2.6); } 60% { opacity: 1; } 100% { opacity: 1; transform: rotate(-9deg) scale(1); } }
.motion .hero h1 .l1, .motion .hero h1 .l2 { animation: slam .5s var(--ease) both; }
.motion .hero h1 .l2 { animation-delay: .1s; }
.motion .hero .kicker, .motion .hero .sub, .motion .hero .lead, .motion .hero .cta-row, .motion .hero .ticks { animation: rise .5s var(--ease) both; }
.motion .stamp-files { animation: thump .4s var(--thump) both; animation-delay: 1s; }
.motion .hl.armed .ev:not(.lit) { background: var(--tint); border-color: var(--ink); }
.motion .hl.writing .ev, .motion .hl.found .ev { transition: background .35s, border-color .35s, transform .45s var(--thump); }
.motion .hl .ev.lit { transform: scale(1.08); }
.motion .hl.armed .ev:not(.lit) .g path { stroke: var(--graphite); }
.motion .hl.writing .hl-glass, .motion .hl.found .hl-glass { transition: opacity .3s, transform .6s var(--thump); }
.motion .hl.armed:not(.found) .hl-glass { opacity: 0; transform: translate(26%, -30%) scale(1.5) rotate(18deg); }
.motion .hl.found ~ .scrawl { transition: opacity .6s; }
.motion .hl.armed:not(.found) ~ .scrawl { opacity: 0; }

/* Story: pinned scroll story */
@media (min-height: 600px) and (min-width: 768px) {
  .motion .story { height: 440vh; padding: 0; }
  .motion .story-pin { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; padding-top: var(--header); }
  .motion .story-inner { height: 100%; display: flex; flex-direction: column; padding-block: clamp(14px, 3vh, 40px) clamp(10px, 2vh, 24px); }
  .motion .story-head { margin-bottom: 0; flex: none; align-items: center; }
  .motion .story-head h2 { font-size: clamp(1.5rem, 3.4vw, 2.4rem); color: var(--tint); max-width: 16em; }
  .motion .beats { position: relative; flex: 1; min-height: 0; display: block; }
  .motion .beat { position: absolute; inset: 0; align-content: center; opacity: 0; visibility: hidden; transform: translateY(40px); transition: opacity .45s var(--ease), transform .6s var(--ease), visibility 0s .45s; }
  .motion .beat.on { opacity: 1; visibility: visible; transform: none; transition-delay: .12s, .12s, 0s; }
  .motion .beat.past { transform: translateY(-40px); }
  .motion .beat-art { min-height: 0; }
  .motion .beat-dots { display: flex; gap: 8px; flex: none; justify-content: center; }
  .motion .beat-dots i { width: 34px; height: 6px; border-radius: 3px; background: var(--teal-deep); transition: background .3s; }
  .motion .beat-dots i.on { background: var(--cream); }
  .motion .count strong.ticking { animation: tickdown .2s var(--ease); }
  @keyframes tickdown { from { transform: translateY(-28%); opacity: .45; } to { transform: none; opacity: 1; } }

  .motion .beat .notecard { transform: translateY(-70px) rotate(-14deg); opacity: 0; transition: transform .7s var(--thump) .25s, opacity .3s .25s; }
  .motion .beat.on .notecard { transform: rotate(-3deg); opacity: 1; }
  .motion .beat .cabinet i { transform: translateY(26px) scale(.7); opacity: 0; transition: transform .45s var(--thump), opacity .25s; }
  .motion .beat.on .cabinet i { transform: none; opacity: 1; }
  .motion .beat .scrap { transform: none; transition: transform .9s cubic-bezier(.5, 0, .7, .4) .95s; }
  .motion .beat.on .scrap { transform: translate(18px, 34px) rotate(13deg); }
  .motion .beat .snips { transform: translate(-330px, -64px) rotate(-180deg); opacity: 0; transition: transform .8s var(--ease) .25s, opacity .2s .25s; }
  .motion .beat.on .snips { transform: rotate(-150deg); opacity: 1; }
  .motion .beat .stamp-claim { transform: rotate(-14deg) scale(2.8); opacity: 0; transition: transform .3s var(--thump) .6s, opacity .1s .6s; }
  .motion .beat.on .stamp-claim { transform: rotate(-14deg); opacity: 1; }
  .motion .beat .leaf { transform: rotate(-24deg); transition: transform 1.1s var(--thump) .2s; }
  .motion .beat.on .leaf { transform: rotate(3deg); }
}
@media (min-height: 600px) and (min-width: 768px) and (max-width: 819px) {
  .motion .story-head h2 { display: none; }
  .motion .story-head { justify-content: center; }
  .motion .beat { gap: 3vh; }
  .motion .beat h3 { font-size: clamp(2rem, 9.5vw, 3rem); }
  .motion .beat-copy p { font-size: 1.0625rem; line-height: 1.5; margin-bottom: 0; }
  .motion .beat-cta { margin-top: 1em; }
  .motion .cabinet i { height: 34px; font-size: 1.05rem; }
  .motion .cabinet { gap: 14px 7px; width: min(100%, 290px); }
  .motion .leaf { width: 150px; } .motion .leaf strong { font-size: 3.6rem; padding-top: 8px; } .motion .leaf small { padding: 9px 6px; } .motion .leaf span { padding-bottom: 12px; }
  .motion .notecard { padding: 28px 24px 14px; } .motion .notecard p { font-size: 1.45rem; }
  .motion .claim { padding: 16px 18px 18px; } .motion .claim p { font-size: .9375rem; }
}

@media (min-height: 600px) and (max-height: 700px) and (min-width: 768px) and (max-width: 819px) {
  .motion .story-head .kicker { display: none; }
  .motion .count { padding: 5px 12px 4px 8px; } .motion .count-clock { width: 40px; height: 40px; } .motion .count strong { font-size: 2rem; }
  .motion .beat { gap: 2vh; }
  .motion .beat h3 { font-size: clamp(1.8rem, 8.4vw, 2.4rem); }
  .motion .beat-copy p { font-size: 1rem; line-height: 1.45; }
  .motion .cabinet i { height: 27px; font-size: .95rem; } .motion .cabinet { gap: 13px 7px; width: min(100%, 250px); }
  .motion .leaf { width: 124px; } .motion .leaf strong { font-size: 2.7rem; padding: 6px 0 4px; } .motion .leaf span { display: none; }
  .motion .notecard p { font-size: 1.3rem; }
  .motion .how-stage { --t: clamp(30px, 4.9vh, 40px); }
  .motion .cc-label { display: none; }
  .motion .steps { min-height: 5.9em; }
  .motion .how-copy h2 { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
}

/* How it works: pinned demonstration */
.motion .how-stage .lrow.pencil b, .motion .how-stage .lrow em, .motion .cc-boxes b, .motion .tick, .motion .stamp-closed { transition: transform .5s var(--thump), opacity .25s; }
.motion .how-stage .lrow.pencil span:nth-child(2) b { transition-delay: .07s; } .motion .how-stage .lrow.pencil span:nth-child(3) b { transition-delay: .14s; } .motion .how-stage .lrow.pencil span:nth-child(4) b { transition-delay: .21s; }
.motion .how-stage:not(.s1) .r1 b, .motion .how-stage:not(.s2) .r2 b, .motion .how-stage:not(.s3) .r3 b { opacity: 0; transform: translateY(46%) rotate(-10deg); }
.motion .how-stage:not(.s1) .r1 em, .motion .how-stage:not(.s2) .r2 em, .motion .how-stage:not(.s3) .r3 em { opacity: 0; transform: translateY(-50%) translateX(-14px); }
.motion .how-stage .ev { transition: background .35s .2s, border-color .35s .2s; }
.motion .how-stage:not(.s2) .ev { background: var(--tint); border-color: var(--ink); }
.motion .how-stage #how-box { transition: background .3s .35s, border-color .3s .35s; }
.motion .how-stage:not(.s4) #how-box { background: var(--tint); border-color: var(--ink); }
.motion .how-stage #how-box b { transition: transform .8s var(--ease), opacity .2s; }
.motion .how-stage:not(.s4) #how-box b { opacity: 0; transform: translate(var(--fx, 0px), var(--fy, -60px)) scale(1.25); }
.motion .cc-boxes span:nth-child(3) b { transition-delay: .09s; } .motion .cc-boxes span:nth-child(4) b { transition-delay: .18s; } .motion .cc-boxes span:nth-child(5) b { transition-delay: .27s; }
.motion .how-stage:not(.s5) .cc-boxes span:not(:first-child) b { opacity: 0; transform: translateY(-70px) rotate(12deg); }
.motion .how-stage:not(.s6) .cc-theories .right { background: var(--paper); color: var(--ink); }
.motion .how-stage:not(.s6) .tick { opacity: 0; transform: scale(0); }
.motion .how-stage .stamp-closed { transition: transform .3s var(--thump), opacity .1s; }
.motion .how-stage:not(.s7) .stamp-closed { opacity: 0; transform: rotate(-12deg) scale(2.8); }
.motion .how-stage.s7 .casecard { animation: jolt .3s .08s; }
@keyframes jolt { 30% { transform: translate(2px, 4px) rotate(.6deg); } 60% { transform: translate(-1px, -1px); } }
@media (min-height: 600px) and (min-width: 768px) {
  .motion .how { height: 380vh; padding: 0; }
  .motion .how-pin { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; padding-top: var(--header); display: grid; align-items: center; }
  .motion .how-copy h2 { font-size: clamp(2rem, min(4.6vw, 7.4vh), 4.2rem); }
  .motion .how-stage { --t: clamp(36px, 6vh, 68px); gap: clamp(10px, 2.4vh, 30px); }
  .motion .steps { gap: clamp(8px, 1.8vh, 18px); }
  .motion .steps li { transition: opacity .35s; }
  .motion .steps li:not(.on) { opacity: .3; }
}
@media (min-height: 600px) and (min-width: 768px) and (max-width: 979px) {
  .motion .how-grid { gap: clamp(8px, 2vh, 22px); }
  .motion .how-copy .kicker { display: none; }
  .motion .how-copy h2 { font-size: clamp(1.6rem, 6.6vw, 2.6rem); margin-bottom: .45em; }
  .motion .steps { display: block; position: relative; min-height: 6.6em; }
  .motion .steps li { position: absolute; inset: 0 0 auto; }
  .motion .steps li:not(.on) { opacity: 0; visibility: hidden; }
  .motion .steps h3 { font-size: 1.5rem; margin-top: .1em; }
  .motion .steps p { font-size: .9375rem; line-height: 1.4; }
  .motion .how-stage { gap: clamp(8px, 1.8vh, 20px); --t: clamp(32px, 5.6vh, 50px); }
  .motion .how-ladder { padding: calc(var(--t) * .36) 0; }
  .motion .how-ladder .tag { display: none; }
  .motion .casecard { padding: 12px 12px 14px; }
  .motion .casecard .tag { display: none; }
  .motion .cc-q { font-size: 1.35rem; margin-bottom: 8px; max-width: 54%; }
  .motion .cc-theories { margin-bottom: 10px; gap: 6px; }
  .motion .cc-theories li { font-size: .75rem; padding-left: 30px; min-height: 40px; }
  .motion .cc-boxes { grid-template-columns: repeat(5, 38px); } .motion .cc-boxes span { height: 38px; font-size: 1.25rem; }
}

/* Playable ladder feedback */
@keyframes flip { 0% { transform: rotateX(0); } 50% { transform: rotateX(90deg); } 100% { transform: rotateX(0); } }
@keyframes shake { 20% { transform: translateX(-6px); } 40% { transform: translateX(6px); } 60% { transform: translateX(-4px); } 80% { transform: translateX(3px); } }
@keyframes pop { 40% { transform: scale(1.14); } }
.motion .demo .row.ok .tiles > i { animation: flip .5s var(--ease) both; }
.motion .demo .row.ok .tiles > i:nth-of-type(2) { animation-delay: .08s; } .motion .demo .row.ok .tiles > i:nth-of-type(3) { animation-delay: .16s; } .motion .demo .row.ok .tiles > i:nth-of-type(4) { animation-delay: .24s; }
.motion .demo .row.bad .tiles { animation: shake .4s; }
.motion .demo .tiles > i.typed { animation: pop .18s; }

/* Evidence board, levels */
.motion .card .pin { transition: transform .45s var(--thump), opacity .15s; }
.motion .card .pin:not(.in) { opacity: 0; transform: translateY(-34px) scale(1.7); }
.motion .lv.reveal { transform: translateY(70px); }
.motion .lv.reveal.in { transform: none; }

/* =====================================================================
   PHONES (under 768px): every section, or each panel of a long section, is one full screen.
   A panel is as tall as the space between the sticky header and the sticky buy bar. It uses min-height,
   never a fixed height, so larger text simply makes a panel taller: nothing is ever clipped.
   ===================================================================== */
@media (max-width: 767px) {
  :root { --header: 54px; --bar: 62px; --gutter: 16px; --panel: calc(100vh - var(--header) - var(--bar)); }
  html { scroll-padding-top: var(--header); scroll-padding-bottom: var(--bar); }
  body { font-size: 1rem; line-height: 1.5; padding-bottom: calc(var(--bar) + env(safe-area-inset-bottom, 0px)); }
  .nav { height: calc(var(--header) - var(--line)); }
  h2 { font-size: clamp(1.75rem, 8.4vw, 2.5rem); }
  h3 { font-size: 1.5rem; }
  .kicker { font-size: .6875rem; letter-spacing: .12em; margin-bottom: .6em; }
  .lead { font-size: 1rem; }
  h2 + .lead { margin-top: .7em; }
  .section { padding: 0; }
  .section-head { margin-bottom: 14px; }
  .section-head > p:last-child { font-size: 1rem; margin-top: .6em; }
  .panel { min-height: var(--panel); display: flex; flex-direction: column; justify-content: center; padding-block: 18px; scroll-margin-top: var(--header); }
  .can-grid.panel { display: grid; align-content: center; }
  .opt { display: none; }
  .narrow { display: inline; }

  /* Sticky buy bar */
  .buybar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: var(--bar); padding: 6px var(--gutter) calc(6px + env(safe-area-inset-bottom, 0px)); background: var(--cream); border-top: var(--line) solid var(--ink); box-shadow: 0 -8px 20px rgba(20, 24, 28, .16); transition: transform .25s var(--ease), visibility 0s; }
  .buybar.away { transform: translateY(110%); visibility: hidden; transition: transform .25s var(--ease), visibility 0s .25s; }
  .buybar p { margin: 0; min-width: 0; font-size: .75rem; line-height: 1.3; color: var(--muted); white-space: nowrap; }
  .buybar p { overflow: hidden; }
  .buybar strong { display: block; overflow: hidden; text-overflow: ellipsis; font: 400 clamp(.9375rem, 4.3vw, 1.1875rem)/1 var(--display); letter-spacing: .02em; text-transform: uppercase; color: var(--ink); white-space: nowrap; }
  .buybar .button { flex: none; }

  /* Swipe panels */
  [data-swipe] { display: flex; gap: 16px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  [data-swipe]::-webkit-scrollbar { display: none; }
  [data-swipe] > li, [data-swipe] > article { flex: 0 0 100%; scroll-snap-align: center; }
  .motion [data-swipe] .reveal { opacity: 1; transition: none; }
  .swipe-ctrl { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 10px; }
  .swipe-ctrl p { margin: 0; min-width: 4.4em; text-align: center; font: 400 1.25rem/1 var(--display); letter-spacing: .06em; text-transform: uppercase; }
  .round.sm { width: 44px; height: 44px; font-size: 1.15rem; }
  .story .round { background: var(--cream); color: var(--ink); }

  /* Hero */
  .hero.panel { padding-block: 0; justify-content: space-between; }
  .hero-grid { padding-block: 14px; }
  .hero .kicker { margin-bottom: .5em; }
  .hero h1 { margin-bottom: 14px; }
  .hero h1 .sub { margin-top: .6rem; font-size: .9375rem; }
  .hero .lead { font-size: .9375rem; line-height: 1.45; }
  .hero-grid { gap: 0 16px; }
  .cta-row { flex-wrap: nowrap; gap: 10px; margin-top: 16px; }
  .cta-row .button [aria-hidden] { display: none; }
  .cta-row .button { flex: 1 1 0; min-width: 0; min-height: 48px; padding: 8px 6px; font-size: .8125rem; letter-spacing: .02em; text-align: center; }
  .reassure { margin-top: 12px; font-size: .6875rem; letter-spacing: .05em; text-align: center; }
  .band-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; padding-block: 8px; font-size: .625rem; letter-spacing: .05em; text-align: center; }
  .band-row li { flex-direction: column; align-items: center; gap: 2px; }
  .band-row strong { font-size: 1.5rem; }
  .band-wide { display: none !important; }

  /* Reasons 1 and 3: a real page beside the proof points */
  .why-grid, .can-grid { grid-template-columns: 30% 1fr; grid-template-areas: "k k" "h h" "l l" "s p"; gap: 0 16px; align-items: center; }
  .why-copy, .can-copy { display: contents; }
  .why-grid .kicker, .can-grid .kicker { grid-area: k; }
  .why-grid h2, .can-grid h2 { grid-area: h; }
  .why-grid .lead, .can-grid .lead { grid-area: l; margin: .7em 0 1.1em; }
  .why-grid .proofs, .can-grid .proofs { grid-area: p; margin: 0; gap: 10px; }
  .page-shot { grid-area: s; transform: rotate(-2deg); }
  .page-shot img { border-width: 2px; border-radius: 5px; box-shadow: 3px 3px 0 var(--ink); }
  .page-shot figcaption, .why-for { display: none; }
  .proofs li { padding-left: 30px; }
  .proofs li::before { width: 20px; height: 20px; border-radius: 5px; }
  .proofs li::after { left: 7px; top: 4px; width: 6px; height: 11px; }
  .proofs strong { font-size: 1.25rem; }
  .proofs span { display: block; font-size: .875rem; line-height: 1.35; }

  /* The story */
  .story { padding: 18px 0; }
  .story-head { margin-bottom: 12px; }
  .story-head h2 { font-size: 1.5rem; color: var(--tint); }
  .count { display: none; }
  .beat { gap: 14px; align-content: center; }
  .beat h3 { font-size: clamp(1.75rem, 8.4vw, 2.4rem); }
  .beat-copy p { font-size: 1rem; line-height: 1.45; margin-bottom: 0; }
  .beat-cta { margin-top: 12px !important; }
  .beat-art { min-height: 0; padding: 10px 12px 14px; }
  .cabinet { gap: 13px 7px; width: min(100%, 250px); }
  .cabinet i { height: 27px; font-size: .95rem; }
  .leaf { width: 124px; } .leaf strong { font-size: 2.7rem; padding: 6px 0 4px; } .leaf small { padding: 9px 6px; } .leaf span { display: none; }
  .notecard { padding: 26px 22px 12px; } .notecard p { font-size: 1.3rem; }
  .claim { padding: 14px 16px 16px; } .claim p { font-size: .9375rem; } .stamp-claim { font-size: 1.5rem; right: -8px; bottom: 22px; }
  .strip { padding: 16px 18px 20px; } .strip p { font-size: 1rem; line-height: 1.75; }

  /* Six mysteries */
  .board { padding: 14px 8px 10px 2px; }
  .string { display: none; }
  .card, .card:nth-child(odd) { width: auto; transform: none; }
  .card h3 { font-size: 1.75rem; }
  .motion .card .pin, .motion .card .pin:not(.in) { opacity: 1; transform: none; }
  .board-note { margin-top: 10px; font-size: 1.0625rem; line-height: 1.3; }

  /* Reason 2: how it works, then the worked example */
  .how { padding: 0; }
  .how-grid { gap: 0; }
  .how-copy h2 { margin-bottom: .5em; }
  .steps { gap: 12px; }
  .steps li { grid-template-columns: 36px 1fr; gap: 12px; }
  .steps .num { width: 36px; height: 36px; font-size: 1.4rem; }
  .steps h3 { font-size: 1.375rem; margin: .15em 0; }
  .steps p { font-size: .9375rem; line-height: 1.4; }
  .stage-kicker { display: block; text-align: center; margin-bottom: 1em; }
  .how-stage { gap: 14px; --t: clamp(32px, 5.4vh, 44px); }
  .how-ladder { padding: calc(var(--t) * .4) 0; }
  .how-ladder .tag, .casecard .tag { display: none; }
  .casecard { padding: 12px 12px 14px; }
  .cc-q { font-size: 1.35rem; margin-bottom: 8px; max-width: 50%; }
  .stamp-closed { font-size: 1.0625rem; right: 4px; top: 6px; }
  .cc-theories { margin-bottom: 10px; gap: 6px; }
  .cc-theories li { font-size: .75rem; padding-left: 30px; min-height: 40px; }
  .cc-boxes { grid-template-columns: repeat(5, 38px); } .cc-boxes span { height: 38px; font-size: 1.25rem; }

  /* The playable ladder */
  .puzzle-grid { gap: 12px; }
  .puzzle h2 { margin-bottom: 0; }
  .puzzle-how, .exhibit, .puzzle-fine, .demo label small { display: none; }
  .demo { --t: clamp(34px, 6vh, 46px); padding: 12px; gap: 6px; border-radius: 16px; box-shadow: 5px 5px 0 var(--teal); }
  .demo .row { grid-template-columns: max-content 1fr; align-items: center; gap: 10px; }
  .demo label { order: 0; font-size: .8125rem; line-height: 1.25; gap: 2px 6px; align-items: center; }
  .demo label > b { width: 20px; height: 20px; font-size: .6875rem; transform: none; }
  .demo .row.fixed em { font-size: 1rem; }
  .demo-actions { flex-wrap: nowrap; gap: 4px; margin-top: 4px; }
  .demo-actions .button { flex: 1; min-height: 44px; padding: 8px 12px; font-size: .875rem; white-space: nowrap; }
  .demo-actions .link { white-space: nowrap; }
  #demo-status { min-height: 3.5em; padding: 8px 10px; font-size: .875rem; line-height: 1.3; }
  .stamp-solved { font-size: 1.6rem; top: 8px; }

  /* Call-to-action bands */
  .cta-band { padding: 18px 0; }
  .cta-band-row { gap: 12px; }
  .cta-band p { font-size: 1rem; flex-basis: 100%; }
  .cta-band strong { font-size: 1.75rem; }
  .cta-band .button { width: 100%; }

  /* Reason 3: levels */
  .levels-h { margin: 0 0 12px; font-size: 1.625rem; }
  .levels { gap: 10px; }
  .lv { flex-direction: row; box-shadow: 4px 4px 0 var(--ink); }
  .lv-top { flex: 0 0 120px; padding: 10px 12px; border-bottom: 0; border-right: var(--line) solid var(--ink); }
  .lv-top h4 { font-size: 1.625rem; }
  .dots { margin-bottom: 6px; } .dots i { width: 14px; height: 8px; border-radius: 3px; }
  .lv-cases { font-size: .625rem; letter-spacing: .05em; white-space: nowrap; }
  .lv > p { padding: 10px 12px; font-size: .875rem; line-height: 1.35; align-self: center; }
  .levels-note { margin-top: 12px; font-size: .9375rem; }

  /* Reason 4: comparison */
  .compare-grid { gap: 14px; }
  .compare th, .compare td { padding: 8px 2px; }
  .compare thead td { width: 34%; }
  .compare thead th { padding-inline: 1px; }
  .compare thead th { font-size: .625rem; line-height: 1.25; letter-spacing: 0; text-transform: none; font-weight: 700; overflow-wrap: anywhere; }
  .compare tbody th { padding-left: 10px; font-size: .8125rem; line-height: 1.25; }
  .compare td.v { font-size: .6875rem; }
  .compare-note { margin-top: 8px; font-size: .75rem; }

  /* Reason 5: value, then the pages */
  .value-grid { gap: 14px; }
  .value-time { margin-top: .4em; }
  .stats { gap: 8px; }
  .stats li { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-width: 2px; border-radius: 10px; }
  .stats strong { font-size: 2.1rem; }
  .stats span { font-size: .625rem; letter-spacing: .06em; }
  .prices { margin-top: 10px; font-size: .8125rem; }
  .prices th, .prices td { padding: 7px 8px; }
  .prices thead th { font-size: .625rem; letter-spacing: .06em; }
  .inside-grid { gap: 6px; }
  .inside-copy h2 { margin-bottom: .2em; }
  .inside-lead, .deck-tip { display: none; }
  .deck-ctrl { margin-top: 8px; justify-content: center; gap: 12px; }
  .deck-ctrl p { font-size: 1.25rem; }
  .deck-ctrl .round { width: 44px; height: 44px; font-size: 1.15rem; }
  .js .deck { width: min(100% - 44px, 400px, (var(--panel) - 206px) * .597); margin-top: 10px; }
  .js .deck figcaption { font-size: .875rem; padding-top: 10px; }

  /* Reason 6: buy */
  .buy { padding: 18px 0; }
  .buy-grid { gap: 0; }
  .buy-art, .ed-desc, .buy-fine .spec { display: none; }
  .buy-lead, .season { font-size: .9375rem; margin-bottom: .7em; }
  .prelaunch { padding: 10px 12px; font-size: .875rem; }
  .prelaunch strong { font-size: 1.4rem; }
  .editions { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 12px 0; }
  .buy-copy { min-width: 0; }
  .edition { padding: 12px 10px 14px; }
  .edition h3 { font-size: 1.3rem; }
  .ed-price { font-size: clamp(.9375rem, 4.4vw, 1.15rem); }
  .soon { letter-spacing: .1em; }
  .buy-actions { gap: 8px; }
  .buy-actions .button { width: 100%; min-height: 46px; padding: 6px 4px; font-size: .6875rem; letter-spacing: .01em; box-shadow: 3px 3px 0 var(--ink); flex-direction: column; gap: 2px; text-align: center; }
  .buy-actions .price::before { content: none; }
  .buy-fine { font-size: .75rem; margin: 0; }

  /* Short answer, quick facts, explainer, FAQ */
  .facts-grid { gap: 0; }
  .facts-copy p { margin-bottom: 0; }
  .facts-table h3 { margin-bottom: .5em; }
  .facts th, .facts td { padding: 7px 10px; font-size: .875rem; line-height: 1.35; }
  .facts th { width: 30%; font-size: .6875rem; letter-spacing: .05em; line-height: 1.7; }
  .explain { gap: 10px; }
  .explain details { padding: 0 14px; box-shadow: 4px 4px 0 var(--ink); }
  summary { font-size: 1.25rem; padding: 14px 44px 11px 0; }
  summary::after { width: 32px; height: 32px; margin-top: -16px; }
  details p { margin-bottom: 16px; }
  .faq-grid { gap: 0; }
  .faq-sec h2 { font-size: clamp(1.5rem, 7vw, 2.1rem); margin-bottom: .4em; }
  .faq-sub { margin: 2px 0 8px; }
  .footer { padding: 32px 0 28px; }
}
@supports (height: 1svh) {
  @media (max-width: 767px) { :root { --panel: calc(100svh - var(--header) - var(--bar)); } }
}
/* Tall phones: there is room, so bring back the fuller copy and give the pictures more space. */
@media (max-width: 767px) and (min-height: 760px) {
  .panel { padding-block: 24px; }
  .lead .opt, .buy-lead .opt { display: inline; }
  .why-grid { grid-template-areas: "k k" "h h" "l l" "s p" "f f"; }
  .why-grid, .can-grid { grid-template-columns: 36% 1fr; }
  .why-for { display: block; grid-area: f; margin-top: 22px; }
  .puzzle-how { display: block; margin: .6em 0 0; }
  .hero-grid { grid-template-columns: minmax(0, .72fr) minmax(0, 1fr); }
  .hero h1 { margin-bottom: 20px; }
  .cta-row { margin-top: 24px; }
  .reassure { margin-top: 16px; }
  .beat { gap: 22px; }
  .beat-art { zoom: 1.12; }
  .steps { gap: 18px; }
  .levels { gap: 14px; }
  .lv > p { padding-block: 14px; }
  .compare th, .compare td { padding-block: 11px; }
  .stats li { padding-block: 12px; }
  .prices th, .prices td { padding-block: 10px; }
  .facts th, .facts td { padding-block: 10px; }
  summary { padding-block: 17px 14px; }
  .ed-desc { display: block; }
  /* The second and third FAQ groups share one screen. */
  .faq-group.panel ~ .faq-group.panel { min-height: calc(var(--panel) / 2); }
}
/* Short phones: trim decoration before anything useful. */
@media (max-width: 767px) and (max-height: 700px) {
  .beat-art { zoom: .86; }
  .hero .lead { font-size: .875rem; }
  .board-note, .buy-fine { display: none; }
  .compare th, .compare td { padding-block: 5px; }
  .compare tbody th { font-size: .75rem; }
  .compare-grid, .value-grid { gap: 10px; }
  .compare-note { margin-top: 5px; }
  .editions { margin: 8px 0; }
  .buy-lead, .season { margin-bottom: .5em; }
  .stats li { padding: 5px 10px; } .stats strong { font-size: 1.75rem; }
  .prices th, .prices td { padding-block: 5px; }
  .prelaunch { padding-block: 8px; }
  .facts th, .facts td { padding-block: 5px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
