:root {
  --bg: #07080a;
  --surface: #101318;
  --surface-2: #161a21;
  --line: #232a33;
  --text: #f2f4f1;
  --muted: #9aa3a0;
  --volt: #cdff4d;
  --volt-dim: #a8d63a;
  --coral: #ff6b4a;
  --display: "Space Grotesk", system-ui, sans-serif;
  --body: "Inter", system-ui, sans-serif;
  --radius: 18px;
}

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

html { scroll-behavior: smooth; }

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

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(52rem 34rem at 82% -8%, rgba(205, 255, 77, 0.09), transparent 60%),
    radial-gradient(40rem 30rem at -10% 30%, rgba(255, 107, 74, 0.05), transparent 60%);
  pointer-events: none;
  z-index: 0;
}

.nav, .hero, main, .footer { position: relative; z-index: 1; }

.sr-only {
  position: absolute; width: 1px; height: 1px;
  clip: rect(0 0 0 0); clip-path: inset(50%); overflow: hidden; white-space: nowrap;
}

/* ---------- nav ---------- */

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 72rem;
  margin: 0 auto;
  padding: 1.4rem 1.5rem;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.3rem;
  letter-spacing: -0.02em;
  color: var(--text);
  text-decoration: none;
}

.wordmark.small { font-size: 1.05rem; }
.mark { width: 1.7em; height: 1.7em; }

/* ---------- shared ---------- */

.eyebrow {
  font-family: var(--display);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--volt);
  margin-bottom: 1rem;
}

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

h1 { font-size: clamp(2.7rem, 6.4vw, 4.6rem); font-weight: 700; margin-bottom: 1.4rem; }
h2 { font-size: clamp(2rem, 4.4vw, 3.1rem); font-weight: 700; margin-bottom: 1.2rem; }
h3 { font-size: 1.25rem; font-weight: 600; }

.volt { color: var(--volt); }

.lede, .section-lede { color: var(--muted); font-size: 1.14rem; max-width: 34rem; }

.btn {
  display: inline-block;
  background: var(--volt);
  color: #0c0e05;
  font-family: var(--display);
  font-weight: 600;
  font-size: 1rem;
  padding: 0.85rem 1.6rem;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 6px 28px rgba(205, 255, 77, 0.25); }
.btn-small { padding: 0.55rem 1.15rem; font-size: 0.92rem; }

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.tag {
  font-family: var(--display);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--volt);
  background: rgba(205, 255, 77, 0.1);
  border: 1px solid rgba(205, 255, 77, 0.25);
  padding: 0.28rem 0.7rem;
  border-radius: 999px;
}
.tag.dim { color: var(--muted); background: transparent; border-color: var(--line); }

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

.hero {
  max-width: 72rem;
  margin: 0 auto;
  padding: 4.5rem 1.5rem 5rem;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3rem;
  align-items: center;
}

.hero-cta { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; margin: 2rem 0 1.2rem; }
.hero-cta.center { justify-content: center; }

.appstore {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  background: var(--text);
  color: #0a0a0a;
  padding: 0.62rem 1.3rem;
  border-radius: 12px;
  text-decoration: none;
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.22rem;
  line-height: 1.05;
  transition: transform 0.15s ease;
}
.appstore:hover { transform: translateY(-1px); }
.appstore svg { width: 1.5rem; height: 1.5rem; }
.appstore small { display: block; font-size: 0.62rem; font-weight: 500; letter-spacing: 0.02em; }
.appstore span { display: flex; flex-direction: column; }

.notify { display: flex; flex-wrap: wrap; gap: 0.6rem; align-items: center; }

.notify input {
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--text);
  font: inherit;
  padding: 0.8rem 1.1rem;
  border-radius: 999px;
  min-width: 15rem;
  outline: none;
  transition: border-color 0.15s ease;
}
.notify input:focus { border-color: var(--volt-dim); }

.form-msg { flex-basis: 100%; font-size: 0.9rem; min-height: 1.2em; }
.form-msg.ok { color: var(--volt); }
.form-msg.err { color: var(--coral); }

.fine { color: var(--muted); font-size: 0.9rem; }

/* phone mockup */

.hero-visual { display: flex; justify-content: center; }

.phone {
  width: min(19.5rem, 88vw);
  background: linear-gradient(160deg, var(--surface-2), var(--surface));
  border: 1px solid var(--line);
  border-radius: 2.6rem;
  padding: 2.2rem 0.9rem 0.9rem;
  position: relative;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55), 0 0 0 6px rgba(255, 255, 255, 0.02);
  transform: rotate(2deg);
}

