:root {
  --brand: #2b5fd9;
  --brand-2: #5b8cff;
  --brand-ink: #ffffff;
  --accent: #1b8a4b;
  --bg: #f7f8fc;
  --surface: #ffffff;
  --surface-2: #eef2fb;
  --text: #121826;
  --muted: #5b6475;
  --line: #e2e6ef;
  --phone: #0f1420;
  --shadow: 0 30px 60px -20px rgba(22, 38, 84, 0.35), 0 12px 24px -12px rgba(22, 38, 84, 0.2);
  --radius: 22px;
  --wrap: 1160px;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --brand: #7aa2ff;
    --brand-2: #a9c1ff;
    --brand-ink: #0b1430;
    --accent: #6fd49a;
    --bg: #0b0f19;
    --surface: #131a28;
    --surface-2: #182136;
    --text: #e8ecf5;
    --muted: #9aa4b8;
    --line: #232d42;
    --phone: #000000;
    --shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.7), 0 12px 24px -12px rgba(0, 0, 0, 0.5);
    color-scheme: dark;
  }
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }

a { color: inherit; }

h1, h2, h3 { line-height: 1.12; letter-spacing: -0.02em; margin: 0 0 0.5em; }

h1 { font-size: clamp(2.6rem, 6vw, 4.4rem); font-weight: 800; }

h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); font-weight: 780; }

h3 { font-size: 1.15rem; font-weight: 700; }

p { margin: 0 0 1em; }

.wrap { width: min(var(--wrap), 100% - 32px); margin-inline: auto; }

.accent {
  background: linear-gradient(100deg, var(--brand), var(--brand-2) 60%, var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 0.9rem;
}

.eyebrow.light { color: #bcd0ff; }

.lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--muted); max-width: 34em; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4em;
  padding: 0.85em 1.4em;
  border-radius: 999px;
  background: var(--brand);
  color: var(--brand-ink);
  font-weight: 650;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  box-shadow: 0 8px 20px -10px var(--brand);
}

.btn:hover { transform: translateY(-1px); box-shadow: 0 12px 24px -10px var(--brand); }

.btn-small { padding: 0.5em 1em; font-size: 0.9rem; }

.btn-ghost { background: transparent; color: var(--text); box-shadow: inset 0 0 0 1.5px var(--line); }

.btn-ghost:hover { box-shadow: inset 0 0 0 1.5px var(--brand); }

/* --- Nav --- */

.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  background: color-mix(in srgb, var(--bg) 78%, transparent);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease;
}

.nav.scrolled { border-bottom-color: var(--line); }

.nav-inner { display: flex; align-items: center; gap: 24px; height: 64px; }

.brand { display: flex; align-items: center; gap: 10px; font-weight: 750; text-decoration: none; }

.nav-links { display: flex; gap: 22px; margin-left: auto; }

.nav-links a { text-decoration: none; color: var(--muted); font-weight: 550; font-size: 0.95rem; }

.nav-links a:hover { color: var(--text); }

.nav-actions { display: flex; align-items: center; gap: 12px; }

.lang { display: flex; background: var(--surface-2); border-radius: 999px; padding: 3px; }

.lang button {
  border: 0;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.3em 0.75em;
  border-radius: 999px;
  cursor: pointer;
}

.lang button[aria-pressed="true"] { background: var(--surface); color: var(--text); box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12); }

/* --- Phone frame --- */

.phone {
  margin: 0;
  width: 260px;
  padding: 9px;
  border-radius: 40px;
  background: var(--phone);
  box-shadow: var(--shadow), inset 0 0 0 1.5px rgba(255, 255, 255, 0.08);
  position: relative;
  flex: none;
}

.phone img {
  width: 100%;
  height: auto;
  aspect-ratio: 1080 / 2400;
  object-fit: contain;
  border-radius: 31px;
  background: var(--surface-2);
}

.phone.browser img { aspect-ratio: auto; border-radius: 0 0 31px 31px; }

.url-bar {
  background: var(--surface-2);
  border-radius: 31px 31px 0 0;
  padding: 30px 12px 8px;
  border-bottom: 1px solid var(--line);
}

