/* Pro Athlete Academy — landing. Palette mirrors the app's brand.css. */
:root {
  --bg:        #0f1115;
  --bg-2:      #161922;
  --bg-3:      #1c2029;
  --fg:        #f4f5f7;
  --fg-muted:  #9aa1ad;
  --accent:    #ffd166;   /* warm gold */
  --accent-2:  #4cc9f0;   /* cyan */
  --good:      #5dd39e;
  --line:      #232733;
  --radius:    14px;
  --radius-lg: 22px;
  --maxw:      1080px;
  --font-display: "Playfair Display", ui-serif, Georgia, serif;
  --font-body:    "Inter", -apple-system, BlinkMacSystemFont, "SF Pro Text", system-ui, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
body::before {
  /* faint stadium-light glow behind the hero */
  content: "";
  position: fixed; inset: -20vh 0 auto 0; height: 70vh; z-index: -1;
  background: radial-gradient(60% 60% at 50% 0%, rgba(255,209,102,0.10), transparent 70%),
              radial-gradient(50% 50% at 80% 10%, rgba(76,201,240,0.08), transparent 70%);
  pointer-events: none;
}
a { color: inherit; text-decoration: none; }
em { font-style: normal; color: var(--accent); }
.hl { color: var(--accent); }

.skip {
  position: absolute; left: -9999px; top: 0; background: var(--accent); color: #0f1115;
  padding: 10px 16px; border-radius: 0 0 8px 0; font-weight: 600;
}
.skip:focus { left: 0; }

/* ── buttons ─────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 20px; border-radius: 999px; font-weight: 600; font-size: 15px;
  border: 1px solid transparent; cursor: pointer; transition: transform .12s ease, background .15s ease, border-color .15s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-accent { background: var(--accent); color: #0f1115; }
.btn-accent:hover { background: #ffdd8a; }
.btn-ghost { background: transparent; color: var(--fg); border-color: var(--line); }
.btn-ghost:hover { border-color: #3a4150; background: rgba(255,255,255,0.03); }
.btn-block { width: 100%; padding: 14px 20px; font-size: 16px; }

/* ── header ──────────────────────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px clamp(16px, 4vw, 40px);
  backdrop-filter: blur(10px);
  background: rgba(15,17,21,0.72);
  border-bottom: 1px solid var(--line);
}
.wordmark { display: flex; align-items: center; gap: 10px; font-weight: 600; letter-spacing: 0.01em; }
.wordmark .mark { width: 22px; height: 22px; color: var(--accent); flex: 0 0 auto; }
.wordmark span { font-size: 15px; }

/* ── layout ──────────────────────────────────────────────── */
section { padding: clamp(64px, 9vw, 120px) clamp(16px, 4vw, 40px); }
.hero, .features, .split, .waitlist { max-width: var(--maxw); margin: 0 auto; }
.section-title {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(28px, 4.4vw, 44px); line-height: 1.15; margin-bottom: 36px;
}

/* ── hero ────────────────────────────────────────────────── */
.hero { text-align: center; padding-top: clamp(56px, 10vw, 110px); }
.eyebrow {
  text-transform: uppercase; letter-spacing: 0.16em; font-size: 12px;
  color: var(--fg-muted); font-weight: 600; margin-bottom: 22px;
}
.hero h1 {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(34px, 6.4vw, 64px); line-height: 1.08; letter-spacing: -0.01em;
  margin-bottom: 24px;
}
.lede {
  max-width: 640px; margin: 0 auto 32px; color: var(--fg-muted);
  font-size: clamp(16px, 2vw, 19px);
}
.hero-cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-bottom: 18px; }
.hero-note { color: var(--fg-muted); font-size: 13px; }

/* ── features ────────────────────────────────────────────── */
.features .section-title { text-align: center; }
.grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.card {
  background: linear-gradient(180deg, var(--bg-2), var(--bg-2)) padding-box,
              linear-gradient(180deg, rgba(255,255,255,0.10), rgba(255,255,255,0.02)) border-box;
  border: 1px solid transparent; border-radius: var(--radius-lg);
  padding: 28px 28px 26px; position: relative; overflow: hidden;
}
.card-num {
  font-family: var(--font-display); font-size: 13px; font-weight: 600;
  color: var(--accent); letter-spacing: 0.1em; margin-bottom: 12px;
}
.card h3 { font-size: 20px; font-weight: 600; margin-bottom: 10px; }
.card p { color: var(--fg-muted); font-size: 15.5px; }

/* ── split ───────────────────────────────────────────────── */
.split {
  display: grid; grid-template-columns: 1fr 1fr; gap: 18px;
  padding-top: 0;
}
.split-col {
  background: var(--bg-2); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 28px;
}
.split-col h3 { font-family: var(--font-display); font-size: 22px; font-weight: 600; margin-bottom: 10px; }
.split-col p { color: var(--fg-muted); font-size: 16px; }

/* ── waitlist ────────────────────────────────────────────── */
.waitlist { text-align: center; }
.waitlist .section-title { margin-bottom: 14px; }
.waitlist-lede { color: var(--fg-muted); max-width: 540px; margin: 0 auto 32px; }
.form {
  max-width: 520px; margin: 0 auto; text-align: left;
  background: var(--bg-2); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 26px;
  display: flex; flex-direction: column; gap: 14px;
}
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form label { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 500; color: var(--fg); }
.form .opt { color: var(--fg-muted); font-weight: 400; }
.form input, .form select, .form textarea {
  background: var(--bg); border: 1px solid var(--line); color: var(--fg);
  border-radius: 10px; padding: 11px 12px; font: inherit; font-size: 15px;
  transition: border-color .15s ease;
}
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--accent-2); }
.form textarea { resize: vertical; }
.form .btn-block { margin-top: 4px; }
.form-fine { color: var(--fg-muted); font-size: 12.5px; text-align: center; }
.hp { position: absolute; left: -9999px; }

/* ── footer ──────────────────────────────────────────────── */
.site-footer {
  border-top: 1px solid var(--line); padding: 40px clamp(16px, 4vw, 40px);
  max-width: var(--maxw); margin: 0 auto; text-align: center;
}
.footer-row { display: flex; gap: 14px; align-items: baseline; justify-content: center; flex-wrap: wrap; margin-bottom: 14px; }
.footer-mark { font-weight: 600; }
.footer-tag { color: var(--fg-muted); font-size: 14px; }
.footer-fine { color: var(--fg-muted); font-size: 12.5px; max-width: 640px; margin: 6px auto 0; line-height: 1.7; }
.footer-fine strong { color: var(--fg); }

/* ── reveal-on-scroll (progressive enhancement) ──────────── */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .5s ease, transform .5s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ── responsive ──────────────────────────────────────────── */
@media (max-width: 720px) {
  .grid, .split { grid-template-columns: 1fr; }
  .form .row { grid-template-columns: 1fr; }
  .site-header { padding: 12px 16px; }
  .wordmark span { display: none; }
  body { font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}
