:root {
  --black: #0a0a0a;
  --asphalt: #151515;
  --white: #f7f7f2;
  --muted: #b6b6ae;
  --line: #3a3a36;
  --red: #e3291c;
  --yellow: #f2c94c;
  --content: 1180px;
  --reading: 760px;
  --focus: #ffffff;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--black);
  color: var(--white);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}
body.legal-page { background: #11110f; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 4px; }

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 8px;
  left: 8px;
  padding: 10px 14px;
  background: var(--white);
  color: var(--black);
  transform: translateY(-150%);
}
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: sticky;
  z-index: 20;
  top: 0;
  height: 72px;
  border-bottom: 1px solid var(--line);
  background: rgba(10, 10, 10, 0.96);
}
.header-inner {
  width: min(calc(100% - 40px), var(--content));
  height: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--white);
  text-decoration: none;
}
.brand img { width: 42px; height: 42px; border: 1px solid #5b5b55; }
.brand span, .display, .section-title, .legal-title, .stat strong, .mode-name {
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", "Arial Narrow", sans-serif;
  font-stretch: condensed;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}
.brand span { font-size: 1.2rem; line-height: 1; }
.site-nav { display: flex; align-items: center; gap: 4px; }
.site-nav a {
  padding: 9px 12px;
  color: #d7d7d0;
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
  text-transform: uppercase;
}
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--white); background: var(--red); }
.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--white);
  cursor: pointer;
}
.menu-lines, .menu-lines::before, .menu-lines::after {
  display: block;
  width: 20px;
  height: 2px;
  margin: 0 auto;
  background: currentColor;
  content: "";
}
.menu-lines::before { transform: translateY(-7px); }
.menu-lines::after { transform: translateY(5px); }

