:root {
  --volt: #c9f230;
  --on-volt: #141414;
  --bg: #0f0f0f;
  --bg-2: #1a1a1a;
  --bg-3: #262626;
  --border: #2a2a2a;
  --text: #f2f2f2;
  --muted: #8e8e8e;
  --display: 'Barlow Condensed', 'Arial Narrow', sans-serif;
  --body: 'Inter', system-ui, -apple-system, sans-serif;
  color-scheme: dark;
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

/* Pas de glissement latéral (iOS ignore overflow-x sur body seul) */
html, body { max-width: 100%; overflow-x: hidden; }
@supports (overflow-x: clip) { html, body { overflow-x: clip; } }

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

a { color: inherit; }

.wrap { width: 100%; max-width: 1080px; margin: 0 auto; padding-left: 20px; padding-right: 20px; }

/* ---------- Header ---------- */
.top {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 22px; padding-bottom: 22px;
}
.top .logo { height: 20px; width: auto; display: block; color: var(--text); }
.top nav { display: flex; gap: 22px; font-size: 14px; color: var(--muted); }
.top nav a { text-decoration: none; }
.top nav a:hover { color: var(--text); }

/* ---------- Hero ---------- */
.hero {
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center;
  padding-top: 56px; padding-bottom: 96px;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 600; letter-spacing: .02em;
  color: var(--volt);
  border: 1px solid #3a4a10; background: rgba(201, 242, 48, .07);
  padding: 6px 12px; border-radius: 999px; margin-bottom: 26px;
}
.eyebrow::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--volt); }

