/* SuperCarSpeed — "Telemetry" design system
   Carbon ground, velocity green signal, timing-screen furniture.
   Display: Barlow Condensed · Body: Inter · Data: JetBrains Mono (all self-hosted). */

:root {
  --ink: #05070a;
  --ink-2: #090d12;
  --panel: #0e131a;
  --panel-2: #141b24;
  --line: #1d2732;
  --line-soft: #151d26;
  --text: #e8eef5;
  --text-2: #b8c4d1;
  --muted: #8494a4;
  --signal: #c6ff2e;
  --signal-lo: rgba(198, 255, 46, 0.12);
  --signal-hi: #d9ff6b;
  --ice: #4dd8ff;
  --ok: #4ade80;

  --wrap: 1240px;
  --read: 720px;
  --r: 3px;

  --f-display: "Barlow Condensed", ui-sans-serif, system-ui, sans-serif;
  --f-body: "Inter", ui-sans-serif, system-ui, sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font-family: var(--f-body);
  font-size: 17px;
  line-height: 1.65;
  font-feature-settings: "kern", "liga";
  -webkit-font-smoothing: antialiased;
}

img, svg, video { max-width: 100%; height: auto; display: block; }

a { color: var(--text); text-decoration-color: rgba(198, 255, 46, .55); text-underline-offset: 3px; }
a:hover { color: var(--signal-hi); }

:where(a, button, summary, input, textarea, select, [tabindex]):focus-visible {
  outline: 2px solid var(--signal);
  outline-offset: 2px;
  border-radius: 2px;
}

.skip {
  position: absolute; left: -9999px; top: 0;
  background: var(--signal); color: #05070a; padding: .6rem 1rem; z-index: 200;
  font: 600 .85rem/1 var(--f-mono);
}
.skip:focus { left: .5rem; top: .5rem; }

.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }

/* ── Furniture: mono labels, rules, corner ticks ─────────────────── */

.eyebrow {
  font: 500 .72rem/1 var(--f-mono);
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
  display: flex; align-items: center; gap: .6rem;
}
.eyebrow::before {
  content: "";
  width: 18px; height: 1px; background: var(--signal); flex: none;
}
.eyebrow--plain::before { display: none; }

.rule { height: 1px; background: var(--line); border: 0; margin: 0; }

.ticked { position: relative; }
.ticked::before,
.ticked::after {
  content: ""; position: absolute; width: 9px; height: 9px; pointer-events: none;
  border-color: var(--line); border-style: solid;
}
.ticked::before { top: -1px; left: -1px; border-width: 1px 0 0 1px; }
.ticked::after { bottom: -1px; right: -1px; border-width: 0 1px 1px 0; }

/* ── Header ──────────────────────────────────────────────────────── */

