/* WWW-1: racegenie.app. Colours, type and tone follow geniemotorsport.com (Oxanium, ink and chalk, lime accent),
   set denser: an engineering product for race teams. No external requests: the font is served from /fonts/. */
@font-face {
  font-family: Oxanium;
  src: url('/fonts/oxanium-var.woff2') format('woff2');
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}
:root {
  --ink: #080b0c;
  --surface: #121718;
  --raised: #1c2324;
  --chalk: #f3f1e9;
  --muted: #a9b2b0;
  --line: #354041;
  --lime: #d8ff3e;
  --cyan: #73d8ec;
  --wrap: 1180px;
  color-scheme: dark;
  font-family: Oxanium, Arial, sans-serif;
  font-synthesis: none;
  background: var(--ink);
  color: var(--chalk);
}
* {
  box-sizing: border-box;
}
html {
  scroll-padding-top: 76px;
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
  font-weight: 450;
  background: var(--ink);
  color: var(--chalk);
}
a {
  color: inherit;
}
a:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--cyan);
  outline-offset: 3px;
  border-radius: 2px;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
h1,
h2,
h3,
p,
ul,
ol,
figure {
  margin: 0;
}
h1,
h2,
h3 {
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.03em;
}
h1 {
  font-size: clamp(32px, 4.6vw, 54px);
}
h2 {
  font-size: clamp(24px, 2.8vw, 34px);
}
h3 {
  font-size: 18px;
  letter-spacing: -0.01em;
}
p,
li {
  color: var(--muted);
}
strong {
  color: var(--chalk);
  font-weight: 650;
}
em {
  font-style: normal;
  color: var(--lime);
}
.wrap {
  width: min(100% - 32px, var(--wrap));
  margin-inline: auto;
}
.skip {
  position: absolute;
  left: -9999px;
  top: 8px;
  background: var(--lime);
  color: var(--ink);
  padding: 8px 12px;
  z-index: 50;
}
.skip:focus {
  left: 8px;
}

/* header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(8, 11, 12, 0.94);
  border-bottom: 1px solid #ffffff14;
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  height: 60px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 650;
  font-size: 19px;
  letter-spacing: -0.01em;
}
.brand svg {
  width: 34px;
  height: auto;
}
.brand b {
  color: var(--lime);
  font-weight: 650;
}
.nav {
  display: flex;
  align-items: center;
  gap: 22px;
}
.nav a {
  text-decoration: none;
  font-size: 13px;
  font-weight: 550;
  color: var(--muted);
}
.nav a:hover,
.nav a[aria-current='page'] {
  color: var(--chalk);
}
.nav a[aria-current='page'] {
  box-shadow: inset 0 -2px 0 var(--lime);
  padding-bottom: 3px;
}
.menu {
  display: none;
}
.menu summary {
  list-style: none;
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 7px 12px;
}
.menu summary::-webkit-details-marker {
  display: none;
}
.menu[open] .nav {
  display: flex;
}

/* buttons */
.button {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  background: var(--lime);
  color: var(--ink);
  font-weight: 650;
  font-size: 14px;
  line-height: 1.2;
  padding: 12px 16px;
  border-radius: 4px;
  text-decoration: none;
  min-height: 44px;
}
.button:hover {
  background: #e8ff96;
}
.button.secondary {
  background: transparent;
  border: 1px solid #697371;
  color: var(--chalk);
}
.button.secondary:hover {
  background: #293133;
}
.button.small {
  min-height: 36px;
  padding: 8px 12px;
  font-size: 12px;
}
.actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 22px;
}

/* sections */
.section {
  padding-block: 56px;
  border-bottom: 1px solid #ffffff10;
}
.section.tight {
  padding-block: 40px;
}
.eyebrow {
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 12px;
}
.lead {
  font-size: clamp(16px, 1.5vw, 19px);
  line-height: 1.55;
  max-width: 720px;
  margin-top: 14px;
}
.note {
  font-size: 12px;
  color: #8b9a8f;
  margin-top: 10px;
}
.hero {
  padding-block: 56px 40px;
}
.hero h1 {
  max-width: 900px;
}
.hero-shot {
  margin-top: 34px;
}
.shot {
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
  background: var(--surface);
}
.shot img {
  width: 100%;
}
figcaption {
  font-size: 12px;
  color: #8b9a8f;
  margin-top: 8px;
}

