/* ============================================================
   IN8TE FOR INVESTORS: invest.racein8te.com
   Shared stylesheet for index.php, thank-you.php, privacy.php

   ============================================================ */

/* Palette taken 1:1 from waitlist.racein8te.com (teal theme):
   dark green backgrounds, cream text, teal accent. */
:root {
  --bg: #0f1b1d;
  --bg-2: #142326;
  --surface: #182a2e;
  --surface-2: #213b40;
  --text: #F1ECDE;
  --muted: rgba(241, 236, 222, 0.60);
  --accent: #7EBCB1;
  --accent-2: #9ccabf;
  --signal: #7EBCB1;
  --line: rgba(241, 236, 222, 0.13);
  --line-strong: rgba(241, 236, 222, 0.22);
  --error: #dc808f; /* claret from the waitlist's second theme, errors only */

  --font-display: 'Saira Condensed', 'Arial Narrow', sans-serif; /* same display font as the waitlist */
  --font-body: 'Inter', -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', 'Courier New', monospace;
}

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

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img, video { max-width: 100%; display: block; }

/* ── Background video (same film as waitlist, dimmed harder, static colours) ── */

.bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background: var(--bg);
}
.bg-video {
  position: absolute;
  top: 50%; left: 50%;
  min-width: 100%; min-height: 100%;
  width: auto; height: auto;
  transform: translate(-50%, -50%);
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.9s ease;
  will-change: opacity;
}
.bg-video.is-ready { opacity: 0.35; } /* waitlist runs 0.9, kept much subtler here */
.bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(120% 80% at 50% 30%, transparent 0%, rgba(0,0,0,0.35) 55%, rgba(0,0,0,0.85) 100%),
    linear-gradient(180deg, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0.15) 30%, rgba(0,0,0,0.5) 72%, rgba(0,0,0,0.92) 100%);
}
.grain {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.05;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* Page content sits above the video layers */
.hero, main, .footer { position: relative; z-index: 2; }

a { color: var(--text); }

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

::selection { background: var(--accent); color: var(--bg); }

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Type ─────────────────────────────────────────────────── */

h1, h2, h3 {
  font-family: var(--font-display);
  line-height: 1.05;
  letter-spacing: 0.005em;
  text-wrap: balance;
}

h1 { font-size: clamp(32px, 4.2vw, 52px); font-weight: 800; }
h2 { font-size: clamp(26px, 3.4vw, 40px); font-weight: 700; }
h3 { font-size: 17px; font-weight: 700; line-height: 1.3; }

.tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
}
.tag::before {
  content: '';
  width: 26px;
  height: 1px;
  background: var(--accent);
}

.muted { color: var(--muted); }
.mono { font-family: var(--font-mono); }

/* ── Buttons ──────────────────────────────────────────────── */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 14px 32px;
  background: var(--accent);
  color: var(--bg); /* teal is light, dark text for contrast */
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-decoration: none;
  border: 0;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}
.btn:hover { background: var(--accent-2); transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn[disabled] { opacity: 0.6; cursor: wait; transform: none; }

/* ── Reveal motion (restrained) ───────────────────────────── */

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}
.reveal.in { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ── Sections ─────────────────────────────────────────────── */

.section { padding: 96px 0; }
.section-head { max-width: 640px; margin-bottom: 48px; }
.section-head h2 { margin: 16px 0 0; }
.section-head p { margin-top: 14px; color: var(--muted); }

/* ── Hero ─────────────────────────────────────────────────── */

.hero {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: 48px 0;
  /* transparent so the background video shows through */
  background: radial-gradient(60% 50% at 80% 0%, rgba(126, 188, 177, 0.08), transparent 70%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr; /* video column wider so the player isn't dwarfed by the copy */
  gap: 64px;
  align-items: center;
}

.hero-label {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}

.hero h1 { text-transform: uppercase; }

.hero-sub {
  margin-top: 18px;
  max-width: 500px;
  color: var(--muted);
  font-size: 16.5px;
}
.hero-sub-2 { margin-top: 12px; font-size: 15px; }

.hero-points {
  list-style: none;
  margin: 28px 0 32px;
  display: grid;
  gap: 8px;
}
.hero-points li {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: baseline;
  column-gap: 14px;
  row-gap: 2px;
  font-size: 16px;
  font-weight: 500;
}
.hero-points li strong {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text);
  white-space: nowrap;
}
.hero-points li span {
  grid-column: 2;
  color: var(--muted);
  font-size: 14.5px;
  font-weight: 400;
}
.hero-points li::before {
  content: '';
  flex: 0 0 auto;
  width: 8px;
  height: 8px;
  background: var(--accent);
  transform: translateY(-1px) rotate(45deg);
}

/* Video player */
.video-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  background: var(--bg-2);
}
.video-frame video { width: 100%; height: 100%; object-fit: cover; }
.video-play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  border: 0;
  background: rgba(11, 11, 12, 0.35);
  cursor: pointer;
  transition: background 0.2s ease;
}
.video-play:hover { background: rgba(11, 11, 12, 0.2); }
.video-play span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--accent);
  transition: background 0.2s ease, transform 0.2s ease;
}
.video-play:hover span { background: var(--accent-2); transform: scale(1.05); }
.video-play svg { width: 26px; height: 26px; fill: var(--bg); margin-left: 4px; }
.video-play.hidden { display: none; }