.top {
  position: sticky; top: 0; z-index: 100;
  background: rgba(7, 9, 12, .86);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.top__in { display: flex; align-items: center; gap: 1.5rem; min-height: 62px; }

.brand { display: flex; align-items: center; gap: .6rem; text-decoration: none; flex: none; }
.brand__mark { width: 26px; height: 26px; flex: none; }
.brand__name {
  font: 700 1.02rem/1 var(--f-display);
  letter-spacing: .02em; color: var(--text);
}
.brand__name b { color: var(--signal); font-weight: 700; }

.nav { display: flex; flex-wrap: wrap; gap: .15rem; margin-left: auto; }
.nav a {
  font: 500 .78rem/1 var(--f-mono);
  letter-spacing: .06em; text-transform: uppercase;
  color: var(--muted); text-decoration: none;
  padding: .5rem .6rem; border-radius: var(--r);
}
.nav a:hover { color: var(--text); background: var(--panel); }
.nav a[aria-current] { color: var(--signal); }

.top__more { display: none; }

@media (max-width: 1080px) {
  .nav { display: none; }
  .top__more { display: block; margin-left: auto; }
  .menu > summary {
    list-style: none; cursor: pointer;
    font: 500 .78rem/1 var(--f-mono); letter-spacing: .08em; text-transform: uppercase;
    color: var(--text); padding: .55rem .8rem;
    border: 1px solid var(--line); border-radius: var(--r); background: var(--panel);
  }
  .menu > summary::-webkit-details-marker { display: none; }
  .menu[open] > summary { border-color: var(--signal); color: var(--signal); }
  .menu__panel {
    position: absolute; right: 1.25rem; left: 1.25rem; margin-top: .55rem;
    background: var(--ink-2); border: 1px solid var(--line); border-radius: var(--r);
    padding: .5rem; display: grid; gap: .1rem;
    box-shadow: 0 24px 60px rgba(0, 0, 0, .6);
  }
  .menu__panel a {
    font: 500 .82rem/1 var(--f-mono); letter-spacing: .05em; text-transform: uppercase;
    color: var(--text-2); text-decoration: none; padding: .7rem .75rem; border-radius: 2px;
  }
  .menu__panel a:hover { background: var(--panel); color: var(--signal); }
}

/* ── Hero ────────────────────────────────────────────────────────── */

.hero {
  position: relative; overflow: hidden;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(1100px 460px at 78% -10%, rgba(198, 255, 46, .11), transparent 62%),
    linear-gradient(180deg, var(--ink-2), var(--ink));
}
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, .028) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, .028) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(180deg, #000 0%, transparent 82%);
}
.hero__in { position: relative; padding: clamp(3rem, 8vw, 6rem) 0 clamp(2.5rem, 6vw, 4rem); }
.hero h1 {
  font-family: var(--f-display);
  font-size: clamp(2.1rem, 5.6vw, 4rem);
  line-height: 1.04; letter-spacing: -.02em; font-weight: 700;
  margin: 1.1rem 0 0; max-width: 20ch;
}
.hero h1 em { font-style: normal; color: var(--signal); }
.hero__lead {
  margin: 1.2rem 0 0; max-width: 62ch;
  font-size: 1.08rem; color: var(--text-2);
}
.hero__stats {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 1px; background: var(--line); border: 1px solid var(--line);
  margin-top: 2.4rem;
}
.hero__stat { background: var(--ink-2); padding: 1.1rem 1.2rem; }
.hero__stat b {
  display: block; font: 500 1.65rem/1 var(--f-mono);
  color: var(--signal); letter-spacing: -.02em;
}
.hero__stat span { display: block; margin-top: .45rem; font-size: .84rem; color: var(--muted); }

/* ── Section headers ─────────────────────────────────────────────── */

.band { padding: clamp(3rem, 7vw, 4.6rem) 0; }
.band--tight { padding: clamp(2rem, 4vw, 3rem) 0; }
.band + .band { border-top: 1px solid var(--line-soft); }

.head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; }
.head h2 {
  font-family: var(--f-display); font-weight: 600;
  font-size: clamp(1.5rem, 3.2vw, 2.15rem); letter-spacing: -.015em;
  margin: .7rem 0 0;
}
.head p { margin: .5rem 0 0; color: var(--muted); max-width: 60ch; }
.head__link {
  font: 500 .78rem/1 var(--f-mono); letter-spacing: .08em; text-transform: uppercase;
  color: var(--signal); text-decoration: none; white-space: nowrap;
}
.head__link:hover { text-decoration: underline; }

/* ── Cards ───────────────────────────────────────────────────────── */

.grid { display: grid; gap: 1.4rem; margin-top: 2.2rem; }
.grid--3 { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }

