/*
 * Hot Lap: components
 * Built only from tokens.css. Prefix: hl-
 */

/* Base */
.hl { margin: 0; background: var(--hl-black); color: var(--hl-gray); font-family: var(--hl-body); font-size: var(--hl-text-body); line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: clip; }
.hl *, .hl *::before, .hl *::after { box-sizing: border-box; }
:where(.hl) a { color: inherit; }
.hl ::selection { background: var(--hl-volt); color: var(--hl-black); }
.hl-container { width: 100%; max-width: var(--hl-container); margin-inline: auto; padding-inline: 24px; }
.hl-narrow { max-width: var(--hl-measure); margin-inline: auto; }
.hl-center { text-align: center; }
.hl-section { padding-block: var(--hl-section); position: relative; }
.hl-section--coal { background: var(--hl-coal); border-block: var(--hl-border); }
.hl-rule { display: block; height: 1px; border: 0; margin: 0 0 18px; background: var(--hl-rule); }
.hl-rule--dim { background: var(--hl-line); }

/* Type */
.hl-hero-title, .hl-h1, .hl-h2 { margin: 0; color: var(--hl-bone); font-family: var(--hl-display); font-weight: 700; text-transform: uppercase; letter-spacing: var(--hl-tracking-display); text-wrap: balance; }
.hl-hero-title { font-size: var(--hl-text-hero); line-height: var(--hl-leading-display); font-weight: 800; }
.hl-h1 { font-size: var(--hl-text-h1); line-height: 1; }
.hl-h2 { font-size: var(--hl-text-h2); line-height: 1.04; }
.hl-h3 { margin: 0; color: var(--hl-bone); font: 600 var(--hl-text-h3)/1.3 var(--hl-body); letter-spacing: -.01em; }
.hl-volt { color: var(--hl-volt); }
.hl-lead { margin: 0; max-width: 34em; font-size: var(--hl-text-lead); line-height: 1.55; color: var(--hl-gray); }
.hl-center .hl-lead { margin-inline: auto; }
.hl-label { display: inline-block; margin: 0 0 16px; font: 400 var(--hl-text-label)/1.4 var(--hl-mono); letter-spacing: var(--hl-tracking-label); text-transform: uppercase; color: var(--hl-bone); }
.hl-label--mute { color: var(--hl-mute); }
.hl-mono { font-family: var(--hl-mono); letter-spacing: .04em; }

/* HUD tag: [+] PRESS START */
.hl-hud { display: inline-flex; align-items: center; gap: 10px; font: 700 var(--hl-text-label)/1 var(--hl-mono); letter-spacing: var(--hl-tracking-label); text-transform: uppercase; color: var(--hl-bone); }
.hl-hud__key { display: inline-flex; align-items: center; justify-content: center; min-width: 26px; height: 22px; padding: 0 6px; color: var(--hl-signal); }
.hl-hud__key::before { content: "["; margin-right: 3px; }
.hl-hud__key::after { content: "]"; margin-left: 3px; }

/* Buttons: hard white rectangles with mono labels */
.hl-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 44px; padding: 0 20px; border: 1px solid transparent; border-radius: var(--hl-radius-0); font: 700 13px/1 var(--hl-mono); letter-spacing: .12em; text-transform: uppercase; text-decoration: none; white-space: nowrap; cursor: pointer; transition: background var(--hl-fast), color var(--hl-fast), border-color var(--hl-fast), transform var(--hl-fast); }
.hl-btn--primary { background: var(--hl-bone); color: var(--hl-black); }
.hl-btn--primary:hover { background: var(--hl-volt); }
.hl-btn--ghost { border-color: var(--hl-line-strong); background: transparent; color: var(--hl-bone); }
.hl-btn--ghost:hover { border-color: var(--hl-bone); }
.hl-btn--volt { background: var(--hl-volt); color: var(--hl-black); }
.hl-btn--volt:hover { background: var(--hl-bone); }
.hl-btn--sm { height: 32px; padding: 0 12px; font-size: 11px; }
.hl-btn--lg { height: 52px; padding: 0 26px; font-size: 14px; }
.hl-btn--block { width: 100%; }
.hl-btn:active { transform: translateY(1px); }
.hl-btn:focus-visible { outline: 2px solid var(--hl-volt); outline-offset: 3px; }
.hl-link { color: var(--hl-bone); text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1px; }
.hl-link:hover { color: var(--hl-volt); }