/* ── Why grid ─────────────────────────────────────────────── */

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.why-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 26px 24px;
  transition: border-color 0.2s ease;
}
.why-card:hover { border-color: var(--line-strong); }
.why-card h3 { margin-bottom: 10px; }
.why-card p { font-size: 14.5px; color: var(--muted); }

/* ── Why section: stacked photo deck ──────────────────────── */

.deck {
  position: relative;
  width: min(400px, 78vw);
  aspect-ratio: 4 / 5;
  margin: 48px auto 0;
}
.deck-card {
  position: absolute;
  inset: 0;
  padding: 0;
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  overflow: hidden;
  background: var(--surface-2);
  cursor: pointer;
  transition: transform 0.45s ease, opacity 0.45s ease;
}
.deck-card img { width: 100%; height: 100%; object-fit: cover; display: block; }
.deck-card[data-pos="0"] { z-index: 5; transform: none; opacity: 1; }
.deck-card[data-pos="1"] { z-index: 4; transform: rotate(-4deg) translate(-16px, 10px) scale(0.97); opacity: 0.85; }
.deck-card[data-pos="2"] { z-index: 3; transform: rotate(3.5deg) translate(18px, 16px) scale(0.94); opacity: 0.7; }
.deck-card[data-pos="3"] { z-index: 2; transform: rotate(-7deg) translate(-30px, 24px) scale(0.91); opacity: 0.55; }
.deck-card[data-pos="4"] { z-index: 1; transform: rotate(6deg) translate(34px, 28px) scale(0.88); opacity: 0.4; }
@media (prefers-reduced-motion: reduce) {
  .deck-card { transition: none; }
}

.deck-hint {
  margin-top: 44px;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--muted);
}

/* ── Closing section: 50:50 welcome + gallery ─────────────── */

.finale-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.finale-copy h2 {
  text-transform: uppercase;
  font-size: clamp(30px, 3.8vw, 46px);
  margin: 16px 0 0;
}
.finale-sub {
  margin-top: 16px;
  max-width: 460px;
  font-size: 15.5px;
  color: var(--muted);
}
.finale-copy .btn { margin-top: 32px; }
.finale .deck { margin: 0 auto; }

@media (max-width: 780px) {
  .finale-grid { grid-template-columns: 1fr; gap: 40px; }
  .finale-copy { text-align: center; }
  .finale-copy .btn { width: 100%; }
}

/* ── Earnings ─────────────────────────────────────────────── */

/* From THE NUMBERS down the page goes fully opaque; the background video
   only shows behind the hero and the WHY IN8TE section. */
