:root {
  color-scheme: dark;
  --ink: #f7f8f4;
  --muted: #a8afa6;
  --page: #080b0a;
  --panel: #101513;
  --panel-light: #171d1a;
  --line: #29312d;
  --lime: #c8ff2e;
  --lime-dark: #7ca600;
  --orange: #ff6b2c;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(rgba(200, 255, 46, .025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(200, 255, 46, .025) 1px, transparent 1px),
    var(--page);
  background-size: 64px 64px;
  font-family: "Segoe UI", system-ui, sans-serif;
}
a { color: inherit; }

.racing-header,
main,
footer {
  width: min(var(--max), calc(100% - 40px));
  margin-inline: auto;
}

.racing-header {
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  border-bottom: 1px solid var(--line);
}

.racing-brand {
  display: flex;
  align-items: center;
  gap: 13px;
  text-decoration: none;
}
.racing-mark {
  width: 46px;
  height: 42px;
  display: grid;
  place-items: center;
  color: #0a0d0b;
  background: var(--lime);
  clip-path: polygon(0 0, 100% 0, 86% 100%, 0 100%);
  font: 900 14px/1 Consolas, monospace;
}
.racing-brand > span:last-child { display: grid; gap: 2px; }
.racing-brand strong { letter-spacing: .02em; }
.racing-brand small { color: var(--muted); font-size: 11px; text-transform: uppercase; letter-spacing: .1em; }
.racing-header nav { display: flex; align-items: center; gap: 18px; }
.racing-header nav a {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.racing-header nav a:hover,
.racing-header nav a[aria-current="page"] { color: var(--lime); }
.racing-header .division-switcher,
.racing-header .division-context { display: flex; align-items: center; }
.racing-header .division-switcher {
  gap: 3px;
  padding: 3px;
  border: 1px solid var(--line);
}
.racing-header .division-switcher a { padding: 8px 9px; }
.racing-header .division-switcher a[aria-current="page"] {
  color: #0a0d0b;
  background: var(--lime);
}
.racing-header .division-context { gap: 18px; }

.racing-hero {
  min-height: 540px;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(350px, .85fr);
  align-items: center;
  gap: 72px;
  padding: 56px 0 58px;
}
.eyebrow {
  margin: 0 0 18px;
  color: var(--lime);
  font: 700 12px/1.3 Consolas, monospace;
  letter-spacing: .13em;
  text-transform: uppercase;
}
h1, h2, h3, p { margin-top: 0; }
h1 {
  max-width: 760px;
  margin-bottom: 28px;
  font-size: clamp(46px, 6vw, 82px);
  line-height: .97;
  letter-spacing: -.055em;
}
h1 span { color: var(--lime); }
.hero-lede {
  max-width: 650px;
  margin-bottom: 34px;
  color: #c8cdc8;
  font-size: 18px;
  line-height: 1.7;
}
.hero-actions, .product-action { display: flex; align-items: center; gap: 14px; }
.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border: 1px solid var(--line);
  font-weight: 800;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: .06em;
  font-size: 12px;
}
.button-primary { color: #0a0d0b; background: var(--lime); border-color: var(--lime); }
.button-primary:hover { background: #ddff7a; }
.button-secondary { color: var(--ink); background: transparent; }
.button-secondary:hover { border-color: var(--lime); color: var(--lime); }
.hero-checks {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  padding: 0;
  margin: 28px 0 0;
  color: var(--muted);
  list-style: none;
  font-size: 13px;
}
.hero-checks li::before { content: "+"; margin-right: 8px; color: var(--lime); font-weight: 900; }

.setup-sheet {
  position: relative;
  padding: 22px;
  border: 1px solid #3a463f;
  background: linear-gradient(145deg, rgba(23, 29, 26, .97), rgba(10, 14, 12, .97));
  box-shadow: 18px 18px 0 rgba(200, 255, 46, .08);
}
.setup-sheet::before {
  content: "";
  position: absolute;
  inset: -1px -1px auto auto;
  width: 86px;
  height: 4px;
  background: var(--lime);
}
.sheet-bar { display: flex; justify-content: space-between; color: var(--muted); font: 700 11px Consolas, monospace; letter-spacing: .08em; }
.sheet-bar b { color: var(--lime); }
.sheet-product { display: grid; gap: 7px; padding: 24px 0 2px; }
.sheet-product span { color: var(--lime); font: 700 11px/1.2 Consolas, monospace; letter-spacing: .1em; text-transform: uppercase; }
.sheet-product strong { max-width: 360px; font-size: 18px; line-height: 1.35; }
.sheet-reading { display: grid; gap: 4px; padding: 34px 0 20px; }
.sheet-reading span { color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: .1em; }
.sheet-reading strong { font-size: 28px; }
.sheet-plot {
  position: relative;
  height: 150px;
  overflow: hidden;
  border: 1px solid var(--line);
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 36px 36px;
}
.plot-line { position: absolute; left: -5%; width: 110%; height: 3px; transform-origin: center; }
.plot-line-one { top: 51%; background: var(--lime); transform: rotate(-8deg); }
.plot-line-two { top: 64%; background: var(--orange); transform: rotate(5deg); }
.plot-marker { position: absolute; left: 62%; top: 18px; width: 1px; height: 115px; background: rgba(255,255,255,.55); }
.setup-sheet dl { margin: 20px 0 0; }
.setup-sheet dl div { display: grid; grid-template-columns: 110px 1fr; gap: 16px; padding: 12px 0; border-top: 1px solid var(--line); }
.setup-sheet dt { color: var(--muted); font-size: 12px; }
.setup-sheet dd { margin: 0; font-size: 13px; font-weight: 700; }

.proof-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-block: 1px solid var(--line);
}
.proof-strip span { padding: 22px 18px; color: #c7ccc7; font-size: 13px; text-align: center; }
.proof-strip span + span { border-left: 1px solid var(--line); }
.proof-strip b { margin-right: 8px; color: var(--lime); font-family: Consolas, monospace; }

.product-section, .sample-section, .process-section, .faq-section { padding: 112px 0; }
.product-section { padding-top: 72px; }
.section-intro { max-width: 760px; margin-bottom: 42px; }
.section-intro h2, .engineering-link h2 { margin-bottom: 20px; font-size: clamp(34px, 5vw, 58px); line-height: 1.05; letter-spacing: -.04em; }
.section-intro > p:last-child, .engineering-link p { color: var(--muted); line-height: 1.7; }
.product-card { border: 1px solid #3a463f; background: var(--panel); }
.product-topline { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 26px 30px; border-bottom: 1px solid var(--line); }
.product-topline > span { color: var(--lime); font: 700 12px Consolas, monospace; text-transform: uppercase; letter-spacing: .12em; }
.product-topline strong { font-size: 34px; }
.product-topline small { color: var(--muted); font-size: 13px; font-weight: 500; }
.product-grid { display: grid; grid-template-columns: 1fr 1fr; }
.product-grid > div { padding: 34px 30px; }
.product-grid > div + div { border-left: 1px solid var(--line); }
.product-grid h3 { font-size: 18px; }
.product-grid ul { padding-left: 18px; margin-bottom: 0; color: var(--muted); line-height: 2; }
.product-grid li::marker { color: var(--lime); }
.product-action { justify-content: space-between; padding: 26px 30px; border-top: 1px solid var(--line); background: var(--panel-light); }
.product-action p { max-width: 670px; margin-bottom: 0; color: var(--muted); line-height: 1.5; }
.product-action p strong { color: var(--ink); }

.sample-section { border-top: 1px solid var(--line); }
.sample-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.sample-grid article { min-height: 280px; padding: 30px; background: var(--panel); }
.sample-number { color: var(--lime); font: 700 11px Consolas, monospace; letter-spacing: .1em; }
.sample-grid h3 { margin: 54px 0 18px; font-size: 23px; line-height: 1.2; }
.sample-grid p { margin-bottom: 0; color: var(--muted); line-height: 1.65; }

.process-section { border-top: 1px solid var(--line); }
.process-list { padding: 0; margin: 0; border-top: 1px solid var(--line); list-style: none; }
.process-list li { display: grid; grid-template-columns: 110px 1fr; padding: 28px 0; border-bottom: 1px solid var(--line); }
.process-list li > span { color: var(--lime); font: 700 13px Consolas, monospace; }
.process-list h3 { margin-bottom: 7px; font-size: 20px; }
.process-list p { margin-bottom: 0; color: var(--muted); }

.faq-section { border-top: 1px solid var(--line); }
.faq-grid { border-top: 1px solid var(--line); }
.faq-grid details { padding: 24px 0; border-bottom: 1px solid var(--line); }
.faq-grid summary { cursor: pointer; font-size: 18px; font-weight: 700; }
.faq-grid details p { max-width: 800px; margin: 16px 0 0; color: var(--muted); line-height: 1.65; }

.engineering-link {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
  padding: 58px;
  border: 1px solid var(--line);
  background: linear-gradient(120deg, rgba(200,255,46,.08), transparent 55%), var(--panel);
}
.engineering-link > div { max-width: 720px; }
.engineering-link h2 { font-size: clamp(30px, 4vw, 46px); }
.engineering-link p:last-child { margin-bottom: 0; }

footer {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 36px;
  align-items: center;
  padding: 48px 0;
  color: var(--muted);
  font-size: 12px;
}
.footer-brand { color: var(--ink); font-weight: 800; text-decoration: none; }
footer div { display: flex; gap: 20px; }
footer div a { text-decoration: none; }
footer div a:hover { color: var(--lime); }

@media (max-width: 880px) {
  .racing-header { align-items: flex-start; flex-direction: column; padding: 20px 0; }
  .racing-header nav { width: 100%; overflow-x: auto; padding-bottom: 4px; }
  .racing-hero { grid-template-columns: 1fr; gap: 50px; padding-top: 64px; }
  .proof-strip, .sample-grid { grid-template-columns: 1fr; }
  .proof-strip span { text-align: left; }
  .proof-strip span + span { border-left: 0; border-top: 1px solid var(--line); }
  .product-action, .engineering-link { align-items: flex-start; flex-direction: column; }
  footer { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .racing-header, main, footer { width: min(100% - 24px, var(--max)); }
  .racing-header nav { gap: 18px; }
  h1 { font-size: 44px; }
  .racing-hero { min-height: auto; padding-bottom: 64px; }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .product-section, .sample-section, .process-section, .faq-section { padding: 76px 0; }
  .product-topline { align-items: flex-start; flex-direction: column; }
  .product-grid { grid-template-columns: 1fr; }
  .product-grid > div + div { border-left: 0; border-top: 1px solid var(--line); }
  .product-action .button { width: 100%; }
  .process-list li { grid-template-columns: 56px 1fr; }
  .engineering-link { padding: 30px; }
  footer div { align-items: flex-start; flex-direction: column; gap: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
