/* ==========================================================================
   Volt Karting — black velvet with violet neon
   ========================================================================== */
:root {
  --black: #000000;
  --hairline: #292d30;
  --white: #ffffff;
  --bone: #f0f0f0;
  --ash: #a1a4a5;
  --smoke: #abafb4;
  --iron: #6e727a;
  --charcoal: #464a4d;
  --violet: #9281f7;
  --violet-glow: #baa7ff;
  --violet-grad: linear-gradient(135deg, rgb(146, 129, 247) 0%, rgb(154, 84, 220) 100%);
  --blue: #3b9eff;
  --sky: #70b8ff;
  --green: #3ad389;
  --red: #ff9592;
  --amber: #ffca16;
  --lift: #0b0e14;
  --surface-grad: linear-gradient(rgb(27, 27, 27), rgb(3, 3, 3));

  --f-body: 'Inter', ui-sans-serif, system-ui, -apple-system, sans-serif;
  --f-display: 'Instrument Serif', 'Tiempos Headline', Georgia, serif;
  --f-head: 'Inter Tight', 'Inter', ui-sans-serif, system-ui, sans-serif;
  --f-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;

  --r-sm: 6px;
  --r-card: 16px;
  --r-panel: 24px;
  --max: 1200px;
  --gutter: 24px;
  --section: 144px;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  margin: 0;
  background: var(--black);
  color: var(--bone);
  font: 400 16px/1.5 var(--f-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
body.is-loading { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
::selection { background: var(--violet); color: #000; }

.container { width: 100%; max-width: calc(var(--max) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.mono { font-family: var(--f-mono); font-feature-settings: "zero" 0; }
.serif { font-family: var(--f-display); font-weight: 400; }
.muted { color: var(--iron); }
.violet { color: var(--violet); }

.display {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: clamp(54px, 8.4vw, 112px);
  line-height: 0.98;
  letter-spacing: -0.01em;
  color: var(--white);
  margin: 0;
}
.display em { font-style: italic; color: var(--white); }
.h2 {
  font-family: var(--f-head);
  font-weight: 400;
  font-size: clamp(36px, 5vw, 60px);
  line-height: 1.08;
  letter-spacing: -0.05em;
  color: var(--white);
  margin: 0;
}
.lead { color: var(--ash); font-size: 18px; line-height: 1.6; max-width: 520px; margin: 24px 0 0; }
.eyebrow { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--violet); margin: 0 0 20px; }
.section-head { margin-bottom: 64px; }
.section-head--center { text-align: center; display: flex; flex-direction: column; align-items: center; }
.section-head--center .lead { margin-inline: auto; }

/* status dots */
.dot { display: inline-block; width: 6px; height: 6px; border-radius: 50%; vertical-align: middle; flex: none; }
.dot--green { background: var(--green); box-shadow: 0 0 10px var(--green); }
.dot--violet { background: var(--violet-glow); box-shadow: 0 0 10px var(--violet); }
.dot--red { background: #ff6465; }
.dot--blue { background: var(--sky); }
.dot--amber { background: var(--amber); }
.pulse { animation: pulse 1.4s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .25; } }

/* ==========================================================================
   Buttons & links
   ========================================================================== */
.btn {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 10px 16px;
  border-radius: var(--r-sm);
  border: 1px solid var(--hairline);
  font-size: 14px; font-weight: 500;
  color: var(--white);
  transition: border-color .15s ease-out, background-color .25s ease-out, color .25s ease-out;
  overflow: hidden;
  isolation: isolate;
  white-space: nowrap;
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(120px circle at var(--mx, 50%) var(--my, 50%), rgba(146, 129, 247, .28), transparent 70%);
  opacity: 0; transition: opacity .25s;
}
.btn:hover { border-color: rgba(255, 255, 255, .7); }
.btn:hover::before { opacity: 1; }
.btn--lg { padding: 14px 22px; font-size: 15px; }
.btn--block { width: 100%; }
.btn--white { background: var(--white); color: #000; border-color: var(--white); }
.btn--white::before { background: radial-gradient(140px circle at var(--mx, 50%) var(--my, 50%), rgba(146, 129, 247, .45), transparent 70%); }
.btn--white:hover { background: var(--bone); }
.btn__arrow { display: inline-block; transition: transform .3s var(--ease-out); }
.btn:hover .btn__arrow { transform: translateX(4px); }

.chev { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; transition: transform .3s var(--ease-out); }
.link-chev { display: inline-flex; align-items: center; gap: 6px; color: var(--bone); font-size: 15px; transition: color .15s; }
.link-chev:hover { color: var(--white); }
.link-chev:hover .chev, .pill:hover .chev { transform: translateX(3px); }

.pill {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 5px 12px 5px 5px;
  border: 1px solid var(--hairline); border-radius: 999px;
  font-size: 14px; color: var(--bone);
  transition: border-color .15s, background .3s;
}
.pill:hover { border-color: #4a4f55; background: rgba(255, 255, 255, .03); }
.pill__tag { font-size: 11px; padding: 3px 8px; border-radius: 999px; background: rgba(146, 129, 247, .14); color: var(--violet-glow); border: 1px solid rgba(146, 129, 247, .35); }
.pill .chev { color: var(--violet); }

/* ==========================================================================
   Loader
   ========================================================================== */
.loader {
  position: fixed; inset: 0; z-index: 1000;
  background: var(--black);
  display: grid; place-items: center;
}
.loader__inner { width: min(360px, 80vw); display: grid; gap: 14px; }
.loader__bolt { width: 28px; height: 28px; fill: var(--violet); filter: drop-shadow(0 0 12px rgba(146, 129, 247, .7)); animation: flicker 2.2s infinite; }
.loader__label { display: flex; justify-content: space-between; font-size: 12px; color: var(--ash); letter-spacing: .1em; }
.loader__pct { color: var(--white); }
.loader__bar { height: 2px; background: var(--hairline); border-radius: 2px; overflow: hidden; }
.loader__bar span { display: block; height: 100%; width: 0; background: var(--violet-grad); box-shadow: 0 0 12px var(--violet); }
.loader__cells { display: flex; justify-content: space-between; font-size: 10px; color: var(--charcoal); }
.loader__cells span.on { color: var(--violet-glow); }
@keyframes flicker { 0%, 19%, 22%, 62%, 64%, 100% { opacity: 1; } 20%, 63% { opacity: .35; } }

/* ==========================================================================
   Cursor
   ========================================================================== */
.cursor { position: fixed; inset: 0; pointer-events: none; z-index: 999; }
.cursor__dot, .cursor__ring { position: fixed; top: 0; left: 0; border-radius: 50%; will-change: transform; }
.cursor__dot { width: 6px; height: 6px; margin: -3px 0 0 -3px; background: var(--white); mix-blend-mode: difference; }
.cursor__ring {
  width: 36px; height: 36px; margin: -18px 0 0 -18px;
  border: 1px solid rgba(255, 255, 255, .35);
  display: grid; place-items: center;
  transition: width .35s var(--ease-out), height .35s var(--ease-out), margin .35s var(--ease-out), background .35s, border-color .35s;
}
.cursor__label { font-size: 10px; letter-spacing: .08em; text-transform: uppercase; color: #000; opacity: 0; transition: opacity .2s; }
.cursor.is-hover .cursor__ring { width: 56px; height: 56px; margin: -28px 0 0 -28px; border-color: var(--violet); background: rgba(146, 129, 247, .08); }
.cursor.is-label .cursor__ring { width: 80px; height: 80px; margin: -40px 0 0 -40px; background: var(--white); border-color: var(--white); }
.cursor.is-label .cursor__label { opacity: 1; }
.cursor.is-label .cursor__dot { opacity: 0; }
@media (hover: none), (pointer: coarse) { .cursor { display: none; } }
@media (hover: hover) and (pointer: fine) { body.has-cursor, body.has-cursor a, body.has-cursor button { cursor: none; } }

/* ==========================================================================
   Battery scroll indicator
   ========================================================================== */
.battery {
  position: fixed; right: 18px; top: 50%; transform: translateY(-50%);
  z-index: 50; display: flex; flex-direction: column; align-items: center; gap: 10px;
  mix-blend-mode: difference;
}
.battery__track { position: relative; width: 2px; height: 120px; background: rgba(255, 255, 255, .15); border-radius: 2px; overflow: hidden; }
.battery__fill { position: absolute; left: 0; bottom: 0; width: 100%; height: 100%; background: var(--white); transform-origin: bottom; transform: scaleY(0); }
.battery__pct { font-size: 10px; color: var(--white); writing-mode: vertical-rl; letter-spacing: .1em; }

/* ==========================================================================
   Nav
   ========================================================================== */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: transform .5s var(--ease-out), background .3s, border-color .3s;
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled { background: rgba(0, 0, 0, .72); backdrop-filter: blur(25px) saturate(1.4); -webkit-backdrop-filter: blur(25px) saturate(1.4); border-color: var(--hairline); }
.nav.is-hidden { transform: translateY(-100%); }
.nav__inner { max-width: calc(var(--max) + var(--gutter) * 2); margin: 0 auto; padding: 14px var(--gutter); display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.logo { display: inline-flex; align-items: center; gap: 10px; color: var(--white); }
.logo__bolt { width: 22px; height: 22px; fill: var(--violet); transition: filter .3s, transform .5s var(--ease-out); }
.logo:hover .logo__bolt { filter: drop-shadow(0 0 8px var(--violet)); transform: rotate(-12deg) scale(1.1); animation: flicker 1s; }
.logo__word { font-family: var(--f-head); font-weight: 500; font-size: 18px; letter-spacing: -0.04em; }
.logo__word span { color: var(--iron); margin-left: 4px; font-weight: 400; }
.nav__links { display: flex; gap: 28px; }
.nav__link { position: relative; font-size: 14px; color: var(--bone); transition: color .15s; padding: 4px 0; }
.nav__link::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 1px; background: var(--violet); transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease-out); }
.nav__link:hover { color: var(--white); }
.nav__link:hover::after, .nav__link.is-active::after { transform: scaleX(1); transform-origin: left; }
.nav__link.is-active { color: var(--white); }
.nav__right { display: flex; align-items: center; gap: 20px; }
.nav__status { font-size: 12px; color: var(--ash); display: inline-flex; align-items: center; gap: 8px; }
.nav__burger { display: none; width: 36px; height: 36px; border: 1px solid var(--hairline); border-radius: var(--r-sm); position: relative; }
.nav__burger span { position: absolute; left: 10px; right: 10px; height: 1px; background: var(--white); transition: transform .3s var(--ease-out), top .3s; }
.nav__burger span:first-child { top: 14px; }
.nav__burger span:last-child { top: 20px; }
body.menu-open .nav__burger span:first-child { top: 17px; transform: rotate(45deg); }
body.menu-open .nav__burger span:last-child { top: 17px; transform: rotate(-45deg); }
.mobile-menu {
  position: fixed; inset: 0; z-index: 90; background: rgba(0, 0, 0, .96);
  backdrop-filter: blur(25px); -webkit-backdrop-filter: blur(25px);
  display: flex; flex-direction: column; justify-content: center; padding: 0 28px; gap: 8px;
  clip-path: inset(0 0 100% 0); transition: clip-path .6s var(--ease-out);
}
.mobile-menu a { font-family: var(--f-display); font-size: 48px; color: var(--white); line-height: 1.15; }
body.menu-open .mobile-menu { clip-path: inset(0 0 0 0); }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; padding: 120px 0 80px; overflow: hidden; }
.hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.hero__grid-fade { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, #000 0%, rgba(0, 0, 0, .85) 30%, transparent 62%); }
.hero__content { position: relative; z-index: 2; pointer-events: none; }
.hero__content a, .hero__content button { pointer-events: auto; }
.hero__title { margin: 28px 0 0; max-width: 760px; }
.hero__title .line { display: block; overflow: hidden; padding-bottom: .06em; }
.hero__title .char { display: inline-block; will-change: transform; }
.hero__sub { max-width: 460px; color: var(--ash); font-size: 18px; line-height: 1.6; margin: 28px 0 0; }
.hero__ctas { display: flex; align-items: center; gap: 24px; margin-top: 36px; flex-wrap: wrap; }
.hero__stats { display: flex; gap: 48px; margin: 64px 0 0; padding-top: 24px; border-top: 1px solid var(--hairline); max-width: 560px; }
.hero__stats dt { font-size: 11px; color: var(--iron); text-transform: uppercase; letter-spacing: .08em; }
.hero__stats dd { margin: 6px 0 0; font-family: var(--f-head); font-size: 28px; letter-spacing: -0.04em; color: var(--white); }
.hero__hint { position: absolute; left: 50%; bottom: 28px; transform: translateX(-50%); z-index: 2; font-size: 11px; color: var(--iron); text-transform: uppercase; letter-spacing: .12em; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.hero__hint-line { width: 1px; height: 40px; background: linear-gradient(var(--violet), transparent); position: relative; overflow: hidden; }
.hero__hint-line::after { content: ""; position: absolute; left: 0; top: -40%; width: 100%; height: 40%; background: var(--white); animation: drip 1.8s var(--ease) infinite; }
@keyframes drip { to { top: 110%; } }
.hero__telemetry { position: absolute; right: 56px; bottom: 40px; z-index: 2; display: flex; gap: 28px; font-size: 11px; color: var(--iron); }
.hero__telemetry div { display: flex; flex-direction: column; gap: 4px; }
.hero__telemetry b { color: var(--white); font-weight: 400; font-size: 14px; min-width: 6ch; }

/* ==========================================================================
   Marquee
   ========================================================================== */
.marquee { padding: 40px 0; border-block: 1px solid var(--hairline); overflow: hidden; }
.marquee__row { display: flex; white-space: nowrap; }
.marquee__track { display: flex; align-items: center; gap: 32px; padding-right: 32px; flex: none; will-change: transform; }
.marquee__row:first-child .marquee__track { font-size: 14px; text-transform: uppercase; letter-spacing: .14em; color: var(--ash); }
.marquee__row:first-child i { color: var(--violet); font-style: normal; }
.marquee__row--outline { margin-top: 18px; }
.marquee__row--outline .marquee__track { font-family: var(--f-display); font-size: clamp(64px, 10vw, 140px); line-height: 1; color: transparent; -webkit-text-stroke: 1px #3a3f45; }
.marquee__row--outline span { transition: color .4s, -webkit-text-stroke-color .4s; }
.marquee__row--outline span:hover { color: var(--white); -webkit-text-stroke-color: var(--white); }
.marquee__row--outline i { font-style: normal; color: var(--violet); -webkit-text-stroke: 0; font-size: .5em; }

/* ==========================================================================
   Manifesto
   ========================================================================== */
.manifesto { padding-block: var(--section); }
.manifesto__text { font-family: var(--f-head); font-size: clamp(30px, 4.4vw, 56px); line-height: 1.15; letter-spacing: -0.045em; color: var(--white); margin: 0; max-width: 1100px; }
.manifesto__text .w { display: inline-block; opacity: .12; transition: none; }

/* ==========================================================================
   Circuit
   ========================================================================== */
.circuit { padding-bottom: var(--section); }
.track { display: grid; gap: 24px; }
.track__frame { position: relative; border: 1px solid var(--hairline); border-radius: var(--r-panel); overflow: hidden; aspect-ratio: 3 / 2; background: #000; }
.track__layer { position: absolute; inset: 0; will-change: transform; transform-origin: 50% 50%; }
.track__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.track__svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.track__path-base { fill: none; stroke: rgba(255, 255, 255, .0); stroke-width: 6; }
.track__path { fill: none; stroke: var(--violet-glow); stroke-width: 7; stroke-linecap: round; stroke-linejoin: round; }
.track__kart-dot { fill: var(--white); }
.track__kart-halo { fill: rgba(146, 129, 247, .35); }
.track__turns { position: absolute; inset: 0; }
.turn { position: absolute; left: var(--x); top: var(--y); translate: -50% -50%; z-index: 1; }
.turn:hover, .turn:focus-visible { z-index: 5; }
.turn__n {
  display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%;
  font-size: 11px; color: var(--white);
  background: rgba(0, 0, 0, .7); border: 1px solid rgba(186, 167, 255, .5);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  transition: transform .4s var(--ease-out), background .3s, border-color .3s;
  position: relative;
}
.turn__n::before { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 1px solid rgba(146, 129, 247, .4); animation: ring 2.4s var(--ease) infinite; }
@keyframes ring { from { transform: scale(.8); opacity: 1; } to { transform: scale(1.6); opacity: 0; } }
.turn:hover .turn__n, .turn:focus-visible .turn__n { transform: scale(1.15); background: var(--violet); border-color: var(--violet); color: #000; }
.turn__card {
  position: absolute; left: 50%; bottom: calc(100% + 12px); transform: translate(-50%, 8px);
  min-width: 220px; padding: 12px 14px; text-align: left;
  background: rgba(0, 0, 0, .85); border: 1px solid var(--hairline); border-radius: 12px;
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  opacity: 0; pointer-events: none; transition: opacity .25s, transform .35s var(--ease-out);
  display: grid; gap: 4px;
}
.turn__card b { font-family: var(--f-head); font-weight: 500; font-size: 16px; color: var(--white); letter-spacing: -0.02em; }
.turn__card .mono { font-size: 11px; color: var(--ash); }
.turn:hover .turn__card, .turn:focus-visible .turn__card { opacity: 1; transform: translate(-50%, 0); }
.track__hud { position: absolute; left: 20px; top: 20px; display: flex; gap: 16px; align-items: center; font-size: 12px; color: var(--ash); padding: 8px 12px; border: 1px solid var(--hairline); border-radius: var(--r-sm); background: rgba(0, 0, 0, .6); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.track__hud span:first-child { display: inline-flex; gap: 8px; align-items: center; }
.track__lap { color: var(--white); min-width: 9ch; }
.track__specs { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--hairline); border-radius: var(--r-card); }
.track__specs li { padding: 20px 24px; display: grid; gap: 6px; border-left: 1px solid var(--hairline); transition: background .3s; }
.track__specs li:first-child { border-left: 0; }
.track__specs li:hover { background: rgba(255, 255, 255, .02); }
.track__specs span { font-size: 11px; color: var(--iron); text-transform: uppercase; letter-spacing: .08em; }
.track__specs b { font-weight: 400; font-size: 18px; color: var(--white); }

/* ==========================================================================
   Fleet (pinned horizontal)
   ========================================================================== */
.fleet { position: relative; border-top: 1px solid var(--hairline); }
.fleet__pin { height: 100vh; height: 100svh; display: flex; flex-direction: column; justify-content: center; gap: 48px; overflow: hidden; padding-top: 64px; }
.fleet__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.fleet__progress { font-size: 12px; color: var(--iron); display: grid; gap: 10px; justify-items: end; }
.fleet__idx { color: var(--white); }
.fleet__bar { width: 160px; height: 1px; background: var(--hairline); }
.fleet__bar span { display: block; height: 100%; background: var(--violet); transform-origin: left; transform: scaleX(.0); }
.fleet__track { display: flex; gap: 24px; padding-left: max(var(--gutter), calc((100vw - var(--max)) / 2)); padding-right: 10vw; width: max-content; will-change: transform; }
.kart-card {
  position: relative; flex: none; width: min(820px, 78vw);
  display: grid; grid-template-rows: auto auto;
  border: 1px solid var(--hairline); border-radius: var(--r-panel);
  background: var(--black); overflow: hidden;
  transition: border-color .4s;
}
.kart-card::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; background: radial-gradient(500px circle at var(--mx, 50%) var(--my, 30%), rgba(146, 129, 247, .1), transparent 60%); opacity: 0; transition: opacity .4s; }
.kart-card:hover { border-color: #3d4247; }
.kart-card:hover::after { opacity: 1; }
.kart-card__media { position: relative; aspect-ratio: 16 / 8.2; overflow: hidden; border-bottom: 1px solid var(--hairline); background: radial-gradient(60% 70% at 50% 75%, #121216 0%, #000 70%); }
.kart-card__media::before { content: ""; position: absolute; left: 0; right: 0; bottom: 18%; height: 1px; background: linear-gradient(90deg, transparent, var(--hairline) 20%, var(--hairline) 80%, transparent); }
.kart-card__media img { position: absolute; left: 4%; top: 50%; width: 92%; translate: 0 -50%; transition: translate .9s var(--ease-out), scale .9s var(--ease-out), rotate .9s var(--ease-out), filter .6s; will-change: transform; }
.kart-card:hover .kart-card__media img { translate: 0 -53%; scale: 1.06; rotate: -1deg; filter: drop-shadow(0 20px 40px rgba(146, 129, 247, .18)); }
.kart-card__body { display: grid; grid-template-columns: 1.1fr 1fr; gap: 32px; padding: 32px; align-items: end; }
.kart-card__code { font-size: 11px; color: var(--violet); letter-spacing: .1em; }
.kart-card h3 { font-size: 56px; line-height: 1; margin: 8px 0 12px; color: var(--white); letter-spacing: -0.01em; }
.kart-card p { margin: 0; color: var(--ash); font-size: 15px; }
.specs { display: grid; grid-template-columns: 1fr 1fr; gap: 0; margin: 0; border: 1px solid var(--hairline); border-radius: 12px; }
.specs div { padding: 12px 14px; border-top: 1px solid var(--hairline); }
.specs div:nth-child(-n+2) { border-top: 0; }
.specs div:nth-child(even) { border-left: 1px solid var(--hairline); }
.specs dt { font-size: 10px; color: var(--iron); text-transform: uppercase; letter-spacing: .08em; }
.specs dd { margin: 4px 0 0; font-size: 15px; color: var(--white); }
.kart-card--hot .kart-card__code { color: var(--violet-glow); }
.fleet__end { flex: none; width: min(620px, 70vw); display: flex; flex-direction: column; justify-content: center; gap: 12px; padding-left: 40px; }
.fleet__end img { width: 100%; opacity: .9; transform: rotate(-90deg) scale(.9); margin: -40px 0; }
.fleet__end p { font-size: 44px; line-height: 1.05; color: var(--white); margin: 0; }
.fleet__end em { color: var(--violet-glow); }

/* ==========================================================================
   Live timing
   ========================================================================== */
.live { padding-block: var(--section); display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 64px; align-items: center; }
.checks { list-style: none; padding: 0; margin: 32px 0 0; display: grid; gap: 12px; }
.checks li { display: flex; align-items: center; gap: 12px; color: var(--bone); font-size: 15px; }
.checks svg { width: 18px; height: 18px; padding: 3px; border-radius: 6px; border: 1px solid var(--hairline); fill: none; stroke: var(--violet); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.terminal { border: 1px solid var(--hairline); border-radius: var(--r-card); background: var(--black); overflow: hidden; transform-style: preserve-3d; will-change: transform; transition: border-color .4s; position: relative; }
.terminal::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(146, 129, 247, .08), transparent 60%); }
.terminal:hover { border-color: #3a3f44; }
.terminal__bar { display: flex; align-items: center; gap: 8px; padding: 12px 16px; border-bottom: 1px solid var(--hairline); background: var(--surface-grad); }
.tl { width: 10px; height: 10px; border-radius: 50%; background: #2a2d31; transition: background .2s; }
.terminal:hover .tl:nth-child(1) { background: #ff6465; }
.terminal:hover .tl:nth-child(2) { background: var(--amber); }
.terminal:hover .tl:nth-child(3) { background: var(--green); }
.terminal__title { margin-left: 10px; font-size: 12px; color: var(--iron); }
.terminal__live { margin-left: auto; font-size: 11px; color: var(--red); display: inline-flex; gap: 6px; align-items: center; }
.terminal__head, .board li { display: grid; grid-template-columns: 44px 1.4fr .8fr 1fr .8fr 1fr; gap: 8px; align-items: center; padding: 0 18px; }
.terminal__head { height: 36px; font-size: 10px; color: var(--iron); text-transform: uppercase; letter-spacing: .08em; border-bottom: 1px solid var(--hairline); }
.board { list-style: none; margin: 0; padding: 6px 0; position: relative; height: 336px; }
.board li { position: absolute; left: 0; right: 0; height: 40px; font-size: 13px; color: var(--bone); transition: transform .7s var(--ease-out), background .3s; }
.board li:hover { background: rgba(255, 255, 255, .03); }
.board .pos { color: var(--iron); }
.board .kart { color: var(--sky); }
.board .best { color: var(--white); }
.board .best.flash { color: var(--violet-glow); text-shadow: 0 0 12px rgba(146, 129, 247, .8); }
.board .gap { color: var(--ash); }
.board .st { display: inline-flex; gap: 8px; align-items: center; font-size: 11px; color: var(--ash); }
.board li.is-up { background: rgba(58, 211, 137, .06); }
.terminal__foot { display: flex; justify-content: space-between; gap: 16px; padding: 12px 18px; font-size: 12px; border-top: 1px solid var(--hairline); color: var(--bone); }
.kw { color: var(--sky); } .str { color: var(--violet); } .cm { color: var(--charcoal); }
.terminal__clock { color: var(--green); }

/* ==========================================================================
   Night session image expand
   ========================================================================== */
.night { padding: 0 var(--gutter); }
.night__frame { position: relative; height: 100vh; height: 100svh; border-radius: var(--r-panel); overflow: hidden; border: 1px solid var(--hairline); clip-path: inset(12% 18% 12% 18% round 24px); will-change: clip-path; }
.night__frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 70% 50%; transform: scale(1.35); will-change: transform; }
.night__overlay { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; padding: clamp(28px, 6vw, 80px); background: linear-gradient(0deg, rgba(0, 0, 0, .8) 0%, transparent 55%); }
.night__title { margin: 0 0 20px; }
.night__title em { font-style: italic; color: var(--violet-glow); }
.night__meta { font-size: 13px; color: var(--ash); margin: 0; }

/* ==========================================================================
   Feature cards
   ========================================================================== */
.features { padding-block: var(--section); }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card, .review { position: relative; border: 1px solid var(--hairline); border-radius: var(--r-card); background: var(--black); padding: 32px; isolation: isolate; overflow: hidden; }
.spot::before {
  content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; z-index: -1;
  background: radial-gradient(240px circle at var(--mx, -100px) var(--my, -100px), rgba(186, 167, 255, .8), transparent 70%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  opacity: 0; transition: opacity .3s;
}
.spot::after { content: ""; position: absolute; inset: 0; z-index: -2; background: radial-gradient(360px circle at var(--mx, -100px) var(--my, -100px), rgba(146, 129, 247, .07), transparent 70%); opacity: 0; transition: opacity .3s; }
.spot:hover::before, .spot:hover::after { opacity: 1; }
.card h3 { font-family: var(--f-head); font-weight: 500; font-size: 20px; letter-spacing: -0.03em; color: var(--white); margin: 24px 0 10px; }
.card p { margin: 0; color: var(--ash); font-size: 15px; }
.card__tag { display: inline-block; margin-top: 24px; font-size: 11px; color: var(--violet); padding: 3px 8px; border: 1px solid var(--hairline); border-radius: var(--r-sm); }
.icon-box { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; background: var(--violet-grad); box-shadow: rgba(176, 199, 217, .145) 0 0 0 1px; transition: transform .5s var(--ease-out); }
.icon-box svg { width: 22px; height: 22px; fill: none; stroke: #fff; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.card:hover .icon-box { transform: rotate(-8deg) scale(1.08); }

/* ==========================================================================
   Gallery
   ========================================================================== */
.gallery { display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; padding-bottom: var(--section); align-items: start; }
.shot { margin: 0; }
.shot--a { grid-column: 1 / 8; }
.shot--b { grid-column: 8 / 13; margin-top: 160px; }
.shot__img { position: relative; overflow: hidden; border-radius: var(--r-card); border: 1px solid var(--hairline); aspect-ratio: 4 / 3; clip-path: inset(100% 0 0 0 round 16px); }
.shot--b .shot__img { aspect-ratio: 3 / 4; }
.shot__img img { position: absolute; inset: -10% 0; width: 100%; height: 120%; object-fit: cover; transition: scale 1.2s var(--ease-out), filter .6s; }
.shot:hover .shot__img img { scale: 1.08; filter: saturate(1.3) brightness(1.15); }
.shot figcaption { margin-top: 14px; font-size: 12px; color: var(--ash); display: flex; gap: 12px; }
.shot figcaption span { color: var(--violet); }
.gallery__quote { grid-column: 2 / 8; margin-top: -40px; }
.gallery__quote p { font-size: clamp(32px, 3.8vw, 48px); line-height: 1.1; margin: 0 0 16px; color: var(--white); }
.gallery__quote span { font-size: 12px; color: var(--iron); }

/* ==========================================================================
   Pricing
   ========================================================================== */
.pricing { padding-block: var(--section); border-top: 1px solid var(--hairline); }
.toggle { position: relative; display: inline-flex; margin-top: 32px; padding: 4px; border: 1px solid var(--hairline); border-radius: 999px; font-size: 12px; }
.toggle__btn { position: relative; z-index: 1; padding: 8px 18px; border-radius: 999px; color: var(--ash); transition: color .3s; }
.toggle__btn.is-active { color: #000; }
.toggle__thumb { position: absolute; top: 4px; bottom: 4px; left: 4px; border-radius: 999px; background: var(--white); transition: transform .5s var(--ease-out), width .5s var(--ease-out); }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; perspective: 1200px; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; padding: 32px; border: 1px solid var(--hairline); border-radius: var(--r-card); background: var(--black); transform-style: preserve-3d; will-change: transform; overflow: hidden; transition: border-color .3s; }
.plan:hover { border-color: #3d4247; }
.plan__glare { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(400px circle at var(--gx, 50%) var(--gy, 0%), rgba(255, 255, 255, .07), transparent 55%); opacity: 0; transition: opacity .3s; }
.plan:hover .plan__glare { opacity: 1; }
.plan__name { font-size: 12px; color: var(--ash); text-transform: uppercase; letter-spacing: .1em; margin: 0; }
.plan__price { margin: 18px 0 8px; font-family: var(--f-display); font-size: 80px; line-height: 1; color: var(--white); display: flex; align-items: flex-start; gap: 4px; height: 80px; overflow: hidden; }
.plan__price small { font-size: 32px; margin-top: 8px; color: var(--ash); }
.price { display: inline-block; }
.price-text { font-size: 56px; }
.plan__desc { color: var(--ash); font-size: 15px; margin: 0 0 24px; min-height: 3em; }
.plan__list { list-style: none; padding: 20px 0 0; margin: 0 0 32px; border-top: 1px solid var(--hairline); display: grid; gap: 10px; font-size: 14px; color: var(--bone); flex: 1; }
.plan__list li { display: flex; gap: 10px; align-items: center; }
.plan__list li::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--violet); flex: none; }
.plan--featured { border-color: transparent; }
.plan--featured::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none;
  background: conic-gradient(from var(--angle, 0deg), var(--hairline) 0deg, var(--violet) 60deg, var(--violet-glow) 90deg, var(--hairline) 140deg, var(--hairline) 360deg);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  animation: spin 5s linear infinite;
}
@property --angle { syntax: "<angle>"; initial-value: 0deg; inherits: false; }
@keyframes spin { to { --angle: 360deg; } }
.plan__badge { position: absolute; top: 28px; right: 28px; font-size: 10px; padding: 4px 8px; border-radius: var(--r-sm); color: var(--violet-glow); border: 1px solid rgba(146, 129, 247, .4); background: rgba(146, 129, 247, .1); text-transform: uppercase; letter-spacing: .08em; }

/* ==========================================================================
   Reviews
   ========================================================================== */
.reviews { padding-bottom: var(--section); }
.reviews__grid { columns: 3; column-gap: 16px; }
.review { margin: 0 0 16px; break-inside: avoid; padding: 28px; transition: translate .5s var(--ease-out); }
.review:hover { translate: 0 -4px; }
.review blockquote { margin: 0 0 24px; color: var(--bone); font-size: 16px; line-height: 1.6; }
.review figcaption { display: flex; align-items: center; gap: 12px; }
.review figcaption > span:last-child { display: grid; }
.review b { font-size: 14px; font-weight: 500; color: var(--bone); }
.review small { font-size: 13px; color: var(--ash); }
.avatar { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; font: 500 12px var(--f-mono); color: #fff; background: linear-gradient(135deg, hsl(var(--h) 80% 70%), hsl(calc(var(--h) + 30) 60% 40%)); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .15); flex: none; }

/* ==========================================================================
   CTA
   ========================================================================== */
.cta { position: relative; padding: 160px 0 200px; border-top: 1px solid var(--hairline); overflow: hidden; text-align: center; }
.cta__road { position: absolute; left: 0; right: 0; bottom: 70px; height: 1px; background: var(--hairline); }
.cta__road span { position: absolute; inset: 0; background: repeating-linear-gradient(90deg, var(--violet) 0 40px, transparent 40px 90px); opacity: .5; animation: road 1s linear infinite; }
@keyframes road { to { background-position: -90px 0; } }
.cta__kart { position: absolute; bottom: -10px; left: 0; width: 480px; max-width: 50vw; pointer-events: none; filter: drop-shadow(-40px 0 30px rgba(146, 129, 247, .15)); will-change: transform; }
.cta__inner { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; }
.cta__title { font-size: clamp(56px, 9vw, 128px); }
.cta__title .line { display: block; overflow: hidden; padding-bottom: .06em; }
.cta__title .char { display: inline-block; }
.cta__title em { font-style: italic; color: var(--violet-glow); }
.book { margin-top: 56px; display: grid; grid-template-columns: repeat(3, minmax(150px, 1fr)) auto; gap: 8px; padding: 8px; border: 1px solid var(--hairline); border-radius: var(--r-card); background: rgba(0, 0, 0, .7); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); text-align: left; max-width: 100%; }
.field { display: grid; gap: 2px; padding: 8px 14px; border: 1px solid var(--hairline); border-radius: var(--r-sm); transition: border-color .2s; }
.field:focus-within, .field:hover { border-color: #4a4f55; }
.field span { font-size: 10px; color: var(--iron); text-transform: uppercase; letter-spacing: .08em; }
.field input, .field select { background: transparent; border: 0; color: var(--white); font: 14px var(--f-body); outline: none; padding: 0; color-scheme: dark; appearance: none; -webkit-appearance: none; }
.field select option { background: #000; }
.cta__note { margin-top: 20px; font-size: 12px; color: var(--ash); display: inline-flex; gap: 8px; align-items: center; }

/* ==========================================================================
   Footer
   ========================================================================== */
.footer { border-top: 1px solid var(--hairline); padding-top: 64px; overflow: hidden; }
.footer__top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
.footer__col p { margin: 6px 0; font-size: 13px; color: var(--ash); }
.footer__col .muted { font-size: 14px; margin-top: 16px; }
.footer__label { color: var(--iron) !important; text-transform: uppercase; letter-spacing: .1em; font-size: 11px !important; margin-bottom: 14px !important; }
.footer__mark { display: flex; justify-content: center; font-family: var(--f-display); font-size: clamp(140px, 30vw, 440px); line-height: 1; margin-top: 40px; padding-bottom: .04em; color: transparent; -webkit-text-stroke: 1px #2c3034; user-select: none; }
.footer__mark span { display: inline-block; transition: color .5s var(--ease-out), -webkit-text-stroke-color .5s, translate .6s var(--ease-out), text-shadow .5s; }
.footer__mark span:hover { color: var(--violet); -webkit-text-stroke-color: var(--violet); translate: 0 -4%; text-shadow: 0 0 60px rgba(146, 129, 247, .5); }
.footer__bottom { display: flex; justify-content: space-between; padding-block: 28px; font-size: 14px; border-top: 1px solid var(--hairline); }
.footer__bottom a { color: var(--ash); margin-left: 20px; transition: color .15s; }
.footer__bottom a:hover { color: var(--white); }

/* ==========================================================================
   Reveal helpers (initial states set by JS)
   ========================================================================== */
.split-line { display: block; overflow: hidden; }
.split-line > span { display: inline-block; will-change: transform; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1024px) {
  :root { --section: 112px; }
  .nav__links, .nav__status { display: none; }
  .nav__burger { display: block; }
  .live { grid-template-columns: 1fr; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .plans { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; }
  .reviews__grid { columns: 2; }
  .book { grid-template-columns: 1fr 1fr; }
  .book .btn { grid-column: 1 / -1; }
  .hero__telemetry { display: none; }
}
@media (max-width: 720px) {
  :root { --section: 88px; --gutter: 16px; }
  .battery { display: none; }
  .hero { flex-direction: column; align-items: stretch; padding: 64px 0 56px; }
  .hero__canvas { position: relative; inset: auto; height: 40vh; height: 40svh; flex: none; }
  .hero__grid-fade { background: linear-gradient(0deg, #000 0%, transparent 40%); bottom: auto; height: calc(40svh + 64px); }
  .hero__title { margin-top: 20px; }
  .hero__stats { margin-top: 40px; }
  .hero__stats { gap: 24px; }
  .hero__stats dd { font-size: 22px; }
  .hero__hint { display: none; }
  .turn__n::before { display: none; }
  .track__specs { grid-template-columns: 1fr 1fr; }
  .track__specs li:nth-child(3) { border-left: 0; }
  .track__specs li:nth-child(n+3) { border-top: 1px solid var(--hairline); }
  .turn__n { width: 30px; height: 30px; font-size: 10px; }
  .turn__card { min-width: 180px; }
  .track__hud { left: 12px; top: 12px; }
  .fleet__pin { height: auto; padding: 88px 0; }
  .fleet__track { flex-direction: column; width: 100%; padding: 0 var(--gutter); }
  .fleet__progress { display: none; }
  .kart-card { width: 100%; }
  .kart-card__body { grid-template-columns: 1fr; padding: 24px; gap: 20px; }
  .kart-card h3 { font-size: 44px; }
  .fleet__end { width: 100%; padding: 24px 0 0; }
  .fleet__end img { display: none; }
  .terminal__head, .board li { grid-template-columns: 30px 1.3fr .9fr .8fr; padding: 0 12px; }
  .terminal__head span:nth-child(5), .terminal__head span:nth-child(6), .board .gap, .board .st { display: none; }
  .board li { font-size: 12px; }
  .terminal__foot > span:first-child { display: none; }
  .night { padding: 0; }
  .night__frame { border-radius: 0; border-inline: 0; }
  .cards { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr; }
  .shot--a, .shot--b, .gallery__quote { grid-column: 1; margin-top: 0; }
  .shot--b .shot__img { aspect-ratio: 4 / 3; }
  .gallery__quote { margin-top: 16px; }
  .reviews__grid { columns: 1; }
  .book { grid-template-columns: 1fr; width: 100%; }
  .cta { padding: 112px 0 180px; }
  .footer__top { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; gap: 12px; }
  .footer__bottom a { margin: 0 20px 0 0; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001s !important; animation-iteration-count: 1 !important; transition-duration: .001s !important; }
}