/* Nav */
.hl-nav { position: sticky; top: 0; z-index: 20; background: var(--hl-black); }
.hl-nav--over { position: absolute; inset: 0 0 auto 0; background: linear-gradient(rgba(5, 5, 6, .7), transparent); }
.hl-nav__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 64px; }
.hl-logo { display: inline-flex; align-items: center; gap: 10px; color: var(--hl-bone); font: 800 16px/1 var(--hl-display); letter-spacing: .02em; text-transform: uppercase; text-decoration: none; }
.hl-logo__mark { width: 22px; height: 22px; flex: none; }
.hl-nav__links { display: flex; align-items: center; gap: 28px; font: 400 12px/1 var(--hl-mono); letter-spacing: .12em; text-transform: uppercase; }
.hl-nav__links a:not(.hl-btn) { color: var(--hl-bone); opacity: .8; text-decoration: none; transition: opacity var(--hl-fast); }
.hl-nav__links a:not(.hl-btn):hover { opacity: 1; }
.hl-nav__end { display: flex; align-items: center; gap: 18px; }

/* Stage hero: full-bleed art that fades into the black */
.hl-stage { position: relative; isolation: isolate; min-height: min(92vh, 820px); display: flex; align-items: flex-end; padding-bottom: 72px; overflow: hidden; }
.hl-stage__art { position: absolute; inset: 0; z-index: -2; }
.hl-stage__art > svg { width: 100%; height: 100%; display: block; }
.hl-stage::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--hl-stage-fade), var(--hl-stage-side); }
.hl-stage__grid { display: grid; grid-template-columns: minmax(0, 720px) 1fr; gap: 40px; align-items: end; width: 100%; }
.hl-stage__copy .hl-lead { margin-top: 22px; color: var(--hl-bone); opacity: .82; }
.hl-stage__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 30px; }
.hl-stage__meta { justify-self: end; width: min(100%, 260px); }

/* Slide counter: 01 / 06  NOW RACING with progress dashes */
.hl-progress { display: flex; gap: 6px; margin-bottom: 18px; }
.hl-progress span { flex: 1; height: 2px; background: var(--hl-mute); opacity: .6; }
.hl-progress span.is-on { background: var(--hl-bone); opacity: 1; }
.hl-counter { display: flex; gap: 12px; font: 400 var(--hl-text-label)/1.4 var(--hl-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--hl-bone); }
.hl-counter__title { display: block; margin-top: 8px; font: 700 15px/1.2 var(--hl-display); letter-spacing: .02em; text-transform: uppercase; color: var(--hl-mute); }

/* Tabs: underlined mono switches */
.hl-tabs { display: flex; flex-wrap: wrap; gap: 6px 22px; font: 400 var(--hl-text-label)/1 var(--hl-mono); letter-spacing: .12em; text-transform: uppercase; }
.hl-tabs a, .hl-tabs button { padding: 8px 0; border: 0; background: none; color: var(--hl-mute); font: inherit; letter-spacing: inherit; text-transform: inherit; text-decoration: none; cursor: pointer; border-bottom: 1px solid transparent; }
.hl-tabs .is-on { color: var(--hl-bone); border-bottom-color: var(--hl-bone); }

/* Marquee strip of HUD words */
.hl-strip { overflow-x: clip; border-block: var(--hl-border); background: var(--hl-coal); }
.hl-strip__track { display: flex; gap: 48px; width: max-content; padding: 16px 0; font: 700 13px/1 var(--hl-mono); letter-spacing: .16em; text-transform: uppercase; color: var(--hl-bone); animation: hl-roll 40s linear infinite; }
.hl-strip__track span::before { content: "+"; margin-right: 14px; color: var(--hl-signal); }
@keyframes hl-roll { to { transform: translateX(-50%); } }

