/* All Hands marketing site: landing, about, support, privacy, terms.
 *
 * The look is the game's own: a whiteboard in an aluminium frame, sticky notes
 * with sketched ink glyphs, Bungee block headlines, Permanent Marker accents,
 * the red primary pill and white "magnet" secondary pills. Tokens and shapes
 * mirror src/styles/kit.css and docs/design/*.dc.html.
 *
 * One stylesheet, no frameworks, no external requests: the fonts are
 * self-hosted in /marketing/fonts (SIL OFL, licences beside them) because the
 * server's CSP is 'self'. These pages are served as themselves and must render
 * with the app's JavaScript bundle never loading, so nothing here depends on it.
 *
 * Contrast: body text is ink #1f2937 or grey #4b5563 on the board (>= 7:1);
 * white on the red pill #dc2626 is 4.8:1; marker red #b91c1c on the board is
 * 6:1; decorative scribbles are aria-hidden and deliberately faint.
 */

@font-face { font-family: 'Bungee'; font-style: normal; font-weight: 400; font-display: swap; src: url('/marketing/fonts/bungee-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'Permanent Marker'; font-style: normal; font-weight: 400; font-display: swap; src: url('/marketing/fonts/permanent-marker-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'Nunito'; font-style: normal; font-weight: 700; font-display: swap; src: url('/marketing/fonts/nunito-latin-700-normal.woff2') format('woff2'); }
@font-face { font-family: 'Nunito'; font-style: normal; font-weight: 800; font-display: swap; src: url('/marketing/fonts/nunito-latin-800-normal.woff2') format('woff2'); }

:root {
  color-scheme: light;
  --board: #f7f8fa;
  --frame: #c7cdd4;
  --paper: #ffffff;
  --ink: #1f2937;
  --ink-2: #374151;
  --ink-3: #4b5563;
  --red: #b91c1c;
  --red-2: #dc2626;
  --blue: #1e3a8a;
  --blue-2: #1d4ed8;
  --green: #15803d;
  --n-yellow: #fde047;
  --n-green: #86efac;
  --n-pink: #f9a8d4;
  --n-blue: #93c5fd;
  --n-orange: #fdba74;
  --n-red: #fca5a5;
  --n-lilac: #c4b5fd;
  --dot-amber: #f59e0b;
  --dot-green: #16a34a;
  --dot-blue: #2563eb;
  --dot-red: #dc2626;
  --dot-pink: #db2777;
  --note-shadow: 2px 5px 8px rgb(0 0 0 / 16%);
  --display: 'Bungee', 'Arial Black', Impact, system-ui, sans-serif;
  --hand: 'Permanent Marker', 'Marker Felt', 'Segoe Print', 'Comic Sans MS', cursive;
  --ui: 'Nunito', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --wrap: 74rem;
  --gutter: clamp(1.25rem, 0.6rem + 2.6vw, 3rem);
  --frame-w: 10px;
  --section: clamp(3rem, 2rem + 3.2vw, 5.5rem);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 5rem; }
body {
  margin: 0;
  background: var(--board);
  /* A faint dry-wipe sheen: the board is never perfectly flat. */
  background-image:
    radial-gradient(60rem 30rem at 12% -4%, rgb(255 255 255 / 90%), transparent 70%),
    radial-gradient(50rem 30rem at 100% 40%, rgb(226 232 240 / 55%), transparent 70%);
  color: var(--ink);
  font: 700 1.0625rem/1.6 var(--ui);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
  position: relative;
}
/* The aluminium frame, drawn round the whole page (it scrolls with it, so no border line ever crosses an image). */
body::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 60;
  border: var(--frame-w) solid var(--frame);
  border-radius: 8px;
  box-shadow: inset 0 0 0 2px #e8ecf0, inset 0 0 16px rgb(0 0 0 / 20%);
  pointer-events: none;
}
@media (max-width: 40rem) { :root { --frame-w: 6px; } }