.phone-notch {
  position: absolute;
  top: 0.8rem; left: 50%;
  transform: translateX(-50%);
  width: 6.5rem; height: 1.35rem;
  background: #050607;
  border-radius: 999px;
}

.matchup { padding: 1.1rem; border-radius: 1.4rem; background: rgba(7, 8, 10, 0.6); }

.matchup-top { display: flex; justify-content: space-between; gap: 0.5rem; margin-bottom: 1rem; }

.versus {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.1rem;
  font-family: var(--display);
  margin-bottom: 1rem;
}
.versus strong { font-size: 2.4rem; font-weight: 700; }
.versus .vs { color: var(--muted); font-size: 1.4rem; }
.versus .side { display: flex; align-items: center; gap: 0.7rem; }

.avatar {
  width: 2.5rem; height: 2.5rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.avatar.you { background: var(--volt); color: #0c0e05; }
.avatar.rival { background: var(--coral); color: #1c0a05; }

.cats { list-style: none; display: grid; gap: 0.4rem; margin-bottom: 0.9rem; }
.cats li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.86rem;
  padding: 0.5rem 0.75rem;
  border-radius: 0.7rem;
  background: rgba(255, 255, 255, 0.03);
  border-left: 3px solid transparent;
}
.cats li.won { border-left-color: var(--volt); }
.cats li.lost { border-left-color: var(--line); opacity: 0.62; }
.cats li i { font-style: normal; color: var(--muted); font-size: 0.78rem; }

.banter { margin-bottom: 0.8rem; }
.bubble {
  display: inline-block;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: 1rem 1rem 1rem 0.2rem;
  padding: 0.42rem 0.8rem;
  font-size: 0.84rem;
}

.lifetime { font-size: 0.8rem; color: var(--muted); text-align: center; }
.lifetime b { color: var(--text); }

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

.section {
  max-width: 72rem;
  margin: 0 auto;
  padding: 4.2rem 1.5rem;
  border-top: 1px solid var(--line);
}

.section p { color: var(--muted); max-width: 36rem; }

.steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
  margin-top: 2.4rem;
}

.steps li { padding: 1.4rem; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.steps h3 { margin: 0.9rem 0 0.5rem; }
.steps p { font-size: 0.94rem; }

.step-num {
  font-family: var(--display);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--volt);
  letter-spacing: 0.1em;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.handicap-card { padding: 1.6rem; display: grid; gap: 1.1rem; }
.hc-row { display: grid; grid-template-columns: 9.5rem 1fr 1.2rem; align-items: center; gap: 0.9rem; font-size: 0.92rem; }
.hc-name { color: var(--muted); }
.hc-row b { font-family: var(--display); color: var(--volt); }
.hc-row:last-of-type b { color: var(--coral); }
.hc-bar { height: 0.55rem; background: var(--surface-2); border-radius: 999px; overflow: hidden; }
.hc-bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--volt-dim), var(--volt)); border-radius: 999px; }
.hc-note { font-size: 0.88rem; }

.grid-cats {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
  margin-top: 2.2rem;
}
.grid-cats .card { padding: 1.3rem; }
.grid-cats h3 { margin-bottom: 0.5rem; color: var(--volt); }
.grid-cats p { font-size: 0.9rem; }

.recap-card { padding: 1.7rem; }
.recap-title { font-size: 1.7rem; margin: 1rem 0 0.6rem; }
.recap-foot {
  display: flex;
  justify-content: space-between;
  margin-top: 1.3rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  font-family: var(--display);
  font-weight: 600;
  font-size: 0.95rem;
}

.privacy-list { list-style: none; margin-top: 1.6rem; display: grid; gap: 0.9rem; max-width: 40rem; }
.privacy-list li { padding-left: 1.6rem; position: relative; color: var(--muted); }
.privacy-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.52em;
  width: 0.55rem; height: 0.55rem;
  border-radius: 50%;
  background: var(--volt);
}

.final-cta { text-align: center; padding-bottom: 6rem; }
.final-cta .section-lede { margin: 0 auto; }
.final-cta .hero-cta { margin-top: 2.2rem; }

.footer {
  max-width: 72rem;
  margin: 0 auto;
  padding: 1.8rem 1.5rem 2.4rem;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.8rem;
  color: var(--muted);
  font-size: 0.9rem;
}
.footer a { color: var(--muted); }

/* ---------- responsive ---------- */

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; padding-top: 3rem; text-align: left; }
  .hero-visual { order: -1; margin-bottom: 1rem; }
  .phone { transform: rotate(0); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .grid-cats { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; gap: 2rem; }
}

@media (max-width: 540px) {
  .steps, .grid-cats { grid-template-columns: 1fr; }
  .notify input { min-width: 0; flex: 1; }
}
