:root {
  --bg: #0b0d10;
  --bg-2: #12151a;
  --panel: #171b21;
  --line: #262c35;
  --text: #eef1f5;
  --muted: #9aa4b2;
  --accent: #e50a4f;
  --accent-ink: #ffffff;
  --ok: #3ccf8e;
  --radius: 10px;
  --wrap: 1200px;
  --head: "Barlow Condensed", "Arial Narrow", sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 16px/1.6 var(--body);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--head); font-weight: 700; line-height: 1.05; letter-spacing: 0.01em; margin: 0 0 0.5em; text-transform: uppercase; }
h1 { font-size: clamp(2.6rem, 6vw, 4.8rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: 1.35rem; }
p { margin: 0 0 1em; }
.muted { color: var(--muted); }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 12px; top: 12px; background: var(--accent); color: var(--accent-ink); padding: 8px 12px; z-index: 100; }
.eyebrow { font: 600 0.8rem/1 var(--body); letter-spacing: 0.18em; text-transform: uppercase; color: var(--accent); margin-bottom: 14px; display: block; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--accent); color: var(--accent-ink);
  font: 700 1.05rem/1 var(--head); letter-spacing: 0.06em; text-transform: uppercase;
  padding: 15px 26px; border-radius: 6px; border: 0; text-decoration: none; cursor: pointer;
  transition: transform .15s ease, background .15s ease;
}
.btn:hover { background: #ff2a6a; transform: translateY(-1px); }
.btn:disabled { opacity: .5; cursor: progress; transform: none; }
.btn-ghost { background: transparent; color: var(--text); box-shadow: inset 0 0 0 1px var(--line); }
.btn-ghost:hover { background: var(--panel); }
.btn-small { padding: 10px 16px; font-size: 0.95rem; }
.btn-block { width: 100%; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(11,13,16,.88); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: block; line-height: 0; }
.brand img { height: 46px; width: auto; }
.brand-footer img { height: 52px; }
.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav a:not(.btn) { text-decoration: none; color: var(--muted); font-weight: 500; font-size: 0.95rem; }
.site-nav a:not(.btn):hover, .site-nav a[aria-current] { color: var(--text); }
.nav-toggle { display: none; background: none; border: 1px solid var(--line); color: var(--text); padding: 8px 14px; border-radius: 6px; font: inherit; }
@media (max-width: 1000px) {
  .nav-toggle { display: block; }
  .site-nav { display: none; position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--bg-2); border-bottom: 1px solid var(--line); padding: 8px 20px 20px; }
  .site-nav.open { display: flex; }
  .site-nav a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .site-nav .btn { margin-top: 16px; }
}