img, svg { max-width: 100%; }
img { height: auto; display: block; }
a { color: var(--blue-2); text-underline-offset: .2em; text-decoration-thickness: 2px; }
a:hover { color: var(--ink); }
:focus-visible { outline: 3px solid var(--blue-2); outline-offset: 3px; border-radius: 4px; }
p { margin: 0; text-wrap: pretty; }
h1, h2, h3 { margin: 0; font-family: var(--display); font-weight: 400; line-height: 1.08; text-wrap: balance; letter-spacing: .005em; }
.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.skip { position: absolute; left: var(--gutter); top: -5rem; z-index: 80; padding: .75rem 1rem; background: var(--paper); color: var(--ink); border: 2px solid var(--ink); border-radius: 999px; font-family: var(--display); }
.skip:focus { top: 1rem; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* ---------- header ---------- */
.site-header { position: relative; z-index: 20; padding-top: calc(var(--frame-w) + .35rem); }
.bar { display: flex; align-items: center; justify-content: space-between; gap: .75rem; min-height: 4.25rem; }
.brand { display: inline-flex; align-items: center; gap: .6rem; min-height: 44px; color: var(--ink); text-decoration: none; font-family: var(--display); font-size: 1.25rem; letter-spacing: .02em; text-transform: uppercase; }
.brand:hover { color: var(--ink); }
.brand img { width: 40px; height: 40px; border-radius: 11px; border: 2px solid var(--ink); box-shadow: 0 3px 0 var(--ink); }
.site-header ul { display: flex; align-items: center; gap: .5rem; list-style: none; margin: 0; padding: 0; }
.nav-link { display: inline-flex; align-items: center; min-height: 44px; padding: 0 .65rem; font-family: var(--hand); font-size: 1.05rem; color: var(--blue-2); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }
.nav-link:hover { color: var(--ink); }
@media (max-width: 38rem) { .nav-link { display: none; } }

/* ---------- buttons: red block-letter pill, white magnet pills ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  min-height: 48px; padding: 0 1.4rem; border-radius: 999px;
  font-family: var(--display); font-weight: 400; text-transform: uppercase; text-decoration: none; white-space: nowrap;
  cursor: pointer; transition: transform 80ms, box-shadow 80ms;
}
.btn-primary { padding: 0 1.75rem; border: 3px solid var(--ink); background: var(--red-2); color: #fff; font-size: 1rem; letter-spacing: .02em; box-shadow: 0 5px 0 var(--ink); }
.btn-primary:hover { color: #fff; transform: translateY(1px); box-shadow: 0 4px 0 var(--ink); }
.btn-primary:active { transform: translateY(4px); box-shadow: 0 1px 0 var(--ink); }
.btn-lg { min-height: 60px; padding: 0 2.25rem; font-size: clamp(1.1rem, .95rem + .8vw, 1.5rem); letter-spacing: .04em; }
.btn-magnet { --dot: var(--dot-amber); border: 2px solid var(--ink); background: var(--paper); color: var(--ink); font-size: .8rem; box-shadow: 0 3px 0 var(--ink); }
.btn-magnet::before { content: ''; flex: none; width: 10px; height: 10px; border-radius: 50%; background: var(--dot); }
.btn-magnet:hover { color: var(--ink); transform: translateY(1px); box-shadow: 0 2px 0 var(--ink); }
.btn-magnet:active { transform: translateY(2px); box-shadow: 0 1px 0 var(--ink); }
.btn-magnet.dot-blue { --dot: var(--dot-blue); }
.btn-magnet.dot-green { --dot: var(--dot-green); }
.btn-small { min-height: 44px; padding: 0 1.1rem; font-size: .8rem; }
.btn-primary.btn-small { padding: 0 1.2rem; border-width: 2px; box-shadow: 0 4px 0 var(--ink); font-size: .8rem; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.1rem; }

/* ---------- hand-lettering ---------- */
.kicker { display: inline-block; margin: 0 0 .9rem; font-family: var(--hand); font-weight: 400; font-size: clamp(1.1rem, 1rem + .6vw, 1.45rem); color: var(--red); transform: rotate(-2deg); transform-origin: left center; }
.hand { font-family: var(--hand); font-weight: 400; }
.mk-blue { color: var(--blue); }
.mk-red { color: var(--red); }

/* ---------- hero ---------- */
.hero { position: relative; margin-top: calc(-4.25rem - var(--frame-w) - .35rem); padding-top: calc(4.25rem + var(--frame-w) + .35rem); overflow: clip; }
.hero-grid { position: relative; display: grid; gap: clamp(2rem, 4vw, 4rem); align-items: center; padding-block: clamp(1.75rem, 1rem + 3vw, 4.5rem) clamp(3rem, 2rem + 4vw, 6rem); }
@media (min-width: 62rem) { .hero-grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); } }
.hero h1 { font-size: clamp(1.9rem, .9rem + 3.6vw, 3.6rem); line-height: 1.08; text-transform: uppercase; }
.hero h1 .u { position: relative; display: inline-block; color: var(--blue); }
.hero h1 .u svg { position: absolute; left: -2%; bottom: -.22em; width: 104%; height: .32em; overflow: visible; }
.lede { margin-top: 1.4rem; max-width: 34rem; font-size: clamp(1.1rem, 1rem + .5vw, 1.35rem); color: var(--ink-2); font-weight: 700; }
.hero .actions { margin-top: 2rem; }
.hero .soon { margin-top: 1.4rem; display: flex; align-items: center; flex-wrap: wrap; gap: .5rem 1rem; font-size: .98rem; color: var(--ink-3); }
.hero .soon .hand { color: var(--red); font-size: 1.15rem; }
.hero-art { position: relative; padding: 1rem 0 2.5rem; }
.hero-art .shot { transform: rotate(1.6deg); }
.crop { aspect-ratio: 16 / 10; object-fit: cover; object-position: 50% 92%; }
.hero-art .note-float { position: absolute; z-index: 3; }
.note-float.a { right: -.4rem; bottom: .2rem; width: min(13rem, 46%); transform: rotate(4deg); }
.note-float.b { left: -1.2rem; bottom: -.4rem; width: min(11.5rem, 40%); transform: rotate(-4deg); }
@media (max-width: 40rem) {
  .note-float.a { right: 0; width: 11.5rem; }
  .note-float.b { left: 0; bottom: -.6rem; width: 10rem; }
}