.numbers { background: #142326; }
.section.solid { background: var(--bg); }
.section.tint { background: #142326; } /* lighter tone, same as THE NUMBERS / APPLY */

.earn-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.earn-col {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 30px 24px;
  text-align: center;
}
.earn-col .sales {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}
.earn-col .figure {
  font-family: var(--font-mono);
  font-size: clamp(30px, 4vw, 46px);
  font-weight: 600;
  margin: 14px 0 6px;
}
.earn-col .per {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--muted);
}
.earn-col.hi { border-color: rgba(126, 188, 177, 0.5); }
.earn-col.hi .figure { color: var(--accent); }

.earn-assumption {
  margin-top: 18px;
  font-size: 13.5px;
  color: var(--muted);
  text-align: center;
}

.earn-note {
  margin: 40px auto 0;
  max-width: 680px;
  padding: 22px 26px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 2px solid var(--accent);
  border-radius: 10px;
  font-size: 15px;
}

.proof-slots {
  margin-top: 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.proof-card {
  min-height: 130px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 26px 28px;
}
.proof-card blockquote p {
  font-size: 16px;
  line-height: 1.55;
  text-wrap: balance;
}
.proof-card cite {
  display: block;
  margin-top: 14px;
  font-family: var(--font-mono);
  font-style: normal;
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--accent);
}
.proof-fact-title {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}
.proof-fact {
  font-size: 16px;
  line-height: 1.55;
  color: var(--text);
}

/* ── Athletes strip ───────────────────────────────────────── */

.strip-wrap { position: relative; }

.strip-nav {
  position: absolute;
  top: 130px; /* roughly centred on the 4:5 photos */
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--surface-2);
  border: 1px solid var(--line-strong);
  cursor: pointer;
  transition: opacity 0.25s ease, background 0.2s ease, border-color 0.2s ease;
}
.strip-nav:hover { background: var(--accent); border-color: var(--accent); }
.strip-nav:hover svg { stroke: var(--bg); }
.strip-nav svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: var(--text);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.strip-nav.prev { left: -10px; }
.strip-nav.next { right: -10px; }
.strip-nav.is-hidden { opacity: 0; pointer-events: none; }

.athletes-strip {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 16px;
  -webkit-overflow-scrolling: touch;
  cursor: grab;
}
.athletes-strip.dragging {
  cursor: grabbing;
  scroll-snap-type: none; /* snap fights manual scrollLeft while dragging */
  scroll-behavior: auto;
  user-select: none;
}
.athletes-strip img { -webkit-user-drag: none; user-select: none; }
.athletes-strip::-webkit-scrollbar { height: 6px; }
.athletes-strip::-webkit-scrollbar-track { background: var(--bg-2); border-radius: 3px; }
.athletes-strip::-webkit-scrollbar-thumb { background: var(--line); border-radius: 3px; }

.athlete-card {
  flex: 0 0 220px;
  scroll-snap-align: start;
}
.athlete-card .photo {
  aspect-ratio: 4 / 5;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
}
.athlete-card .photo img { width: 100%; height: 100%; object-fit: cover; }
.athlete-card .name {
  margin-top: 12px;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 500;
}
.athlete-card .handle {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--muted);
}
.athlete-card .handle a { color: inherit; text-decoration: none; }
.athlete-card .handle a:hover { color: var(--accent); text-decoration: underline; }
.athlete-card .cred {
  margin-top: 4px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--accent);
}

.athlete-stats {
  margin-top: 56px;
  display: flex;
  justify-content: center;
  gap: clamp(40px, 9vw, 110px);
  text-align: center;
}
.stat-num {
  font-family: var(--font-mono);
  font-size: clamp(40px, 6vw, 64px);
  font-weight: 600;
  line-height: 1;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
}
.stat-label {
  margin-top: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
@media (max-width: 560px) {
  .athlete-stats { gap: 24px; }
  .stat-num { font-size: 34px; }
  .stat-label { font-size: 10.5px; }
}

/* ── Process ──────────────────────────────────────────────── */

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.step {
  border-top: 1px solid var(--line);
  padding-top: 22px;
}
.step .num {
  font-family: var(--font-mono);
  font-size: 34px;
  font-weight: 600;
  color: var(--accent);
}
.step h3 { margin: 12px 0 8px; }
.step p { font-size: 14.5px; color: var(--muted); }

/* ── Apply form ───────────────────────────────────────────── */

.apply { background: #142326; }
.apply-inner {
  max-width: 480px;
  margin: 0 auto;
  text-align: center;
}
.apply-inner h2 { margin: 16px 0 0; }
.apply-inner > p { margin-top: 14px; color: var(--muted); }

.apply-form { margin-top: 36px; text-align: left; }

.field { margin-bottom: 18px; }
.field label {
  display: block;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}
.field input {
  width: 100%;
  min-height: 52px;
  padding: 14px 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  transition: border-color 0.2s ease;
}
.field input::placeholder { color: rgba(241, 236, 222, 0.34); }
.field input:focus { outline: none; border-color: var(--accent); }
.field input[aria-invalid="true"] { border-color: var(--error); }
.field .err {
  display: none;
  margin-top: 7px;
  font-size: 13px;
  color: var(--error);
}
.field .err.show { display: block; }

.apply-form .btn { width: 100%; margin-top: 8px; }

.form-small {
  margin-top: 14px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--muted);
  text-align: center;
}
.consent {
  margin-top: 18px;
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--muted);
  text-align: center;
}
.consent a { color: var(--muted); text-decoration: underline; }
.consent a:hover { color: var(--text); }