.card {
  position: relative; display: flex; flex-direction: column;
  background: var(--panel); border: 1px solid var(--line);
  border-radius: var(--r); overflow: hidden;
  transition: border-color .18s ease, transform .18s ease;
}
.card:hover { border-color: #33404f; transform: translateY(-2px); }
.card__img { aspect-ratio: 16 / 9; background: var(--panel-2); overflow: hidden; }
.card__img img { width: 100%; height: 100%; object-fit: cover; }
.card__body { padding: 1.1rem 1.15rem 1.25rem; display: flex; flex-direction: column; flex: 1; }
.card__kicker {
  font: 500 .68rem/1 var(--f-mono); letter-spacing: .14em; text-transform: uppercase;
  color: var(--signal);
}
.card__title {
  font-family: var(--f-display); font-weight: 600; font-size: 1.06rem; line-height: 1.32;
  margin: .6rem 0 0; letter-spacing: -.01em;
}
.card__title a { text-decoration: none; }
.card__title a::after { content: ""; position: absolute; inset: 0; }
.card__excerpt { margin: .55rem 0 0; font-size: .92rem; color: var(--muted); }
.card__meta {
  margin-top: auto; padding-top: .9rem;
  font: 400 .72rem/1 var(--f-mono); color: #6c7b8b; letter-spacing: .04em;
}

.card--flat .card__img { display: none; }

/* Section tiles on the front page */
.tile {
  position: relative; display: block; text-decoration: none;
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--r);
  padding: 1.2rem 1.2rem 1.3rem; transition: border-color .18s ease, background .18s ease;
}
.tile:hover { border-color: var(--signal); background: var(--panel-2); }
.tile__no { font: 500 .72rem/1 var(--f-mono); color: var(--signal); letter-spacing: .1em; }
.tile__name {
  display: block; margin: .8rem 0 0;
  font-family: var(--f-display); font-weight: 600; font-size: 1.12rem; letter-spacing: -.01em;
  color: var(--text);
}
.tile__lead { margin: .5rem 0 0; font-size: .9rem; color: var(--muted); }
.tile__count { margin-top: .9rem; font: 400 .72rem/1 var(--f-mono); color: #6c7b8b; }

/* ── Article ─────────────────────────────────────────────────────── */

.crumbs {
  font: 400 .74rem/1.5 var(--f-mono); color: var(--muted);
  padding: 1.1rem 0 0; letter-spacing: .03em;
}
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--signal); }
.crumbs span { color: #4d5a68; margin: 0 .45rem; }

.arthead { padding: 1.4rem 0 2.2rem; border-bottom: 1px solid var(--line); }
.arthead h1 {
  font-family: var(--f-display); font-weight: 700;
  font-size: clamp(1.85rem, 4.4vw, 3rem); line-height: 1.08; letter-spacing: -.022em;
  margin: 1rem 0 0; max-width: 24ch;
}
.arthead__stand {
  margin: 1.1rem 0 0; max-width: 68ch; font-size: 1.1rem; color: var(--text-2);
}
.byline {
  display: flex; flex-wrap: wrap; align-items: center; gap: .55rem;
  margin-top: 1.6rem; font: 400 .76rem/1 var(--f-mono); color: var(--muted); letter-spacing: .04em;
}
.byline b { color: var(--text-2); font-weight: 500; }
.byline i { font-style: normal; color: #4d5a68; }

.artfig { margin: 2.2rem 0 0; }
.artfig img { width: 100%; border: 1px solid var(--line); border-radius: var(--r); }
.artfig figcaption {
  margin-top: .6rem; font: 400 .74rem/1.5 var(--f-mono); color: #6c7b8b;
}

.layout {
  display: grid; grid-template-columns: minmax(0, 1fr); gap: 2.5rem;
  padding: 2.6rem 0 4rem;
}
@media (min-width: 1080px) {
  .layout { grid-template-columns: minmax(0, 1fr) 280px; gap: 3.4rem; }
}

.prose { max-width: var(--read); font-size: 1.06rem; }
.prose > * + * { margin-top: 1.15rem; }
.prose h2 {
  font-family: var(--f-display); font-weight: 600;
  font-size: clamp(1.32rem, 2.6vw, 1.65rem); letter-spacing: -.015em;
  margin-top: 2.8rem; padding-top: 1.4rem; border-top: 1px solid var(--line-soft);
  scroll-margin-top: 5rem;
}
.prose h3 {
  font-family: var(--f-display); font-weight: 600; font-size: 1.13rem;
  margin-top: 2rem; letter-spacing: -.01em; scroll-margin-top: 5rem;
}
.prose p { color: var(--text-2); }
.prose strong { color: var(--text); font-weight: 600; }
.prose ul, .prose ol { padding-left: 1.15rem; color: var(--text-2); }
.prose li + li { margin-top: .45rem; }
.prose li::marker { color: var(--signal); }
.prose a { color: var(--text); }
.prose a[target="_blank"] { text-decoration-color: var(--signal); }

.lede { font-size: 1.14rem; color: var(--text); }
.lede strong { color: var(--signal-hi); }

/* Key figures block */
.figs {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1px; background: var(--line); border: 1px solid var(--line);
  margin-top: 1.8rem;
}
.figs div { background: var(--ink-2); padding: .95rem 1rem; }
.figs b { display: block; font: 500 1.28rem/1.1 var(--f-mono); color: var(--signal); }
.figs span { display: block; margin-top: .4rem; font-size: .8rem; color: var(--muted); line-height: 1.4; }

/* Tables */
.tablewrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r); margin-top: 1.8rem; }
table { border-collapse: collapse; width: 100%; min-width: 520px; font-size: .93rem; }
caption {
  caption-side: top; text-align: left; padding: .85rem 1rem;
  font: 500 .72rem/1.4 var(--f-mono); letter-spacing: .1em; text-transform: uppercase;
  color: var(--muted); background: var(--ink-2); border-bottom: 1px solid var(--line);
}
th, td { padding: .7rem 1rem; text-align: left; border-bottom: 1px solid var(--line-soft); vertical-align: top; }
thead th {
  font: 500 .74rem/1.3 var(--f-mono); letter-spacing: .07em; text-transform: uppercase;
  color: var(--muted); background: var(--ink-2); white-space: nowrap;
}
tbody tr:last-child td { border-bottom: 0; }
tbody tr:nth-child(even) td { background: rgba(255, 255, 255, .015); }
td.num, th.num { font-family: var(--f-mono); font-size: .88rem; white-space: nowrap; }
.prose table strong { color: var(--text); }