/* faint, animated corporate scribbles (decorative, aria-hidden, CSS only) */
.scribbles { position: absolute; inset: 0; pointer-events: none; z-index: 0; overflow: hidden; }
.scr { position: absolute; font-family: var(--hand); line-height: 1.15; white-space: pre; color: #94a3b8; opacity: .62; }
.scr.s1 { left: 1.5%; top: 18%; font-size: 1rem; transform: rotate(-4deg); color: #7c8ba1; }
.scr.s2 { right: 2%; top: 9%; font-size: 1.05rem; transform: rotate(3deg); }
.scr.s3 { left: 44%; bottom: 3%; font-size: 1rem; transform: rotate(-2deg); }
.scr.s4 { left: 1%; bottom: 8%; font-size: .95rem; transform: rotate(2.5deg); }
.scr-draw { position: absolute; fill: none; stroke: #94a3b8; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; opacity: .7; }
.scr-draw.d1 { right: 4%; bottom: 14%; width: 7rem; }
.scr-draw.d2 { left: 41%; top: 4%; width: 6rem; stroke: #fca5a5; }
@media (max-width: 62rem) { .scr.s1, .scr.s4, .scr-draw.d2 { display: none; } .scr.s3 { left: auto; right: 4%; } }
@media (max-width: 40rem) { .scr.s2, .scr.s3 { font-size: .85rem; opacity: .5; } .scr-draw { display: none; } }

/* ---------- paper shots, taped to the board ---------- */
.shot { position: relative; margin: 0; }
.shot > .frame { position: relative; border: 3px solid var(--ink); border-radius: 6px; background: var(--paper); box-shadow: 6px 8px 0 rgb(31 41 55 / 88%); overflow: hidden; }
.shot img { width: 100%; }
.shot::before, .shot::after {
  content: ''; position: absolute; z-index: 2; top: -.8rem; width: 5.2rem; height: 1.7rem;
  background: rgb(253 224 71 / 78%); border: 1px solid rgb(31 41 55 / 14%); box-shadow: 0 1px 3px rgb(0 0 0 / 14%);
}
.shot::before { left: 9%; transform: rotate(-5deg); }
.shot::after { right: 9%; transform: rotate(4deg); background: rgb(147 197 253 / 78%); }
.shot figcaption { margin-top: 1rem; font-family: var(--hand); font-weight: 400; font-size: 1rem; color: var(--ink-3); }
.shot.portrait { max-width: 24rem; }

/* ---------- by the numbers ---------- */
.stats-band { padding-block: 0 calc(var(--section) * .4); }
.stats { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem 1.1rem; margin: 0; padding: 0; list-style: none; }
.stat { display: grid; justify-items: center; align-content: center; min-width: 8.5rem; padding: .85rem 1.25rem .8rem; border: 2px solid var(--ink); border-radius: 18px; background: var(--paper); box-shadow: 0 4px 0 var(--ink); }
.stat b { font-family: var(--display); font-weight: 400; font-size: 2.1rem; line-height: 1; color: var(--blue); }
.stat span { margin-top: .3rem; font-family: var(--hand); font-size: .98rem; color: var(--ink-2); }
.stat:nth-child(2n) b { color: var(--red); }
@media (max-width: 40rem) { .stat { min-width: calc(50% - .6rem); flex: 1 1 calc(50% - .6rem); } .stats { gap: .8rem; } }

/* ---------- sections ---------- */
.section { padding-block: var(--section); }
.section-head { max-width: 46rem; margin-bottom: clamp(2rem, 4vw, 3.5rem); }
.section-head h2 { font-size: clamp(1.9rem, 1.1rem + 3.2vw, 3.4rem); color: var(--blue); text-transform: uppercase; }
.section-head p { margin-top: 1rem; color: var(--ink-2); font-size: 1.15rem; max-width: 40rem; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center p { margin-inline: auto; }

/* ---------- headline features: a big sticky note beside a taped screenshot ---------- */
.feature { display: grid; gap: clamp(1.75rem, 3vw, 3.5rem); align-items: center; padding-block: clamp(1.5rem, 3vw, 3rem); }
@media (min-width: 60rem) {
  .feature { grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr); }
  .feature:nth-of-type(even) { grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr); }
  .feature:nth-of-type(even) .shot-col { order: -1; }
}
.sticky {
  position: relative; padding: clamp(1.4rem, 1rem + 1.4vw, 2.2rem); border-radius: 3px;
  background: var(--note, var(--n-yellow)); color: var(--ink); box-shadow: var(--note-shadow);
  transform: rotate(var(--tilt, 0deg));
}
.sticky::after { /* the curl where the pad peels */
  content: ''; position: absolute; right: 0; bottom: 0; width: 2.2rem; height: 2.2rem;
  background: linear-gradient(135deg, transparent 50%, rgb(0 0 0 / 10%) 50%, rgb(255 255 255 / 40%) 100%); border-top-left-radius: 8px;
}
.n-yellow { --note: var(--n-yellow); } .n-green { --note: var(--n-green); } .n-pink { --note: var(--n-pink); }
.n-blue { --note: var(--n-blue); } .n-orange { --note: var(--n-orange); } .n-red { --note: var(--n-red); } .n-lilac { --note: var(--n-lilac); }
.feature .sticky { --tilt: -.7deg; }
.feature:nth-of-type(even) .sticky { --tilt: .8deg; }
.f-head { display: flex; align-items: center; gap: 1rem; margin-bottom: 1rem; }
.f-glyph { flex: none; width: 5.2rem; height: 3.3rem; }
.f-glyph svg { width: 100%; height: 100%; display: block; }
.f-num { font-family: var(--hand); font-size: 1.15rem; color: var(--red); transform: rotate(-3deg); }
.sticky h3 { font-size: clamp(1.45rem, 1.1rem + 1.4vw, 2.2rem); text-transform: uppercase; }
.sticky > p { margin-top: .8rem; font-size: 1.08rem; }
.checks { list-style: none; margin: 1.1rem 0 0; padding: 0; display: grid; gap: .55rem; }
.checks li { position: relative; padding-left: 2rem; font-size: 1rem; }
.checks li::before { /* a hand-ticked box */
  content: ''; position: absolute; left: 0; top: .2em; width: 1.15rem; height: 1.15rem; border: 2px solid var(--ink); border-radius: 3px; background: rgb(255 255 255 / 70%);
}
.checks li::after {
  content: ''; position: absolute; left: .32rem; top: .22em; width: .45rem; height: .85rem;
  border: solid var(--red); border-width: 0 3px 3px 0; transform: rotate(40deg) translate(1px, -2px); border-radius: 1px;
}
.shot-col { min-width: 0; }
.shot-pair { display: grid; gap: 1.4rem; }
.shot-pair .shot:nth-child(2) { margin-inline: 8% -2%; transform: rotate(-1.2deg); }
.shot-pair .shot:nth-child(1) { transform: rotate(1.1deg); }
.stage-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: .8rem; margin: 1.6rem 0 0; padding: 0; list-style: none; }
.stage-strip li { border: 2px solid var(--ink); border-radius: 5px; overflow: hidden; background: var(--paper); box-shadow: 3px 4px 0 rgb(31 41 55 / 85%); }

/* ---------- fair by design (a white card with an ink outline, dashed dividers) ---------- */
.fair { display: grid; gap: clamp(1.5rem, 3vw, 3rem); align-items: center; padding: clamp(1.5rem, 1rem + 2vw, 3rem); border: 2px solid var(--ink); border-radius: 18px; background: var(--paper); box-shadow: 0 6px 0 var(--ink); }
@media (min-width: 60rem) { .fair { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); } }
.fair h2 { font-size: clamp(1.7rem, 1.1rem + 2.6vw, 3rem); color: var(--blue); text-transform: uppercase; }
.fair .lead { margin-top: 1rem; font-size: 1.12rem; color: var(--ink-2); }
.fair dl { margin: 1.4rem 0 0; display: grid; }
.fair dl > div { display: grid; grid-template-columns: 8.5rem 1fr; gap: 1rem; padding: .85rem 0; border-top: 2px dashed #cbd2da; }
.fair dt { font-family: var(--hand); font-weight: 400; color: var(--red); font-size: 1.1rem; }
.fair dd { margin: 0; color: var(--ink-2); }
@media (max-width: 34rem) { .fair dl > div { grid-template-columns: 1fr; gap: .15rem; } }

/* ---------- everything else: a wall of small sticky notes ---------- */
.notes { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 14.5rem), 1fr)); gap: 1.6rem 1.4rem; margin: 0; padding: .5rem 0 1rem; list-style: none; }
.note {
  position: relative; display: grid; grid-template-rows: auto auto 1fr; gap: .35rem; padding: 1.1rem 1.1rem 1.25rem; border-radius: 2px;
  background: var(--note, var(--n-yellow)); box-shadow: var(--note-shadow); transform: rotate(var(--tilt, 0deg));
  transition: transform .18s ease, box-shadow .18s ease;
}
.note:hover { transform: rotate(var(--tilt, 0deg)) translateY(-3px); box-shadow: 3px 9px 12px rgb(0 0 0 / 18%); }
.note::before { /* a magnet pin */
  content: ''; position: absolute; top: -.45rem; left: 50%; width: .9rem; height: .9rem; margin-left: -.45rem; border-radius: 50%;
  background: var(--pin, var(--dot-red)); border: 2px solid var(--ink); box-shadow: 0 2px 0 rgb(31 41 55 / 60%);
}
.note .g { width: 3.1rem; height: 2.6rem; }
.note .g svg { width: 100%; height: 100%; }
.note h3 { font-family: var(--hand); font-size: 1.28rem; line-height: 1.1; text-transform: none; letter-spacing: 0; }
.note p { font-size: .94rem; line-height: 1.45; color: var(--ink); }
.notes .note:nth-child(7n+1) { --note: var(--n-yellow); --tilt: -1.4deg; --pin: var(--dot-red); }
.notes .note:nth-child(7n+2) { --note: var(--n-blue); --tilt: 1deg; --pin: var(--dot-amber); }
.notes .note:nth-child(7n+3) { --note: var(--n-pink); --tilt: -.6deg; --pin: var(--dot-blue); }
.notes .note:nth-child(7n+4) { --note: var(--n-green); --tilt: 1.6deg; --pin: var(--dot-red); }
.notes .note:nth-child(7n+5) { --note: var(--n-orange); --tilt: -1.1deg; --pin: var(--dot-green); }
.notes .note:nth-child(7n+6) { --note: var(--n-lilac); --tilt: .7deg; --pin: var(--dot-amber); }
.notes .note:nth-child(7n+7) { --note: var(--n-red); --tilt: -1.8deg; --pin: var(--dot-blue); }

