/* Kobalt: the app's own palette (Kalk Kobalt, src/styles.css) as a poster. The cobalt accent becomes the canvas,
   numbers in JetBrains Mono, headings in Hanken Grotesk. Fonts are served from this site. One committed light look. */
@font-face { font-family: 'Hanken Grotesk'; font-weight: 400; font-display: swap; src: url(fonts/hanken-grotesk-latin-400-normal.woff2) format('woff2'); }
@font-face { font-family: 'Hanken Grotesk'; font-weight: 600; font-display: swap; src: url(fonts/hanken-grotesk-latin-600-normal.woff2) format('woff2'); }
@font-face { font-family: 'Hanken Grotesk'; font-weight: 800; font-display: swap; src: url(fonts/hanken-grotesk-latin-800-normal.woff2) format('woff2'); }
@font-face { font-family: 'JetBrains Mono'; font-weight: 700; font-display: swap; src: url(fonts/jetbrains-mono-latin-700-normal.woff2) format('woff2'); }

:root {
  --bg: #ffffff;
  --bg-soft: #f3f5f8;
  --line: #e4e8ee;
  --text: #121722;
  --muted: #6a7385;
  --faint: #a4abb8;
  --cobalt: #2f55d4;
  --cobalt-hover: #2647b8;
  --cobalt-deep: #1f3a9e;
  --cobalt-mid: #5b79dd;
  --cobalt-pale: #aebef0;
  --cobalt-soft: #eaeffc;
  --ink: #121722;
  --font: 'Hanken Grotesk', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font: 17px/1.6 var(--font); -webkit-font-smoothing: antialiased; overflow-x: clip; }
a { color: var(--cobalt); }
a:hover { color: var(--cobalt-hover); }
h1, h2, h3 { text-wrap: balance; margin: 0; }
code { font-family: var(--mono); font-size: 0.85em; }
img, video { max-width: 100%; }
.small { font-size: 0.85rem; }
.muted { color: var(--muted); }
:focus-visible { outline: 3px solid var(--cobalt-pale); outline-offset: 3px; border-radius: 6px; }

.wrap, .top, footer, main.doc { max-width: 1180px; margin: 0 auto; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }

/* ---------- Header and scroll progress ---------- */
.site-head { position: sticky; top: 0; z-index: 30; color: #fff; background: var(--cobalt-deep); }
.site-head .wrap { display: flex; justify-content: space-between; align-items: center; padding-block: 16px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); font-weight: 800; letter-spacing: -0.01em; text-decoration: none; }
.site-head .brand { color: #fff; }
.head-cta { color: #fff; font-weight: 800; font-size: 15px; text-decoration: none; padding: 9px 16px; border-radius: 12px; border: 1px solid rgba(255,255,255,0.35); transition: background 0.2s, color 0.2s; }
.head-cta:hover { background: #fff; color: var(--cobalt); }
.head-nav { display: flex; gap: 22px; margin-left: auto; margin-right: 22px; }
.head-nav a { color: rgba(255,255,255,0.82); font-weight: 600; font-size: 15px; text-decoration: none; }
.head-nav a:hover { color: #fff; }
@media (max-width: 640px) { .head-nav { display: none; } }
.progress { position: fixed; inset: 0 0 auto; height: 3px; z-index: 40; background: var(--cobalt-pale); transform-origin: left; transform: scaleX(0); display: none; }

/* ---------- Hero: the cobalt poster ---------- */
.hero { position: relative; overflow-x: clip; color: #fff; padding-top: 48px; background: radial-gradient(900px 600px at 100% 0%, var(--cobalt-mid), transparent 60%), radial-gradient(700px 500px at 0% 100%, var(--cobalt-deep), transparent 65%), var(--cobalt); }
.hero::before { content: '1910'; position: absolute; right: -2vw; top: 0; font-family: var(--mono); font-weight: 700; font-size: clamp(9rem, 26vw, 24rem); line-height: 0.8; letter-spacing: -0.06em; color: rgba(255,255,255,0.07); pointer-events: none; }
.hero .wrap { position: relative; }
.kicker { font-family: var(--mono); font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--cobalt-pale); margin: 0; }
.hero h1 { font-size: clamp(2.5rem, 4.9vw, 4.6rem); line-height: 0.96; letter-spacing: -0.05em; font-weight: 800; margin: 18px 0 28px; }
.hero h1 em { font-style: normal; color: var(--cobalt-pale); }
.w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.w > span { display: inline-block; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(32px, 5vw, 64px); align-items: center; padding-bottom: 104px; }
.hero-copy { min-width: 0; }
.hero .lead { font-size: 1.15rem; color: rgba(255,255,255,0.82); max-width: 48ch; margin: 0 0 28px; }
.micro { font-size: 14px; color: rgba(255,255,255,0.72); margin: 14px 0 0; }
.hero-media { margin: 0; position: relative; z-index: 2; min-width: 0; border-radius: 24px; padding: 6px; background: rgba(255,255,255,0.16); box-shadow: 0 50px 100px -40px rgba(12,16,25,0.6); transform-origin: 50% 50%; }
.hero-video, .hero-video img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; border-radius: 19px; background: var(--ink); object-fit: cover; }
.video-toggle { position: absolute; right: 18px; bottom: 18px; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.3); background: rgba(18,23,34,0.6); cursor: pointer; backdrop-filter: blur(6px); }
.video-toggle::before { content: ''; display: block; margin: auto; width: 12px; height: 14px; border-left: 4px solid #fff; border-right: 4px solid #fff; }
.video-toggle[aria-pressed="true"]::before { width: 0; height: 0; border: 0; border-left: 13px solid #fff; border-top: 8px solid transparent; border-bottom: 8px solid transparent; margin-left: 17px; }

/* ---------- Buttons ---------- */
.downloads { display: flex; flex-wrap: wrap; gap: 10px; scroll-margin-top: 96px; }
.button { display: inline-flex; flex-direction: column; justify-content: center; min-height: 56px; padding: 10px 20px; border-radius: 14px; font-weight: 800; text-decoration: none; color: #fff; border: 1px solid rgba(255,255,255,0.35); transition: transform 0.25s var(--ease), background 0.2s, box-shadow 0.25s; }
.button small { font-weight: 400; font-size: 13px; opacity: 0.75; }
.button:hover { color: #fff; background: rgba(255,255,255,0.1); transform: translateY(-2px); }
.button.primary { background: #fff; color: var(--cobalt); border-color: #fff; box-shadow: 0 18px 40px -18px rgba(12,16,25,0.6); }
.button.primary:hover { background: var(--cobalt-soft); color: var(--cobalt-deep); }

/* ---------- Shared section parts ---------- */
.stats { padding-top: 88px; }
main > section:not(.hero):not(.stats):not(.band):not(.final) { padding-top: 112px; }
h2 { font-size: clamp(2rem, 4.4vw, 3.4rem); letter-spacing: -0.04em; line-height: 1.02; font-weight: 800; }
h3 { letter-spacing: -0.02em; }
.section-head { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 32px; align-items: end; margin-bottom: 40px; }
.section-head p { color: var(--muted); margin: 0; }
.rule { height: 2px; background: var(--ink); transform-origin: left; }
.num { font-family: var(--mono); font-variant-numeric: tabular-nums; }

.stats ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.stats li { padding: 28px 24px 8px 0; min-width: 0; }
.stats li + li { padding-left: 24px; border-left: 1px solid var(--line); }
.stats b { display: block; font-family: var(--mono); font-variant-numeric: tabular-nums; font-size: clamp(2.6rem, 6vw, 4.4rem); line-height: 1; letter-spacing: -0.04em; color: var(--cobalt); }
.stats span { color: var(--muted); font-size: 15px; }

.tag { font-family: var(--mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--cobalt); }

/* Features as a tour. Default: a plain list with a screen per feature (also without JavaScript).
   Wide screens with JavaScript (.pin): the screens are pinned on the left and wipe over each other
   while the text scrolls past on the right, like a fixed panel that changes colour. */
.tour-media { display: none; }
.tour-steps { display: grid; gap: clamp(72px, 10vw, 128px); max-width: 1180px; margin: 0 auto; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
.tour-step { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.tour-copy { min-width: 0; }
.tour-num { display: block; font-size: 13px; color: var(--faint); margin-bottom: 18px; }
.tour-copy h3 { font-size: clamp(1.7rem, 3.2vw, 2.6rem); line-height: 1.05; letter-spacing: -0.035em; font-weight: 800; margin: 12px 0 16px; }
.tour-copy > p { color: var(--muted); margin: 0 0 22px; font-size: 1.08rem; }
.points { list-style: none; margin: 0; padding: 18px 0 0; display: grid; gap: 10px; border-top: 1px solid var(--line); }
.points li { position: relative; padding-left: 26px; font-size: 15.5px; }
.points li::before { content: ''; position: absolute; left: 0; top: 0.75em; width: 12px; height: 2px; background: var(--cobalt); }
.tour-inline { position: relative; min-width: 0; margin: 0; padding: clamp(10px, 2vw, 22px); border-radius: 28px; overflow: hidden; background: var(--cobalt); }
.tour-inline img, .tour-frame img { display: block; width: 100%; height: auto; border-radius: 14px; box-shadow: 0 24px 60px -24px rgba(12, 16, 25, 0.6); }
.tour-step:nth-child(3n+2) .tour-inline { background: var(--ink); }
.tour-step:nth-child(3n+3) .tour-inline { background: var(--cobalt-soft); }
.tour-inline.board { padding: 0; }

.pin.tour { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); margin-top: 40px; timeline-scope: --t1, --t2, --t3, --t4, --t5, --t6, --t7; }
.pin .tour-media { display: block; position: sticky; top: 0; height: 100vh; overflow: hidden; }
.pin .tour-shot { position: absolute; inset: 0; display: grid; place-items: center; padding: 104px clamp(32px, 4vw, 64px) 96px; background: radial-gradient(90% 80% at 100% 0%, var(--cobalt-mid), transparent 60%), var(--cobalt); --label: #fff; }
.pin .tour-shot:nth-child(3n+2) { background: radial-gradient(90% 80% at 0% 0%, #2b3550, transparent 60%), var(--ink); }
.pin .tour-shot:nth-child(3n+3) { background: radial-gradient(90% 80% at 100% 100%, #dfe6fb, transparent 60%), var(--cobalt-soft); --label: var(--cobalt-deep); }
.pin .tour-shot + .tour-shot { clip-path: inset(100% 0 0 0); transition: clip-path 0.9s var(--ease); }
.pin .tour-shot.on { clip-path: inset(0 0 0 0); }
.pin .tour-frame { position: relative; margin: 0; width: 100%; max-width: 900px; }
.pin .tour-frame img { max-height: calc(100vh - 260px); width: auto; max-width: 100%; margin: 0 auto; }
.pin .tour-shot .board { width: 100%; max-width: 560px; }
.tour-label { position: absolute; left: clamp(24px, 3vw, 48px); bottom: 18px; font-weight: 800; font-size: clamp(3rem, 7vw, 6.5rem); line-height: 0.9; letter-spacing: -0.05em; color: var(--label); opacity: 0.9; pointer-events: none; }
.tour-count { position: absolute; right: 22px; top: 50%; transform: translateY(-50%); list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-family: var(--mono); font-size: 12px; z-index: 2; }
.tour-count li { padding: 4px 8px; border-radius: 6px; color: #fff; background: rgba(18, 23, 34, 0.35); opacity: 0.45; transition: opacity 0.3s, background 0.3s; }
.tour-count li.on { opacity: 1; background: var(--ink); }
/* The last three features mirrored: text left, screens right. */
.pin.tour.mirror { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); margin-top: 0; }
.pin.mirror .tour-media { order: 2; }
.pin.mirror .tour-count { right: auto; left: 22px; }
.pin.mirror .tour-step { justify-content: flex-end; }
.pin.mirror .tour-shot:nth-child(3n+1) { background: radial-gradient(90% 80% at 0% 0%, #2b3550, transparent 60%), var(--ink); --label: #fff; }
.pin.mirror .tour-shot:nth-child(3n+2) { background: radial-gradient(90% 80% at 100% 100%, #dfe6fb, transparent 60%), var(--cobalt-soft); --label: var(--cobalt-deep); }
.pin.mirror .tour-shot:nth-child(3n+3) { background: radial-gradient(90% 80% at 100% 0%, var(--cobalt-mid), transparent 60%), var(--cobalt); --label: #fff; }
.pin .tour-steps { display: block; max-width: none; padding: 0; }
.pin .tour-step { display: flex; min-height: 100vh; padding: 96px clamp(32px, 5vw, 80px); }
.pin .tour-inline { display: none; }
.pin .tour-copy { max-width: 460px; }
.pin .tour-step:nth-child(1) { view-timeline-name: --t1; } .pin .tour-step:nth-child(2) { view-timeline-name: --t2; }
.pin .tour-step:nth-child(3) { view-timeline-name: --t3; } .pin .tour-step:nth-child(4) { view-timeline-name: --t4; }
.pin .tour-step:nth-child(5) { view-timeline-name: --t5; } .pin .tour-step:nth-child(6) { view-timeline-name: --t6; }
.pin .tour-step:nth-child(7) { view-timeline-name: --t7; }
.callout { position: absolute; top: clamp(18px, 4%, 40px); right: clamp(18px, 4%, 40px); font-family: var(--mono); font-weight: 700; font-size: clamp(12px, 1.2vw, 15px); color: var(--ink); background: #fff; padding: 8px 14px; border-radius: 999px; box-shadow: 0 0 0 6px rgba(174, 190, 240, 0.45), 0 14px 30px -10px rgba(12,16,25,0.6); }
.board { padding: 8px 0 0; color: #fff; border-radius: 24px; overflow: hidden; background: radial-gradient(120% 100% at 0% 0%, #2b3550, transparent 60%), var(--ink); box-shadow: 0 30px 70px -30px rgba(12,16,25,0.7); }
.board-row { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 24px; align-items: center; padding: 20px clamp(18px, 3vw, 32px); }
.board-row + .board-row { border-top: 1px solid rgba(255,255,255,0.14); }
.board-row .t { font-family: var(--mono); font-weight: 700; font-size: clamp(2rem, 4.4vw, 3.2rem); letter-spacing: -0.04em; line-height: 1; }
.board-row .r { font-weight: 600; font-size: 1.1rem; }
.board-row .r small { display: block; font-weight: 400; font-size: 14px; color: rgba(255,255,255,0.7); }
.board-foot { margin: 0; padding: 16px clamp(18px, 3vw, 32px); font-size: 14px; color: rgba(255,255,255,0.75); border-top: 1px solid rgba(255,255,255,0.14); background: rgba(12,16,25,0.15); }

.climb-head, .climb { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 0.4fr) minmax(0, 0.7fr); gap: 16px; }
.climb-head { padding: 10px 12px; font-family: var(--mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.climb-head span:last-child, .climb .num { text-align: right; }
.climbs { list-style: none; margin: 0; padding: 0; }
.climb { align-items: baseline; padding: 22px 12px; border-bottom: 1px solid var(--line); transition: background 0.25s, color 0.25s, padding 0.35s var(--ease); }
.climb:hover { background: var(--cobalt); color: #fff; padding-left: 24px; }
.climb:hover .num, .climb:hover small, .climb:hover .type { color: #fff; }
.climb h3 { font-size: clamp(1.25rem, 2.5vw, 1.9rem); font-weight: 800; letter-spacing: -0.03em; }
.climb small { display: block; color: var(--muted); font-size: 14px; font-weight: 400; letter-spacing: 0; }
.climb .type { font-family: var(--mono); font-size: 13px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); }
.climb .num { font-size: clamp(1rem, 1.7vw, 1.3rem); font-weight: 700; color: var(--cobalt); }
figure { margin: 0; }

.steps ol { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; position: relative; border-top: 2px solid var(--line); }
.steps ol::before { content: ''; position: absolute; left: 0; right: 0; top: -2px; height: 2px; background: var(--cobalt); transform-origin: left; }
.steps li { padding: 28px 24px 0 0; min-width: 0; }
.step { display: block; font-family: var(--mono); font-weight: 700; font-size: clamp(3rem, 7vw, 5rem); line-height: 1; letter-spacing: -0.05em; color: var(--cobalt-pale); margin-bottom: 16px; }
.steps h3 { font-size: 1.3rem; margin-bottom: 6px; }
.steps p { margin: 0; color: var(--muted); }

.band { margin-top: 112px; background: var(--ink); color: #fff; overflow: hidden; }
.band .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; padding-block: 88px; align-items: center; }
.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.checks li { position: relative; padding-left: 34px; color: rgba(255,255,255,0.85); }
.checks li::before { content: ''; position: absolute; left: 0; top: 4px; width: 20px; height: 20px; border-radius: 6px; background: var(--cobalt) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/14px no-repeat; }

.faq { max-width: 860px; }
.faq h2 { margin-bottom: 28px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; align-items: center; padding: 20px 0; font-weight: 600; font-size: 1.05rem; min-height: 44px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; flex: none; font-family: var(--mono); font-size: 22px; color: var(--cobalt); transition: transform 0.3s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 0 20px; color: var(--muted); max-width: 64ch; }

.final { position: relative; overflow: hidden; margin-top: 112px; color: #fff; background: radial-gradient(800px 500px at 100% 100%, var(--cobalt-mid), transparent 60%), var(--cobalt); }
.ghost { position: absolute; left: -1vw; bottom: -0.12em; font-family: var(--mono); font-weight: 700; font-size: clamp(7rem, 20vw, 18rem); line-height: 1; letter-spacing: -0.06em; color: rgba(255,255,255,0.08); white-space: nowrap; pointer-events: none; }
.final .wrap { position: relative; padding-block: 104px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: end; }
.final h2 { font-size: clamp(2.4rem, 6vw, 4.6rem); }
.final .lead { color: rgba(255,255,255,0.82); margin: 0 0 20px; font-size: 1.15rem; }

footer { padding-top: 32px; padding-bottom: 48px; color: var(--muted); font-size: 15px; }

/* ---------- Legal pages (privacy.html, voorwaarden.html) ---------- */
.top { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 20px; padding-bottom: 20px; }
.top nav { display: flex; }
.pill { white-space: nowrap; color: #fff; background: var(--cobalt); padding: 10px 18px; border-radius: 12px; text-decoration: none; font-weight: 800; }
.pill:hover { color: #fff; background: var(--cobalt-hover); }
main.doc { max-width: 760px; padding-bottom: 56px; }
.doc h1 { font-size: 2.2rem; letter-spacing: -0.03em; }
.doc h2 { font-size: 1.3rem; letter-spacing: -0.02em; margin: 36px 0 10px; }
.doc table { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
.doc th, .doc td { text-align: left; vertical-align: top; padding: 8px 10px; border-bottom: 1px solid var(--line); }
.notice { background: var(--cobalt-soft); border-radius: 14px; padding: 14px 18px; }
body:not(.landing) footer { border-top: 1px solid var(--line); }

/* =========================================================
   Motion. Everything is visible without it: the page load animations always finish,
   scroll animations only run where the browser drives them from the scroll position,
   and main.js adds a simpler fallback (class .io) only where that is missing.
   ========================================================= */
@media (prefers-reduced-motion: no-preference) {
  /* Page load: the headline rises word by word, then the copy and the video. */
  .hero .w > span { animation: word 0.9s var(--ease) both; }
  .hero h1 > .w:nth-of-type(1) > span { animation-delay: 0.05s; }
  .hero h1 > .w:nth-of-type(2) > span { animation-delay: 0.1s; }
  .hero h1 > .w:nth-of-type(3) > span { animation-delay: 0.15s; }
  .hero h1 > .w:nth-of-type(4) > span { animation-delay: 0.2s; }
  .hero h1 > .w:nth-of-type(5) > span { animation-delay: 0.25s; }
  .hero h1 > .w:nth-of-type(6) > span { animation-delay: 0.3s; }
  .hero h1 em .w:nth-of-type(1) > span { animation-delay: 0.35s; }
  .hero h1 em .w:nth-of-type(2) > span { animation-delay: 0.4s; }
  .hero h1 em .w:nth-of-type(3) > span { animation-delay: 0.45s; }
  .hero h1 em .w:nth-of-type(4) > span { animation-delay: 0.5s; }
  .hero .intro { animation: slide 0.9s 0.45s var(--ease) both; }
  .hero .kicker.intro { animation-delay: 0s; }
  .hero .cta-block.intro { animation-delay: 0.55s; }
  .hero-media { animation: lift 1.2s 0.5s var(--ease) both; }
  .hero::before { animation: slide 1.6s var(--ease) both; }
  .climb:hover { transition-duration: 0.25s; }
  .callout { animation: pulse 2.4s ease-in-out infinite; }

  @supports (animation-timeline: view()) {
    /* Scroll progress bar along the top. */
    .progress { display: block; animation: grow-x linear both; animation-timeline: scroll(root); }
    /* Header: hidden into the hero colour at the top, a lighter glass bar once the page moves. */
    .site-head { animation: head linear both; animation-timeline: scroll(root); animation-range: 0 320px; }
    /* Hero: the big number drifts, the video unfolds as you scroll. */
    .hero::before { animation: drift linear both; animation-timeline: scroll(root); animation-range: 0 100vh; }

    .reveal { animation: rise linear both; animation-timeline: view(); animation-range: entry 0% cover 25%; }
    .rule.reveal { animation-name: grow-x; animation-range: entry 10% cover 40%; }
    .steps ol::before { animation: grow-x linear both; animation-timeline: view(); animation-range: cover 15% cover 55%; }
    .climb.reveal { animation-name: from-left; animation-range: entry 0% entry 90%; }
    .clip.reveal { animation-name: unclip; animation-range: entry 0% cover 45%; }
    .pin .tour-copy { animation: rise linear both; animation-timeline: view(); animation-range: entry 10% cover 40%; }
    .pin .tour-shot:nth-child(2) { animation: wipe linear both; animation-timeline: --t2; animation-range: entry 0% entry 100%; }
    .pin .tour-shot:nth-child(3) { animation: wipe linear both; animation-timeline: --t3; animation-range: entry 0% entry 100%; }
    .pin .tour-shot:nth-child(4) { animation: wipe linear both; animation-timeline: --t4; animation-range: entry 0% entry 100%; }
    .pin .tour-shot:nth-child(5) { animation: wipe linear both; animation-timeline: --t5; animation-range: entry 0% entry 100%; }
    .pin .tour-shot:nth-child(6) { animation: wipe linear both; animation-timeline: --t6; animation-range: entry 0% entry 100%; }
    .pin .tour-shot:nth-child(7) { animation: wipe linear both; animation-timeline: --t7; animation-range: entry 0% entry 100%; }
    .pin .tour-shot:nth-child(2) > :not(.tour-label) { animation: settle linear both; animation-timeline: --t2; animation-range: entry 0% cover 50%; }
    .pin .tour-shot:nth-child(3) > :not(.tour-label) { animation: settle linear both; animation-timeline: --t3; animation-range: entry 0% cover 50%; }
    .pin .tour-shot:nth-child(4) > :not(.tour-label) { animation: settle linear both; animation-timeline: --t4; animation-range: entry 0% cover 50%; }
    .pin .tour-shot:nth-child(5) > :not(.tour-label) { animation: settle linear both; animation-timeline: --t5; animation-range: entry 0% cover 50%; }
    .pin .tour-shot:nth-child(6) > :not(.tour-label) { animation: settle linear both; animation-timeline: --t6; animation-range: entry 0% cover 50%; }
    .pin .tour-shot:nth-child(7) > :not(.tour-label) { animation: settle linear both; animation-timeline: --t7; animation-range: entry 0% cover 50%; }
    .tour-inline { animation: unclip linear both; animation-timeline: view(); animation-range: entry 0% cover 40%; }
    .tour-step:not(.pin *) .tour-copy { animation: rise linear both; animation-timeline: view(); animation-range: entry 0% cover 30%; }
    .board-row, .points li { animation: from-left linear both; animation-timeline: view(); animation-range: entry 0% entry 100%; }
    .band { animation: band linear both; animation-timeline: view(); animation-range: entry 0% cover 40%; }
    .ghost { animation: ghost linear both; animation-timeline: view(); animation-range: entry 0% exit 0%; }

    /* Columns that sit side by side come in one after another. */
    :is(.stats li, .steps li, .checks li, .section-head p):nth-child(2) { animation-range: entry 8% cover 30%; }
    :is(.stats li, .steps li, .checks li):nth-child(3) { animation-range: entry 16% cover 35%; }
    :is(.stats li, .checks li):nth-child(4) { animation-range: entry 24% cover 40%; }
  }
}
/* Fallback for browsers without scroll-driven animations, switched on by main.js. */
.io .reveal { opacity: 0; transform: translateY(36px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.io .rule.reveal { opacity: 1; transform: scaleX(0); }
.io .climb.reveal { transform: translateX(-48px); }
.io .reveal.in { opacity: 1; transform: none; }
.io :is(.stats li, .steps li, .checks li):nth-child(2) { transition-delay: 0.1s; }
.io :is(.stats li, .steps li, .checks li):nth-child(3) { transition-delay: 0.2s; }
.io :is(.stats li, .checks li):nth-child(4) { transition-delay: 0.3s; }

@keyframes word { from { transform: translateY(105%); } }
@keyframes slide { from { transform: translateY(24px); } }
@keyframes lift { from { transform: translateY(60px) scale(0.96); } }
@keyframes rise { from { opacity: 0; transform: translateY(48px); } }
@keyframes from-left { from { opacity: 0; transform: translateX(-64px); } }
@keyframes grow-x { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes unclip { from { clip-path: inset(18% 12% 18% 12% round 24px); opacity: 0.4; transform: translateY(40px); } to { clip-path: inset(0 0 0 0 round 0); } }
@keyframes unfold { from { transform: perspective(1600px) rotateX(16deg) scale(0.92); } }
@keyframes pulse { 50% { box-shadow: 0 0 0 12px rgba(174, 190, 240, 0.2), 0 14px 30px -10px rgba(12,16,25,0.6); } }
@keyframes wipe { from { clip-path: inset(100% 0 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes settle { from { transform: translateY(60px) scale(1.06); } }
@keyframes drift { to { transform: translateY(-160px); } }
@keyframes head { to { background: rgba(31, 58, 158, 0.82); backdrop-filter: blur(14px); box-shadow: 0 10px 30px -20px rgba(12,16,25,0.7); } }
@keyframes band { from { clip-path: inset(0 6% round 40px); } to { clip-path: inset(0 0 round 0); } }
@keyframes ghost { from { transform: translateX(-30%); } to { transform: translateX(15%); } }

/* ---------- Smaller screens ---------- */
@media (max-width: 960px) {
  .hero-grid, .section-head, .band .wrap, .final .wrap { grid-template-columns: minmax(0, 1fr); }
  .stats ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats li:nth-child(3) { padding-left: 0; border-left: 0; }
  .stats li:nth-child(n+3) { border-top: 1px solid var(--line); margin-top: 24px; }
  .tour-step { grid-template-columns: minmax(0, 1fr); }
  .hero-grid { padding-bottom: 72px; }
  .stats { padding-top: 72px; }
}
@media (max-width: 620px) {
  .stats ul, .steps ol { grid-template-columns: minmax(0, 1fr); }
  .stats li { padding-left: 0 !important; border-left: 0 !important; }
  .stats li + li { border-top: 1px solid var(--line); margin-top: 0; }
  .board-row { gap: 16px; }
  .steps li { padding-right: 0; }
  .climb-head, .climb { grid-template-columns: minmax(0, 1fr) auto; }
  .climb .type, .climb-head span:nth-child(2) { display: none; }
  .button { width: 100%; }
  .head-cta { padding: 8px 12px; font-size: 14px; }
  .brand { font-size: 15px; }
  .hero-grid { gap: 36px; }
  .stats { padding-top: 56px; }
  .doc table, .doc thead, .doc tbody, .doc tr, .doc th, .doc td { display: block; }
  .doc thead { display: none; }
  .doc td:first-child { font-weight: 600; border-bottom: 0; padding-bottom: 0; }
}

/* Download form (index.html) and download page (download.html). */
.signup label { display: block; font-weight: 600; margin-bottom: 8px; }
.signup-row { display: flex; flex-wrap: wrap; gap: 10px; }
.signup input { flex: 1 1 240px; min-height: 56px; padding: 0 18px; border-radius: 14px; border: 1px solid rgba(255,255,255,0.35); font: inherit; color: var(--text); background: #fff; }
.signup input:focus-visible { outline: 3px solid var(--cobalt-pale); outline-offset: 2px; }
.signup .button { font: inherit; font-weight: 800; cursor: pointer; }
.signup .button:disabled, .download-page .button:disabled { opacity: 0.6; cursor: progress; }
.turnstile { margin-top: 12px; min-height: 65px; }
.signup-consent { font-size: 14px; color: rgba(255,255,255,0.72); margin: 8px 0 0; }
.signup-consent a { color: #fff; }
.signup-status { font-weight: 600; margin: 10px 0 0; min-height: 1.6em; }
.signup-status.error { color: #ffd2d2; }
.download-page { min-height: 70vh; color: #fff; background: radial-gradient(800px 500px at 100% 100%, var(--cobalt-mid), transparent 60%), var(--cobalt); }
.download-page .wrap { padding-block: 96px; }
.download-page h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); margin: 0 0 16px; }
.download-page .lead { color: rgba(255,255,255,0.86); margin: 0 0 24px; }
.download-page .button { font: inherit; font-weight: 800; cursor: pointer; background: transparent; }
.download-page .button.primary { background: #fff; }
.download-page .no-token-only, .download-page.no-token .has-token { display: none; }
.download-page.no-token .no-token-only { display: block; margin-top: 24px; }
