/* Horizon Racer — static site. No external fonts, scripts or trackers. */
:root {
  --bg: #0b0f17;
  --bg-2: #121826;
  --card: #161d2c;
  --line: rgba(255, 255, 255, 0.10);
  --text: #eef2f8;
  --muted: #a3adbf;
  --hot-1: #ffb13d;
  --hot-2: #ff3d1a;
  --neon: #39c6ff;
  --radius: 16px;
  --max: 880px;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.65 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

a { color: var(--neon); text-decoration: none; }
a:hover { text-decoration: underline; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(11, 15, 23, 0.85);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 60px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); font-weight: 800; letter-spacing: 0.04em; }
.brand:hover { text-decoration: none; }
.brand img { width: 32px; height: 32px; border-radius: 8px; }
.brand span b { background: linear-gradient(90deg, var(--hot-1), var(--hot-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
nav { display: flex; gap: 18px; font-size: 15px; }
nav a { color: var(--muted); }
nav a[aria-current="page"], nav a:hover { color: var(--text); text-decoration: none; }

/* Hero */
.hero { text-align: center; padding: 56px 0 24px; }
.hero .icon { width: 112px; height: 112px; border-radius: 26px; box-shadow: 0 12px 40px rgba(255, 61, 26, 0.35); }
.hero h1 { font-size: clamp(34px, 7vw, 56px); line-height: 1.05; margin: 22px 0 10px; letter-spacing: 0.02em; font-weight: 900; }
.hero h1 b { background: linear-gradient(90deg, var(--hot-1), var(--hot-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p.lead { color: var(--muted); font-size: 19px; margin: 0 auto 26px; max-width: 600px; }
.badges { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.badge { border: 1px solid var(--line); background: var(--bg-2); border-radius: 999px; padding: 5px 12px; font-size: 14px; color: var(--text); }
.btn {
  display: inline-block; padding: 12px 26px; border-radius: 12px; font-weight: 700; color: #111;
  background: linear-gradient(90deg, var(--hot-1), var(--hot-2));
}
.btn:hover { text-decoration: none; filter: brightness(1.08); }
.btn.ghost { background: transparent; color: var(--text); border: 1px solid var(--line); }
.cta { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; }

.shot { margin: 34px 0 10px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.shot img { display: block; width: 100%; height: auto; }

/* Features */
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; margin: 36px 0; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.card h3 { margin: 0 0 8px; font-size: 17px; }
.card ul { margin: 0; padding-left: 18px; color: var(--muted); }
.card li { margin: 4px 0; }

/* Documents */
/* Vertical padding only: .doc sits on the same element as .wrap, which owns the side gutters. */
.doc { padding-top: 40px; padding-bottom: 24px; }
.doc h1 { font-size: clamp(28px, 6vw, 40px); margin: 0 0 6px; }
.doc .meta { color: var(--muted); margin: 0 0 28px; }
.doc h2 { font-size: 21px; margin: 34px 0 10px; padding-top: 6px; }
.doc h3 { font-size: 17px; margin: 22px 0 6px; }
.doc p, .doc li { color: #d6dce7; }
.doc ul { padding-left: 20px; }
.doc li { margin: 6px 0; }
.summary { background: var(--card); border: 1px solid var(--line); border-left: 4px solid var(--hot-2); border-radius: 12px; padding: 16px 18px; margin: 0 0 8px; }
.summary p { margin: 0; }
table { width: 100%; border-collapse: collapse; margin: 12px 0; font-size: 15px; }
th, td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--line); }
th { color: var(--muted); font-weight: 600; }
.table-scroll { overflow-x: auto; }

details { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 14px 18px; margin: 10px 0; }
details summary { cursor: pointer; font-weight: 700; }
details[open] summary { margin-bottom: 8px; }
details p, details ul { color: #d6dce7; margin: 6px 0; }

.contact { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; margin: 26px 0; }
.contact p { margin: 4px 0; }

/* Footer */
footer { border-top: 1px solid var(--line); margin-top: 40px; padding: 26px 0 40px; color: var(--muted); font-size: 14px; }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }
footer nav { gap: 16px; }

@media (max-width: 520px) {
  nav { gap: 12px; font-size: 14px; }
  .brand span { display: none; }
  .hero { padding-top: 36px; }
}
