/* ────────────────────────────────────────────────────────────── */
/*  StreetPacer — Marketing Website                                */
/*  Design tokens, layout & components                             */
/*  Ready for handoff to Claude Code / Next.js                     */
/* ────────────────────────────────────────────────────────────── */

:root {
  /* Brand */
  --sp-cyan:        #00D4FF;   /* primary accent */
  --sp-cyan-deep:   #0099b8;
  --sp-green:       #39FF14;   /* live / GO */
  --sp-amber:       #FFD15C;   /* bestzeit / pole position */
  --sp-red:         #FF4D4D;   /* end / box */

  /* Surfaces */
  --sp-bg:          #000000;
  --sp-bg-1:        #0A0A0A;
  --sp-bg-2:        #111317;
  --sp-card:        #15171b;
  --sp-card-hi:     #1c2026;
  --sp-line:        rgba(255,255,255,0.08);
  --sp-line-strong: rgba(255,255,255,0.16);

  /* Text */
  --sp-text:        #f1f3f6;
  --sp-text-dim:    #9aa1ac;
  --sp-text-mute:   #5e6470;

  /* Radii */
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-pill: 999px;

  /* Type */
  --f-sans: 'Manrope', system-ui, -apple-system, sans-serif;
  --f-mono: 'JetBrains Mono', ui-monospace, monospace;

  /* Container */
  --maxw: 1200px;
  --pad: clamp(20px, 4vw, 56px);
}

/* ── reset ─────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--sp-bg);
  color: var(--sp-text);
  font-family: var(--f-sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
h1, h2, h3, h4 { margin: 0; font-weight: 800; letter-spacing: -0.02em; line-height: 1.05; }
p { margin: 0; }
img, svg { display: block; max-width: 100%; }

/* ── shared atoms ──────────────────────────────────────────── */
.dot {
  display: inline-block;
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--sp-text-dim);
}
.dot--green { background: var(--sp-green); box-shadow: 0 0 10px var(--sp-green); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border: 1px solid var(--sp-line-strong);
  border-radius: var(--r-pill);
  font-family: var(--f-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--sp-text-dim);
  background: rgba(255,255,255,0.02);
}
.eyebrow--center {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 18px;
  border: none;
  background: none;
  color: var(--sp-cyan);
  margin: 0 auto 24px;
  padding: 0;
}
.eyebrow--center .line {
  width: 48px; height: 1px; background: var(--sp-line-strong);
}

.muted { color: var(--sp-text-mute); }
.hl    { color: var(--sp-cyan); }
.green { color: var(--sp-green); }

/* ── buttons ───────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 44px;
  padding: 0 22px;
  border-radius: var(--r-pill);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0;
  border: 1px solid transparent;
  transition: transform .15s ease, background .2s ease, border-color .2s ease;
}
.btn--ghost {
  color: var(--sp-text);
  border-color: var(--sp-line-strong);
  background: transparent;
}
.btn--ghost:hover { border-color: var(--sp-cyan); color: var(--sp-cyan); }
.btn--primary {
  background: var(--sp-cyan);
  color: #001218;
  box-shadow: 0 0 0 1px rgba(0,212,255,0.4), 0 8px 24px -8px var(--sp-cyan);
}
.btn--primary:hover { transform: translateY(-1px); }

/* App store buttons */
.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  height: 56px;
  padding: 0 22px;
  border: 1px solid var(--sp-line-strong);
  border-radius: 14px;
  background: var(--sp-bg-1);
  color: var(--sp-text);
  transition: border-color .2s ease, background .2s ease, transform .15s ease;
}
.store-btn:hover { border-color: var(--sp-cyan); transform: translateY(-1px); }
.store-btn span { display: flex; flex-direction: column; line-height: 1.1; text-align: left; }
.store-btn small { font-size: 10px; color: var(--sp-text-dim); letter-spacing: 0.08em; text-transform: uppercase; }
.store-btn strong { font-size: 16px; font-weight: 800; letter-spacing: -0.01em; }