/* Cards */
.hl-card { position: relative; padding: 28px; border: var(--hl-border); border-radius: var(--hl-radius); background: var(--hl-coal); }
.hl-card--raised { background: var(--hl-graphite); }
.hl-card__art { position: relative; height: 180px; margin: -28px -28px 24px; border-radius: var(--hl-radius) var(--hl-radius) 0 0; overflow: hidden; }
.hl-card__art > svg { width: 100%; height: 100%; display: block; }
.hl-card p { margin: 10px 0 0; }
.hl-grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.hl-grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }

/* Stat: big wide number with a mono label */
.hl-stat { padding-top: 18px; border-top: 1px solid var(--hl-rule); }
.hl-stat b { display: block; color: var(--hl-bone); font: 800 clamp(32px, 4vw, 52px)/1 var(--hl-display); }
.hl-stat span { display: block; margin-top: 10px; font: 400 var(--hl-text-label)/1.5 var(--hl-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--hl-gray); }

/* Badges */
.hl-badge { display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 9px; border: var(--hl-border-strong); border-radius: var(--hl-radius-sm); font: 700 11px/1 var(--hl-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--hl-bone); white-space: nowrap; }
.hl-badge--volt { border-color: transparent; background: var(--hl-volt); color: var(--hl-black); }
.hl-badge--signal { border-color: transparent; background: var(--hl-signal-soft); color: var(--hl-signal); }
.hl-badge--sky { border-color: transparent; background: var(--hl-sky-soft); color: var(--hl-sky); }
.hl-dot { width: 7px; height: 7px; flex: none; border-radius: 50%; background: currentColor; }
.hl-dot--live { background: var(--hl-signal); box-shadow: 0 0 0 4px var(--hl-signal-soft); }

/* Checker and ring motifs */
.hl-check { background: var(--hl-check); background-size: 16px 16px; }
.hl-check--volt { background: var(--hl-check-volt); background-size: 22px 22px; }
.hl-ring { display: inline-block; width: 1em; height: 1em; border: .16em solid var(--hl-gold); border-radius: 50%; }

/* Device frame: a phone that shows the product */
.hl-device { position: relative; width: 240px; aspect-ratio: 9 / 19; padding: 10px; border-radius: 34px; background: #000; box-shadow: var(--hl-shadow-device); }
.hl-device__screen { position: relative; height: 100%; overflow: hidden; border-radius: 26px; background: var(--hl-coal); color: var(--hl-bone); padding: 34px 16px 16px; font-size: 12px; }
.hl-device__notch { position: absolute; top: 12px; left: 50%; width: 64px; height: 18px; translate: -50% 0; border-radius: 10px; background: #000; z-index: 2; }

/* Leaderboard rows */
.hl-board { display: grid; gap: 2px; font-size: var(--hl-text-small); }
.hl-board__row { display: grid; grid-template-columns: 36px 1fr auto; align-items: center; gap: 12px; padding: 12px 14px; background: var(--hl-graphite); color: var(--hl-bone); }
.hl-board__row:first-child { border-radius: var(--hl-radius-sm) var(--hl-radius-sm) 0 0; }
.hl-board__row:last-child { border-radius: 0 0 var(--hl-radius-sm) var(--hl-radius-sm); }
.hl-board__pos { font: 800 15px/1 var(--hl-display); color: var(--hl-mute); }
.hl-board__row.is-lead .hl-board__pos { color: var(--hl-volt); }
.hl-board__time { font-family: var(--hl-mono); color: var(--hl-gray); }

/* Forms */
.hl-field { display: grid; gap: 8px; }
.hl-field label { font: 400 var(--hl-text-label)/1.3 var(--hl-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--hl-gray); }
.hl-input, .hl-select { width: 100%; height: 48px; padding: 0 14px; border: var(--hl-border-strong); border-radius: var(--hl-radius-0); background: var(--hl-coal); color: var(--hl-bone); font: 400 15px/1 var(--hl-body); transition: border-color var(--hl-fast), box-shadow var(--hl-fast); }
.hl-input::placeholder { color: var(--hl-mute); }
.hl-input:focus, .hl-select:focus { outline: 0; border-color: var(--hl-volt); box-shadow: 0 0 0 3px var(--hl-volt-soft); }
.hl-hint { font-size: 13px; color: var(--hl-mute); }
.hl-choice { display: flex; flex-wrap: wrap; gap: 8px; }
.hl-choice input { position: absolute; opacity: 0; pointer-events: none; }
.hl-choice label { display: inline-flex; align-items: center; height: 38px; padding: 0 14px; border: var(--hl-border-strong); border-radius: var(--hl-radius-pill); font: 700 11px/1 var(--hl-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--hl-bone); cursor: pointer; }
.hl-choice input:checked + label { background: var(--hl-volt); border-color: var(--hl-volt); color: var(--hl-black); }
.hl-choice input:focus-visible + label { outline: 2px solid var(--hl-volt); outline-offset: 2px; }
.hl-check-row { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; }
.hl-check-row input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--hl-volt); }