.url-bar span {
  display: block;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 5px 12px;
  font-size: 0.72rem;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.url-bar span::before { content: "🔒 "; font-size: 0.65rem; }

.phone::after {
  content: "";
  position: absolute;
  top: 19px;
  left: 50%;
  width: 11px;
  height: 11px;
  margin-left: -5.5px;
  border-radius: 50%;
  background: #05070c;
  box-shadow: inset 0 0 0 2px #1a2030;
}

/* --- Hero --- */

.hero { position: relative; overflow: hidden; padding: 48px 0 40px; }

.hero-glow {
  position: absolute;
  inset: -20% -10% auto -10%;
  height: 900px;
  background:
    radial-gradient(40% 50% at 75% 35%, color-mix(in srgb, var(--brand) 30%, transparent), transparent 70%),
    radial-gradient(30% 40% at 95% 70%, color-mix(in srgb, var(--accent) 22%, transparent), transparent 70%),
    radial-gradient(35% 45% at 10% 10%, color-mix(in srgb, var(--brand-2) 18%, transparent), transparent 70%);
  pointer-events: none;
}

.hero-inner { position: relative; display: grid; grid-template-columns: 1.05fr 1fr; gap: 40px; align-items: center; min-height: 640px; }

.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin: 28px 0 22px; }

.cta-row.center { justify-content: center; }

.play-badge img { height: 48px; width: auto; }

.hero-phones { position: relative; height: 640px; }

.hero-phones .phone { position: absolute; }

.phone-front { width: 290px; right: 22%; top: 10px; transform: rotate(-4deg); z-index: 2; animation: float 7s ease-in-out infinite; }

.phone-back { width: 250px; right: 0; top: 70px; transform: rotate(6deg); opacity: 0.95; animation: float 7s ease-in-out -3.5s infinite; }

@keyframes float {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -12px; }
}

/* --- Sports marquee --- */

.uses { border-block: 1px solid var(--line); background: var(--surface); padding: 14px 0; overflow: hidden; }

.marquee { mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }

.marquee-track { display: flex; gap: 40px; width: max-content; animation: marquee 40s linear infinite; }

.marquee-track span { white-space: nowrap; font-weight: 650; color: var(--muted); }

@keyframes marquee { to { transform: translateX(-50%); } }

/* --- Section heads, why, beyond --- */

.section-head { text-align: center; max-width: 680px; margin: 0 auto 48px; }

.section-head > p:not(.eyebrow) { color: var(--muted); font-size: 1.1rem; }

.why { padding: 104px 0 56px; }

.why-grid, .beyond-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

.why-card, .beyond-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.why-card:hover, .beyond-card:hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--brand) 40%, var(--line)); }

.why-card p, .beyond-card p { color: var(--muted); margin: 0; }

.why-icon {
  display: inline-grid;
  place-items: center;
  width: 50px;
  height: 50px;
  border-radius: 15px;
  background: linear-gradient(135deg, color-mix(in srgb, var(--brand) 18%, transparent), color-mix(in srgb, var(--accent) 16%, transparent));
  font-size: 1.5rem;
  margin-bottom: 16px;
}

.stories { padding: 56px 0 104px; }

.stories-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }

.story-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.story-card h3 { margin: 0; }

.story-card .why-icon { margin-bottom: 0; }

.story-step p { margin: 0; color: var(--muted); }

.story-step .story-label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.story-with { border-left: 3px solid var(--accent); padding-left: 14px; }

.story-with p { color: var(--text); }

.story-with .story-label { color: var(--accent); }

.stories-note { text-align: center; color: var(--muted); max-width: 640px; margin: 36px auto 0; }

.stories-note + .stories-note { margin-top: 16px; }

.beyond { padding: 104px 0 72px; }

.beyond-card { position: relative; overflow: hidden; padding-top: 88px; }

.beyond-emoji { position: absolute; top: 18px; left: 22px; font-size: 3rem; line-height: 1; filter: drop-shadow(0 6px 10px rgba(0, 0, 0, 0.15)); }

.beyond-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 76px;
  background: linear-gradient(120deg, color-mix(in srgb, var(--brand) 14%, transparent), transparent 80%);
}

/* --- Extras --- */

.extras { padding: 24px 0 80px; }

.extras-row { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }

.extras-row li {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 14px;
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 16px 18px;
}

.extras-row span { grid-row: span 2; font-size: 1.6rem; }

.extras-row small { color: var(--muted); font-size: 0.85rem; }

/* --- Features --- */

.feature { padding: 88px 0; }

.feature.wrap, .feature-row { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }

.feature-row.reverse .feature-copy { order: 2; }

.feature-alt { background: linear-gradient(180deg, transparent, var(--surface-2) 18%, var(--surface-2) 82%, transparent); }

.feature-copy > p { color: var(--muted); font-size: 1.08rem; }

.checks { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 12px; }

.checks li { position: relative; padding-left: 34px; font-weight: 550; }

.checks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.2em;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--accent) 16%, transparent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231b8a4b' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 14px no-repeat;
}

