:root {
  --bg: #f2f2f7; --card: #ffffff; --text: #000000; --text-2: rgba(60, 60, 67, 0.62); --text-3: rgba(60, 60, 67, 0.32);
  --fill: rgba(118, 118, 128, 0.12); --sep: rgba(60, 60, 67, 0.14); --red: #ff3b30; --glow: rgba(255, 59, 48, 0.16);
  --btn-bg: #000000; --btn-text: #ffffff; --ok: #1f9d55;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #000000; --card: #1c1c1e; --text: #ffffff; --text-2: rgba(235, 235, 245, 0.62); --text-3: rgba(235, 235, 245, 0.3);
    --fill: rgba(118, 118, 128, 0.24); --sep: rgba(84, 84, 88, 0.5); --glow: rgba(255, 59, 48, 0.22);
    --btn-bg: #ffffff; --btn-text: #000000; --ok: #30d158;
    color-scheme: dark;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; min-height: 100vh; background: var(--bg); color: var(--text);
  font: 400 16px/1.5 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", "Segoe UI", Roboto, system-ui, sans-serif;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
  padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px));
}
.glow { position: fixed; inset: -20vh -10vw auto auto; width: 70vw; height: 70vh; background: radial-gradient(closest-side, var(--glow), transparent); filter: blur(30px); pointer-events: none; z-index: 0; }
header, main, footer { position: relative; z-index: 1; max-width: 1080px; margin: 0 auto; }

.top { display: flex; align-items: center; justify-content: space-between; padding-block: max(18px, env(safe-area-inset-top, 0px)) 0; }
.wordmark { font: italic 900 26px/1 -apple-system, BlinkMacSystemFont, "SF Pro Display", "Inter", system-ui, sans-serif; letter-spacing: -0.045em; color: var(--text); text-decoration: none; display: inline-flex; align-items: flex-end; gap: 3px; }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--red); margin-bottom: 3px; }
.login { font-size: 14px; font-weight: 600; color: var(--text); text-decoration: none; padding: 8px 14px; border-radius: 999px; background: var(--fill); transition: opacity 0.15s; }
.login:hover { opacity: 0.75; }

.hero { padding-block: clamp(56px, 12vh, 120px) 40px; max-width: 760px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 18px; font-size: 12px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-2); }
.live { width: 8px; height: 8px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 0 var(--red); animation: pulse 1.8s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(255, 59, 48, 0.55); } 70% { box-shadow: 0 0 0 9px rgba(255, 59, 48, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 59, 48, 0); } }
h1 { margin: 0; font: 800 clamp(44px, 9vw, 88px)/0.98 -apple-system, BlinkMacSystemFont, "SF Pro Display", "Inter", system-ui, sans-serif; letter-spacing: -0.045em; text-wrap: balance; }
.accent { color: var(--red); }
.lede { margin: 22px 0 0; font-size: clamp(17px, 2.2vw, 20px); line-height: 1.45; color: var(--text-2); max-width: 36em; }

.signup { margin-top: 34px; max-width: 520px; }
.field { display: flex; gap: 8px; padding: 6px; border-radius: 18px; background: var(--card); box-shadow: 0 1px 0 var(--sep), 0 10px 30px rgba(0, 0, 0, 0.06); }
.field:focus-within { box-shadow: 0 0 0 2px var(--red), 0 10px 30px rgba(0, 0, 0, 0.08); }
.field input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; color: var(--text); font: inherit; font-size: 17px; padding: 10px 12px; }
.field input::placeholder { color: var(--text-3); }
.field button { flex: none; border: 0; cursor: pointer; border-radius: 13px; padding: 12px 18px; font: inherit; font-size: 15px; font-weight: 700; background: var(--btn-bg); color: var(--btn-text); transition: transform 0.12s, opacity 0.15s; }
.field button:active { transform: scale(0.97); }
.field button[disabled] { opacity: 0.55; cursor: default; }
.note { margin: 12px 4px 0; font-size: 13.5px; color: var(--text-2); min-height: 1.5em; }
.note.err { color: var(--red); }
.note.ok { color: var(--ok); font-weight: 600; }
.ts { margin-top: 10px; }
.ts:empty { display: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.signup.done .field { display: none; }

.ticker { overflow: hidden; border-block: 1px solid var(--sep); padding-block: 14px; margin-block: 24px 40px; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.track { display: flex; gap: 34px; width: max-content; animation: slide 48s linear infinite; }
.track span { font-size: 14px; font-weight: 700; letter-spacing: 0.02em; color: var(--text-2); white-space: nowrap; }
.track span::before { content: ""; display: inline-block; width: 5px; height: 5px; border-radius: 50%; background: var(--text-3); margin-right: 34px; vertical-align: middle; }
@keyframes slide { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .track { animation: none; } .live { animation: none; } }

.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 14px; padding-bottom: 56px; }
.card { background: var(--card); border-radius: 22px; padding: 20px; min-width: 0; }
.card h2 { margin: 18px 0 6px; font-size: 19px; line-height: 1.2; letter-spacing: -0.02em; }
.card p { margin: 0; font-size: 15px; color: var(--text-2); }
.score { position: relative; display: grid; gap: 6px; padding: 14px; border-radius: 14px; background: var(--fill); }
.score .row { display: flex; justify-content: space-between; align-items: center; color: var(--text-2); }
.score .row.win { color: var(--text); }
.score .mono { font-size: 13px; font-weight: 700; letter-spacing: 0.08em; }
.score b { font-size: 26px; font-weight: 800; font-variant-numeric: tabular-nums; letter-spacing: -0.03em; }
.score .final { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); font-size: 12px; font-weight: 700; color: var(--text-2); text-transform: uppercase; letter-spacing: 0.08em; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; min-height: 92px; align-content: center; }
.chips span { font-size: 13px; font-weight: 600; padding: 7px 11px; border-radius: 999px; background: var(--fill); }
.chips span:first-child { background: var(--red); color: #fff; }
.writers { display: flex; align-items: center; min-height: 92px; }
.writers i { width: 44px; height: 44px; border-radius: 13px; border: 3px solid var(--card); margin-right: -12px; background: linear-gradient(140deg, #ff3b30, #7a0d07); }
.writers i:nth-child(2) { background: linear-gradient(140deg, #0a84ff, #06305c); }
.writers i:nth-child(3) { background: linear-gradient(140deg, #ffd60a, #8a6d00); }
.writers span { margin-left: 22px; font-size: 13px; font-weight: 600; color: var(--text-2); }

.foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; padding-block: 22px max(24px, env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--sep); font-size: 13px; color: var(--text-3); }

@media (max-width: 520px) {
  .field { flex-direction: column; }
  .field button { width: 100%; padding: 14px; }
  .hero { padding-top: 48px; }
}