.grid {
  display: grid;
  gap: 16px;
}
.grid.three {
  grid-template-columns: repeat(3, 1fr);
}
.grid.two {
  grid-template-columns: repeat(2, 1fr);
}
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 18px;
}
.card h3 {
  margin-bottom: 8px;
}
.card .eyebrow {
  margin-bottom: 8px;
}
.card ul {
  padding-left: 18px;
  margin-top: 8px;
}
.card li {
  font-size: 14px;
  margin-bottom: 4px;
}
.card .button {
  margin-top: 14px;
}
.heading {
  max-width: 760px;
  margin-bottom: 26px;
}

/* a feature: text beside its screenshot */
.feature {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 32px;
  align-items: start;
  padding-block: 36px;
  border-top: 1px solid #ffffff10;
}
.feature:first-of-type {
  border-top: 0;
}
.feature.wide {
  grid-template-columns: 1fr;
}
.feature h2 {
  font-size: clamp(22px, 2.4vw, 28px);
}
.feature p {
  margin-top: 10px;
  font-size: 15px;
}
.feature ul {
  margin-top: 10px;
  padding-left: 18px;
}
.feature li {
  font-size: 14px;
  margin-bottom: 4px;
}
.phone {
  max-width: 300px;
  border-radius: 22px;
  border: 6px solid var(--raised);
}

.steps {
  counter-reset: step;
  list-style: none;
  padding: 0;
  display: grid;
  gap: 12px;
}
.steps li {
  counter-increment: step;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 14px 16px 14px 54px;
  position: relative;
  font-size: 14px;
}
.steps li::before {
  content: counter(step, decimal-leading-zero);
  position: absolute;
  left: 16px;
  top: 13px;
  font-weight: 650;
  color: var(--lime);
}
.steps strong {
  display: block;
  margin-bottom: 2px;
}

.facts {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
.facts th,
.facts td {
  text-align: left;
  padding: 9px 10px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.facts th {
  color: var(--chalk);
  font-weight: 600;
  width: 34%;
}
.facts td {
  color: var(--muted);
}

.badge {
  display: inline-flex;
  flex-direction: column;
  gap: 2px;
  border: 1px dashed #697371;
  border-radius: 8px;
  padding: 10px 16px;
  font-size: 12px;
  color: var(--muted);
}
.badge strong {
  font-size: 15px;
}
.cta {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 26px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.cta h2 {
  font-size: clamp(22px, 2.4vw, 28px);
}
.cta p {
  margin-top: 6px;
}

/* footer */
.site-footer {
  background: #0d1310;
  border-top: 1px solid #384638;
  padding: 40px 0 20px;
}
.footer-links {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 28px;
  padding-bottom: 28px;
}
.footer-links > div {
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: flex-start;
}
.footer-links > div > span {
  font-size: 10px;
  letter-spacing: 0.15em;
  color: #8b9a8f;
  margin-bottom: 6px;
  text-transform: uppercase;
}
.footer-links a {
  font-size: 13px;
  text-decoration: none;
  color: var(--chalk);
}
.footer-links a:hover {
  color: var(--lime);
}
.footer-links p {
  font-size: 13px;
}
.footer-bottom {
  border-top: 1px solid #303c31;
  padding-top: 14px;
  font-size: 11px;
  color: #a8b4ab;
  display: flex;
  justify-content: space-between;
  gap: 12px 28px;
  flex-wrap: wrap;
}
.footer-bottom p {
  color: #a8b4ab;
  font-size: 11px;
}

.prose {
  max-width: 760px;
}
.prose p,
.prose li {
  font-size: 15px;
  margin-top: 10px;
}
.prose ul {
  padding-left: 18px;
}
.prose h2 {
  margin-top: 30px;
}

@media (max-width: 900px) {
  .menu {
    display: block;
    position: relative;
  }
  .site-header .wrap > .nav {
    display: none;
  }
  .menu .nav {
    display: none;
    position: absolute;
    right: 0;
    top: 44px;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 6px;
    padding: 16px;
    min-width: 200px;
  }
  .grid.three,
  .grid.two {
    grid-template-columns: 1fr;
  }
  .feature {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .footer-links {
    grid-template-columns: 1fr 1fr;
  }
  .footer-links > div:first-child {
    grid-column: 1 / -1;
  }
  .section {
    padding-block: 40px;
  }
  .hero {
    padding-block: 36px 28px;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
  }
}
.stack > * + * {
  margin-top: 16px;
}
.nav a.button {
  color: var(--ink);
}
.nav a.button:hover {
  color: var(--ink);
}
.site-footer .brand {
  font-size: 17px;
}
.site-footer .brand svg {
  width: 30px;
}
.hero + .section {
  padding-top: 8px;
}
.steps {
  margin-top: 14px;
}