/* Callout */
.note {
  border-left: 2px solid var(--signal); background: var(--signal-lo);
  padding: .95rem 1.1rem; border-radius: 0 var(--r) var(--r) 0;
  font-size: .97rem; color: var(--text-2); margin-top: 1.8rem;
}
.note b { color: var(--text); }

/* FAQ */
.faq { margin-top: 1.4rem; border-top: 1px solid var(--line-soft); }
.faq details { border-bottom: 1px solid var(--line-soft); }
.faq summary {
  cursor: pointer; list-style: none; padding: 1rem 2rem 1rem 0; position: relative;
  font-family: var(--f-display); font-weight: 600; font-size: 1.02rem; color: var(--text);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: .25rem; top: .9rem;
  font: 400 1.3rem/1 var(--f-mono); color: var(--signal);
}
.faq details[open] summary::after { content: "\2212"; }
.faq details > div { padding: 0 0 1.1rem; color: var(--text-2); font-size: .99rem; }
.faq details > div > * + * { margin-top: .8rem; }

/* Sources */
.sources { margin-top: 1.2rem; font-size: .95rem; }
.sources ol { padding-left: 1.3rem; color: var(--text-2); }
.sources li { margin-top: .6rem; }
.sources cite { font-style: normal; color: var(--muted); font-size: .88rem; display: block; margin-top: .15rem; }

/* Sidebar */
.side { align-self: start; position: sticky; top: 5rem; display: grid; gap: 1.6rem; }
@media (max-width: 1079px) { .side { position: static; } }
.side__box { border: 1px solid var(--line); border-radius: var(--r); background: var(--panel); padding: 1.1rem 1.15rem; }
.side__box h2 {
  font: 500 .72rem/1 var(--f-mono); letter-spacing: .14em; text-transform: uppercase;
  color: var(--muted); margin: 0 0 .9rem;
}
.toc ol { list-style: none; margin: 0; padding: 0; counter-reset: toc; }
.toc li { counter-increment: toc; }
.toc li + li { margin-top: .55rem; }
.toc a { display: flex; gap: .6rem; font-size: .9rem; color: var(--text-2); text-decoration: none; line-height: 1.4; }
.toc a::before {
  content: counter(toc, decimal-leading-zero);
  font: 400 .72rem/1.6 var(--f-mono); color: #4d5a68; flex: none;
}
.toc a:hover { color: var(--signal); }
.side__list { list-style: none; margin: 0; padding: 0; display: grid; gap: .8rem; }
.side__list a { font-size: .92rem; text-decoration: none; color: var(--text-2); line-height: 1.4; }
.side__list a:hover { color: var(--signal); }

/* ── Pagination ──────────────────────────────────────────────────── */

