:root {
  --bg: #0b1220;
  --surface: #111c33;
  --surface-raised: #162342;
  --border: #24324f;
  --text: #e5e7eb;
  --muted: #9ca3af;
  --faint: #7e8797;
  --primary: #4f46e5;
  --link: #c7d2fe;
  --emerald: #10b981;
  --gold: #f59e0b;
  --wide: 68rem;
  --max: 42rem;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--bg);
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(ellipse 70% 45% at 82% 4%, rgba(16, 185, 129, 0.13), transparent 60%),
    radial-gradient(ellipse 70% 50% at 16% -8%, rgba(79, 70, 229, 0.3), transparent 60%),
    var(--bg);
  color: var(--text);
  font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
}

a {
  color: var(--link);
}

a:hover {
  color: #fff;
}

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: #fff;
  color: #0b1220;
  padding: 0.5rem 0.75rem;
  z-index: 2;
}

.skip:focus {
  top: 0.5rem;
}

.wrap {
  width: min(100% - 2rem, var(--wide));
  margin-inline: auto;
}

header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: inherit;
  text-decoration: none;
  font-weight: 650;
  letter-spacing: -0.02em;
}

.brand img {
  width: 2.25rem;
  height: 2.25rem;
}

nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
}

nav a {
  color: var(--muted);
  text-decoration: none;
}

nav a[aria-current="page"],
nav a:hover {
  color: var(--text);
}

nav a { padding: .4rem .65rem; border-radius: .55rem; }
nav a:hover, nav a[aria-current="page"] { background: rgba(255,255,255,.06); }

main {
  padding-bottom: 4rem;
}