.feature-phones { display: flex; justify-content: center; align-items: flex-start; gap: 22px; }

.feature-phones .phone { width: 240px; }

.feature-phones .offset { margin-top: 64px; }

.feature-phones.single .phone { width: 270px; }

/* --- Money --- */

.money {
  position: relative;
  padding: 104px 0 96px;
  color: #eef3ff;
  background:
    radial-gradient(60% 60% at 15% 0%, rgba(122, 162, 255, 0.35), transparent 60%),
    radial-gradient(50% 50% at 100% 100%, rgba(111, 212, 154, 0.22), transparent 60%),
    linear-gradient(160deg, #18306f, #0e1a3d 70%);
}

.money-head { text-align: center; max-width: 720px; margin: 0 auto 56px; }

.money-head p { color: #c3cfee; font-size: 1.1rem; }

.money-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }

.money-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 28px;
  padding: 28px 24px 24px;
  text-align: center;
}

.money-card .phone { width: 220px; margin: 0 auto 26px; }

.money-card p { color: #c3cfee; margin: 0; }

.money-facts { list-style: none; padding: 0; margin: 40px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }

.money-facts li { border-top: 1px solid rgba(255, 255, 255, 0.16); padding-top: 18px; }

.money-facts strong { display: block; margin-bottom: 4px; }

.money-facts span { color: #c3cfee; font-size: 0.95rem; }

/* --- Final CTA --- */

.final { padding: 24px 0 96px; }

.final-card {
  text-align: center;
  padding: 64px 24px;
  border-radius: 32px;
  background:
    radial-gradient(60% 80% at 50% 0%, color-mix(in srgb, var(--brand) 18%, transparent), transparent 70%),
    var(--surface);
  border: 1px solid var(--line);
}

.final-card img { margin: 0 auto 18px; }

.final-card p { color: var(--muted); font-size: 1.1rem; }

.play-badge.big img { height: 60px; }

.text-link { display: inline-block; margin-top: 4px; color: var(--brand); font-weight: 600; text-decoration: none; }

.text-link:hover { text-decoration: underline; }

.footer { border-top: 1px solid var(--line); padding: 28px 0; color: var(--muted); font-size: 0.9rem; }

.footer-inner { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; }

/* --- Reveal on scroll --- */

.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease; }

.js .reveal.visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .marquee-track, .phone-front, .phone-back { animation: none; }
}

/* --- Responsive --- */

@media (max-width: 960px) {
  .nav-links { display: none; }
  .nav-actions { margin-left: auto; }
  .hero-inner { grid-template-columns: 1fr; min-height: 0; text-align: center; }
  .hero-copy .lead { margin-inline: auto; }
  .cta-row { justify-content: center; }
  .hero-phones { height: 560px; max-width: 460px; width: 100%; margin: 0 auto; }
  .phone-front { width: 240px; right: auto; left: 8%; }
  .phone-back { width: 210px; right: 6%; }
  .feature.wrap, .feature-row { grid-template-columns: 1fr; gap: 40px; }
  .feature-row.reverse .feature-copy { order: 0; }
  .money-grid, .money-facts { grid-template-columns: 1fr; }
  .money-grid { gap: 20px; }
  .stories-grid { grid-template-columns: 1fr; max-width: 640px; margin: 0 auto; }
  .why-grid, .beyond-grid, .extras-row { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 600px) {
  h1 { font-size: 2.5rem; }
  .feature { padding: 64px 0; }
  .feature-phones { gap: 14px; }
  .feature-phones .phone { width: calc(50% - 7px); max-width: 220px; padding: 6px; border-radius: 28px; }
  .feature-phones .phone img { border-radius: 23px; }
  .feature-phones .phone::after { top: 12px; width: 8px; height: 8px; margin-left: -4px; }
  .feature-phones .offset { margin-top: 40px; }
  .hero-phones { height: 470px; }
  .phone-front { width: 200px; left: 4%; }
  .phone-back { width: 175px; right: 2%; }
  .why-grid, .beyond-grid, .extras-row { grid-template-columns: 1fr; }
  .feature-phones.single .phone { width: 220px; max-width: none; }
  .brand span { display: none; }
}

@font-face { font-family: "Outfit"; font-weight: 700; font-display: swap; src: url("fonts/Outfit-Bold.ttf") format("truetype"); }

.brand span, .final-card .final-slogan { font-family: "Outfit", system-ui, sans-serif; font-weight: 700; }

.brand span { font-size: 1.15rem; letter-spacing: -0.01em; }

.final-card .final-slogan { color: var(--brand); margin-bottom: 6px; }