h1, h2, h3 {
  font-family: var(--display); font-weight: 700; text-transform: uppercase;
  line-height: .92; letter-spacing: -.005em;
}
h1 { font-size: clamp(52px, 8.4vw, 104px); }
h1 em { font-style: normal; color: var(--volt); }
.lede { margin-top: 26px; max-width: 30em; font-size: 19px; color: #c4c4c4; }

.cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 600; font-size: 16px; text-decoration: none;
  padding: 15px 24px; border-radius: 999px; border: 1px solid transparent;
  transition: transform .15s ease, background .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-volt { background: var(--volt); color: var(--on-volt); }
.btn-ghost { border-color: var(--border); color: var(--text); }
.btn-ghost:hover { background: var(--bg-2); }
.btn svg { width: 18px; height: 18px; }
.note { margin-top: 14px; font-size: 13px; color: var(--muted); }

/* ---------- Phone mock ---------- */
.phone-stage { position: relative; display: flex; justify-content: center; }
.phone-stage::before {
  content: ''; position: absolute; inset: 8% 0;
  background: radial-gradient(closest-side, rgba(201, 242, 48, .22), transparent 70%);
  filter: blur(20px); z-index: 0;
}
.phone {
  position: relative; z-index: 1;
  width: 300px; max-width: 100%;
  background: #0b0b0b; border: 1px solid #2e2e2e; border-radius: 44px;
  padding: 14px; box-shadow: 0 30px 80px rgba(0, 0, 0, .55);
  transform: rotate(2.5deg);
}
.screen { background: var(--bg); border-radius: 32px; padding: 18px 14px 16px; overflow: hidden; }
.notch { width: 92px; height: 24px; background: #000; border-radius: 99px; margin: -6px auto 14px; }
.screen-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.screen-head svg.logo { height: 12px; width: auto; color: var(--text); }
.bell { width: 26px; height: 26px; border-radius: 50%; background: var(--bg-2); position: relative; }
.bell::after { content: ''; position: absolute; top: 4px; right: 4px; width: 7px; height: 7px; border-radius: 50%; background: var(--volt); }

.card { background: var(--bg-2); border: 1px solid var(--border); border-radius: 14px; padding: 12px; margin-bottom: 10px; }
.who { display: flex; align-items: center; gap: 9px; font-size: 12.5px; }
.who b { font-weight: 600; }
.who span { color: var(--muted); }
.av { width: 30px; height: 30px; border-radius: 50%; flex: none; display: grid; place-items: center; font-size: 12px; font-weight: 700; color: var(--on-volt); }
.race {
  margin-top: 10px; border-radius: 10px; padding: 12px;
  background: var(--volt); color: var(--on-volt);
}
.race .date { font-size: 10.5px; font-weight: 600; opacity: .7; text-transform: uppercase; letter-spacing: .04em; }
.race .name { font-family: var(--display); font-weight: 700; font-size: 22px; line-height: 1; text-transform: uppercase; margin-top: 3px; }
.race .meta { font-size: 11px; opacity: .75; margin-top: 4px; }
.going { display: flex; align-items: center; justify-content: space-between; margin-top: 10px; }
.stack { display: flex; align-items: center; }
.stack .av { width: 22px; height: 22px; font-size: 9px; border: 2px solid var(--bg-2); margin-left: -6px; }
.stack .av:first-child { margin-left: 0; }
.stack small { margin-left: 7px; font-size: 11px; color: var(--muted); }
.pill { font-size: 11.5px; font-weight: 600; padding: 6px 11px; border-radius: 999px; background: var(--text); color: var(--on-volt); }
.card.dim .race { background: var(--bg-3); color: var(--text); }
.card.dim .race .date, .card.dim .race .meta { opacity: .6; }

/* ---------- Sections ---------- */
section { padding: 88px 0; border-top: 1px solid var(--border); }
.kicker { font-size: 13px; font-weight: 600; color: var(--volt); text-transform: uppercase; letter-spacing: .08em; margin-bottom: 14px; }
h2 { font-size: clamp(40px, 6vw, 68px); max-width: 14em; }
.section-lede { margin-top: 18px; max-width: 34em; color: #bdbdbd; }

.loop { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 48px; counter-reset: step; }
.step { background: var(--bg-2); border: 1px solid var(--border); border-radius: 16px; padding: 26px; }
.step::before {
  counter-increment: step; content: '0' counter(step);
  display: block; font-family: var(--display); font-weight: 700; font-size: 44px; line-height: 1; color: var(--volt); margin-bottom: 18px;
}
.step h3 { font-size: 28px; margin-bottom: 8px; }
.step p { color: #b3b3b3; font-size: 15.5px; }

.features { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; margin-top: 48px; background: var(--border); border: 1px solid var(--border); border-radius: 16px; overflow: hidden; }
.feature { background: var(--bg); padding: 30px; }
.feature .ico { width: 40px; height: 40px; border-radius: 10px; background: rgba(201, 242, 48, .1); display: grid; place-items: center; margin-bottom: 16px; }
.feature .ico svg { width: 21px; height: 21px; stroke: var(--volt); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.feature h3 { font-size: 26px; margin-bottom: 6px; }
.feature p { color: #b3b3b3; font-size: 15.5px; }

/* ---------- Final CTA ---------- */
.final { background: var(--volt); color: var(--on-volt); border-radius: 24px; padding: 64px 40px; text-align: center; margin: 0 0 88px; }
.final h2 { margin: 0 auto; max-width: 12em; }
.final p { margin: 18px auto 0; max-width: 30em; font-size: 18px; opacity: .78; }
.final .btn { margin-top: 30px; background: var(--on-volt); color: var(--volt); }

/* ---------- Footer ---------- */
footer { border-top: 1px solid var(--border); padding: 32px 0 44px; font-size: 14px; color: var(--muted); }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; }
footer nav { display: flex; gap: 20px; }
footer a { text-decoration: none; }
footer a:hover { color: var(--text); }

/* ---------- Legal page ---------- */
.legal { max-width: 720px; padding-top: 40px; padding-bottom: 96px; }
.legal h1 { font-size: clamp(44px, 7vw, 72px); }
.legal .updated { margin-top: 12px; color: var(--muted); font-size: 14px; }
.legal h2 { font-size: 28px; margin-top: 40px; margin-bottom: 10px; max-width: none; }
.legal p, .legal li { color: #c9c9c9; }
.legal ul { padding-left: 20px; display: grid; gap: 6px; }
.legal a { color: var(--volt); }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; padding-top: 28px; padding-bottom: 72px; gap: 56px; }
  .loop { grid-template-columns: 1fr; }
  .features { grid-template-columns: 1fr; }
  section { padding: 64px 0; }
  .final { padding: 48px 22px; margin-bottom: 64px; border-radius: 20px; }
}
@media (max-width: 560px) {
  body { font-size: 15px; }
  .wrap { padding-left: 16px; padding-right: 16px; }
  .top { padding-top: 16px; padding-bottom: 16px; }
  .top .logo { height: 16px !important; }
  .top nav { font-size: 13px; }
  .top nav a.hide-sm { display: none; }

  .hero { padding-top: 20px; padding-bottom: 48px; gap: 36px; }
  .eyebrow { font-size: 11.5px; padding: 5px 10px; margin-bottom: 18px; }
  h1 { font-size: 44px; }
  .lede { margin-top: 16px; font-size: 16px; }
  .cta { margin-top: 24px; }
  .cta .btn-ghost { display: none; }
  .btn { font-size: 15px; padding: 12px 20px; }
  .note { font-size: 12px; }

  .phone { width: 272px; padding: 11px; border-radius: 38px; transform: none; }
  .screen { border-radius: 28px; padding: 14px 11px 12px; }
  .race .name { font-size: 19px; }
  .race .date { font-size: 9.5px; }

  section { padding: 44px 0; }
  .kicker { font-size: 11.5px; margin-bottom: 10px; }
  h2 { font-size: 32px; }
  .section-lede { margin-top: 12px; }
  .loop, .features { margin-top: 26px; gap: 10px; }
  .features { gap: 1px; }
  .step { padding: 18px; border-radius: 14px; }
  .step::before { font-size: 32px; margin-bottom: 10px; }
  .step h3 { font-size: 22px; margin-bottom: 4px; }
  .step p, .feature p { font-size: 14.5px; }
  .feature { padding: 20px; }
  .feature .ico { width: 34px; height: 34px; margin-bottom: 12px; }
  .feature h3 { font-size: 22px; }

  .final { padding: 36px 18px; margin-bottom: 44px; }
  .final p { font-size: 15px; margin-top: 12px; }
  .final .btn { margin-top: 22px; }
  footer { padding: 24px 0 32px; font-size: 13px; }

  .legal { padding-top: 16px; padding-bottom: 56px; }
  .legal h1 { font-size: 38px; }
  .legal h2 { font-size: 22px; margin-top: 28px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}
