/* MVP Fantasy — marketing site. Prime Time tokens; :root values reconciled to apps/web globals.css at deploy. */
:root {
  --bg: #0b0f17;
  --surface: #121826;
  --line: #232d42;
  --text: #f2f5f9;
  --dim: #a0adc0;
  --gold: #f5b841;
  --gold-soft: #f8d089;
  --gold-mute: #8a7133;
  --radius: 14px;
  --radius-sm: 10px;
  --font-display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { color-scheme: dark; }
body {
  margin: 0;
  min-height: 100dvh;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

/* Stadium field: pure CSS, no assets — matches the app's Landing v2 treatment */
.field {
  position: relative;
  min-height: 100dvh;
  display: grid;
  grid-template-rows: 1fr auto;
  overflow: hidden;
  background:
    radial-gradient(ellipse 70% 45% at 50% 0%, rgba(245, 184, 65, 0.18), transparent 70%),
    radial-gradient(ellipse 90% 60% at 50% 110%, rgba(245, 184, 65, 0.07), transparent 60%),
    linear-gradient(180deg, #0F0F13 0%, var(--bg) 60%);
}
.field::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    repeating-linear-gradient(180deg, transparent 0 88px, rgba(255, 255, 255, 0.025) 88px 89px);
  mask-image: linear-gradient(180deg, transparent 0%, #000 35%, #000 70%, transparent 100%);
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 35%, #000 70%, transparent 100%);
}

main {
  position: relative;
  display: grid;
  place-items: center;
  padding: clamp(40px, 8vh, 96px) 24px 48px;
  text-align: center;
}
.hero { max-width: 880px; width: 100%; }

.logo {
  width: clamp(140px, 22vw, 200px);
  height: auto;
  display: block;
  margin: 0 auto 28px;
  filter: drop-shadow(0 12px 32px rgba(245, 184, 65, 0.22));
}

.tagline {
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  font-size: clamp(38px, 7.2vw, 84px);
  line-height: 0.96;
  letter-spacing: 0.005em;
  margin: 0 0 20px;
}
.tagline em { font-style: normal; color: var(--gold); }

.sub {
  color: var(--dim);
  font-size: clamp(16px, 1.6vw, 20px);
  margin: 0 auto 36px;
  max-width: 520px;
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 14px;
  color: var(--gold);
  border: 1px solid var(--gold-soft);
  border-radius: 999px;
  padding: 8px 18px;
  margin-bottom: 28px;
}

/* Waitlist */
.waitlist {
  margin: 0 auto;
  max-width: 460px;
  text-align: left;
}
.waitlist label {
  display: block;
  font-size: 13px;
  color: var(--dim);
  margin: 0 0 8px 2px;
  text-align: center;
}
.row { display: flex; gap: 8px; }
.waitlist input[type="email"] {
  flex: 1;
  min-width: 0;
  height: 50px;
  padding: 0 16px;
  font: inherit;
  font-size: 16px;
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  outline: none;
}
.waitlist input[type="email"]:focus-visible {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px var(--gold-soft);
}
.waitlist button {
  height: 50px;
  padding: 0 22px;
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 18px;
  color: #131313;
  background: var(--gold);
  border: 0;
  border-radius: var(--radius-sm);
  cursor: pointer;
  white-space: nowrap;
}
.waitlist button:hover { background: #FFC85A; }
.waitlist button:focus-visible { outline: 3px solid var(--gold-soft); outline-offset: 2px; }
.waitlist button[disabled] { opacity: 0.6; cursor: default; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.msg {
  min-height: 22px;
  margin: 10px 2px 0;
  font-size: 14px;
  text-align: center;
  color: var(--dim);
}
.msg[data-state="ok"] { color: var(--text); }
.msg[data-state="err"] { color: #F28B82; }
.fine { font-size: 12px; color: var(--dim); text-align: center; margin: 14px 0 0; opacity: 0.8; }

footer {
  position: relative;
  padding: 20px 24px 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  justify-content: center;
  font-size: 13px;
  color: var(--dim);
}
footer a { color: var(--dim); text-decoration: none; border-bottom: 1px solid var(--line); }
footer a:hover, footer a:focus-visible { color: var(--text); border-color: var(--gold); outline: none; }

/* Legal pages */
.doc { max-width: 720px; margin: 0 auto; padding: 48px 24px 64px; text-align: left; }
.doc .logo { width: 88px; margin: 0 0 24px; }
.doc h1 {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-weight: 700;
  font-size: clamp(34px, 5vw, 48px);
  line-height: 1;
  margin: 0 0 8px;
}
.doc .meta { color: var(--dim); font-size: 14px; margin: 0 0 28px; }
.doc p { color: var(--text); margin: 0 0 16px; }
.doc a { color: var(--gold-mute); }
.back { display: inline-block; margin-top: 24px; color: var(--dim); }

@media (max-width: 480px) {
  .row { flex-direction: column; }
  .waitlist .row input[type="email"],
  .waitlist .row button { flex: 0 0 auto; width: 100%; }
}
@media (prefers-reduced-motion: no-preference) {
  .hero > * { animation: rise 0.6s ease-out both; }
  .hero > :nth-child(2) { animation-delay: 0.08s; }
  .hero > :nth-child(3) { animation-delay: 0.16s; }
  .hero > :nth-child(4) { animation-delay: 0.24s; }
  .hero > :nth-child(5) { animation-delay: 0.32s; }
  .hero > :nth-child(6) { animation-delay: 0.40s; }
  @keyframes rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
}