.pager { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: 2.6rem; }
.pager a, .pager span {
  font: 500 .8rem/1 var(--f-mono); padding: .6rem .8rem;
  border: 1px solid var(--line); border-radius: var(--r); text-decoration: none; color: var(--text-2);
}
.pager a:hover { border-color: var(--signal); color: var(--signal); }
.pager [aria-current] { background: var(--signal); border-color: var(--signal); color: #05070a; }

/* ── Footer ──────────────────────────────────────────────────────── */

.foot { border-top: 1px solid var(--line); background: var(--ink-2); padding: 3rem 0 2rem; margin-top: 2rem; }
.foot__cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 2rem; }
.foot h2 {
  font: 500 .7rem/1 var(--f-mono); letter-spacing: .14em; text-transform: uppercase;
  color: var(--muted); margin: 0 0 1rem;
}
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.foot a { font-size: .92rem; color: var(--text-2); text-decoration: none; }
.foot a:hover { color: var(--signal); }
.foot__note {
  margin-top: 2.6rem; padding-top: 1.4rem; border-top: 1px solid var(--line);
  font-size: .82rem; color: #6c7b8b; display: flex; flex-wrap: wrap; gap: 1rem 1.6rem; justify-content: space-between;
}
.foot__note p { margin: 0; max-width: 70ch; }

/* ── WhatsApp button ─────────────────────────────────────────────── */

.wa {
  position: fixed; right: 1rem; bottom: 1rem; z-index: 90;
  width: 52px; height: 52px; border-radius: 50%;
  background: #25d366; display: grid; place-items: center;
  box-shadow: 0 10px 26px rgba(0, 0, 0, .45);
}
.wa svg { width: 27px; height: 27px; fill: #05070a; }
.wa:hover { filter: brightness(1.06); }

/* ── Legal / plain pages ─────────────────────────────────────────── */

.plain { max-width: var(--read); padding: 2.4rem 0 4rem; }
.plain h1 {
  font-family: var(--f-display); font-weight: 700; letter-spacing: -.02em;
  font-size: clamp(1.7rem, 4vw, 2.5rem); margin: 1rem 0 1.4rem;
}
.plain h2 {
  font-family: var(--f-display); font-weight: 600; font-size: 1.2rem;
  margin-top: 2.2rem; padding-top: 1.2rem; border-top: 1px solid var(--line-soft);
}
.plain p, .plain li { color: var(--text-2); font-size: 1rem; }
.plain dl { display: grid; grid-template-columns: max-content 1fr; gap: .5rem 1.4rem; margin: 1.2rem 0 0; }
.plain dt { font: 500 .78rem/1.6 var(--f-mono); color: var(--muted); letter-spacing: .04em; }
.plain dd { margin: 0; color: var(--text-2); }
@media (max-width: 560px) { .plain dl { grid-template-columns: 1fr; gap: .1rem 0; } .plain dd { margin-bottom: .7rem; } }

/* ── Search ──────────────────────────────────────────────────────── */

.search__form { display: flex; gap: .5rem; margin-top: 1.8rem; max-width: 560px; }
.search__form input {
  flex: 1; background: var(--panel); border: 1px solid var(--line); border-radius: var(--r);
  color: var(--text); padding: .8rem .9rem; font: 400 .98rem/1.2 var(--f-body);
}
.search__form input::placeholder { color: #5c6a79; }
.search__form button {
  background: var(--signal); border: 0; border-radius: var(--r); color: #05070a;
  font: 600 .82rem/1 var(--f-mono); letter-spacing: .08em; text-transform: uppercase;
  padding: 0 1.1rem; cursor: pointer;
}
.search__out { margin-top: 2rem; }
.search__hint { color: var(--muted); font-size: .92rem; }

/* ── Publisher's own notice, lower middle of an article ─────────────
   Labelled "About this site", not "Advertising": this is the publisher
   writing about itself, not a paid placement. Deliberately quieter than
   a member box so it reads as a footnote inside the text, not an ad. */

.axaix-agentur {
  margin: 2.4rem 0;
  padding: 1.15rem 1.3rem;
  background: var(--ink-2);
  border: 1px solid var(--line);
  border-left: 3px solid var(--signal);
  border-radius: var(--r);
}
.axaix-agentur__kicker {
  display: block;
  margin-bottom: .5rem;
  font: 500 .7rem/1 var(--f-mono);
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
}
.axaix-agentur p {
  margin: 0;
  font-size: .93rem;
  line-height: 1.6;
  color: var(--text-2);
}
.axaix-agentur a { color: var(--text); text-decoration-color: rgba(198, 255, 46, .55); }
.axaix-agentur a:hover { color: var(--signal-hi); }
