/* TapRacer website / press kit. No external resources on purpose: no web fonts, no scripts,
   no third-party requests — the privacy policy promises exactly that. */
:root {
  --bg: #0f1012;
  --panel: #191b1f;
  --text: #ececec;
  --muted: #a3a7ad;
  --accent: #ffb000;
  --line: #2a2d33;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  overflow-wrap: break-word;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
}
a { color: var(--accent); }
img { max-width: 100%; height: auto; display: block; }
.wrap { max-width: 64rem; margin: 0 auto; padding: 0 1rem; }
header.hero { position: relative; }
header.hero img { width: 100%; aspect-ratio: 3840 / 1240; object-fit: cover; }
.topbar { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 0.75rem 0; font-size: 0.9rem; }
.topbar nav a { margin-left: 1rem; }
h1 { font-size: clamp(1.8rem, 5vw, 2.6rem); margin: 1.5rem 0 0.25rem; letter-spacing: 0.02em; }
h2 { font-size: 1.35rem; margin: 3rem 0 1rem; padding-bottom: 0.4rem; border-bottom: 1px solid var(--line); }
h3 { font-size: 1.05rem; margin: 1.5rem 0 0.5rem; }
.lead { font-size: 1.15rem; color: var(--text); max-width: 46rem; }
.muted { color: var(--muted); }
.buttons { display: flex; flex-wrap: wrap; gap: 0.75rem; margin: 1.5rem 0; }
.button {
  display: inline-block; padding: 0.7rem 1.2rem; border-radius: 6px; text-decoration: none; font-weight: 600;
  background: var(--accent); color: #111;
}
.button.secondary { background: transparent; color: var(--accent); border: 1px solid var(--accent); }
.facts { width: 100%; border-collapse: collapse; }
.facts th, .facts td { text-align: left; vertical-align: top; padding: 0.5rem 0.75rem 0.5rem 0; border-bottom: 1px solid var(--line); }
.facts td { overflow-wrap: anywhere; }
.facts th { width: 11rem; color: var(--muted); font-weight: 500; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(18rem, 100%), 1fr)); gap: 1rem; }
.grid figure { margin: 0; background: var(--panel); border-radius: 6px; overflow: hidden; }
.grid figcaption { padding: 0.5rem 0.75rem; font-size: 0.9rem; color: var(--muted); }
video { width: 100%; border-radius: 6px; background: #000; }
.panel { background: var(--panel); border-radius: 6px; padding: 1rem 1.25rem; }
ul { padding-left: 1.2rem; }
footer { margin: 4rem 0 2rem; padding-top: 1rem; border-top: 1px solid var(--line); font-size: 0.9rem; color: var(--muted); }
footer a { margin-right: 1rem; }
@media (max-width: 40rem) {
  .facts th { width: 8rem; }
  .topbar nav a { margin-left: 0.6rem; }
}