.hero { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(18rem, .9fr); gap: clamp(2rem, 7vw, 6rem); align-items: center; padding: clamp(2rem, 7vw, 5.5rem) 0 3.5rem; }
.hero-copy { max-width: 40rem; }
.hero h1 { max-width: 12ch; font-size: clamp(3rem, 8vw, 5.8rem); letter-spacing: -.065em; }
.trust-line { display: flex; align-items: center; gap: .55rem; margin: 1.3rem 0 0; color: var(--faint); font-size: .92rem; }
.status-dot { width: .55rem; height: .55rem; border-radius: 50%; background: var(--emerald); box-shadow: 0 0 0 .28rem rgba(16,185,129,.13); }
.score-preview { position: relative; overflow: hidden; padding: 1.25rem; border: 1px solid rgba(199,210,254,.2); border-radius: 1.35rem; background: linear-gradient(155deg, rgba(26,40,78,.95), rgba(15,23,42,.95)); box-shadow: 0 1.5rem 4rem rgba(0,0,0,.25); }
.score-preview::before { content: ""; position: absolute; inset: auto -20% -50% 15%; height: 12rem; background: radial-gradient(ellipse, rgba(16,185,129,.18), transparent 68%); pointer-events: none; }
.score-preview-top, .score-preview-foot { display: flex; justify-content: space-between; gap: 1rem; color: var(--muted); font-size: .82rem; }
.live-pill { color: #071b14; background: var(--emerald); border-radius: 999px; padding: .12rem .45rem; font-size: .65rem; font-weight: 800; letter-spacing: .08em; }
.score-total { display: flex; align-items: baseline; gap: .75rem; padding: 2rem 0 1.4rem; }
.score-total strong { color: #fff; font-size: clamp(4rem, 9vw, 6rem); letter-spacing: -.09em; line-height: .8; }
.score-total span { color: #9de8cc; font-size: .82rem; }
.score-frames { display: grid; grid-template-columns: repeat(6, 1fr); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.score-frames span { display: grid; min-height: 4rem; place-items: center; border-right: 1px solid var(--border); color: #fff; }.score-frames span:last-child { border-right: 0; }.score-frames b { align-self: start; color: var(--faint); font-size: .7rem; padding-top: .35rem; }.score-frames em { font-style: normal; font-size: 1.35rem; font-weight: 700; }.score-preview-foot { padding-top: 1rem; }.sparkle { color: var(--gold); font-size: 1.4rem; }
.proof-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin: 0 0 5rem; padding: 1.5rem 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }.proof-row div { display: flex; align-items: center; gap: .85rem; }.proof-row strong { color: #fff; font-size: clamp(2.15rem, 5vw, 3.2rem); line-height: .9; letter-spacing: -.07em; }.proof-row span { max-width: 9rem; color: var(--muted); font-size: .9rem; line-height: 1.25; }
.section-heading { max-width: 40rem; margin-bottom: 1.5rem; }.section-heading h2 { margin: 0; max-width: 20ch; font-size: clamp(1.8rem, 4vw, 2.8rem); line-height: 1.1; }

h1 {
  margin: 0 0 0.75rem;
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
}

h2 {
  margin: 2rem 0 0.5rem;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
}

.lede {
  max-width: var(--max);
  margin: 0;
  color: var(--muted);
  font-size: 1.2rem;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

.button {
  display: inline-block;
  background: var(--primary);
  color: #fff;
  text-decoration: none;
  border-radius: 999px;
  padding: 0.7rem 1.15rem;
  font-weight: 650;
  transition: transform .18s ease, background .18s ease, border-color .18s ease;
}
.button:hover { color: #fff; background: #6259ef; transform: translateY(-2px); }.button.secondary:hover { background: rgba(255,255,255,.07); border-color: #526488; }

.button.secondary {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
  gap: 1rem;
  margin-top: 2.5rem;
}

article.card,
.panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 1.15rem 1.25rem;
}
.card { min-height: 13.5rem; }.icon-badge { display: grid; width: 2.2rem; height: 2.2rem; place-items: center; border-radius: .7rem; color: #c7d2fe; background: rgba(79,70,229,.25); font-size: .72rem; font-weight: 800; }.icon-badge.green { color: #9de8cc; background: rgba(16,185,129,.16); }.icon-badge.amber { color: #fbd38d; background: rgba(245,158,11,.15); }
.coach-callout { display: grid; grid-template-columns: auto 1fr auto; gap: 1.25rem; align-items: center; margin-top: 1rem; padding: clamp(1.25rem, 4vw, 2rem); border: 1px solid rgba(16,185,129,.28); border-radius: 1rem; background: linear-gradient(100deg, rgba(16,185,129,.1), rgba(17,28,51,.75)); }.coach-mark { display: grid; width: 3rem; height: 3rem; place-items: center; border-radius: 1rem; color: #071b14; background: var(--emerald); font-size: 1.7rem; }.coach-callout h2 { margin: 0; }.coach-callout p:not(.eyebrow) { max-width: 42rem; margin: .45rem 0 0; color: var(--muted); }.text-link { white-space: nowrap; color: #9de8cc; text-decoration: none; font-weight: 700; }.text-link:hover { color: #fff; }.closing-panel { margin-top: 5rem; padding: clamp(1.5rem, 5vw, 3rem); border-radius: 1.25rem; background: linear-gradient(140deg, #1c2c58, #111c33 72%); }.closing-panel h2 { max-width: 19ch; margin: 0; font-size: clamp(1.8rem, 4vw, 2.8rem); line-height: 1.1; }.closing-panel > p:not(.eyebrow) { max-width: 38rem; color: var(--muted); }.closing-panel .actions { margin-top: 1.25rem; }

.card h2 {
  margin-top: 0;
}

.card p,
.panel p,
.prose p {
  margin: 0.4rem 0 0;
  color: var(--muted);
}

.eyebrow {
  margin: 0 0 0.5rem;
  color: var(--emerald);
  font-size: 0.85rem;
  font-weight: 650;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.prose {
  max-width: 52rem;
  margin: clamp(1.25rem, 5vw, 3.5rem) auto 4rem;
  padding: clamp(1.5rem, 5vw, 3.5rem);
  border: 1px solid var(--border);
  border-radius: 1.35rem;
  background: linear-gradient(145deg, rgba(22,35,66,.82), rgba(17,28,51,.72));
  box-shadow: 0 1.5rem 4rem rgba(0,0,0,.14);
}

.prose h1 {
  font-size: clamp(2rem, 4vw, 2.75rem);
}

.meta {
  color: var(--faint);
  margin-bottom: 1.5rem;
}

.prose h1 { margin-bottom: .5rem; font-size: clamp(2.4rem, 6vw, 4rem); letter-spacing: -.055em; }
.prose h2 { margin-top: 2.8rem; padding-top: 1.6rem; border-top: 1px solid rgba(199,210,254,.13); color: #fff; font-size: 1.35rem; }
.prose > p:first-of-type { font-size: 1.1rem; color: #c6cedd; }
.prose a { text-underline-offset: .18em; }
.prose::before { display: block; margin-bottom: .7rem; color: var(--emerald); font-size: .78rem; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; }
.support-page::before { content: "We’re here to help"; }
.privacy-page::before { content: "Your data, clearly explained"; }
.terms-page::before { content: "The practical details"; }
.prose .lede { max-width: 34rem; }
.prose > p { max-width: 44rem; }

.panel.spaced {
  margin-top: 2rem;
}

footer {
  border-top: 1px solid var(--border);
  padding: 1.5rem 0 2.5rem;
  color: var(--faint);
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  justify-content: space-between;
}

footer a {
  color: var(--muted);
}

@media (max-width: 700px) {
  header { align-items: flex-start; } nav { justify-content: flex-end; gap: .2rem; } nav a { padding: .3rem .4rem; font-size: .86rem; }
  .hero { grid-template-columns: 1fr; padding-top: 2rem; }.score-preview { max-width: 30rem; width: 92%; justify-self: center; }.proof-row { gap: .55rem; margin-bottom: 3.5rem; }.proof-row div { display: block; }.proof-row strong, .proof-row span { display: block; }.coach-callout { grid-template-columns: auto 1fr; }.coach-callout .text-link { grid-column: 2; }.closing-panel { margin-top: 3.5rem; }
  .prose { margin-top: 1rem; padding: 1.35rem; border-radius: 1rem; }.prose h1 { font-size: clamp(2.2rem, 12vw, 3.2rem); }.prose h2 { margin-top: 2.2rem; padding-top: 1.2rem; }
}

@media (prefers-reduced-motion: reduce) { .button { transition: none; }.button:hover { transform: none; } }