/* Pricing */
.hl-toggle { display: inline-flex; padding: 4px; border: var(--hl-border-strong); border-radius: var(--hl-radius-pill); }
.hl-toggle button { height: 34px; padding: 0 16px; border: 0; border-radius: var(--hl-radius-pill); background: none; color: var(--hl-gray); font: 700 11px/1 var(--hl-mono); letter-spacing: .1em; text-transform: uppercase; cursor: pointer; white-space: nowrap; }
.hl-toggle button.is-on { background: var(--hl-bone); color: var(--hl-black); }
.hl-plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; align-items: stretch; }
.hl-plan { display: flex; flex-direction: column; padding: 30px 26px; border: var(--hl-border); border-radius: var(--hl-radius); background: var(--hl-coal); }
.hl-plan--featured { border-color: transparent; box-shadow: var(--hl-glow-volt); background: var(--hl-graphite); }
.hl-plan__name { display: flex; justify-content: space-between; align-items: center; gap: 10px; font: 700 13px/1 var(--hl-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--hl-bone); }
.hl-plan__price { margin: 26px 0 6px; color: var(--hl-bone); font: 800 52px/1 var(--hl-display); }
.hl-plan__price small { font: 400 14px/1 var(--hl-body); color: var(--hl-gray); letter-spacing: 0; }
.hl-plan__list { flex: 1; margin: 26px 0; padding: 22px 0 0; border-top: var(--hl-border); list-style: none; display: grid; gap: 12px; align-content: start; font-size: 15px; }
.hl-plan__list li { display: flex; gap: 10px; color: var(--hl-bone); }
.hl-plan__list li::before { content: "+"; font: 700 14px/1.5 var(--hl-mono); color: var(--hl-volt); }
.hl-compare { width: 100%; border-collapse: collapse; font-size: 15px; }
.hl-compare th, .hl-compare td { padding: 14px 12px; border-bottom: var(--hl-border); text-align: left; }
.hl-compare th { font: 400 var(--hl-text-label)/1.3 var(--hl-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--hl-gray); }
.hl-compare td { color: var(--hl-bone); }
.hl-compare td + td, .hl-compare th + th { text-align: center; }
.hl-yes { color: var(--hl-volt); font-family: var(--hl-mono); font-weight: 700; }
.hl-no { color: var(--hl-mute); }

/* FAQ */
.hl-faq { border-top: var(--hl-border); }
.hl-faq details { border-bottom: var(--hl-border); }
.hl-faq summary { display: flex; justify-content: space-between; gap: 20px; padding: 22px 0; cursor: pointer; list-style: none; color: var(--hl-bone); font-weight: 600; font-size: 17px; }
.hl-faq summary::-webkit-details-marker { display: none; }
.hl-faq summary::after { content: "+"; font: 700 18px/1 var(--hl-mono); color: var(--hl-signal); }
.hl-faq details[open] summary::after { content: "-"; }
.hl-faq p { margin: 0 0 22px; max-width: 40em; }