/* ── Footer ───────────────────────────────────────────────── */

.footer {
  border-top: 1px solid var(--line);
  padding: 36px 0;
  background: var(--bg);
}
.footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.wordmark { display: inline-block; }
.wordmark img { height: 24px; width: auto; display: block; }
.footer-copy {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--muted);
}
.footer-links {
  display: flex;
  gap: 24px;
}
.footer-links a {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
  padding: 12px 0; /* 44px touch target */
}
.footer-links a:hover { color: var(--text); }

/* ── Confirmation pages (thank-you / declined) ────────────── */

.confirm-page {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
}
.confirm-header { padding: 32px 0; }
.confirm-main {
  flex: 1;
  display: flex;
  align-items: center;
  padding: 48px 0;
}
.confirm-inner {
  max-width: 560px;
  margin: 0 auto;
  padding: 0 24px;
  text-align: center;
}
.confirm-inner h1 { font-size: clamp(30px, 4.5vw, 46px); margin: 18px 0 0; }
.confirm-inner > p { margin-top: 18px; color: var(--muted); }

.confirm-link {
  display: inline-block;
  margin-top: 32px;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.08em;
  color: var(--muted);
  padding: 12px 0;
}
.confirm-link:hover { color: var(--text); }

/* Mini timeline */
.timeline {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
  margin-top: 40px;
}
.tl-step {
  flex: 1;
  max-width: 160px;
  position: relative;
  text-align: center;
}
.tl-step .dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  margin: 0 auto;
  background: var(--surface-2);
  border: 2px solid var(--line);
  position: relative;
  z-index: 1;
}
.tl-step.done .dot { background: var(--accent); border-color: var(--accent); }
.tl-step.current .dot { background: var(--text); border-color: var(--text); }
.tl-step:not(:first-child)::before {
  content: '';
  position: absolute;
  top: 5px;
  right: 50%;
  width: 100%;
  height: 2px;
  background: var(--line);
}
.tl-step.done::before, .tl-step.current::before { background: var(--accent); }
.tl-step .tl-label {
  margin-top: 12px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--muted);
}
.tl-step.current .tl-label { color: var(--text); }
.tl-step.done .tl-label { color: var(--accent); }

.inbox-note { margin-top: 36px; font-size: 14px; color: var(--muted); }

/* WhatsApp community CTA (thank-you page) */
.wa-cta { margin-top: 34px; }
.wa-note { margin: 0 0 14px; font-size: 14px; color: var(--muted); }
.wa-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 999px;
  background: #25d366;
  color: #04240f;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  transition: background .2s ease, transform .2s ease;
}
.wa-btn:hover { background: #3ae07a; transform: translateY(-2px); }
.wa-btn:active { transform: translateY(0); }
.wa-btn svg { width: 20px; height: 20px; fill: currentColor; }

/* Rejection page: selection criteria */
.criteria {
  margin: 32px 0;
  display: grid;
  gap: 14px;
  text-align: left;
}
.criterion {
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 2px solid var(--accent);
  border-radius: 10px;
  padding: 16px 20px;
}
.crit-label {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}
.crit-text { margin-top: 6px; font-size: 14.5px; color: var(--muted); }
.watching {
  margin-top: 24px;
  font-family: var(--font-mono);
  font-size: 14px;
  letter-spacing: 0.06em;
  color: var(--text);
}

/* ── Legal page (privacy) ─────────────────────────────────── */

.legal-main { flex: 1; padding: 48px 0 80px; }
.legal {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 24px;
}
.legal h1 { font-size: clamp(28px, 4vw, 42px); margin: 18px 0 0; }
.legal-updated {
  margin-top: 12px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--muted);
}
.legal h2 {
  font-size: 18px;
  margin: 40px 0 12px;
}
.legal p, .legal li {
  font-size: 15px;
  color: var(--muted);
}
.legal strong { color: var(--text); font-weight: 600; }
.legal ul { padding-left: 22px; display: grid; gap: 8px; margin-top: 8px; }
.legal a { color: var(--accent); }

