:root {
  --red: #e10600;
  --bg: #07080b;
  --ink: #121316;
  --muted: #9aa3b2;
  --muted-dark: #5c6570;
  --card: #14161c;
  --line: rgba(255, 255, 255, 0.14);
  --header: 74px;
  --wrap: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: #f4f6f8;
  font-family: Inter, system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.5;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, a { font-family: inherit; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, p { margin: 0; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 8px;
  border: 1px solid transparent;
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: filter 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}
.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { filter: brightness(1.08); }
.btn-ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.55);
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.06); }
.btn:focus-visible, .nav a:focus-visible, .logo:focus-visible, .socials a:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

.header {
  position: sticky;
  top: 0;
  z-index: 30;
  height: var(--header);
  display: flex;
  align-items: center;
  gap: 28px;
  padding-inline: max(24px, calc((100% - var(--wrap)) / 2));
  background: #050505;
}
.logo img { height: 42px; width: auto; }
.nav {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-left: auto;
  font-size: 14.5px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.92);
}
.nav a:hover { color: #fff; }
.nav a[aria-current="page"] { color: #fff; box-shadow: inset 0 -2px 0 var(--red); }
.header__actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: 4px;
}
.header__actions .btn { padding-inline: 14px; }
.header__actions .btn-login {
  min-height: 40px;
  background: #fff;
  color: #121316;
  border-color: #fff;
}
.header__actions .btn-login:hover {
  background: #f3f4f6;
  color: #121316;
}
.header__actions .btn-login svg {
  width: 16px;
  height: 16px;
  flex: none;
}
.lang {
  display: flex;
  align-items: center;
  order: 3;
  margin-left: 8px;
}
.nav-toggle { order: 4; }
.lang select {
  height: 38px;
  max-width: 132px;
  padding: 0 8px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: #14171e;
  color: #fff;
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}
.nav-toggle {
  display: none;
  margin-left: auto;
  width: 42px;
  height: 42px;
  border: 0;
  background: transparent;
  padding: 10px;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: #fff;
}

.hero {
  min-height: calc(100vh - var(--header));
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.42) 0%, rgba(0, 0, 0, 0.08) 28%, rgba(0, 0, 0, 0.18) 62%, rgba(7, 8, 11, 0.92) 88%, #07080b 100%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.78) 0%, rgba(0, 0, 0, 0.5) 26%, rgba(0, 0, 0, 0.16) 46%, rgba(0, 0, 0, 0) 62%),
    url("https://ltlpylnfhxzxxrlbslxj.supabase.co/storage/v1/object/public/Racetoconnect/hero.png") right center / cover no-repeat;
}
.hero__copy {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 56px 0 36px;
  max-width: none;
}
.hero h1, .device h2, .data h2, .stream h2, .ai h2, .cta h2, .specs h2, .page-hero h2 {
  font-family: "Barlow Condensed", Impact, sans-serif;
  font-weight: 800;
  font-style: normal;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  line-height: 0.9;
}
.hero__kicker {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
  color: var(--red);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.hero h1 {
  font-size: clamp(52px, 5.8vw, 84px);
  letter-spacing: 0;
  line-height: 0.88;
  max-width: calc(50vw - max(24px, (100vw - var(--wrap)) / 2));
}
.hero h1 .line { display: block; white-space: nowrap; }
.hero h1 .line--accent { color: var(--red); }
.hero__copy > p:not(.hero__kicker),
.hero__actions,
.hero .stores {
  max-width: calc(50vw - max(24px, (100vw - var(--wrap)) / 2));
}
.hero__copy > p:not(.hero__kicker) {
  margin-top: 22px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 17px;
  line-height: 1.5;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero__actions .btn-ghost svg { width: 18px; height: 18px; flex: none; }
.hero .stores { margin-top: 22px; }

.features {
  padding: 22px 0 32px;
  background: #07080b;
}
.features__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 22px;
}
.features li { color: #fff; }
.features svg { width: 30px; height: 30px; margin-bottom: 10px; }
.features h2 {
  font-family: Inter, sans-serif;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.3;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.features p {
  margin-top: 6px;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.4;
  max-width: 190px;
}

.eyebrow {
  color: var(--red);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.lead { color: var(--muted); font-size: 16px; max-width: 460px; }
.device .lead { color: var(--muted-dark); }

.ticks { display: grid; gap: 10px; margin: 22px 0 26px; }
.ticks li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 15px;
}
.ticks li::before {
  content: "";
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  margin-top: 1px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12.5 9.2 17 19 7' fill='none' stroke='%23e10600' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}

.device {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: #f3f4f6;
  color: var(--ink);
  padding: 72px 0 84px;
  min-height: 620px;
}
.device__bg {
  position: absolute;
  inset: 0 0 0 48%;
  background: url("https://gkinxfxmllzpkdojyeli.supabase.co/storage/v1/object/public/Racetoconnect/RACETOCONNECT%20op%20het%20natte%20circuit.png") left center / cover no-repeat;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, transparent 10%, rgba(0, 0, 0, 0.55) 28%, #000 48%);
  mask-image: linear-gradient(90deg, transparent 0%, transparent 10%, rgba(0, 0, 0, 0.55) 28%, #000 48%);
  pointer-events: none;
}
.device__copy { position: relative; z-index: 1; max-width: none; padding: 18px 0; }
.device .lead, .device .ticks { max-width: 440px; }
.crumb {
  margin: 0 0 22px;
  color: #8b919a;
  font-size: 13px;
  font-weight: 500;
}
.crumb a:hover { color: var(--ink); }
.crumb span { margin: 0 6px; }
.device__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.btn-dark {
  background: #2c3036;
  color: #fff;
}
.btn-dark:hover { filter: brightness(1.12); }
.btn-dark svg { width: 16px; height: 16px; }
.data__grid, .ai__grid {
  display: grid;
  grid-template-columns: 1fr 1.08fr;
  gap: 48px;
  align-items: center;
}
.device h2, .data h2, .stream h2, .ai h2, .cta h2, .specs h2, .page-hero h2 {
  margin-top: 10px;
  font-size: clamp(46px, 4.8vw, 68px);
}
.device__copy .lead { margin-top: 16px; }

.data { background: #08090c; padding: 88px 0; }
.data__copy .lead { margin: 18px 0 26px; }
.dash {
  background: #101218;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 14px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}
.data__grid { grid-template-columns: 0.78fr 1.22fr; }
.dash--shot {
  padding: 0;
  overflow: hidden;
  background: #07080d;
}
.dash--shot img {
  width: 100%;
  height: auto;
  display: block;
}
.dash__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}
.dash__bar img { height: 22px; width: auto; }
.dash__pills { display: flex; gap: 8px; }
.dash__pills span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 26px;
  padding: 0 10px;
  border-radius: 999px;
  background: #1c2028;
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
}
.dash__pills .cam svg { width: 14px; height: 14px; }
.dash__body {
  display: grid;
  grid-template-columns: 1.15fr 0.95fr;
  gap: 12px;
}
.gauges { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.gauge { position: relative; }
.gauge svg { width: 100%; height: auto; display: block; }
.gauge__mid {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  line-height: 1;
}
.gauge__mid span { font-size: 11px; color: var(--muted); letter-spacing: 0.08em; text-transform: uppercase; }
.gauge__mid strong { margin-top: 4px; font-size: 32px; font-weight: 700; }
.gauge__mid em { margin-top: 4px; font-style: normal; font-size: 12px; color: var(--muted); }
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-top: 8px;
}
.stats li {
  background: #0c0e13;
  border-radius: 10px;
  padding: 8px 8px 10px;
  text-align: center;
}
.stats i {
  display: block;
  width: 18px;
  height: 4px;
  margin: 0 auto 6px;
  border-radius: 99px;
}
.c-blue { background: #2f7bff; }
.c-green { background: #3dde7a; }
.c-amber { background: #f5d90a; }
.c-red { background: #ff4d4d; }
.stats b { display: block; font-size: 14px; }
.stats span { color: var(--muted); font-size: 10px; letter-spacing: 0.04em; text-transform: uppercase; }
.map {
  background: #0c0e13;
  border-radius: 12px;
  padding: 10px;
  display: flex;
  flex-direction: column;
  min-height: 100%;
}
.map__top {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  align-items: flex-start;
  margin-bottom: 8px;
}
.map__top strong { display: block; font-size: 18px; line-height: 1.1; }
.map__top span, .tabs { color: var(--muted); font-size: 11px; }
.map__top em { font-style: normal; color: #ff5d5d; font-size: 12px; font-weight: 700; }
.tabs { display: flex; gap: 8px; }
.tabs .on { color: #fff; }
.map__svg { width: 100%; height: auto; margin-top: auto; }
.chart { margin-top: 12px; }
.legend { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 6px; font-size: 11px; color: var(--muted); }
.legend i, .lap-key i {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 99px;
  margin-right: 6px;
}
.chart svg { width: 100%; height: 150px; display: block; }

.stream {
  display: flex;
  align-items: center;
  min-height: 680px;
  padding: 88px 0;
  background:
    linear-gradient(180deg, #07080b 0%, rgba(7, 8, 11, 0) 14%, rgba(7, 8, 11, 0) 86%, #090a0d 100%),
    linear-gradient(90deg, rgba(5, 6, 8, 0.96) 0%, rgba(5, 6, 8, 0.9) 24%, rgba(5, 6, 8, 0.5) 40%, rgba(5, 6, 8, 0.12) 58%),
    url("https://gkinxfxmllzpkdojyeli.supabase.co/storage/v1/object/public/Racetoconnect/08c73a7a-9ee5-4d2e-a136-2ecf2ef36237%20(1).png") 18% center / cover no-repeat;
}
.stream__copy .lead { margin: 16px 0 22px; max-width: 460px; }
.socials { display: flex; gap: 10px; margin-bottom: 22px; }
.socials a {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: grid;
  place-items: center;
}
.socials svg { width: 22px; height: 22px; }
.yt { background: #ff0033; }
.ig { background: linear-gradient(135deg, #f9ce34, #ee2a7b 55%, #6228d7); }
.tt { background: #111; border: 1px solid rgba(255, 255, 255, 0.16); }
.fb { background: #1877f2; }
.tw { background: #9146ff; }

.ai { background: #090a0d; padding: 40px 0 88px; }
.ai__copy .lead { margin-top: 16px; }
.ai__visual {
  display: grid;
  grid-template-columns: 1.25fr 0.9fr;
  gap: 12px;
}
.panel {
  background: #14171e;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 14px;
  padding: 14px;
}
.track-card header, .insights h3, .compare h3, .track-card h3 {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 650;
}
.ai-badge {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: #6d28d9;
  font-size: 12px;
  font-weight: 800;
}
.track-card__body { display: grid; grid-template-columns: 1fr auto; gap: 8px; align-items: center; }
.track-map { min-width: 0; }
.track-card svg { width: 100%; height: auto; }
.track-name {
  margin: 8px 0 0;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.lap-key { display: grid; gap: 8px; font-size: 12px; color: #d5d8e0; }
.compare { grid-column: 1 / -1; }
.insights ul { display: grid; gap: 14px; margin-top: 14px; }
.insights li { display: flex; gap: 10px; }
.dot { width: 10px; height: 10px; border-radius: 99px; margin-top: 5px; flex: none; }
.dot-red { background: #ff4d4d; box-shadow: 0 0 0 4px rgba(255, 77, 77, 0.15); }
.dot-green { background: #3dde7a; box-shadow: 0 0 0 4px rgba(61, 222, 122, 0.15); }
.insights b { display: block; font-size: 14px; }
.insights span, .insights em { display: block; color: var(--muted); font-size: 12.5px; font-style: normal; }
.compare__rows { display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: center; margin-top: 12px; }
.play {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  background: transparent;
  color: #fff;
  display: grid;
  place-items: center;
}
.play svg { width: 16px; height: 16px; margin-left: 2px; }
.bars { display: grid; gap: 8px; }
.bar-row { display: grid; grid-template-columns: 78px 1fr 58px; gap: 10px; align-items: center; font-size: 13px; }
.bar { height: 8px; background: #22262f; border-radius: 99px; overflow: hidden; }
.bar i { display: block; height: 100%; border-radius: inherit; }
.up { color: #ff5d5d; }
.ok { color: #3dde7a; }
.down { color: #2ec5d6; }
.bar-row b { text-align: right; font-variant-numeric: tabular-nums; }

.cta {
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.78) 0%, rgba(0, 0, 0, 0.45) 46%, rgba(0, 0, 0, 0.15) 100%),
    url("https://gkinxfxmllzpkdojyeli.supabase.co/storage/v1/object/public/Racetoconnect/06_footer_raceauto.png") right center / cover no-repeat;
  padding: 78px 0;
}
.cta__copy { max-width: 640px; }
.cta p { margin: 16px 0 24px; max-width: 460px; color: rgba(255, 255, 255, 0.88); }
.cta__actions { display: flex; flex-wrap: wrap; gap: 12px; }

.steps { background: #08090c; padding: 72px 0; }
.steps__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-block: 0;
  padding: 0;
  list-style: none;
}
.steps li {
  background: #14171e;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 14px;
  padding: 22px 22px 24px;
}
.steps span {
  color: var(--red);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
}
.steps h3 {
  margin: 10px 0 8px;
  font-family: "Barlow Condensed", Impact, sans-serif;
  font-size: 32px;
  font-weight: 800;
  letter-spacing: 0.01em;
  line-height: 0.95;
  text-transform: uppercase;
}
.steps p { color: var(--muted); font-size: 15px; }

.page-hero { background: #08090c; padding: 56px 0 8px; }
.page-hero .lead { margin-top: 16px; max-width: 520px; }
.page-hero .crumb a:hover { color: #fff; }
.page-hero h2 { max-width: 11em; }

.feature-grid, .topic-grid, .plans__grid {
  margin-block: 0;
  padding: 0;
  list-style: none;
}
.feature-grid, .topic-grid {
  display: grid;
  gap: 16px;
}
.feature-grid { grid-template-columns: repeat(3, 1fr); }
.topic-grid { grid-template-columns: 1fr 1fr; }
.feature-grid li, .topic-grid li {
  background: #14171e;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 14px;
  padding: 22px;
}
.feature-grid svg, .topic-grid svg { width: 30px; height: 30px; margin-bottom: 12px; }
.feature-grid h3, .topic-grid h3 {
  margin: 0 0 8px;
  font-family: Inter, sans-serif;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.25;
  text-transform: none;
}
.feature-grid p, .topic-grid p { color: var(--muted); font-size: 15px; }

.plans { background: #08090c; padding: 28px 0 80px; }
.plans__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  align-items: stretch;
}
.plans article {
  display: flex;
  flex-direction: column;
  background: #14171e;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 14px;
  padding: 28px;
}
.plans article.is-pro { border-color: rgba(225, 6, 0, 0.7); }
.plans .plan-copy { margin: 0; color: var(--muted); font-size: 15px; }
.plans h3 {
  margin: 8px 0 0;
  font-family: "Barlow Condensed", Impact, sans-serif;
  font-size: 42px;
  font-weight: 800;
  letter-spacing: 0.01em;
  line-height: 0.95;
  text-transform: uppercase;
}
.plans .price {
  margin: 16px 0 18px;
  padding: 14px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1;
  text-transform: none;
}
.plans .price strong {
  display: block;
  color: #fff;
  font-family: "Barlow Condensed", Impact, sans-serif;
  font-size: 68px;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 0.85;
}
.plans .price em {
  color: var(--red);
  font-style: normal;
}
.plans .price span {
  display: block;
  margin-top: 8px;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
}
.plans .price--label {
  color: #fff;
  font-family: "Barlow Condensed", Impact, sans-serif;
  font-size: clamp(32px, 3.4vw, 56px);
  font-weight: 800;
  letter-spacing: 0;
  line-height: 0.95;
  overflow-wrap: anywhere;
  text-transform: uppercase;
}
.plan-tag {
  align-self: flex-start;
  margin: 0 0 10px;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--red);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.plan-tag--quiet {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.28);
}
.plan-line {
  margin: 0 0 8px;
  color: #fff;
  font-weight: 600;
}
.plans .ticks { max-width: none; }
.plans .btn { margin-top: auto; align-self: flex-start; }
.dongle {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px 24px;
  margin: 28px auto 0;
  padding: 18px 24px;
  background: #14171e;
  border-radius: 14px;
  border-left: 4px solid var(--red);
  color: #fff;
  font-size: 16px;
  font-weight: 600;
}
.dongle strong {
  color: #fff;
  font-family: "Barlow Condensed", Impact, sans-serif;
  font-size: 56px;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 0.85;
}
.dongle em {
  color: var(--red);
  font-style: normal;
}
.plans .ticks a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.plans .ticks a:hover { color: #fff; }
.cam {
  margin-top: 16px;
  padding: 28px;
  background: #14171e;
  border-radius: 14px;
  border-left: 4px solid var(--red);
  scroll-margin-top: calc(var(--header) + 16px);
}
.cam__head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 12px 32px;
}
.cam h3 {
  margin: 6px 0 8px;
  font-family: "Barlow Condensed", Impact, sans-serif;
  font-size: 42px;
  font-weight: 800;
  letter-spacing: 0.01em;
  line-height: 0.95;
  text-transform: uppercase;
}
.cam .plan-copy { max-width: 560px; }
.cam .price {
  margin: 0;
  padding: 0;
  border: 0;
  text-align: right;
}
.cam .ticks {
  grid-template-columns: 1fr 1fr;
  gap: 12px 28px;
  margin-bottom: 0;
}
.cam__note {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.45;
  max-width: 760px;
}

.specs { background: #050505; padding: 28px 0 88px; scroll-margin-top: calc(var(--header) + 12px); }
.specs__grid {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 56px;
  align-items: start;
}
.specs .lead { margin-top: 16px; }
.specs .btn { margin-top: 22px; }
.stream .crumb a:hover { color: #fff; }
.specs dl { display: grid; }
.specs dl div {
  display: grid;
  grid-template-columns: 148px 1fr;
  gap: 18px;
  align-items: baseline;
  padding: 16px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.specs dl div:last-child { border-bottom: 1px solid rgba(255, 255, 255, 0.1); }
.specs dt { font-weight: 700; }
.specs dd { margin: 0; color: var(--muted); }

.footer { background: #050505; border-top: 1px solid rgba(255, 255, 255, 0.06); }
.footer__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  padding: 22px 0;
}
.footer li {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 14.5px;
  font-weight: 500;
}
.footer svg { width: 22px; height: 22px; flex: none; }

@media (max-width: 980px) {
  .nav-toggle { display: block; margin-left: 0; }
  .lang { margin-left: auto; margin-right: 4px; }
  .lang select { max-width: 108px; }
  .nav {
    display: none;
    position: absolute;
    top: var(--header);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    margin: 0;
    padding: 8px 20px 16px;
    background: #050505;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 12px 0; width: 100%; }
  .header__actions {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    margin: 8px 0 4px;
    gap: 8px;
  }
  .header__actions .btn-login,
  .header__actions .header__cta { width: 100%; min-height: 46px; }
  .features__grid { grid-template-columns: 1fr 1fr; }
  .hero h1, .hero__copy > p:not(.hero__kicker), .hero__actions, .hero .stores { max-width: none; }
  .hero h1 .line { white-space: normal; }
  .data__grid, .ai__grid, .dash__body { grid-template-columns: 1fr; }
  .stream {
    min-height: 0;
    background:
      linear-gradient(180deg, rgba(5, 6, 8, 0.92) 0%, rgba(5, 6, 8, 0.78) 48%, rgba(5, 6, 8, 0.55) 100%),
      url("https://gkinxfxmllzpkdojyeli.supabase.co/storage/v1/object/public/Racetoconnect/08c73a7a-9ee5-4d2e-a136-2ecf2ef36237%20(1).png") center 30% / cover no-repeat;
  }
  .device { min-height: 0; padding: 64px 0 280px; }
  .device__bg {
    inset: auto 0 0 0;
    height: 280px;
    -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 36%);
    mask-image: linear-gradient(180deg, transparent 0%, #000 36%);
    background-position: 22% center;
  }
  .device__copy { max-width: none; }
  .ai__visual { grid-template-columns: 1fr; }
  .steps__grid, .specs__grid, .feature-grid, .plans__grid, .topic-grid, .cam .ticks { grid-template-columns: 1fr; }
  .cam .price { text-align: left; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer li { justify-content: flex-start; }
}

@media (max-width: 640px) {
  .wrap { width: min(var(--wrap), calc(100% - 36px)); }
  .header { padding-inline: 18px; }
  .hero h1 { font-size: 42px; }
  .hero__copy { padding: 40px 0 28px; }
  .hero__kicker { letter-spacing: 0.12em; font-size: 11px; }
  .features__grid, .stats, .footer__grid { grid-template-columns: 1fr; }
  .bar-row { grid-template-columns: 70px 1fr 52px; }
  .gauge__mid strong { font-size: 26px; }
}

.app-hero {
  padding: 64px 0 12px;
  text-align: center;
  background:
    radial-gradient(900px 420px at 50% 0%, rgba(225, 6, 0, 0.16), transparent 70%),
    #07080b;
}
.app-hero h1 {
  font-family: "Barlow Condensed", Impact, sans-serif;
  font-weight: 800;
  font-size: clamp(56px, 6.4vw, 88px);
  letter-spacing: 0;
  line-height: 0.86;
  text-transform: uppercase;
}
.app-hero h1 .line { display: block; }
.app-hero h1 .line--accent { color: var(--red); }
.app-hero .hero__kicker { justify-content: center; }
.app-hero .lead {
  max-width: 640px;
  margin: 18px auto 22px;
  color: rgba(255, 255, 255, 0.84);
}
.stores { display: flex; flex-wrap: wrap; gap: 12px; }
.app-hero .stores { justify-content: center; }
.store {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 54px;
  padding: 6px 16px 6px 12px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  background: #000;
  color: #fff;
  text-align: left;
}
.store svg { width: 22px; height: 22px; flex: none; }
.store small { display: block; font-size: 10px; line-height: 1.1; opacity: 0.85; }
.store b { display: block; font-size: 18px; font-weight: 600; line-height: 1.1; }
.store:hover { border-color: #fff; }
.app-stage {
  position: relative;
  display: flex;
  justify-content: center;
  margin-top: 36px;
  min-height: 560px;
}
.phone {
  width: 280px;
  height: 560px;
  border-radius: 36px;
  padding: 10px;
  background: #111318;
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.45);
}
.phone__screen {
  position: relative;
  height: 100%;
  overflow: hidden;
  border-radius: 28px;
  background: #0b0d12 center / cover no-repeat;
  color: #fff;
}
.phone--live .phone__screen {
  background-image:
    linear-gradient(180deg, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.05) 40%, rgba(0, 0, 0, 0.72) 100%),
    url("https://gkinxfxmllzpkdojyeli.supabase.co/storage/v1/object/public/Racetoconnect/01_raceauto.png");
  background-position: 70% center;
}
.phone--stream .phone__screen {
  background-image:
    linear-gradient(180deg, rgba(0, 0, 0, 0.15), rgba(0, 0, 0, 0.72)),
    url("https://gkinxfxmllzpkdojyeli.supabase.co/storage/v1/object/public/Racetoconnect/08c73a7a-9ee5-4d2e-a136-2ecf2ef36237%20(1).png");
}
.phone--review .phone__screen {
  background-image:
    linear-gradient(180deg, rgba(0, 0, 0, 0.1) 30%, rgba(0, 0, 0, 0.82)),
    url("https://gkinxfxmllzpkdojyeli.supabase.co/storage/v1/object/public/Racetoconnect/06_footer_raceauto.png");
  background-position: center 30%;
}
.hud { position: absolute; inset: 0; display: flex; flex-direction: column; padding: 16px 14px 14px; }
.hud__top, .hud__row { display: flex; justify-content: space-between; align-items: center; gap: 8px; font-size: 11px; font-weight: 700; }
.live-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 8px;
  border-radius: 99px;
  background: var(--red);
  letter-spacing: 0.08em;
}
.live-pill::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #fff; }
.hud__gauges {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: auto;
}
.gauge {
  padding: 8px 10px;
  border-radius: 12px;
  background: rgba(8, 10, 14, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.gauge b {
  display: block;
  font-family: "Barlow Condensed", Impact, sans-serif;
  font-size: 40px;
  line-height: 0.85;
  font-weight: 800;
}
.gauge span, .hud__lap span { color: rgba(255, 255, 255, 0.7); font-size: 11px; font-weight: 600; }
.hud__lap {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px;
  margin-top: 8px;
  padding: 8px 10px;
  border-radius: 12px;
  background: rgba(8, 10, 14, 0.72);
}
.hud__row .gauge b { font-size: 28px; }
.hud__lap b { font-variant-numeric: tabular-nums; font-size: 18px; }
.hud__msg {
  margin-top: 8px;
  padding: 8px 10px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.75);
  font-size: 12px;
}
.reacts {
  position: absolute;
  top: 70px;
  left: calc(50% + 156px);
  display: grid;
  gap: 10px;
}
.reacts li {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.28);
}
.reacts svg { width: 20px; height: 20px; }
.reacts .r1 { background: #e11d48; }
.reacts .r2 { background: #2563eb; }
.reacts .r3 { background: #f59e0b; }
.reacts .r4 { background: #7c3aed; }
.reacts .r5 { background: #16a34a; }
.app-points {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
  margin-block: 0;
  padding: 28px 0 72px;
  list-style: none;
}
.app-points li { text-align: center; }
.app-points svg { width: 28px; height: 28px; margin: 0 auto 10px; color: var(--red); }
.app-points h2 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 6px;
}
.app-points p { color: var(--muted); font-size: 13.5px; }
.app-block { padding: 76px 0; }
.app-block--alt { background: #08090c; }
.app-split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}
.app-split--flip { grid-template-columns: 0.95fr 1.05fr; }
.app-split--flip .app-copy { order: 2; }
.app-block h2 {
  font-family: "Barlow Condensed", Impact, sans-serif;
  font-weight: 800;
  font-size: clamp(40px, 4.4vw, 64px);
  line-height: 0.9;
  text-transform: uppercase;
}
.app-block .lead { margin-top: 14px; }
.app-copy .socials { margin-top: 22px; }
.app-block .phone { margin-inline: auto; }
.mini {
  display: grid;
  gap: 8px;
  margin-top: auto;
  padding: 12px;
}
.mini div, .laplist li {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 10px;
  background: rgba(8, 10, 14, 0.78);
  font-size: 13px;
}
.mini b, .laplist b { font-variant-numeric: tabular-nums; }
.phone--data .phone__screen, .phone--ai .phone__screen { background: #10131a; }
.track-svg { width: 100%; height: 180px; margin-top: 28px; }
.laplist { display: grid; gap: 8px; margin-top: auto; padding: 12px; }
.laplist .best { color: #3dde7a; }
.phone--review .hud__msg { margin-top: auto; }

@media (max-width: 980px) {
  .app-points { grid-template-columns: 1fr 1fr; }
  .app-split, .app-split--flip { grid-template-columns: 1fr; }
  .app-split--flip .app-copy { order: 0; }
  .app-split--flip .phone { order: 2; }
  .reacts { display: none; }
  .app-stage { min-height: 0; }
  .app-block { padding: 56px 0; }
}
@media (max-width: 640px) {
  .app-hero { padding-top: 36px; }
  .app-hero h1 { font-size: 46px; }
  .app-points { grid-template-columns: 1fr; }
  .phone { width: 250px; height: 500px; }
}
