/* Voizte · coming soon
   Type sizes follow the Tailwind scale, spacing uses 0/2/4/8/12/16/24/32/40/48/64/80/96 only. */

@font-face {
  font-family: "Geist";
  src: url("../fonts/Geist-Variable.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Geist Mono";
  src: url("../fonts/GeistMono-Variable.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #020c18;
  --cyan: #22d3ee;
  --cyan-soft: rgba(34, 211, 238, 0.14);
  --glass: rgba(6, 24, 38, 0.5);
  --glass-strong: rgba(6, 24, 38, 0.72);
  --border: rgba(34, 211, 238, 0.14);
  --border-strong: rgba(34, 211, 238, 0.34);
  --text: #f0f4f8;
  --muted: rgba(240, 244, 248, 0.66);
  --dim: rgba(240, 244, 248, 0.42);
  --faint: rgba(240, 244, 248, 0.26);
  --error: #fda4af;
  --font: "Geist", ui-sans-serif, system-ui, sans-serif;
  --mono: "Geist Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  --ease: cubic-bezier(0.32, 0.72, 0, 1);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.5rem;
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3 { text-wrap: balance; font-weight: 600; }
p { text-wrap: pretty; }
em { font-style: normal; }
[hidden] { display: none !important; }
a { color: inherit; }
button, input { font: inherit; color: inherit; }

::selection { background: rgba(34, 211, 238, 0.32); color: #fff; }

:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 2px;
  border-radius: 4px;
}

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: fixed; top: 16px; left: 16px; z-index: 200;
  padding: 8px 12px; border-radius: 8px;
  background: var(--cyan); color: var(--bg);
  font-size: 0.875rem; line-height: 1.25rem; font-weight: 600; text-decoration: none;
  transform: translateY(-150%);
  transition: transform 400ms var(--ease);
}
.skip-link:focus { transform: translateY(0); }

/* Background (identical to the product) */
#network {
  position: fixed; inset: 0;
  width: 100%; height: 100%;
  z-index: 0; pointer-events: none;
}

main, .site-header, .site-footer { position: relative; z-index: 1; }

/* Header */
.site-header {
  position: absolute; top: 0; left: 0; right: 0; z-index: 10;
  gap: 16px;
  display: flex; align-items: center; justify-content: space-between;
  padding: 24px;
}
.brand {
  display: inline-flex; color: var(--text); border-radius: 8px;
  transition: opacity 900ms var(--ease) 1400ms, transform 900ms var(--ease) 1400ms, color 300ms var(--ease);
}
.brand:hover { color: var(--cyan); }
.brand-lockup { height: 32px; width: auto; }
.brand-tld { stroke: var(--cyan); }
.js .brand, .js .more-link { opacity: 0; transform: translateY(-8px); }
.is-ready .brand, .is-ready .more-link { opacity: 1; transform: none; }

/* "Know more": a small glass pill whose bars whisper, and speak up on hover */
.more-link {
  position: relative;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 12px 8px 16px;
  border: 1px solid var(--border);
  border-radius: 9999px;
  background: rgba(6, 24, 38, 0.35);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  color: var(--muted);
  font-size: 0.875rem; line-height: 1.25rem; font-weight: 600;
  text-decoration: none;
  transition: opacity 900ms var(--ease) 1600ms, transform 900ms var(--ease) 1600ms,
              color 500ms var(--ease), border-color 500ms var(--ease), background-color 500ms var(--ease);
}
.more-link::after {
  content: ""; position: absolute; inset: -1px;
  border-radius: inherit;
  border: 1px solid var(--cyan);
  opacity: 0; pointer-events: none;
}
.is-settled .more-link::after { animation: ping 5s var(--ease) 1s infinite; }
@keyframes ping {
  0% { opacity: 0.6; transform: scale(1); }
  24%, 100% { opacity: 0; transform: scale(1.18, 1.5); }
}
.more-link:hover, .more-link:focus-visible {
  color: var(--text);
  border-color: var(--border-strong);
  background: rgba(6, 24, 38, 0.6);
  transition-delay: 0ms;
}
.more-link:active { transform: scale(0.98); }
.more-wave { display: inline-flex; align-items: center; gap: 2px; height: 12px; }
.more-wave i {
  display: block; width: 2px; height: 100%; border-radius: 2px;
  background: var(--cyan);
  transform: scaleY(0.3);
  animation: whisper 2.4s var(--ease) infinite;
}
.more-wave i:nth-child(2) { animation-delay: 150ms; }
.more-wave i:nth-child(3) { animation-delay: 300ms; }
.more-wave i:nth-child(4) { animation-delay: 450ms; }
@keyframes whisper {
  0%, 100% { transform: scaleY(0.25); }
  50% { transform: scaleY(0.55); }
}
.more-link:hover .more-wave i { animation-name: bar; animation-duration: 0.9s; }
.more-arrow { width: 16px; height: 16px; transition: transform 500ms var(--ease); }
.more-link:hover .more-arrow { transform: translateX(2px); }
.more-arrow-down { transform: rotate(90deg); }
.more-link:hover .more-arrow-down { transform: rotate(90deg) translateX(2px); }

/* Hero */
.hero {
  min-height: 100vh;
  min-height: 100svh;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center;
  padding: 96px 24px 48px;
  position: relative;
}

.mark {
  width: 72px; height: 72px;
  margin-bottom: 24px;
  color: var(--cyan);
  overflow: visible;
  filter: drop-shadow(0 0 16px rgba(34, 211, 238, 0.45));
}
.dot-wrap {
  transform-box: fill-box; transform-origin: center;
  transition: transform 1400ms var(--ease), opacity 900ms var(--ease);
}
.js .dot-wrap { opacity: 0; }
.dot { fill: currentColor; transform-box: fill-box; transform-origin: center; }
.is-ready .dot-wrap { opacity: 1; transform: none !important; }
.is-settled .dot { animation: speak 2.6s var(--ease) infinite; }
.is-settled .dot-wrap[data-row="2"] .dot { animation-delay: 180ms; }
.is-settled .dot-wrap[data-row="3"] .dot { animation-delay: 360ms; }
.is-settled .dot-wrap[data-row="4"] .dot { animation-delay: 540ms; }
@keyframes speak {
  0%, 100% { transform: scale(1); opacity: 1; }
  40% { transform: scale(0.78); opacity: 0.72; }
}

.js .load-in { opacity: 0; transform: translateY(24px); filter: blur(8px); }
.load-in {
  transition: opacity 1000ms var(--ease), transform 1000ms var(--ease), filter 1000ms var(--ease);
}
.is-ready .load-in { opacity: 1; transform: none; filter: none; }
.is-ready .eyebrow { transition-delay: 700ms; }
.is-ready .hero-title { transition-delay: 820ms; }
.is-ready .hero-sub { transition-delay: 960ms; }
.is-ready .signal { transition-delay: 1100ms; }
.is-ready .hero .join { transition-delay: 1240ms; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 4px 12px;
  margin-bottom: 24px;
  border: 1px solid var(--border-strong);
  border-radius: 9999px;
  background: var(--cyan-soft);
  color: var(--cyan);
  font-size: 0.75rem; line-height: 1rem; font-weight: 500;
  letter-spacing: 0.08em; text-transform: uppercase;
}
.pulse {
  width: 6px; height: 6px; border-radius: 9999px; background: var(--cyan);
  animation: pulse 2s var(--ease) infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.35; transform: scale(0.7); }
}