.hero {
  position: relative;
  min-height: min(760px, calc(100svh - 102px));
  overflow: hidden;
  border-bottom: 8px solid var(--red);
  display: flex;
  align-items: flex-end;
}
.hero-media, .hero-scrim { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-media { object-fit: cover; object-position: center; }
.hero-scrim { background: rgba(0, 0, 0, 0.48); }
.hero-content {
  position: relative;
  z-index: 2;
  width: min(calc(100% - 40px), var(--content));
  margin: 0 auto;
  padding: 72px 0 58px;
}
.eyebrow {
  display: inline-block;
  margin: 0 0 14px;
  padding: 6px 10px;
  background: var(--yellow);
  color: var(--black);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}
.display {
  max-width: 850px;
  margin: 0;
  font-size: clamp(4.5rem, 13vw, 9.5rem);
  line-height: 0.82;
  text-shadow: 0 3px 18px rgba(0, 0, 0, 0.7);
}
.hero-copy {
  max-width: 680px;
  margin: 24px 0 28px;
  color: #f0f0ea;
  font-size: clamp(1rem, 2vw, 1.22rem);
  line-height: 1.55;
  text-shadow: 0 2px 8px #000;
}
.button-row { display: flex; flex-wrap: wrap; gap: 12px; }
.button {
  min-height: 48px;
  padding: 13px 19px;
  border: 2px solid var(--white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--white);
  color: var(--black);
  font-size: 0.9rem;
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
}
.button:hover { background: var(--yellow); border-color: var(--yellow); }
.button.secondary { background: rgba(0, 0, 0, 0.68); color: var(--white); }
.button.secondary:hover { background: var(--red); border-color: var(--red); }
.button.is-disabled, .text-link.is-disabled, a.is-disabled { opacity: 0.58; cursor: not-allowed; }

.race-stats { border-bottom: 1px solid var(--line); background: var(--yellow); color: var(--black); }
.stats-inner { width: min(100%, var(--content)); margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); }
.stat {
  min-height: 112px;
  padding: 19px 24px;
  border-right: 1px solid rgba(10, 10, 10, 0.28);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.stat:last-child { border-right: 0; }
.stat strong { font-size: 2.35rem; line-height: 1; }
.stat span { margin-top: 6px; font-size: 0.75rem; font-weight: 800; text-transform: uppercase; }

.section { padding: 90px 0; }
.section.alt { background: var(--asphalt); }
.section-inner { width: min(calc(100% - 40px), var(--content)); margin: 0 auto; }
.section-heading { max-width: 760px; margin-bottom: 42px; }
.section-kicker { margin: 0 0 8px; color: var(--yellow); font-size: 0.78rem; font-weight: 800; text-transform: uppercase; }
.section-title { margin: 0; font-size: clamp(2.3rem, 6vw, 4.8rem); line-height: 0.95; }
.section-heading p:last-child { max-width: 680px; margin: 18px 0 0; color: var(--muted); }
.mode-list { border-top: 1px solid var(--line); }
.mode-item {
  display: grid;
  grid-template-columns: minmax(190px, 0.6fr) 1.4fr;
  gap: 32px;
  padding: 25px 0;
  border-bottom: 1px solid var(--line);
}
.mode-name { font-size: 1.75rem; line-height: 1; }
.mode-item p { margin: 0; color: #cecec7; }
.track-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 3px; background: var(--black); }
.track { position: relative; min-height: 300px; margin: 0; overflow: hidden; }
.track img { width: 100%; height: 100%; object-fit: cover; transition: transform 240ms ease; }
.track:hover img { transform: scale(1.025); }
.track figcaption {
  position: absolute;
  left: 0;
  bottom: 0;
  padding: 10px 16px;
  background: var(--black);
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 800;
  text-transform: uppercase;
}
.garage-layout {
  display: grid;
  grid-template-columns: minmax(230px, 0.72fr) 1.28fr;
  gap: clamp(40px, 8vw, 110px);
  align-items: start;
}
.garage-icon { width: min(100%, 400px); border: 6px solid var(--white); }
.feature-lines { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.feature-lines li { padding: 18px 0 18px 32px; border-bottom: 1px solid var(--line); position: relative; }
.feature-lines li::before { position: absolute; left: 0; color: var(--red); content: "//"; font-weight: 900; }

.cta-band { padding: 64px 0; background: var(--red); }
.cta-inner {
  width: min(calc(100% - 40px), var(--content));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
}
.cta-inner h2 {
  margin: 0 0 7px;
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: clamp(2rem, 5vw, 3.8rem);
  line-height: 1;
  text-transform: uppercase;
}
.cta-inner p { margin: 0; color: #fff4f2; }

.site-footer { border-top: 1px solid var(--line); background: #070707; }
.footer-inner {
  width: min(calc(100% - 40px), var(--content));
  margin: 0 auto;
  padding: 30px 0;
  display: flex;
  justify-content: space-between;
  gap: 28px;
  color: var(--muted);
  font-size: 0.82rem;
}
.footer-inner p { margin: 0; }
.footer-links { display: flex; flex-wrap: wrap; gap: 18px; }
.footer-links a:hover { color: var(--white); }

.legal-hero { border-bottom: 1px solid var(--line); background: var(--asphalt); }
.legal-hero-inner { width: min(calc(100% - 40px), var(--reading)); margin: 0 auto; padding: 76px 0 60px; }
.legal-title { margin: 0 0 16px; font-size: clamp(2.8rem, 8vw, 5.6rem); line-height: 0.95; }
.legal-meta { margin: 0; color: var(--muted); }
.legal-content { width: min(calc(100% - 40px), var(--reading)); margin: 0 auto; padding: 62px 0 90px; }
.legal-content h2 { margin: 44px 0 12px; color: var(--white); font-size: 1.4rem; line-height: 1.25; }
.legal-content h2:first-child { margin-top: 0; }
.legal-content h3 { margin: 28px 0 8px; font-size: 1.03rem; }
.legal-content p, .legal-content li { color: #d0d0c9; }
.legal-content ul, .legal-content ol { padding-left: 22px; }
.legal-content li + li { margin-top: 8px; }
.legal-content a, .text-link { color: var(--yellow); font-weight: 700; text-underline-offset: 3px; }
.notice { margin: 0 0 36px; padding: 18px 20px; border-left: 4px solid var(--yellow); background: #1d1d19; color: #e5e5dd; }
.support-intro { max-width: 620px; margin: 18px 0 0; color: var(--muted); font-size: 1.05rem; }
.support-actions { margin-top: 28px; }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary {
  padding: 22px 44px 22px 0;
  position: relative;
  cursor: pointer;
  font-size: 1.02rem;
  font-weight: 800;
  list-style: none;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { position: absolute; top: 17px; right: 0; color: var(--yellow); content: "+"; font-size: 1.65rem; line-height: 1; }
.faq-list details[open] summary::after { content: "−"; }
.faq-list details p { margin: -4px 0 22px; padding-right: 44px; }
.report-checklist { margin-top: 42px; padding: 26px; border: 1px solid var(--line); background: var(--asphalt); }
.report-checklist h2 { margin-top: 0; }

@media (max-width: 760px) {
  .site-header { height: 64px; }
  .header-inner { width: min(calc(100% - 28px), var(--content)); }
  .brand img { width: 38px; height: 38px; }
  .menu-button { display: block; }
  .site-nav {
    position: absolute;
    top: 64px;
    right: 0;
    left: 0;
    padding: 8px 14px 14px;
    border-bottom: 1px solid var(--line);
    background: var(--black);
    display: none;
    flex-direction: column;
    align-items: stretch;
  }
  .site-nav[data-open="true"] { display: flex; }
  .site-nav a { min-height: 44px; display: flex; align-items: center; }
  .hero { min-height: min(710px, calc(100svh - 86px)); }
  .hero-content { width: min(calc(100% - 28px), var(--content)); padding: 52px 0 38px; }
  .display { font-size: clamp(4rem, 25vw, 6.4rem); }
  .stats-inner { grid-template-columns: repeat(2, 1fr); }
  .stat { min-height: 94px; padding: 15px 16px; border-bottom: 1px solid rgba(10, 10, 10, 0.28); }
  .stat:nth-child(2) { border-right: 0; }
  .section { padding: 66px 0; }
  .section-inner, .cta-inner, .footer-inner, .legal-hero-inner, .legal-content { width: min(calc(100% - 28px), var(--content)); }
  .mode-item, .garage-layout { grid-template-columns: 1fr; gap: 14px; }
  .track-grid { grid-template-columns: 1fr; }
  .track { min-height: 235px; }
  .garage-icon { width: min(78vw, 360px); margin-bottom: 28px; }
  .cta-inner, .footer-inner { align-items: flex-start; flex-direction: column; }
  .legal-hero-inner { padding: 56px 0 44px; }
  .legal-content { padding: 46px 0 70px; }
}

@media (max-width: 370px) {
  .brand span { font-size: 1rem; }
  .button-row .button { width: 100%; }
  .display { font-size: 3.7rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: 0.01ms !important; }
}