/* ── nav ───────────────────────────────────────────────────── */
.nav {
  position: sticky; top: 0; z-index: 50;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 32px;
  padding: 16px var(--pad);
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--sp-line);
}
.nav__brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.nav__logo {
  position: relative;
  width: 38px; height: 38px;
  border-radius: 9px;
  background: radial-gradient(circle at 30% 25%, #1d2530, #0c1118 60%, #05070b);
  display: grid;
  place-items: center;
  overflow: hidden;
  box-shadow: inset 0 0 14px rgba(0,212,255,0.25);
}
.nav__logo-track {
  position: absolute; inset: 6px;
  border: 2px solid var(--sp-cyan);
  border-radius: 50% 50% 30% 70% / 60% 40% 60% 40%;
  filter: drop-shadow(0 0 4px var(--sp-cyan));
  opacity: 0.9;
}
.nav__logo-mark {
  position: relative;
  font-family: var(--f-sans);
  font-weight: 900;
  font-size: 14px;
  color: #fff;
  letter-spacing: -0.04em;
  text-shadow: 0 1px 2px rgba(0,0,0,0.6);
}
.nav__wordmark {
  font-weight: 900;
  font-size: 14px;
  letter-spacing: 0.18em;
}

.nav__links {
  display: flex;
  gap: 28px;
  justify-content: center;
  font-size: 14px;
  color: var(--sp-text-dim);
  font-weight: 500;
}
.nav__links a:hover { color: var(--sp-cyan); }

.nav__actions {
  display: flex;
  gap: 10px;
  justify-self: end;
}

@media (max-width: 880px) {
  .nav { grid-template-columns: auto auto; }
  .nav__links { display: none; }
}
@media (max-width: 560px) {
  .nav__actions .btn--ghost { display: none; }
}


/* ── hero ──────────────────────────────────────────────────── */
.hero {
  position: relative;
  padding: clamp(40px, 8vw, 80px) var(--pad) 0;
  overflow: hidden;
  isolation: isolate;
}
.hero__glow {
  position: absolute;
  inset: -10% -10% auto -10%;
  height: 720px;
  background:
    radial-gradient(ellipse at 30% 30%, rgba(0,212,255,0.18), transparent 55%),
    radial-gradient(ellipse at 85% 10%, rgba(57,255,20,0.06), transparent 55%);
  z-index: -1;
}
.hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse at 50% 0%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 0%, #000 30%, transparent 75%);
  z-index: -1;
  opacity: 0.6;
}

.hero__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(32px, 6vw, 80px);
  align-items: center;
  padding-bottom: 80px;
}

