:root {
  --pink: #FF2E63;
  --coral: #FF5A3C;
  --orange: #FF8A00;
  --ink: #111111;
  --paper: #FFF5F7;
  --white: #FFFFFF;
  --muted: #6B5560;
  --body: #4D3C44;
  --dark-card: #1E1E22;
  --dark-text: #D8D5DE;
  --chip: #F3EEF1;
  --chip-miss: #FFD3DE;
  --gradient: linear-gradient(160deg, var(--pink) 0%, var(--orange) 100%);
  color-scheme: light;
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  overflow-x: hidden;
}

a { color: var(--ink); }
a:hover { color: var(--pink); }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
.hero :focus-visible, .final :focus-visible { outline-color: var(--white); }

.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;
}
.hp { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }

/* ---------- hero ---------- */

.hero {
  background: var(--gradient);
  color: var(--white);
  padding: 0 24px 96px;
}

.nav {
  max-width: 1200px; margin: 0 auto;
  display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between;
  padding: 24px 0;
}
.wordmark {
  color: var(--white); text-decoration: none;
  font-size: 30px; font-weight: 800; letter-spacing: -1px;
}
.wordmark:hover { color: var(--white); }
.nav-links { display: flex; flex-wrap: wrap; gap: 24px; align-items: center; font-weight: 700; font-size: 15px; }
.nav-links a { color: var(--white); text-decoration: none; }
.nav-links a.nav-cta { background: var(--white); color: var(--ink); border-radius: 999px; padding: 10px 18px; }
.nav-links a.nav-cta:hover { color: var(--pink); }