.hero-title {
  max-width: 680px;
  font-size: 3rem; line-height: 1;
  letter-spacing: -0.035em;
  margin-bottom: 24px;
  padding-bottom: 4px;
  background: linear-gradient(90deg, #ffffff 0%, #9b9b9b 100%);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}

.hero-sub {
  max-width: 560px;
  color: var(--muted);
  font-size: 1.125rem; line-height: 1.75rem;
  margin-bottom: 32px;
}

/* Join form */
.join { width: 100%; max-width: 480px; text-align: left; }

.join-field {
  display: flex; align-items: center; gap: 4px;
  padding: 4px;
  border: 1px solid var(--border);
  border-radius: 9999px;
  background: var(--glass);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  transition: border-color 500ms var(--ease), box-shadow 500ms var(--ease);
}
.join-field:focus-within {
  border-color: var(--border-strong);
  box-shadow: 0 0 0 4px rgba(34, 211, 238, 0.08), 0 16px 48px rgba(8, 145, 178, 0.18);
}
.join.has-error .join-field { border-color: rgba(253, 164, 175, 0.6); }

.join-input {
  flex: 1; min-width: 0;
  padding: 8px 16px;
  border: 0; background: transparent;
  font-size: 1rem; line-height: 1.5rem;
  color: var(--text);
  border-radius: 9999px;
}
.join-input::placeholder { color: var(--dim); }
.join-input:focus { outline: none; }
.join-input:focus-visible { outline: none; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 8px 16px;
  border-radius: 9999px;
  border: 1px solid transparent;
  font-size: 1rem; line-height: 1.5rem; font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  transition: transform 500ms var(--ease), background-color 500ms var(--ease), border-color 500ms var(--ease), opacity 500ms var(--ease), color 500ms var(--ease);
}
.btn:active { transform: scale(0.98); }
.btn-primary { background: var(--cyan); color: #04121c; }
.btn-primary:hover { background: #67e8f9; transform: translateY(-1px); }
.btn-primary:active { transform: scale(0.98); }
.btn-ghost { background: var(--glass); border-color: var(--border); color: var(--text); font-size: 0.875rem; line-height: 1.25rem; }
.btn-ghost:hover { border-color: var(--border-strong); transform: translateY(-1px); }
.btn[disabled] { cursor: progress; opacity: 0.72; }

.btn.is-loading .btn-label { opacity: 0.35; }
.btn.is-loading { position: relative; }
.btn.is-loading::after {
  content: ""; position: absolute; left: 16px; right: 16px; bottom: 8px; height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, transparent, #04121c, transparent);
  background-size: 200% 100%;
  animation: shimmer 1.1s linear infinite;
}
@keyframes shimmer { from { background-position: 200% 0; } to { background-position: -200% 0; } }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.consent {
  display: flex; align-items: flex-start; gap: 8px;
  margin-top: 16px; padding: 0 16px;
  color: var(--muted);
  font-size: 0.875rem; line-height: 1.25rem;
  cursor: pointer;
}
.consent input { position: absolute; opacity: 0; width: 16px; height: 16px; }
.consent-box {
  flex: none; width: 16px; height: 16px; margin-top: 2px;
  border: 1px solid var(--border-strong); border-radius: 4px;
  background: transparent;
  display: grid; place-items: center;
  transition: background-color 400ms var(--ease), border-color 400ms var(--ease);
}
.consent-box::after {
  content: ""; width: 8px; height: 4px;
  border-left: 2px solid #04121c; border-bottom: 2px solid #04121c;
  transform: translateY(-1px) rotate(-45deg) scale(0);
  transition: transform 400ms var(--ease);
}
.consent input:checked + .consent-box { background: var(--cyan); border-color: var(--cyan); }
.consent input:checked + .consent-box::after { transform: translateY(-1px) rotate(-45deg) scale(1); }
.consent input:focus-visible + .consent-box { outline: 2px solid var(--cyan); outline-offset: 2px; }
.consent:hover .consent-box { border-color: var(--cyan); }

.turnstile-slot:not(:empty) { margin-top: 16px; padding: 0 16px; }

.join-status {
  min-height: 0; padding: 0 16px;
  font-size: 0.875rem; line-height: 1.25rem;
  color: var(--cyan);
}
.join-status:not(:empty) { margin-top: 12px; }
.join.has-error .join-status { color: var(--error); }

.join-note {
  margin-top: 12px; padding: 0 16px;
  color: var(--dim);
  font-size: 0.75rem; line-height: 1rem;
}
.join-note a { color: var(--muted); text-underline-offset: 2px; transition: color 300ms var(--ease); }
.join-note a:hover { color: var(--cyan); }

/* Joined state replaces the field */
.join-done {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 16px;
  border: 1px solid var(--border-strong);
  border-radius: 24px;
  background: var(--glass);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  color: var(--text);
  font-size: 0.875rem; line-height: 1.25rem;
  animation: rise 900ms var(--ease) both;
}
.join-done > div { flex: 1; min-width: 0; }
.join-again {
  margin: 12px 0 0 16px; padding: 0;
  border: 0; background: none;
  color: var(--muted);
  font-size: 0.875rem; line-height: 1.25rem;
  text-decoration: underline; text-underline-offset: 2px;
  cursor: pointer;
  transition: color 300ms var(--ease);
}
.join-again:hover { color: var(--cyan); }
.join-done svg { flex: none; width: 24px; height: 24px; color: var(--cyan); }
.join-done strong { font-weight: 600; display: block; font-size: 1rem; line-height: 1.5rem; }
.join-done span { color: var(--muted); }
@keyframes rise { from { opacity: 0; transform: translateY(12px); filter: blur(6px); } to { opacity: 1; transform: none; filter: none; } }

/* Countdown */
.signal {
  display: inline-flex; align-items: center; flex-wrap: wrap; justify-content: center; gap: 8px 12px;
  margin-bottom: 24px;
  color: var(--dim);
  font-size: 0.75rem; line-height: 1rem;
}
.signal-time {
  font-family: var(--mono);
  font-size: 0.875rem; line-height: 1.25rem;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
}
.signal-time span { color: var(--text); }
.signal-label { letter-spacing: 0.08em; text-transform: uppercase; }
.signal-wave { display: inline-flex; align-items: center; gap: 2px; height: 16px; }
.signal-wave i, .lane-wave i {
  display: block; width: 2px; height: 100%; border-radius: 2px;
  background: var(--cyan);
  transform-origin: center;
  animation: bar 1.4s var(--ease) infinite;
}
.signal-wave i:nth-child(2), .lane-wave i:nth-child(2) { animation-delay: 120ms; }
.signal-wave i:nth-child(3), .lane-wave i:nth-child(3) { animation-delay: 240ms; }
.signal-wave i:nth-child(4), .lane-wave i:nth-child(4) { animation-delay: 360ms; }
.signal-wave i:nth-child(5) { animation-delay: 480ms; }
@keyframes bar {
  0%, 100% { transform: scaleY(0.3); opacity: 0.5; }
  50% { transform: scaleY(1); opacity: 1; }
}

/* Scroll hint under the opening tagline on the know more page */
.gap-cue {
  position: absolute; bottom: 32px; left: 50%;
  width: 24px; height: 40px; margin-left: -12px;
  border: 1px solid var(--border-strong); border-radius: 9999px;
  transition: opacity 700ms var(--ease), transform 700ms var(--ease);
}
.gap-cue span {
  position: absolute; top: 8px; left: 50%; width: 2px; height: 8px; margin-left: -1px;
  border-radius: 2px; background: var(--cyan);
  animation: cue 2.2s var(--ease) infinite;
}
.js .gap-cue { opacity: 0; }
.is-ready .gap-cue { opacity: 1; transition-delay: 1200ms; }
.gap.is-scrolled .gap-cue { opacity: 0; transform: translateY(12px); transition-delay: 0ms; }
@keyframes cue {
  0% { transform: translateY(0); opacity: 0; }
  30% { opacity: 1; }
  100% { transform: translateY(16px); opacity: 0; }
}

/* Tagline reveal */
.gap { height: 240vh; position: relative; }
.gap-sticky {
  position: sticky; top: 0;
  height: 100vh; height: 100svh;
  display: flex; align-items: center; justify-content: center;
  padding: 0 24px;
}
.gap-text {
  max-width: 680px; width: fit-content;
  text-wrap: wrap;
  font-size: 1.875rem; line-height: 2.25rem;
  font-weight: 600;
  letter-spacing: -0.03em;
}
.gap-text .w {
  color: var(--faint);
  transition: color 700ms var(--ease), text-shadow 700ms var(--ease);
}
.gap-text .w.on { color: var(--text); }
.gap-text .accent.on, .gap-text .accent .w.on { color: var(--cyan); text-shadow: 0 0 32px rgba(34, 211, 238, 0.45); }

/* Shared section heads */
/* Each section on the know more page is one full screen, content centred */
.race, .clues, .final {
  min-height: 100vh; min-height: 100svh;
  display: flex; flex-direction: column; justify-content: center;
  padding: 64px 24px;
}
.race > *, .clues > * { width: 100%; }
.section-head { max-width: 680px; margin: 0 auto 48px; text-align: center; }
.kicker {
  color: var(--cyan);
  font-size: 0.75rem; line-height: 1rem; font-weight: 500;
  letter-spacing: 0.12em; text-transform: uppercase;
  margin-bottom: 16px;
}
.section-title {
  font-size: 2.25rem; line-height: 2.5rem;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
}
.section-sub {
  color: var(--muted);
  font-size: 1rem; line-height: 1.5rem;
  max-width: 480px; margin: 0 auto;
}

/* Scroll reveal */
.js .reveal { opacity: 0; transform: translateY(64px); filter: blur(12px); }
.reveal {
  transition: opacity 1000ms var(--ease), transform 1000ms var(--ease), filter 1000ms var(--ease);
}
.reveal.in { opacity: 1; transform: none; filter: none; }

/* Race */
.lanes { max-width: 720px; margin: 0 auto; display: grid; gap: 16px; }
.lane {
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: 24px;
  background: var(--glass);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  transition: border-color 600ms var(--ease);
}
.lane.is-done { border-color: var(--border-strong); }
.lane-head {
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
  margin-bottom: 16px;
  font-size: 0.875rem; line-height: 1.25rem;
}
.lane-name { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; }
.lane-meta { color: var(--dim); }
.lane-time {
  margin-left: auto;
  font-family: var(--mono); font-variant-numeric: tabular-nums;
  color: var(--muted);
}
.lane-spoken .lane-time { color: var(--cyan); }
.lane-wave { display: inline-flex; align-items: center; gap: 2px; height: 12px; opacity: 0; transition: opacity 400ms var(--ease); }
.lane.is-running .lane-wave { opacity: 1; }

.lane-text {
  display: grid;
  font-size: 1.125rem; line-height: 1.75rem;
  margin-bottom: 16px;
}
.lane-ghost, .lane-live { grid-area: 1 / 1; }
.lane-ghost { color: transparent; user-select: none; }
.lane-live { color: var(--text); }
.lane-live .caret {
  display: inline-block; width: 2px; height: 1.1em; margin-left: 2px;
  vertical-align: -0.15em; background: var(--cyan);
  animation: blink 1s steps(1) infinite;
}
.lane-live .word { display: inline-block; animation: rise 500ms var(--ease) both; }
@keyframes blink { 50% { opacity: 0; } }

.lane-track { height: 2px; border-radius: 2px; background: rgba(240, 244, 248, 0.08); overflow: hidden; }
.lane-bar { display: block; height: 100%; width: 100%; background: var(--dim); transform-origin: left; transform: scaleX(0); }
.lane-spoken .lane-bar { background: var(--cyan); }

.race-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 8px; }
.race-result { color: var(--text); font-size: 1rem; line-height: 1.5rem; min-height: 1.5rem; }
.race-result b { color: var(--cyan); font-weight: 600; }
.race-caption { color: var(--dim); font-size: 0.75rem; line-height: 1rem; }

/* Clues */
.clue-grid { max-width: 1024px; margin: 0 auto; display: grid; gap: 16px; grid-template-columns: 1fr; }
.clue {
  position: relative;
  display: flex; flex-direction: column; gap: 12px;
  min-height: 224px;
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: 24px;
  background: var(--glass);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  overflow: hidden;
  transition: border-color 600ms var(--ease), transform 600ms var(--ease);
}
.clue:hover { transform: translateY(-2px); }
.clue.is-open { border-color: var(--border-strong); }
.clue.is-new::before {
  content: "New"; position: absolute; top: 24px; right: 24px;
  padding: 2px 8px; border-radius: 9999px;
  background: var(--cyan); color: #04121c;
  font-size: 0.75rem; line-height: 1rem; font-weight: 600;
}
.clue-no {
  font-family: var(--mono);
  font-size: 0.75rem; line-height: 1rem;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--cyan);
}
.clue-title { font-size: 1.25rem; line-height: 1.75rem; letter-spacing: -0.01em; }
.clue-text { color: var(--muted); font-size: 1rem; line-height: 1.5rem; }
.clue-locked .clue-no { color: var(--dim); }
.clue-lock {
  display: grid; place-items: center;
  width: 40px; height: 40px;
  border: 1px solid var(--border); border-radius: 12px;
  color: var(--dim);
}
.clue-lock svg { width: 20px; height: 20px; }
.clue-when { margin-top: auto; color: var(--muted); font-size: 0.875rem; line-height: 1.25rem; }
.clue-when b { font-family: var(--mono); font-weight: 500; color: var(--text); font-variant-numeric: tabular-nums; }
.clue-redacted { display: grid; gap: 8px; }
.clue-redacted span { display: block; height: 12px; border-radius: 4px; background: rgba(240, 244, 248, 0.06); }
.clue-redacted span:nth-child(1) { width: 88%; }
.clue-redacted span:nth-child(2) { width: 64%; }

.sk { display: block; border-radius: 4px; background: rgba(240, 244, 248, 0.06); animation: skel 1.6s var(--ease) infinite; }
.sk-s { width: 64px; height: 12px; }
.sk-l { width: 72%; height: 20px; margin-top: 4px; }
.sk-m { width: 90%; height: 12px; margin-top: auto; }
@keyframes skel { 50% { opacity: 0.4; } }

.clue-error { grid-column: 1 / -1; text-align: center; color: var(--muted); padding: 24px; }

/* Final */
.final { align-items: center; }
.final-inner { max-width: 680px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; text-align: center; }
.final-title {
  font-size: 2.25rem; line-height: 2.5rem;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
  padding-bottom: 4px;
  background: linear-gradient(90deg, #ffffff 0%, #9b9b9b 100%);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}
.final .section-sub { margin-bottom: 32px; }

/* Footer */
.site-footer {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  max-width: 1024px; margin: 0 auto;
  padding: 32px 24px 40px;
  color: var(--dim);
  font-size: 0.875rem; line-height: 1.25rem;
}
.site-footer a { color: var(--muted); text-underline-offset: 2px; transition: color 300ms var(--ease); }
.site-footer a:hover { color: var(--cyan); }

/* Plain pages (privacy, 404) */
.page { max-width: 680px; margin: 0 auto; padding: 96px 24px 64px; }
.page h1 { font-size: 2.25rem; line-height: 2.5rem; letter-spacing: -0.03em; margin-bottom: 16px; }
.page h2 { font-size: 1.25rem; line-height: 1.75rem; margin: 40px 0 12px; }
.page p, .page li { color: var(--muted); margin-bottom: 12px; }
.page ul { padding-left: 24px; }
.page a:not(.btn) { color: var(--cyan); text-underline-offset: 2px; }
.page .updated { color: var(--dim); font-size: 0.875rem; line-height: 1.25rem; }
.page-center { min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.page-center .btn { margin-top: 24px; text-decoration: none; }
.page-center .mark { opacity: 1; }
.page-center .dot-wrap { opacity: 1; }

/* Breakpoints */
@media (max-width: 479px) {
  .hero-title { font-size: 2.25rem; line-height: 2.5rem; }
  .hero-sub { font-size: 1rem; line-height: 1.5rem; }
  .join-field { flex-direction: column; align-items: stretch; border-radius: 24px; padding: 8px; gap: 8px; }
  .join-input { padding: 8px 12px; border-radius: 16px; }
  .btn-primary { border-radius: 16px; padding: 12px 16px; }
  .consent, .join-status, .join-note, .turnstile-slot:not(:empty) { padding: 0 8px; }
  .lane { padding: 16px; border-radius: 16px; }
  .lane-meta { display: none; }
  .clue { border-radius: 16px; }
  .site-header { padding: 16px; }
  .brand-lockup { height: 24px; }
  .more-link { padding: 8px 12px; }
  .hero { padding: 80px 16px 32px; }
  .mark { width: 56px; height: 56px; margin-bottom: 16px; }
  .eyebrow { margin-bottom: 16px; }
  .hero-sub { margin-bottom: 24px; }
  .signal { margin-bottom: 16px; }
}

@media (min-width: 640px) {
  .hero-title { font-size: 3.75rem; }
  .gap-text { font-size: 3rem; line-height: 1; }
  .section-title, .final-title { font-size: 3rem; line-height: 1; }
  .brand-lockup { height: 32px; }
  .site-header { padding: 32px 40px; }
}

@media (min-width: 768px) {
  .clue-grid { grid-template-columns: repeat(3, 1fr); }
  .race, .clues, .final { padding: 64px 40px; }
}

@media (min-width: 1024px) {
  .hero-title { font-size: 4.5rem; }
  .gap-text { font-size: 3.75rem; }
  .mark { width: 88px; height: 88px; }
}

/* Know more sections on short desktop screens (laptops with browser bars) */
@media (min-width: 640px) and (max-height: 780px) {
  .race, .clues, .final { padding-top: 48px; padding-bottom: 48px; }
  .section-head { margin-bottom: 24px; }
  .kicker { margin-bottom: 8px; }
  .section-title, .final-title { font-size: 2.25rem; line-height: 2.5rem; margin-bottom: 12px; }
  .lane { padding: 16px 24px; }
  .lane-head, .lane-text { margin-bottom: 12px; }
  .lanes { gap: 12px; }
  .clue { min-height: 192px; }
}

/* Keep the whole hero, down to the privacy line, inside one screen on shorter displays */
@media (max-width: 479px) and (max-height: 740px) {
  .hero { padding-top: 72px; padding-bottom: 16px; }
  .mark { width: 40px; height: 40px; margin-bottom: 12px; }
  .eyebrow { margin-bottom: 12px; }
  .hero-title { margin-bottom: 12px; }
  .hero-sub { margin-bottom: 16px; }
  .signal { margin-bottom: 12px; }
  .consent { margin-top: 12px; }
}
@media (min-width: 640px) and (max-height: 860px) {
  .hero { padding-top: 80px; padding-bottom: 32px; }
  .mark { width: 64px; height: 64px; margin-bottom: 16px; }
  .eyebrow { margin-bottom: 16px; }
  .hero-title { font-size: 3.75rem; margin-bottom: 16px; }
  .hero-sub { margin-bottom: 24px; }
  .signal { margin-bottom: 16px; }
}
@media (min-width: 640px) and (max-height: 700px) {
  .mark { width: 48px; height: 48px; }
  .hero-title { font-size: 3rem; }
  .hero-sub { font-size: 1rem; line-height: 1.5rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 1ms !important; animation-iteration-count: 1 !important;
    transition-duration: 1ms !important; transition-delay: 0ms !important;
    scroll-behavior: auto !important;
  }
  .load-in, .reveal, .dot-wrap, .brand, .more-link { opacity: 1; transform: none !important; filter: none; }
  .gap { height: auto; }
  .gap-sticky { position: static; height: auto; padding: 96px 24px; }
  .gap-text .w { color: var(--text); }
}