/* ---------- how it starts ---------- */
.steps { display: grid; gap: 1.2rem; margin: 0; padding: 0; list-style: none; counter-reset: step; }
@media (min-width: 52rem) { .steps { grid-template-columns: repeat(3, 1fr); gap: 1.6rem; } }
.steps li { counter-increment: step; position: relative; padding: 1.4rem 1.3rem 1.4rem; border: 2px solid var(--ink); border-radius: 16px; background: var(--paper); box-shadow: 0 5px 0 var(--ink); }
.steps li::before { content: counter(step); display: grid; place-items: center; width: 2.6rem; height: 2.6rem; margin-bottom: .8rem; border-radius: 50%; background: var(--red-2); color: #fff; border: 2px solid var(--ink); font-family: var(--display); font-size: 1.2rem; }
.steps h3 { font-size: 1.15rem; text-transform: uppercase; color: var(--blue); }
.steps p { margin-top: .5rem; color: var(--ink-2); font-size: 1rem; }

/* ---------- FAQ ---------- */
.faq { max-width: 50rem; margin-inline: auto; display: grid; gap: .9rem; }
.faq details { border: 2px solid var(--ink); border-radius: 14px; background: var(--paper); box-shadow: 0 3px 0 var(--ink); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 56px; padding: .6rem 1.2rem; cursor: pointer; list-style: none; font-weight: 800; font-size: 1.05rem; border-radius: 14px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; flex: none; display: grid; place-items: center; width: 2rem; height: 2rem; border-radius: 50%; border: 2px solid var(--ink); font-family: var(--display); font-size: 1.1rem; line-height: 1; }
.faq details[open] summary::after { content: '\2212'; background: var(--n-yellow); }
.faq details p { padding: 0 1.2rem 1.2rem; color: var(--ink-2); border-top: 2px dashed #cbd2da; margin: 0 1.2rem; padding-inline: 0; padding-top: .9rem; }
.faq details[open] p { margin-bottom: 1.1rem; padding-bottom: 0; }

/* ---------- the closing call to action ---------- */
.cta-block { position: relative; text-align: center; padding-block: clamp(3rem, 2rem + 4vw, 6rem); }
.cta-card { position: relative; max-width: 54rem; margin-inline: auto; padding: clamp(2rem, 1.2rem + 3vw, 4rem) clamp(1.25rem, 1rem + 3vw, 3.5rem); border: 3px solid var(--ink); border-radius: 22px; background: var(--paper); box-shadow: 0 8px 0 var(--ink); }
.cta-card h2 { font-size: clamp(1.55rem, .7rem + 4.4vw, 4.2rem); text-transform: uppercase; color: var(--ink); }
.cta-card h2 span { color: var(--red); }
.cta-card p { margin: 1.1rem auto 0; max-width: 34rem; color: var(--ink-2); font-size: 1.12rem; }
.cta-card .actions { justify-content: center; margin-top: 2rem; }
.soon-note { display: inline-flex; align-items: center; gap: .6rem; margin: 1.6rem auto 0; padding: .7rem 1.1rem .7rem 1rem; border-radius: 3px; background: var(--n-yellow); box-shadow: var(--note-shadow); transform: rotate(-1.4deg); font-family: var(--hand); font-size: 1.15rem; color: var(--ink); }
.soon-note svg { width: 2.4rem; height: 2rem; flex: none; }
.cta-card .scr { opacity: .5; }

/* ---------- footer: an aluminium marker tray ---------- */
.site-footer { position: relative; margin-top: 2rem; padding: 2.2rem 0 calc(3.2rem + var(--frame-w)); color: var(--ink-3); font-size: .95rem; }
.site-footer .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .6rem 2rem; }
.site-footer p { font-weight: 700; }
.site-footer ul { display: flex; flex-wrap: wrap; gap: 0 .2rem; list-style: none; margin: 0; padding: 0; }
.site-footer a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 .7rem; color: var(--ink); font-family: var(--hand); font-size: 1.05rem; }
.tray { position: absolute; left: var(--frame-w); right: var(--frame-w); bottom: var(--frame-w); height: 1rem; background: linear-gradient(#eef1f4, #c3cad2 55%, #aab3bd); border-top: 2px solid #8b95a1; border-radius: 0 0 4px 4px; }
.tray::before { /* three markers and an eraser resting on the tray */
  content: ''; position: absolute; left: 7%; bottom: 100%; width: 12.5rem; height: .85rem;
  background:
    linear-gradient(var(--red-2), var(--red-2)) 0 0 / 3.2rem .5rem no-repeat,
    linear-gradient(var(--blue-2), var(--blue-2)) 3.6rem .1rem / 3.2rem .5rem no-repeat,
    linear-gradient(var(--green), var(--green)) 7.2rem 0 / 3.2rem .5rem no-repeat,
    linear-gradient(#e5e7eb, #e5e7eb) 10.8rem 0 / 1.7rem .85rem no-repeat;
  border-radius: 3px; filter: drop-shadow(0 1px 0 rgb(0 0 0 / 35%));
}
@media (max-width: 40rem) { .tray::before { left: 4%; } }

/* ---------- scribble animations: write on, hold, rub out (CSS only) ---------- */
.scr-draw path { stroke-dasharray: 1; stroke-dashoffset: 0; }
@media (prefers-reduced-motion: no-preference) {
  .scr-draw path, .hero h1 .u svg path { stroke-dashoffset: 1; animation: write 16s ease-in-out infinite; }
  .hero h1 .u svg path { animation: write-once 1.1s .6s ease-out forwards; }
  .scr-draw.d2 path { animation-delay: 4s; }
  .scr { animation: ink 18s ease-in-out infinite; }
  .scr.s2 { animation-delay: 3s; } .scr.s3 { animation-delay: 7s; } .scr.s4 { animation-delay: 11s; }
  @keyframes write { 0% { stroke-dashoffset: 1; } 10%, 82% { stroke-dashoffset: 0; } 94%, 100% { stroke-dashoffset: -1; } }
  @keyframes write-once { to { stroke-dashoffset: 0; } }
  @keyframes ink { 0% { opacity: 0; } 8%, 80% { opacity: .62; } 92%, 100% { opacity: 0; } }
  .hero-art .shot, .note-float { animation: pin .7s cubic-bezier(.2, .8, .2, 1) both; }
  .note-float.a { animation-delay: .25s; } .note-float.b { animation-delay: .4s; }
  @keyframes pin { from { opacity: 0; translate: 0 1.2rem; } }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ================= legal and info pages ================= */
.page main.prose, .page .prose { width: min(100% - 2 * var(--gutter), 46rem); margin-inline: auto; padding-block: clamp(1.5rem, 3vw, 3rem) clamp(3rem, 6vw, 5rem); }
.sheet { padding: clamp(1.4rem, 1rem + 2.4vw, 3rem); border: 2px solid var(--ink); border-radius: 18px; background: var(--paper); box-shadow: 0 6px 0 var(--ink); }
.sheet h1 { font-size: clamp(1.9rem, 1.2rem + 3vw, 3rem); color: var(--blue); text-transform: uppercase; }
.sheet h2 { margin: 2.2rem 0 .6rem; padding-top: 1.2rem; border-top: 2px dashed #cbd2da; font-family: var(--display); font-size: clamp(1.05rem, 1rem + .4vw, 1.3rem); color: var(--ink); text-transform: uppercase; letter-spacing: .01em; }
.sheet h1 + .updated + p, .sheet h1 + p { margin-top: 1rem; }
.sheet h2:first-of-type { margin-top: 1.6rem; }
.sheet h3 { margin: 1.4rem 0 .4rem; font-size: 1.05rem; }
.sheet p, .sheet li { color: var(--ink-2); }
.sheet p { margin: .6rem 0; }
.sheet .lede { margin-top: .8rem; font-size: 1.2rem; }
.sheet ul, .sheet ol { margin: .6rem 0; padding-left: 1.4rem; }
.sheet li { margin: .4rem 0; }
.sheet .updated { margin: .6rem 0 0; font-family: var(--hand); color: var(--red); font-size: 1.05rem; }
.sheet .callout { margin: 1.2rem 0; padding: 1rem 1.2rem; border: 2px solid var(--ink); border-radius: 3px; background: var(--n-yellow); box-shadow: var(--note-shadow); transform: rotate(-.4deg); color: var(--ink); }
.sheet .back { margin-top: 2rem; }
.sheet .back a { display: inline-flex; align-items: center; min-height: 44px; font-family: var(--hand); font-weight: 400; font-size: 1.1rem; }
@media print {
  body::after, .tray, .site-header, .skip, .scribbles { display: none; }
  body { background: #fff; }
}

.faq details a { display: inline-block; padding-block: .75rem; }

@media (max-width: 40rem) {
  .hero-art { display: flex; flex-wrap: wrap; gap: 1.4rem 1rem; padding-bottom: 1rem; }
  .hero-art .shot { flex: 0 0 100%; }
  .hero-art .note-float { position: static; flex: 1 1 calc(50% - .5rem); width: auto; }
  .scr.s2 { display: none; }
}

/* Phone beta: two stickies, one per platform. */
.beta-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr)); gap: clamp(1.25rem, 1rem + 2vw, 2.5rem); max-width: 54rem; margin: 2rem auto 0; }
.beta-card { display: flex; flex-direction: column; gap: .9rem; padding: 1.5rem 1.5rem 1.6rem; background: var(--n-yellow); box-shadow: var(--note-shadow); transform: rotate(-1deg); }
.beta-card:nth-child(2) { background: var(--n-green); transform: rotate(1deg); }
.beta-card h3 { font-family: var(--display); font-size: 1.35rem; color: var(--blue); margin: 0; }
.beta-card ol { margin: 0; padding-left: 1.2rem; line-height: 1.6; font-family: var(--ui); color: var(--ink); }
.beta-card ol a { color: var(--blue); }
.beta-card .btn { align-self: flex-start; margin-top: auto; }
.beta-fine { max-width: 54rem; margin: 1.5rem auto 0; text-align: center; font-family: var(--hand); color: var(--ink); opacity: .75; }
.beta-card p { margin: 0; font-family: var(--ui); line-height: 1.6; color: var(--ink); }

.beta-card .beta-sub { font-size: .9rem; opacity: .85; }
.beta-card .beta-sub a { color: var(--blue); }

/* ---- Trailer section (public/marketing/trailer.js) --------------------------------------- */
.reel { padding-block: calc(var(--section) * .55) calc(var(--section) * .5); }
.reel-stage { display: grid; justify-items: center; gap: clamp(1rem, 2.4vw, 1.6rem); }
.reel-head { text-align: center; }
.reel-head h2 { font-size: clamp(1.6rem, 1rem + 2.6vw, 2.8rem); color: var(--blue); text-transform: uppercase; text-wrap: balance; }
.reel-head .kicker { margin-bottom: .4rem; }
.reel-shot { width: min(100% - 2 * var(--gutter), 60rem); transform: rotate(-.6deg); }
.reel-shot > .frame { aspect-ratio: 16 / 9; background: #14275e; }
.reel-video { display: block; width: 100%; height: 100%; object-fit: cover; background: #14275e; }
.reel-sound { position: absolute; right: .75rem; bottom: .75rem; z-index: 3; }
@media (max-width: 40rem) { .reel-sound { right: .5rem; bottom: .5rem; min-height: 36px; padding: 0 .8rem; font-size: .7rem; } }
.reel-chapters ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: .55rem .6rem; }
.reel-chapters button {
  min-height: 44px; padding: .45rem .95rem; border: 0; cursor: pointer; font: 400 1rem/1 var(--hand); color: var(--ink);
  transform: rotate(-1.5deg); transition: transform .35s cubic-bezier(.22, 1, .36, 1), box-shadow .35s;
}
.reel-chapters li:nth-child(even) button { transform: rotate(1.5deg); }
.reel-chapters button:hover, .reel-chapters button.on { transform: rotate(0) translateY(-.3rem) scale(1.06); box-shadow: 3px 9px 12px rgb(0 0 0 / 22%); }
.reel-chapters button.on { outline: 3px solid var(--ink); }
.reel-chapters button:focus-visible { outline: 3px solid var(--blue-2); outline-offset: 2px; }
.reel:not(.is-live) .reel-sound, .reel:not(.is-live) .reel-chapters { display: none; }
@media (max-width: 40rem) { .reel-chapters button { font-size: .9rem; padding: .4rem .7rem; } }