.hero-grid {
  max-width: 1200px; margin: 0 auto;
  display: flex; flex-wrap: wrap; gap: 48px; align-items: center;
  padding-top: 48px;
}
.hero-copy { flex: 1 1 460px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.hero-title {
  margin: 0;
  font-size: clamp(64px, 10vw, 136px); font-weight: 800; letter-spacing: -0.045em; line-height: 0.85;
}
.hero-lede { margin: 0; font-size: 22px; font-weight: 600; line-height: 1.4; max-width: 520px; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 8px 20px; align-items: center; }
.hero-meta p, .hero-phone { margin: 0; font-size: 14px; font-weight: 600; }
.hero-phone { display: none; }
.link-underline {
  color: var(--white); text-decoration: none; font-weight: 700; font-size: 17px;
  border-bottom: 2px solid var(--white); padding-bottom: 2px;
}
.link-underline:hover { color: var(--white); opacity: 0.85; }

.hero-card-wrap { flex: 1 1 420px; min-width: 0; display: flex; justify-content: center; }
.game-card {
  width: 100%; max-width: 480px;
  background: var(--white); color: var(--ink);
  border-radius: 36px; padding: 36px;
  display: flex; flex-direction: column; gap: 18px;
  transform: rotate(-2deg);
  box-shadow: 0 30px 60px rgba(17, 17, 17, 0.25);
}
.game-meta { font-size: 14px; font-weight: 700; color: var(--muted); }
.game-quote { margin: 0; font-weight: 800; font-size: 32px; line-height: 1.15; }
.game-choices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.game-choices button {
  font: inherit; cursor: pointer; border: none; border-radius: 999px;
  padding: 16px; font-weight: 800; font-size: 17px;
  background: var(--chip); color: var(--ink);
  transition: background-color 0.15s ease, color 0.15s ease;
}
.game-choices button:hover { background: var(--chip-miss); }
.game-choices button.is-answer { background: var(--ink); color: var(--white); }
.game-choices button.is-miss { background: var(--chip-miss); }
.game-verdict { margin: 0; font-size: 15px; font-weight: 600; color: var(--muted); min-height: 22px; }

/* ---------- waitlist form ---------- */

.waitlist { display: flex; flex-direction: column; gap: 10px; width: 100%; max-width: 520px; }
.waitlist-center { margin: 0 auto; align-items: stretch; }
.waitlist-form {
  display: flex; gap: 8px; align-items: stretch;
  background: var(--white); border-radius: 999px; padding: 6px;
  box-shadow: 0 16px 40px rgba(17, 17, 17, 0.18);
}
.waitlist-form[hidden] { display: none; }
.waitlist-form input[type="email"] {
  flex: 1 1 auto; min-width: 0;
  font: inherit; font-size: 17px; font-weight: 600; color: var(--ink);
  border: none; background: transparent; padding: 0 18px; border-radius: 999px;
}
.waitlist-form input[type="email"]::placeholder { color: var(--muted); }
.waitlist-form input[type="email"]:focus { outline: none; }
.waitlist-form:focus-within { box-shadow: 0 0 0 3px var(--ink), 0 16px 40px rgba(17, 17, 17, 0.18); }
.btn-dark {
  flex: none; font: inherit; cursor: pointer; border: none;
  background: var(--ink); color: var(--white);
  border-radius: 999px; padding: 16px 26px; font-weight: 800; font-size: 17px;
}
.btn-dark:hover { background: #2A2A2E; }
.btn-dark[disabled] { opacity: 0.6; cursor: progress; }
.waitlist-error { margin: 0; min-height: 0; font-size: 15px; font-weight: 700; }
.waitlist-error:empty { display: none; }
.waitlist-done {
  background: var(--white); color: var(--ink);
  border-radius: 28px; padding: 22px 24px;
  display: flex; flex-direction: column; gap: 8px; text-align: left;
  box-shadow: 0 16px 40px rgba(17, 17, 17, 0.18);
}
.waitlist-done[hidden] { display: none; }
.done-title { margin: 0; font-size: 26px; font-weight: 800; letter-spacing: -0.5px; }
.done-sub { margin: 0; font-size: 15px; font-weight: 600; color: var(--body); line-height: 1.45; }
.btn-share {
  align-self: flex-start; margin-top: 6px;
  font: inherit; cursor: pointer; border: none;
  background: var(--gradient); color: var(--white);
  border-radius: 999px; padding: 12px 20px; font-weight: 800; font-size: 15px;
}

/* ---------- sections ---------- */

.section { padding: 96px 24px; }
.section-tight { padding: 0 24px 96px; }
.section-dark { background: var(--ink); color: var(--white); }
.wrap { max-width: 1200px; margin: 0 auto; }
.wrap-narrow { max-width: 860px; margin: 0 auto; }
.stack-40 { display: flex; flex-direction: column; gap: 40px; }
.h2 { margin: 0; font-size: clamp(40px, 6vw, 72px); font-weight: 800; letter-spacing: -0.04em; line-height: 0.95; }

.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.card { background: var(--white); border-radius: 28px; padding: 28px; display: flex; flex-direction: column; gap: 12px; }
.card h3 { margin: 0; font-size: 24px; font-weight: 800; }
.card p { margin: 0; font-size: 16px; line-height: 1.5; color: var(--body); }
.step-dot {
  width: 48px; height: 48px; border-radius: 999px; color: var(--white);
  display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 20px;
}

.game-tile {
  background: var(--dark-card); border-radius: 28px; padding: 28px;
  display: flex; flex-direction: column; gap: 10px; min-height: 220px;
}
.game-tile h3 { margin: 0; font-size: 28px; font-weight: 800; }
.game-tile p { margin: 0; font-size: 16px; line-height: 1.5; color: var(--dark-text); }
.game-tile-hot { background: var(--gradient); }
.game-tile-hot p { color: var(--white); }

.split { display: flex; flex-wrap: wrap; gap: 48px; align-items: center; }
.split-copy { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.lede-dark { margin: 0; font-size: 19px; line-height: 1.5; color: var(--body); max-width: 480px; }
.split-art { flex: 1 1 360px; min-width: 0; display: flex; justify-content: center; }
.story-card {
  width: 300px; max-width: 100%; aspect-ratio: 9 / 16;
  border-radius: 32px; background: var(--gradient); color: var(--white);
  padding: 28px; display: flex; flex-direction: column; gap: 16px;
  box-shadow: 0 30px 60px rgba(255, 46, 99, 0.3);
}
.story-brand { font-size: 18px; font-weight: 800; }
.story-title { font-size: 38px; font-weight: 800; line-height: 1; letter-spacing: -1.5px; }
.story-score { background: var(--white); color: var(--ink); border-radius: 22px; padding: 20px; }
.story-num { font-size: 64px; font-weight: 800; letter-spacing: -3px; line-height: 1; }
.story-label { font-size: 15px; font-weight: 700; }
.story-fact { font-size: 14px; font-weight: 700; }
.story-fill { flex: 1; }
.story-domain { font-size: 13px; font-weight: 700; }

.privacy-card {
  background: var(--white); border-radius: 36px; padding: clamp(28px, 5vw, 56px);
  display: flex; flex-wrap: wrap; gap: 40px;
}
.privacy-copy { flex: 1 1 380px; min-width: 0; }
.privacy-copy h2 { margin: 0 0 14px; font-size: clamp(36px, 5vw, 56px); font-weight: 800; letter-spacing: -0.035em; line-height: 1; }
.privacy-copy p { margin: 0; font-size: 18px; line-height: 1.5; color: var(--body); }
.privacy-list {
  flex: 1 1 380px; min-width: 0; margin: 0; padding: 0; list-style: none;
  display: flex; flex-direction: column; gap: 14px; font-size: 17px; font-weight: 600;
}
.privacy-list li { display: flex; gap: 12px; align-items: flex-start; }
.privacy-list li span { flex: none; width: 24px; height: 24px; border-radius: 999px; margin-top: 1px; }

.faq { display: flex; flex-direction: column; gap: 14px; }
.faq-title { margin-bottom: 16px; }
.faq-item { background: var(--white); border-radius: 22px; overflow: hidden; }
.faq-item button {
  font: inherit; cursor: pointer; width: 100%; text-align: left; border: none; background: none;
  padding: 22px 24px; display: flex; justify-content: space-between; gap: 16px;
  font-weight: 800; font-size: 19px; color: var(--ink);
}
.faq-item button:focus-visible { outline-offset: -3px; border-radius: 22px; }
.faq-item p { margin: 0; padding: 0 24px 22px; font-size: 16px; line-height: 1.55; color: var(--body); }
.faq-item p[hidden] { display: none; }

.final { background: var(--gradient); color: var(--white); padding: 112px 24px; text-align: center; }
.final-inner { max-width: 900px; margin: 0 auto; display: flex; flex-direction: column; gap: 24px; align-items: center; }
.final-title { margin: 0; font-size: clamp(56px, 9vw, 120px); font-weight: 800; letter-spacing: -0.045em; line-height: 0.88; }
.final-meta { margin: 0; font-size: 15px; font-weight: 600; }

.footer { background: var(--ink); color: var(--dark-text); padding: 32px 24px; }
.footer-inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; font-size: 14px;
}
.footer-name { font-weight: 800; color: var(--white); }
.footer-links { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-links a { color: var(--dark-text); }
.footer-links a:hover { color: var(--white); }

/* ---------- legal pages ---------- */

.legal-top { background: var(--gradient); padding: 22px 24px; }
.legal-top .wordmark { font-size: 26px; }
.draft-banner {
  background: var(--ink); color: var(--white); text-align: center;
  padding: 12px 16px; font-weight: 800; font-size: 15px;
}
.legal-doc {
  max-width: 760px; margin: 40px auto 80px; padding: clamp(24px, 5vw, 48px) clamp(16px, 5vw, 48px);
  background: var(--white); border-radius: 28px; font-size: 16px; line-height: 1.6; color: var(--body);
  overflow-wrap: anywhere;
}
.legal-doc h1, .legal-doc h2, .legal-doc h3 { color: var(--ink); line-height: 1.15; letter-spacing: -0.02em; }
.legal-doc h1 { margin-top: 0; font-size: clamp(32px, 6vw, 44px); }
.legal-doc table { border-collapse: collapse; width: 100%; display: block; overflow-x: auto; }
.legal-doc th, .legal-doc td { border: 1px solid #EADDE2; padding: 8px 10px; text-align: left; vertical-align: top; }

/* ---------- phone width ---------- */

@media (max-width: 640px) {
  .hero { padding: 0 16px 72px; }
  .nav { padding: 18px 0; }
  .wordmark { font-size: 24px; }
  .nav-links { gap: 16px; font-size: 14px; }
  .nav-links a:not(.nav-cta) { display: none; }
  .nav-links a.nav-cta { padding: 9px 14px; }
  .hero-grid { padding-top: 24px; gap: 40px; }
  .hero-copy { gap: 20px; }
  .hero-lede { font-size: 19px; }
  .hero-phone { display: block; }
  .game-card { padding: 26px; border-radius: 30px; transform: rotate(-1.5deg); }
  .game-quote { font-size: 26px; }
  .waitlist-form { flex-direction: column; border-radius: 26px; padding: 8px; }
  .waitlist-form input[type="email"] { padding: 14px 14px; font-size: 17px; }
  .btn-dark { width: 100%; }
  .section { padding: 72px 16px; }
  .section-tight { padding: 0 16px 72px; }
  .final { padding: 88px 16px; }
  .grid-3 { grid-template-columns: 1fr; }
  .game-tile { min-height: 0; }
  .split-copy, .split-art, .privacy-copy, .privacy-list, .hero-copy, .hero-card-wrap { flex-basis: 100%; }
  .faq-item button { font-size: 17px; padding: 20px; }
  .faq-item p { padding: 0 20px 20px; }
  .footer { padding: 28px 16px; }
}