/* ── Responsive ───────────────────────────────────────────── */

@media (max-width: 960px) {
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); gap: 28px 16px; }
  .hero-grid { gap: 40px; }
}

@media (max-width: 780px) {
  .section { padding: 72px 0; }

  .hero { min-height: 0; padding: 24px 0 56px; }
  .hero-grid { grid-template-columns: 1fr; gap: 28px; }
  .hero-label { margin-bottom: 14px; }
  .hero-points { margin: 20px 0 26px; gap: 7px; }
  .hero-points li { font-size: 15px; }
  .hero .btn { width: 100%; }
  .video-play span { width: 60px; height: 60px; }

  .earn-grid { grid-template-columns: 1fr; }
  .proof-slots { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .why-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .athlete-card { flex-basis: 180px; }
  .footer-row { justify-content: center; text-align: center; }
}

/* ============================================================
   Additions for gym/invest landing pages
   ============================================================ */

/* ── Form select (investment level etc.) ──────────────────── */
.field select {
  width: 100%;
  min-height: 52px;
  padding: 14px 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1 1l6 6 6-6' fill='none' stroke='%23F1ECDE' stroke-width='2' stroke-opacity='0.6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
}
.field select:focus { outline: none; border-color: var(--accent); }
.field select[aria-invalid="true"] { border-color: var(--error); }


/* ── Hero video sound pill (muted autoplay fallback) ──────── */
.video-sound {
  position: absolute;
  left: 14px;
  bottom: 14px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 10px 16px;
  border: 1px solid rgba(241, 236, 222, 0.35);
  border-radius: 999px;
  background: rgba(15, 27, 29, 0.72);
  color: var(--text);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  transition: background 0.2s ease, border-color 0.2s ease;
}
.video-sound:hover { background: rgba(15, 27, 29, 0.92); border-color: var(--accent); }
.video-sound svg { width: 16px; height: 16px; fill: currentColor; }
.video-sound.hidden { display: none; }

/* ── Deck viewer: PDF-style slide browser ─────────────────── */
.deck-sub { margin-top: 12px; color: var(--muted); font-size: 15px; }

.deck-viewer { max-width: 880px; margin: 36px auto 0; outline: none; }
.deck-viewer:focus-visible .deck-stage { border-color: var(--accent); }

.deck-stage {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
}
.deck-track {
  display: flex;
  transition: transform 0.45s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.deck-page { flex: 0 0 100%; margin: 0; position: relative; }
.deck-page img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
}
.deck-page-locked img {
  filter: blur(14px);
  transform: scale(1.07);
  opacity: 0.5;
}
.deck-gate {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  text-align: center;
  padding: 24px;
  background: radial-gradient(ellipse at center, rgba(15, 27, 29, 0.6) 0%, rgba(15, 27, 29, 0.2) 80%);
}
.gate-note {
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text);
}

.deck-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: rgba(15, 27, 29, 0.72);
  color: var(--text);
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, opacity 0.2s ease;
}
.deck-nav:hover { border-color: var(--accent); background: rgba(15, 27, 29, 0.9); }
.deck-nav svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; }
.deck-nav.prev { left: 12px; }
.deck-nav.next { right: 12px; }
.deck-nav.is-hidden { opacity: 0; pointer-events: none; }

.deck-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 14px;
}
.deck-count {
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.12em;
  color: var(--muted);
}
.deck-dots { display: flex; gap: 8px; }
.deck-dot {
  width: 9px;
  height: 9px;
  padding: 0;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  background: transparent;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
}
.deck-dot:hover { border-color: var(--accent); }
.deck-dot.active { background: var(--accent); border-color: var(--accent); }
.deck-dot.lock { border-style: dashed; }

.deck-help {
  margin-top: 10px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  text-align: center;
}

@media (prefers-reduced-motion: reduce) {
  .deck-track { transition: none; }
}
@media (max-width: 780px) {
  .deck-nav { width: 38px; height: 38px; }
  .deck-bar { margin-top: 12px; }
}