.hero__title {
  font-size: clamp(44px, 7.2vw, 92px);
  font-weight: 900;
  letter-spacing: -0.035em;
  margin: 24px 0 24px;
}
.hero__title-accent {
  background: linear-gradient(180deg, #fff 0%, var(--sp-cyan) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 24px rgba(0,212,255,0.35));
}

.hero__lede {
  font-size: clamp(16px, 1.4vw, 19px);
  color: var(--sp-text-dim);
  max-width: 52ch;
  line-height: 1.55;
}

.hero__cta {
  display: flex;
  gap: 12px;
  margin: 32px 0;
  flex-wrap: wrap;
}

.hero__proof {
  display: flex;
  gap: clamp(20px, 4vw, 56px);
  padding-top: 24px;
  border-top: 1px solid var(--sp-line);
  margin-top: 8px;
}
.hero__proof-num {
  font-family: var(--f-mono);
  font-weight: 800;
  font-size: clamp(22px, 2.6vw, 30px);
  color: #fff;
  letter-spacing: -0.02em;
}
.hero__proof-label {
  font-size: 12px;
  color: var(--sp-text-mute);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-top: 4px;
}

/* hero phones */
.hero__art {
  position: relative;
  height: 720px;
  display: grid;
  place-items: center;
}
.hero__art .phone {
  position: absolute;
  transition: transform .6s ease;
}
.hero__art .phone--dashboard {
  transform: translate(-90px, -10px) rotate(-4deg);
  z-index: 2;
}
.hero__art .phone--race {
  transform: translate(90px, 60px) rotate(4deg);
  z-index: 1;
  filter: drop-shadow(0 30px 60px rgba(0,212,255,0.15));
}

@media (max-width: 980px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__art { height: 640px; }
  .hero__art .phone--dashboard { transform: translate(-100px, 0) rotate(-3deg) scale(0.85); }
  .hero__art .phone--race { transform: translate(100px, 60px) rotate(3deg) scale(0.85); }
}
@media (max-width: 560px) {
  .hero__art { height: auto; display: block; }
  .hero__art .phone { position: relative; transform: none; margin: 16px auto; }
  .hero__art .phone--race { display: none; }
}

/* ── phone mockup ──────────────────────────────────────────── */
.phone {
  width: 300px;
  height: 612px;
  border-radius: 44px;
  background: #000;
  border: 1.5px solid #1a1d22;
  padding: 12px 10px;
  position: relative;
  box-shadow:
    inset 0 0 0 6px #0b0c0f,
    0 30px 80px -20px rgba(0,0,0,0.8),
    0 0 0 1px rgba(255,255,255,0.04);
  overflow: hidden;
}
.phone__notch {
  position: absolute;
  top: 14px; left: 50%;
  transform: translateX(-50%);
  width: 110px; height: 32px;
  background: #000;
  border-radius: 999px;
  z-index: 3;
  display: grid; place-items: center;
}
.phone__notch::before {
  content: '';
  width: 14px; height: 14px;
  border-radius: 50%;
  background: transparent;
  border: 2px solid var(--sp-green);
  box-shadow: 0 0 8px var(--sp-green);
}
.phone__notch--live::before {
  border-color: var(--sp-green);
  box-shadow: 0 0 12px var(--sp-green);
}
.phone__status {
  position: relative;
  z-index: 2;
  display: flex; justify-content: space-between;
  padding: 14px 22px 0;
  font-size: 13px; font-weight: 700;
  color: #fff;
}
.phone__status-right { display: inline-flex; gap: 4px; align-items: center; }
.phone__signal { width: 16px; height: 10px; background:
  linear-gradient(to right, #fff 25%, transparent 25% 33%, #fff 33% 58%, transparent 58% 66%, #fff 66% 91%, transparent 91% 100%);
  mask-image: linear-gradient(to top, #000 50%, transparent 50%);
  -webkit-mask-image: linear-gradient(to top, #000 50%, transparent 50%);
}
.phone__net { font-size: 12px; }
.phone__bat {
  font-size: 9px; font-family: var(--f-mono);
  padding: 1px 5px;
  border: 1px solid rgba(255,255,255,0.6);
  border-radius: 3px;
  position: relative;
}
.phone__bat::after {
  content: ''; position: absolute; right: -3px; top: 4px;
  width: 2px; height: 4px; background: rgba(255,255,255,0.6); border-radius: 0 1px 1px 0;
}
.phone__screen {
  margin-top: 36px;
  height: calc(100% - 36px - 70px);
  padding: 20px 18px 0;
  overflow: hidden;
  position: relative;
  z-index: 1;
}

/* phone bottom tabbar */
.phone__tabs {
  position: absolute;
  left: 14px; right: 14px; bottom: 18px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
  padding: 8px 6px;
  background: rgba(20,22,26,0.75);
  border: 1px solid var(--sp-line);
  border-radius: var(--r-pill);
  backdrop-filter: blur(8px);
}
.phone__tab {
  display: flex; flex-direction: column; align-items: center; gap: 2px;
  font-size: 10px;
  color: var(--sp-text-dim);
  padding: 6px 4px;
  border-radius: var(--r-pill);
}
.phone__tab.is-active {
  background: rgba(0,212,255,0.12);
  color: var(--sp-cyan);
}
.phone__tab i {
  width: 18px; height: 18px;
  background: currentColor;
  -webkit-mask-position: center;
          mask-position: center;
  -webkit-mask-repeat: no-repeat;
          mask-repeat: no-repeat;
  -webkit-mask-size: contain;
          mask-size: contain;
}
.phone__tab i[data-icon="gauge"]   { -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'><circle cx='12' cy='13' r='8'/><path d='M12 13 L16 9'/></svg>");
                                              mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'><circle cx='12' cy='13' r='8'/><path d='M12 13 L16 9'/></svg>"); }
.phone__tab i[data-icon="map"]     { -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'><path d='M3 6v15l6-3 6 3 6-3V3l-6 3-6-3-6 3z'/><path d='M9 3v15M15 6v15'/></svg>");
                                              mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'><path d='M3 6v15l6-3 6 3 6-3V3l-6 3-6-3-6 3z'/><path d='M9 3v15M15 6v15'/></svg>"); }
.phone__tab i[data-icon="trophy"]  { -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'><path d='M7 4h10v4a5 5 0 0 1-10 0V4z'/><path d='M5 6H3v2a3 3 0 0 0 3 3M19 6h2v2a3 3 0 0 1-3 3M9 14h6l-1 4h-4z'/></svg>");
                                              mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'><path d='M7 4h10v4a5 5 0 0 1-10 0V4z'/><path d='M5 6H3v2a3 3 0 0 0 3 3M19 6h2v2a3 3 0 0 1-3 3M9 14h6l-1 4h-4z'/></svg>"); }
.phone__tab i[data-icon="user"]    { -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'><circle cx='12' cy='8' r='4'/><path d='M4 21c0-4 4-7 8-7s8 3 8 7'/></svg>");
                                              mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'><circle cx='12' cy='8' r='4'/><path d='M4 21c0-4 4-7 8-7s8 3 8 7'/></svg>"); }

/* ── dashboard screen ──────────────────────────────────────── */
.ds-header { display: flex; justify-content: space-between; align-items: flex-start; }
.ds-greet { font-size: 22px; font-weight: 800; letter-spacing: -0.02em; }
.ds-greet span { font-size: 18px; }
.ds-date  { color: var(--sp-text-dim); font-size: 12px; margin-top: 2px; }
.ds-online {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12px; padding: 6px 10px;
  border-radius: var(--r-pill);
  border: 1px solid var(--sp-green);
  color: var(--sp-green);
  background: rgba(57,255,20,0.06);
}

.ds-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  margin-top: 18px;
}
.ds-stat {
  background: var(--sp-card);
  border: 1px solid var(--sp-line);
  border-radius: var(--r-sm);
  padding: 8px 6px;
  text-align: left;
}
.ds-stat small {
  display: block;
  font-family: var(--f-mono);
  font-size: 8px;
  letter-spacing: 0.12em;
  color: var(--sp-text-mute);
}
.ds-stat strong {
  display: block;
  font-family: var(--f-mono);
  font-size: 14px;
  margin-top: 4px;
  color: #fff;
}
.ds-stat--best strong { color: var(--sp-amber); font-size: 11px; }

.ds-section-title {
  text-align: center;
  font-family: var(--f-mono);
  font-size: 9px; font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--sp-text-mute);
  margin: 20px 0 10px;
}

.ds-card {
  background: var(--sp-card);
  border: 1px solid var(--sp-line);
  border-radius: var(--r-md);
  overflow: hidden;
  margin-bottom: 8px;
}
.ds-card__map { height: 80px; background: #0d1612; }
.ds-card__map svg { width: 100%; height: 100%; }
.ds-card__body { padding: 10px 12px; }
.ds-card__head { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.ds-card__head strong { font-size: 14px; }
.ds-card__meta { font-size: 11px; color: var(--sp-text-dim); margin: 2px 0 8px; }
.ds-card__time { font-family: var(--f-mono); font-size: 13px; color: var(--sp-cyan); }

.ds-card--compact { padding: 10px 12px; }
.ds-card--compact .ds-card__head { margin: 0; }

.badge {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 3px 8px;
  border-radius: var(--r-pill);
  font-size: 10px; font-weight: 700;
  background: rgba(255,209,92,0.16);
  color: var(--sp-amber);
}
.badge--public { background: rgba(255,209,92,0.16); color: var(--sp-amber); }

.ds-open {
  width: 100%;
  height: 36px;
  border-radius: var(--r-pill);
  background: rgba(0,212,255,0.16);
  border: 1px solid rgba(0,212,255,0.35);
  color: var(--sp-cyan);
  font-weight: 700;
  font-size: 13px;
}

/* ── race-ready screen ─────────────────────────────────────── */
.rc-header { display: flex; align-items: center; justify-content: center; position: relative; }
.rc-back { position: absolute; left: 0; width: 28px; height: 28px; border-radius: 50%;
  background: var(--sp-card); display: grid; place-items: center; color: #fff; }
.rc-title { font-weight: 800; font-size: 16px; }

.rc-meta {
  display: flex; gap: 12px;
  font-size: 11px; color: var(--sp-text-dim);
  margin-top: 12px;
}
.rc-meta small { color: var(--sp-cyan); margin-left: 4px; }

.rc-map {
  margin-top: 10px;
  border-radius: 14px;
  overflow: hidden;
  height: 130px;
  border: 1px solid var(--sp-line);
}

.rc-status {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 12px;
  margin-top: 12px;
  background: var(--sp-card);
  border: 1px solid var(--sp-line);
  border-radius: var(--r-md);
}
.rc-status__icon {
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--sp-green);
  display: grid; place-items: center;
  color: #001a00; font-weight: 900;
}
.rc-status__body strong { display: block; font-size: 13px; }
.rc-status__body small  { font-size: 10px; color: var(--sp-text-dim); }
.rc-status__num {
  font-family: var(--f-mono); font-weight: 800;
  color: var(--sp-green); font-size: 22px;
}
.rc-status__num small { font-size: 12px; margin-left: 2px; }

.rc-go {
  margin-top: 14px;
  width: 100%;
  height: 50px;
  border-radius: var(--r-pill);
  background: var(--sp-cyan);
  color: #001218;
  border: none;
  font-weight: 800;
  font-size: 16px;
  box-shadow: 0 0 32px -8px var(--sp-cyan);
}

/* ── marquee ───────────────────────────────────────────────── */
.marquee {
  position: relative;
  margin: 0 calc(var(--pad) * -1);
  border-top: 1px solid var(--sp-line);
  border-bottom: 1px solid var(--sp-line);
  background: var(--sp-bg-1);
  overflow: hidden;
}
.marquee__track {
  display: inline-flex;
  gap: 64px;
  padding: 18px 0;
  font-family: var(--f-mono);
  font-size: 13px;
  letter-spacing: 0.18em;
  color: var(--sp-text-dim);
  white-space: nowrap;
  animation: marq 35s linear infinite;
}
.marquee__track span { color: var(--sp-text-dim); }
.marquee__track span:nth-child(odd) { color: var(--sp-cyan); }
@keyframes marq {
  to { transform: translateX(-50%); }
}


/* ── section heads ─────────────────────────────────────────── */
.section-head {
  text-align: center;
  margin: 0 auto 56px;
  max-width: 720px;
}
.section-head h2 {
  font-size: clamp(34px, 5vw, 56px);
  letter-spacing: -0.03em;
}

/* ── features ──────────────────────────────────────────────── */
.features {
  padding: clamp(80px, 12vw, 140px) var(--pad);
  max-width: var(--maxw);
  margin: 0 auto;
}
.feature-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}
.feature {
  grid-column: span 2;
  background: var(--sp-card);
  border: 1px solid var(--sp-line);
  border-radius: var(--r-lg);
  padding: 28px;
  position: relative;
  overflow: hidden;
  transition: border-color .2s ease, transform .15s ease;
}
.feature:hover { border-color: var(--sp-line-strong); transform: translateY(-2px); }
.feature--lg { grid-column: span 3; }
.feature--wide { grid-column: span 3; }
.feature h3 {
  font-size: 22px;
  margin: 18px 0 10px;
  letter-spacing: -0.02em;
}
.feature p {
  color: var(--sp-text-dim);
  font-size: 15px;
  line-height: 1.5;
}

.feature__icon {
  display: inline-grid;
  place-items: center;
  width: 44px; height: 44px;
  border-radius: 12px;
  background: rgba(0,212,255,0.12);
  border: 1px solid rgba(0,212,255,0.35);
  position: relative;
}
.feature__icon::before {
  content: '';
  position: absolute; inset: 10px;
  background: var(--sp-cyan);
  -webkit-mask-position: center;
          mask-position: center;
  -webkit-mask-repeat: no-repeat;
          mask-repeat: no-repeat;
  -webkit-mask-size: contain;
          mask-size: contain;
}
.feature__icon[data-icon="gps"]::before    { -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'><circle cx='12' cy='12' r='9'/><circle cx='12' cy='12' r='4'/><path d='M12 2v3M12 19v3M2 12h3M19 12h3'/></svg>");
                                                    mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'><circle cx='12' cy='12' r='9'/><circle cx='12' cy='12' r='4'/><path d='M12 2v3M12 19v3M2 12h3M19 12h3'/></svg>"); }
.feature__icon[data-icon="route"]::before  { -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'><circle cx='6' cy='5' r='2.5'/><circle cx='18' cy='19' r='2.5'/><path d='M6 7.5v3a3 3 0 0 0 3 3h6a3 3 0 0 1 3 3v0'/></svg>");
                                                    mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'><circle cx='6' cy='5' r='2.5'/><circle cx='18' cy='19' r='2.5'/><path d='M6 7.5v3a3 3 0 0 0 3 3h6a3 3 0 0 1 3 3v0'/></svg>"); }
.feature__icon[data-icon="trophy"]::before { -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'><path d='M7 4h10v4a5 5 0 0 1-10 0V4z'/><path d='M5 6H3v2a3 3 0 0 0 3 3M19 6h2v2a3 3 0 0 1-3 3M9 14h6l-1 4h-4z'/></svg>");
                                                    mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'><path d='M7 4h10v4a5 5 0 0 1-10 0V4z'/><path d='M5 6H3v2a3 3 0 0 0 3 3M19 6h2v2a3 3 0 0 1-3 3M9 14h6l-1 4h-4z'/></svg>"); }
.feature__icon[data-icon="compare"]::before{ -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'><path d='M3 18 L9 6 L15 14 L21 4'/><circle cx='3' cy='18' r='1.5' fill='black'/><circle cx='21' cy='4' r='1.5' fill='black'/></svg>");
                                                    mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'><path d='M3 18 L9 6 L15 14 L21 4'/><circle cx='3' cy='18' r='1.5' fill='black'/><circle cx='21' cy='4' r='1.5' fill='black'/></svg>"); }
.feature__icon[data-icon="bike"]::before   { -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'><circle cx='5.5' cy='17' r='3.5'/><circle cx='18.5' cy='17' r='3.5'/><path d='M5.5 17 L10 9 L14 13 L18.5 17 M10 9 L14 9'/></svg>");
                                                    mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'><circle cx='5.5' cy='17' r='3.5'/><circle cx='18.5' cy='17' r='3.5'/><path d='M5.5 17 L10 9 L14 13 L18.5 17 M10 9 L14 9'/></svg>"); }
.feature__icon[data-icon="cloud"]::before  { -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'><path d='M7 18h11a4 4 0 0 0 .5-7.95A6 6 0 0 0 6.6 9 4.5 4.5 0 0 0 7 18z'/></svg>");
                                                    mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'><path d='M7 18h11a4 4 0 0 0 .5-7.95A6 6 0 0 0 6.6 9 4.5 4.5 0 0 0 7 18z'/></svg>"); }

/* feature inline data viz */
.feature__hud {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 24px;
  padding: 18px;
  border: 1px solid var(--sp-line);
  border-radius: var(--r-md);
  background: var(--sp-bg-1);
}
.feature__hud small {
  display: block;
  font-family: var(--f-mono);
  font-size: 9px;
  letter-spacing: 0.18em;
  color: var(--sp-text-mute);
}
.feature__hud strong {
  display: block;
  font-family: var(--f-mono);
  font-weight: 800;
  font-size: 24px;
  color: #fff;
  letter-spacing: -0.02em;
  margin-top: 4px;
}
.feature__chart {
  margin-top: 20px;
  height: 60px;
  border-radius: var(--r-sm);
  overflow: hidden;
  border: 1px solid var(--sp-line);
  background: var(--sp-bg-1);
}

@media (max-width: 880px) {
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .feature, .feature--lg, .feature--wide { grid-column: span 2; }
}
@media (max-width: 520px) {
  .feature-grid { grid-template-columns: 1fr; }
  .feature, .feature--lg, .feature--wide { grid-column: span 1; }
  .feature__hud { grid-template-columns: 1fr 1fr; }
}


/* ── how it works ──────────────────────────────────────────── */
.how {
  padding: clamp(60px, 10vw, 120px) var(--pad);
  max-width: var(--maxw);
  margin: 0 auto;
}
.steps {
  list-style: none;
  padding: 0; margin: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  counter-reset: step;
}
.step {
  background: var(--sp-card);
  border: 1px solid var(--sp-line);
  border-radius: var(--r-lg);
  padding: 32px;
  position: relative;
  min-height: 360px;
}
.step__num {
  font-family: var(--f-mono);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.2em;
  color: var(--sp-cyan);
}
.step h3 {
  font-size: 24px;
  margin: 8px 0 12px;
  letter-spacing: -0.02em;
}
.step p {
  color: var(--sp-text-dim);
  font-size: 15px;
  line-height: 1.55;
}
.step__art {
  position: absolute;
  bottom: 24px; left: 24px; right: 24px;
  height: 120px;
  border-radius: var(--r-md);
  border: 1px solid var(--sp-line);
  background: var(--sp-bg-1);
  display: grid; place-items: center;
  overflow: hidden;
}
.step__art--01 svg { width: 80%; height: 80%; }

.step__beep, .step__beep--2, .step__beep--3 {
  position: absolute;
  border-radius: 50%;
  border: 2px solid var(--sp-cyan);
  width: 30px; height: 30px;
  animation: beep 2.4s ease-out infinite;
  opacity: 0;
}
.step__beep--2 { animation-delay: 0.8s; }
.step__beep--3 { animation-delay: 1.6s; }
@keyframes beep {
  0%   { transform: scale(0.4); opacity: 0.9; }
  100% { transform: scale(4); opacity: 0; }
}

.rank { width: 90%; display: flex; flex-direction: column; gap: 6px; }
.rank span {
  display: grid;
  grid-template-columns: 24px 1fr auto;
  gap: 12px;
  font-size: 13px;
  padding: 6px 10px;
  border-radius: var(--r-sm);
  background: var(--sp-card-hi);
}
.rank strong { font-family: var(--f-mono); color: var(--sp-text-dim); }
.rank em { font-style: normal; font-family: var(--f-mono); color: #fff; }
.rank .is-you { background: rgba(0,212,255,0.12); }
.rank .is-you strong { color: var(--sp-cyan); }

@media (max-width: 880px) {
  .steps { grid-template-columns: 1fr; }
  .step { min-height: 0; padding-bottom: 180px; }
}


/* ── ranking ───────────────────────────────────────────────── */
.ranking {
  padding: clamp(60px, 10vw, 120px) var(--pad);
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}
.ranking__copy h2 {
  font-size: clamp(34px, 5vw, 56px);
  margin: 18px 0 18px;
  letter-spacing: -0.03em;
}
.ranking__copy p {
  color: var(--sp-text-dim);
  font-size: 17px;
  max-width: 44ch;
  line-height: 1.55;
}
.ranking__bullets {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 15px;
}
.ranking__bullets li { display: flex; gap: 10px; }
.check {
  display: inline-grid; place-items: center;
  width: 22px; height: 22px; border-radius: 50%;
  background: rgba(0,212,255,0.16);
  color: var(--sp-cyan);
  font-size: 12px;
  flex-shrink: 0;
}

.ranking__board {
  background: var(--sp-card);
  border: 1px solid var(--sp-line);
  border-radius: var(--r-lg);
  padding: 28px;
  box-shadow: 0 30px 80px -30px rgba(0,212,255,0.2);
}
.board__head { display: flex; justify-content: space-between; align-items: center; }
.board__head h3 { font-size: 22px; }
.board__sub {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--sp-text-mute);
  margin: 4px 0 18px;
  text-transform: uppercase;
}
.board__list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 4px; }
.board__row {
  display: grid;
  grid-template-columns: 28px 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 12px 14px;
  border-radius: var(--r-md);
  background: var(--sp-bg-1);
  border: 1px solid transparent;
}
.board__row--gold {
  background: linear-gradient(135deg, rgba(255,209,92,0.16), rgba(255,209,92,0.02));
  border-color: rgba(255,209,92,0.35);
}
.board__pos {
  font-family: var(--f-mono);
  font-weight: 800;
  font-size: 16px;
  color: var(--sp-text-dim);
  text-align: center;
}
.board__row--gold .board__pos { color: var(--sp-amber); }
.board__user {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 14px;
}
.board__avatar {
  width: 28px; height: 28px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: var(--c);
  color: #000; font-weight: 800;
  font-size: 12px;
}
.board__you {
  margin-left: 6px;
  font-family: var(--f-mono);
  font-size: 9px;
  padding: 2px 6px;
  border-radius: var(--r-pill);
  background: rgba(0,212,255,0.16);
  color: var(--sp-cyan);
  letter-spacing: 0.12em;
}
.board__time {
  font-family: var(--f-mono);
  font-weight: 800;
  font-size: 17px;
  letter-spacing: -0.01em;
}
.board__row--gold .board__time { color: var(--sp-amber); }
.board__foot {
  display: flex; justify-content: space-between;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--sp-line);
  font-size: 13px;
  color: var(--sp-text-dim);
}
.board__foot a { color: var(--sp-cyan); font-weight: 700; }

@media (max-width: 880px) {
  .ranking { grid-template-columns: 1fr; }
}

/* ── safety ────────────────────────────────────────────────── */
.safety {
  padding: clamp(60px, 10vw, 120px) var(--pad);
  background:
    linear-gradient(to bottom, transparent, rgba(255,77,77,0.04) 50%, transparent),
    var(--sp-bg);
}
.safety__inner {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
  padding: 56px 40px;
  border: 1px solid rgba(255,77,77,0.25);
  background: rgba(255,77,77,0.04);
  border-radius: var(--r-lg);
}
.safety__warn {
  display: inline-grid; place-items: center;
  width: 56px; height: 56px;
  border-radius: 14px;
  background: rgba(255,77,77,0.16);
  border: 1px solid rgba(255,77,77,0.35);
  color: var(--sp-red);
  font-size: 28px;
  margin-bottom: 20px;
}
.safety h2 {
  font-size: clamp(26px, 3.4vw, 36px);
  margin: 0 0 16px;
  letter-spacing: -0.025em;
}
.safety p {
  color: var(--sp-text-dim);
  font-size: 16px;
  line-height: 1.55;
  max-width: 56ch;
  margin: 0 auto;
}
.safety__link {
  display: inline-block;
  margin-top: 20px;
  color: var(--sp-red);
  font-weight: 700;
  font-size: 14px;
}


/* ── faq ───────────────────────────────────────────────────── */
.faq {
  padding: clamp(80px, 12vw, 140px) var(--pad);
  max-width: 880px;
  margin: 0 auto;
}
.faq__list {
  display: flex; flex-direction: column; gap: 12px;
}
.faq details {
  background: var(--sp-card);
  border: 1px solid var(--sp-line);
  border-radius: var(--r-md);
  padding: 4px 24px;
  transition: border-color .2s ease;
}
.faq details[open] { border-color: rgba(0,212,255,0.35); }
.faq summary {
  list-style: none;
  cursor: pointer;
  font-weight: 700;
  font-size: 17px;
  padding: 20px 0;
  display: flex; justify-content: space-between;
  align-items: center;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+';
  font-family: var(--f-mono);
  font-size: 20px;
  color: var(--sp-cyan);
  transition: transform .2s ease;
}
.faq details[open] summary::after { content: '–'; }
.faq p {
  padding: 0 0 20px;
  color: var(--sp-text-dim);
  font-size: 15px;
  line-height: 1.6;
}


/* ── final cta ─────────────────────────────────────────────── */
.cta {
  position: relative;
  padding: clamp(100px, 14vw, 160px) var(--pad);
  text-align: center;
  isolation: isolate;
  overflow: hidden;
}
.cta__glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 50% 50%, rgba(0,212,255,0.18), transparent 60%);
  z-index: -1;
}
.cta__title {
  font-size: clamp(48px, 8vw, 110px);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 0.95;
  margin: 0 auto 40px;
  max-width: 14ch;
}
.cta__title-accent {
  background: linear-gradient(180deg, #fff 0%, var(--sp-cyan) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 32px rgba(0,212,255,0.4));
}
.cta__stores {
  display: inline-flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
}
.cta__small {
  margin-top: 24px;
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--sp-text-mute);
}


/* ── footer ────────────────────────────────────────────────── */
.footer {
  background: var(--sp-bg-1);
  border-top: 1px solid var(--sp-line);
  padding: 64px var(--pad) 28px;
}
.footer__top {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 48px;
}
.footer__brand {
  display: flex;
  align-items: center;
  gap: 14px;
}
.footer__brand strong {
  display: block;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.18em;
}
.footer__brand small {
  display: block;
  font-size: 12px;
  color: var(--sp-text-mute);
  margin-top: 2px;
}
.footer__cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.footer__cols h4 {
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sp-text-mute);
  margin-bottom: 14px;
}
.footer__cols a {
  display: block;
  font-size: 14px;
  color: var(--sp-text-dim);
  padding: 4px 0;
}
.footer__cols a:hover { color: var(--sp-cyan); }
.footer__bottom {
  max-width: var(--maxw);
  margin: 48px auto 0;
  padding-top: 24px;
  border-top: 1px solid var(--sp-line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: var(--sp-text-mute);
  flex-wrap: wrap;
  gap: 12px;
}
.footer__signal {
  display: inline-flex; align-items: center; gap: 8px;
}

@media (max-width: 720px) {
  .footer__top { grid-template-columns: 1fr; }
  .footer__cols { grid-template-columns: repeat(2, 1fr); }
}