/* Article */
.hl-article-head { padding-block: 72px 40px; }
.hl-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; font: 400 var(--hl-text-label)/1.4 var(--hl-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--hl-gray); }
.hl-cover { position: relative; height: clamp(240px, 42vw, 480px); overflow: hidden; border-radius: var(--hl-radius); }
.hl-cover > svg { width: 100%; height: 100%; display: block; }
.hl-prose { color: #c9cad0; font-size: 18px; line-height: 1.75; }
.hl-prose > * + * { margin-top: 1.2em; }
.hl-prose p { margin-bottom: 0; }
.hl-prose h2 { margin: 2em 0 0; color: var(--hl-bone); font: 700 26px/1.15 var(--hl-display); text-transform: uppercase; }
.hl-prose h3 { margin: 1.6em 0 0; color: var(--hl-bone); font: 600 20px/1.3 var(--hl-body); }
.hl-prose a { color: var(--hl-sky); text-underline-offset: 4px; }
.hl-prose strong { color: var(--hl-bone); }
.hl-prose ul { padding-left: 0; list-style: none; display: grid; gap: 10px; }
.hl-prose li { position: relative; padding-left: 26px; }
.hl-prose li::before { content: "+"; position: absolute; left: 0; font: 700 16px/1.75 var(--hl-mono); color: var(--hl-signal); }
.hl-prose blockquote { margin: 2em 0; padding: 6px 0 6px 24px; border-left: 3px solid var(--hl-volt); color: var(--hl-bone); font: 700 24px/1.3 var(--hl-display); text-transform: uppercase; }
.hl-prose code { padding: 2px 6px; border-radius: var(--hl-radius-sm); background: var(--hl-graphite); color: var(--hl-volt); font: 400 .85em var(--hl-mono); }
.hl-callout { padding: 22px 24px; border: var(--hl-border); border-left: 3px solid var(--hl-signal); background: var(--hl-coal); font-size: 16px; }
.hl-author { display: flex; align-items: center; gap: 14px; }
.hl-avatar { width: 44px; height: 44px; flex: none; border-radius: 50%; display: grid; place-items: center; background: var(--hl-volt); color: var(--hl-black); font: 800 15px/1 var(--hl-display); }

/* Auth */
.hl-auth { display: grid; grid-template-columns: 1.05fr 1fr; min-height: 100vh; }
.hl-auth__art { position: relative; overflow: hidden; display: flex; align-items: flex-end; padding: 48px; isolation: isolate; }
.hl-auth__art > svg { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; }
.hl-auth__art::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--hl-stage-fade); }
.hl-auth__panel { display: flex; flex-direction: column; justify-content: center; padding: 48px clamp(24px, 6vw, 88px); }
.hl-auth__form { display: grid; gap: 20px; width: 100%; max-width: 420px; }
.hl-or { display: flex; align-items: center; gap: 14px; font: 400 var(--hl-text-label)/1 var(--hl-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--hl-mute); }
.hl-or::before, .hl-or::after { content: ""; flex: 1; height: 1px; background: var(--hl-line); }

/* Footer */
.hl-footer { padding-block: 72px 36px; border-top: var(--hl-border); font-size: 14px; }
.hl-footer__grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 32px; }
.hl-footer h4 { margin: 0 0 14px; font: 400 var(--hl-text-label)/1 var(--hl-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--hl-mute); }
.hl-footer ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.hl-footer a { color: var(--hl-gray); text-decoration: none; }
.hl-footer a:hover { color: var(--hl-bone); }
.hl-footer__base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 56px; padding-top: 22px; border-top: var(--hl-border); font: 400 var(--hl-text-label)/1.4 var(--hl-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--hl-mute); }

/* Responsive */
@media (max-width: 900px) {
  .hl-stage__grid { grid-template-columns: 1fr; }
  .hl-stage__meta { justify-self: start; }
  .hl-grid-3, .hl-plans { grid-template-columns: 1fr; }
  .hl-footer__grid { grid-template-columns: 1fr 1fr; }
  .hl-auth { grid-template-columns: 1fr; }
  .hl-auth__art { min-height: 420px; padding: 28px 24px; }
}
@media (max-width: 600px) {
  .hl-grid-2 { grid-template-columns: 1fr; }
  .hl-nav__links > a:not(.hl-btn) { display: none; }
  .hl-stage { min-height: 0; padding-top: 130px; padding-bottom: 48px; }
  .hl-stage::before { background: var(--hl-stage-fade), linear-gradient(rgba(5, 5, 6, .5), rgba(5, 5, 6, .5)); }
  .hl-card { padding: 22px; }
  .hl-card__art { margin: -22px -22px 20px; }
  .hl-compare th, .hl-compare td { padding: 12px 6px; font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) {
  .hl-strip__track { animation: none; }
}