/* Hero */
.hero { position: relative; min-height: min(88vh, 820px); display: flex; align-items: flex-end; overflow: hidden; }
.hero-media { position: absolute; inset: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11,13,16,.2) 0%, rgba(11,13,16,.55) 50%, var(--bg) 100%), linear-gradient(90deg, rgba(11,13,16,.85) 0%, rgba(11,13,16,0) 65%); }
.hero-content { position: relative; padding-bottom: 80px; max-width: 760px; }
.hero-content p { font-size: 1.15rem; color: #cfd6df; max-width: 560px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

.page-head { padding: 72px 0 40px; border-bottom: 1px solid var(--line); background: radial-gradient(1000px 300px at 10% 0%, rgba(229,10,79,.12), transparent 60%); }
.page-head p { max-width: 680px; color: #cfd6df; font-size: 1.1rem; }

/* Sections */
.section { padding: 96px 0; }
.section-alt { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 40px; flex-wrap: wrap; }
.section-head p { max-width: 520px; margin: 0; }

.usp-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.usp { background: var(--bg); padding: 28px; }
.usp b { font: 700 2.4rem/1 var(--head); color: var(--accent); display: block; margin-bottom: 10px; }
.usp p { margin: 0; color: var(--muted); }
@media (max-width: 860px) { .usp-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .usp-grid { grid-template-columns: 1fr; } }

/* Product cards */
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(330px, 1fr)); gap: 20px; }
.product-card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; text-decoration: none; display: flex; flex-direction: column; transition: border-color .2s ease, transform .2s ease; }
.product-card:hover { border-color: var(--accent); transform: translateY(-3px); }
.product-card .media { aspect-ratio: 4 / 3; overflow: hidden; background: #000; }
.product-card .media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.product-card:hover .media img { transform: scale(1.04); }
.product-card .body { padding: 22px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.product-card .tier { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.product-card h3 { font-size: 1.8rem; margin: 0; }
.product-card p { color: var(--muted); margin: 0; font-size: .95rem; }
.product-card .price { margin-top: auto; padding-top: 16px; display: flex; justify-content: space-between; align-items: baseline; }
.product-card .price strong { font: 700 1.6rem/1 var(--head); }
.product-card .price span { color: var(--accent); font-weight: 600; font-size: .9rem; }
.vat-note { font-size: .8rem; color: var(--muted); }

/* Split / feature blocks */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split img { border-radius: var(--radius); width: 100%; aspect-ratio: 4/3; object-fit: cover; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; gap: 32px; } }
.ticks { list-style: none; padding: 0; margin: 0 0 1.5em; }
.ticks li { padding: 8px 0 8px 30px; position: relative; border-bottom: 1px solid var(--line); }
.ticks li::before { content: ""; position: absolute; left: 0; top: 15px; width: 14px; height: 8px; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg); }

/* Reviews */
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.review { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; margin: 0; }
.review h3 { font-size: 1.3rem; }
.review blockquote { margin: 0; color: #cfd6df; }
.stars { color: var(--accent); letter-spacing: 3px; margin-bottom: 12px; }
@media (max-width: 860px) { .reviews { grid-template-columns: 1fr; } }

.cta-band { background: var(--accent); color: var(--accent-ink); }
.cta-band .wrap { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding-top: 56px; padding-bottom: 56px; flex-wrap: wrap; }
.cta-band h2 { margin: 0; }
.cta-band .btn { background: #fff; color: var(--accent); }

/* Product page */
.product-hero { display: grid; grid-template-columns: 1.25fr 1fr; gap: 48px; padding: 48px 0 64px; }
@media (max-width: 960px) { .product-hero { grid-template-columns: 1fr; gap: 28px; } }
.gallery-main { aspect-ratio: 4/3; border-radius: var(--radius); overflow: hidden; background: #000; border: 1px solid var(--line); }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 10px; }
.gallery-thumbs button { padding: 0; border: 1px solid var(--line); border-radius: 6px; overflow: hidden; background: #fff; cursor: pointer; aspect-ratio: 1; }
.gallery-thumbs button[aria-pressed="true"] { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); }
.gallery-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.from-price { font: 700 2.4rem/1 var(--head); margin: 18px 0 4px; }
.from-price small { font: 500 1rem var(--body); color: var(--muted); margin-right: 6px; }
.included-list { columns: 2; column-gap: 24px; padding: 0; list-style: none; margin: 20px 0; font-size: .92rem; }
.included-list li { break-inside: avoid; padding: 6px 0; border-bottom: 1px solid var(--line); }
.included-list li small { display: block; color: var(--muted); font-size: .8rem; }
.included-list li span { display: block; color: var(--muted); font-size: .75rem; text-transform: uppercase; letter-spacing: .1em; }
@media (max-width: 520px) { .included-list { columns: 1; } }

/* Configurator */
.configurator { display: grid; grid-template-columns: 1fr 380px; gap: 40px; align-items: start; }
@media (max-width: 960px) { .configurator { grid-template-columns: 1fr; } }
.opt-group { border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); padding: 22px; margin: 0 0 16px; }
.opt-group legend { float: left; width: 100%; padding: 0; margin-bottom: 4px; font: 700 1.3rem/1.2 var(--head); text-transform: uppercase; letter-spacing: .02em; }
.opt-group .help { clear: both; color: var(--muted); font-size: .88rem; margin: 0 0 12px; }
.opt-group legend + .choices { clear: both; padding-top: 8px; }
.choices { display: grid; gap: 8px; }
.choice { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 8px; cursor: pointer; background: var(--bg-2); transition: border-color .15s ease, background .15s ease; }
.choice:hover { border-color: #3a424e; }
.choice input { appearance: none; width: 18px; height: 18px; border-radius: 50%; border: 2px solid #4a5462; margin: 0; flex: none; display: grid; place-content: center; }
.choice input::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); transform: scale(0); transition: transform .12s ease; }
.choice input:checked { border-color: var(--accent); }
.choice input[type="checkbox"] { border-radius: 4px; }
.choice input[type="checkbox"]::before { width: 10px; height: 10px; border-radius: 2px; }
.choice input:checked::before { transform: scale(1); }
.choice input:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.choice:has(input:checked) { border-color: var(--accent); background: rgba(229,10,79,.07); }
.choice .label { flex: 1; }
.choice .label small, .fixed-choice .label small { display: block; color: var(--muted); font-size: .82rem; margin-top: 2px; }
.choice .delta { font-weight: 600; white-space: nowrap; color: var(--muted); font-size: .92rem; }
.choice:has(input:checked) .delta { color: var(--text); }
.opt-note { margin: 10px 0 0; color: #cfd6df; }
.fixed-choice { display: flex; justify-content: space-between; padding: 12px 0 0; clear: both; color: #cfd6df; }

.summary { position: sticky; top: 92px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.summary h3 { font-size: 1.6rem; margin-bottom: 4px; }
.summary-lines { list-style: none; padding: 0; margin: 16px 0; font-size: .9rem; max-height: 300px; overflow: auto; }
.summary-lines li { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; border-bottom: 1px solid var(--line); }
.summary-lines li span:first-child { color: var(--muted); }
.summary-lines li span:last-child { white-space: nowrap; }
.totals { display: grid; gap: 6px; margin: 16px 0 20px; font-size: .95rem; }
.totals div { display: flex; justify-content: space-between; }
.totals .grand { font: 700 2rem/1.1 var(--head); padding-top: 10px; border-top: 1px solid var(--line); margin-top: 6px; }
.totals .grand span:first-child { font-size: 1.1rem; align-self: end; }
.summary .btn + .btn { margin-top: 10px; }
.summary .fine { font-size: .8rem; color: var(--muted); margin: 14px 0 0; }
.form-error { color: #ff8a80; font-size: .9rem; margin: 10px 0 0; }
@media (max-width: 960px) { .summary { position: static; } }

/* Mobile price bar */
.price-bar { display: none; }
@media (max-width: 960px) {
  .price-bar { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; background: var(--panel); border-top: 1px solid var(--line); padding: 12px 20px; justify-content: space-between; align-items: center; }
  .price-bar strong { font: 700 1.6rem/1 var(--head); }
  body.has-price-bar { padding-bottom: 76px; }
}

/* FAQ */
.faq { max-width: 820px; }
.faq details { border-bottom: 1px solid var(--line); padding: 20px 0; }
.faq summary { cursor: pointer; font: 700 1.35rem/1.2 var(--head); text-transform: uppercase; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::after { content: "+"; color: var(--accent); font-size: 1.6rem; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: #cfd6df; margin-top: 14px; }

/* Forms */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 620px) { .form-grid { grid-template-columns: 1fr; } }
label.field { display: grid; gap: 6px; font-size: .9rem; color: var(--muted); }
.field input, .field textarea, .field select { font: inherit; color: var(--text); background: var(--bg-2); border: 1px solid var(--line); border-radius: 8px; padding: 12px 14px; }
.field input:focus, .field textarea:focus { outline: 2px solid var(--accent); outline-offset: 0; border-color: transparent; }
.hp { position: absolute; left: -9999px; }
.contact-cards { display: grid; gap: 16px; }
.contact-card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.contact-card h3 { margin-bottom: 6px; }
.contact-card a { color: var(--accent); text-decoration: none; font-weight: 600; }
.notice { padding: 14px 16px; border-radius: 8px; background: rgba(60,207,142,.1); border: 1px solid rgba(60,207,142,.35); }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 64px 0 28px; background: var(--bg-2); margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; }
.footer-grid h3 { font-size: 1rem; color: var(--muted); }
.footer-grid p { color: #cfd6df; font-size: .95rem; }
.footer-grid a { text-decoration: none; }
.footer-grid a:hover { color: var(--accent); }
.brand-footer { margin-bottom: 14px; }
.footer-base { display: flex; justify-content: space-between; border-top: 1px solid var(--line); margin-top: 40px; padding-top: 22px; font-size: .85rem; color: var(--muted); }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* Ad landing page (/overview/) */
.lp-hero { padding: 56px 0 72px; background: radial-gradient(900px 400px at 85% 10%, rgba(229,10,79,.14), transparent 60%); }
.lp-hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.lp-hero h1 { font-size: clamp(2.6rem, 5.5vw, 4.4rem); }
.lp-hero .lede { font-size: 1.2rem; color: #cfd6df; }
.lp-hero .ticks { max-width: 520px; }
.lp-video { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: #000; aspect-ratio: 4 / 3; width: 100%; }
.lp-video video { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (max-width: 860px) {
  .lp-hero-grid { grid-template-columns: 1fr; gap: 32px; }
}
.video-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 620px) { .video-grid { grid-template-columns: 1fr; } }
.video-card { margin: 0; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.video-card video { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: #000; display: block; }
.video-card figcaption { padding: 14px 16px; font-size: .9rem; color: #cfd6df; }
.video-card figcaption b { display: block; font: 700 1.15rem/1.2 var(--head); text-transform: uppercase; color: var(--text); margin-bottom: 2px; }
.lp-form { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: start; }
@media (max-width: 860px) { .lp-form { grid-template-columns: 1fr; gap: 28px; } }
.form-card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.form-note { font-size: .8rem; color: var(--muted); margin: 10px 0 0; }
.form-note a { color: var(--muted); }

/* Comparison table (/racing-simulators/) */
.compare-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg); }
.compare-scroll:focus-visible { outline: 2px solid var(--accent); }
.compare { width: 100%; min-width: 980px; border-collapse: collapse; font-size: .9rem; }
.compare th, .compare td { padding: 14px 16px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.compare thead th { vertical-align: bottom; padding-top: 22px; }
.compare thead th a { display: block; font: 700 1.6rem/1 var(--head); text-transform: uppercase; text-decoration: none; }
.compare thead th a:hover { color: var(--accent); }
.compare .cmp-price { display: block; font: 700 1.25rem/1 var(--head); color: var(--accent); margin-top: 8px; }
.compare thead small { color: var(--muted); font-weight: 400; font-size: .75rem; }
.compare tbody th { color: var(--muted); font-weight: 600; font-size: .75rem; text-transform: uppercase; letter-spacing: .1em; white-space: nowrap; }
.compare td small { display: block; color: var(--muted); font-size: .8rem; margin-top: 2px; }
.compare tbody tr:nth-child(even) td, .compare tbody tr:nth-child(even) th { background: rgba(255,255,255,.02); }
.compare th[scope="row"], .compare thead td { position: sticky; left: 0; background: var(--bg); z-index: 1; }
.compare tbody tr:nth-child(even) th[scope="row"] { background: #0e1014; }
.compare .cmp-cta td { border-bottom: 0; padding-bottom: 22px; }

/* Staff leads page (/leads/) */
.lead-filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 20px; }
.lead-filters button { font: inherit; font-size: .85rem; color: var(--text); background: var(--panel); border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; cursor: pointer; }
.lead-filters button[aria-pressed="true"] { border-color: var(--accent); background: rgba(229,10,79,.12); }
.leads { width: 100%; min-width: 860px; border-collapse: collapse; font-size: .9rem; }
.leads th, .leads td { padding: 12px 14px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.leads th { color: var(--muted); font-size: .75rem; text-transform: uppercase; letter-spacing: .1em; }
.leads a { color: var(--accent); text-decoration: none; }
.leads small { color: var(--muted); }
.leads .when { white-space: nowrap; color: var(--muted); }
.leads .msg { max-width: 360px; }
.leads select { font: inherit; color: var(--text); background: var(--bg-2); border: 1px solid var(--line); border-radius: 6px; padding: 6px 8px; }
.leads tr[data-status="new"] td:first-child { box-shadow: inset 3px 0 0 var(--accent); }

/* WhatsApp button (every page) */
.wa-float {
  position: fixed; right: 18px; bottom: 18px; z-index: 55;
  display: inline-flex; align-items: center; gap: 8px;
  background: #25d366; color: #0b2e1a; text-decoration: none;
  font: 600 .95rem/1 var(--body); padding: 12px 16px; border-radius: 999px;
  box-shadow: 0 8px 24px rgba(0,0,0,.35); transition: transform .15s ease;
}
.wa-float:hover { transform: translateY(-2px); }
@media (max-width: 960px) { body.has-price-bar .wa-float { bottom: 88px; } }
@media (max-width: 520px) { .wa-float span { display: none; } .wa-float { padding: 13px; } }

/* Cookie banner */
.cookie-banner {
  position: fixed; z-index: 60; left: 16px; right: 16px; bottom: 16px; max-width: 560px;
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 18px 20px; box-shadow: 0 12px 40px rgba(0,0,0,.5);
  display: flex; gap: 16px; align-items: center; flex-wrap: wrap;
}
.cookie-banner p { margin: 0; flex: 1 1 260px; font-size: .9rem; color: #cfd6df; }
.cookie-banner a { color: var(--accent); }
.cookie-actions { display: flex; gap: 8px; }
@media (max-width: 960px) { body.has-price-bar .cookie-banner { bottom: 92px; } }
.footer-links { display: flex; gap: 20px; flex: none; }
.footer-legal { max-width: 760px; line-height: 1.5; }
@media (max-width: 720px) { .footer-base { flex-direction: column; gap: 14px; } }
.link-btn { background: none; border: 0; padding: 0; font: inherit; color: inherit; cursor: pointer; }
.link-btn:hover, .footer-base a:hover { color: var(--accent); }

.prose { max-width: 760px; }
.prose h2 { font-size: 2rem; margin-top: 1.4em; }
.test-banner { background: repeating-linear-gradient(45deg, #ffcc00, #ffcc00 12px, #111 12px, #111 24px); padding: 3px 0; }
.test-banner div { background: #ffcc00; color: #111; text-align: center; font: 700 .8rem/1.8 var(--body); letter-spacing: .1em; text-transform: uppercase; }

/* Add-a-lead form on the staff leads page */
.add-lead { margin: 8px 0 16px; }
.add-lead > summary { list-style: none; display: inline-flex; }
.add-lead > summary::-webkit-details-marker { display: none; }
.add-lead[open] > summary { margin-bottom: 14px; }
.add-lead select { font: inherit; color: var(--text); background: var(--bg-2); border: 1px solid var(--line); border-radius: 8px; padding: 12px 14px; }
