/* V2 — Pit Lane (dark, motorsport restrained) */
:root {
  --accent: #E8412A;
  --bg: #0a0a0a;
  --panel: #141414;
  --line: #1f1f1f;
  --text: #e5e5e5;
  --text-strong: #fafafa;
  --text-muted: #a3a3a3;
  --text-faint: #737373;
  --text-fainter: #525252;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Archivo', 'Inter', system-ui, -apple-system, sans-serif;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { color: inherit; }

.site {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ---------- Nav ---------- */
.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 40px;
  border-bottom: 1px solid var(--line);
  flex-wrap: wrap;
  gap: 16px;
}
.nav .brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  font-size: 14px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--text-strong);
}
.nav .brand img {
  width: 32px;
  height: 32px;
  object-fit: contain;
}
.nav-links {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
}
.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  padding: 8px 12px;
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: color 0.15s;
}
.nav-links a:hover { color: var(--text-strong); }
.nav-links a.active { color: var(--accent); }

/* ---------- Hero ---------- */
.hero {
  padding: 40px;
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  align-items: center;
}
.kicker {
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}
.kicker::before {
  content: '';
  width: 24px;
  height: 2px;
  background: var(--accent);
}
h1.race {
  font-weight: 900;
  font-size: 56px;
  line-height: 1;
  letter-spacing: -0.02em;
  margin: 0;
  text-transform: uppercase;
  color: var(--text-strong);
}
h1.race em { font-style: italic; color: var(--accent); }
.sub {
  font-size: 14px;
  line-height: 1.55;
  color: var(--text-muted);
  margin-top: 14px;
  max-width: 50ch;
}

/* ---------- Meta strip ---------- */
.meta-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.meta-strip > div {
  padding: 14px 24px;
  border-right: 1px solid var(--line);
}
.meta-strip > div:last-child { border-right: none; }
.meta-strip .label {
  font-weight: 700;
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 6px;
}
.meta-strip .value {
  font-weight: 800;
  font-size: 16px;
  letter-spacing: -0.01em;
  color: var(--text-strong);
}

.meta-strip-3 { grid-template-columns: repeat(3, 1fr); }
.meta-strip-2 { grid-template-columns: repeat(2, 1fr); }

/* ---------- Body ---------- */
.body {
  padding: 40px;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 40px;
  flex: 1;
}
.lead {
  font-size: 16px;
  line-height: 1.6;
  color: #d4d4d4;
  max-width: 60ch;
}
.lead.muted { color: var(--text-muted); margin-top: 12px; }

/* ---------- Buttons ---------- */
.race-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--accent);
  color: var(--bg);
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 14px 22px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: filter 0.15s;
}
.race-btn:hover { filter: brightness(1.1); }
.race-btn.ghost {
  background: transparent;
  color: var(--text-strong);
  border: 1px solid #3f3f46;
}
.race-btn.ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
  filter: none;
}
.race-btn.full {
  width: 100%;
  box-sizing: border-box;
}

.btn-row {
  display: flex;
  gap: 12px;
  margin-top: 22px;
  flex-wrap: wrap;
}

/* ---------- Channel list ---------- */
.channel-list {
  display: grid;
  gap: 0;
  border: 1px solid var(--line);
}
.channel-list a {
  display: grid;
  grid-template-columns: 50px 1fr auto;
  align-items: center;
  gap: 16px;
  padding: 16px 18px;
  color: var(--text);
  text-decoration: none;
  border-bottom: 1px solid var(--line);
  transition: background 0.15s, padding-left 0.2s;
  position: relative;
}
.channel-list--no-num a { grid-template-columns: 1fr auto; }
.channel-list a:last-child { border-bottom: none; }
.channel-list a:hover {
  background: rgba(255,255,255,0.02);
  padding-left: 24px;
}
.channel-list a:hover::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--accent);
}
.channel-list a.primary {
  background: rgba(232,65,42,0.06);
}
.channel-list a.primary::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--accent);
}
.channel-list .num {
  font-weight: 800;
  font-size: 22px;
  color: #404040;
  letter-spacing: -0.02em;
  font-style: italic;
}
.channel-list a.primary .num { color: var(--accent); }
.channel-list .name {
  font-weight: 700;
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-strong);
}
.channel-list .desc {
  font-size: 11px;
  color: var(--text-faint);
  margin-top: 2px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.channel-list .ext {
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-faint);
}
.channel-list a:hover .ext,
.channel-list a.primary .ext { color: var(--accent); }

/* ---------- Sections ---------- */
h2.section {
  font-weight: 800;
  font-size: 22px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin: 0 0 14px 0;
  color: var(--text-strong);
}
h2.section .accent { color: var(--accent); }

.panel {
  background: var(--panel);
  border: 1px solid var(--line);
  padding: 20px;
}
.panel p { margin: 0; }

/* ---------- Price card ---------- */
.price-card {
  background: var(--accent);
  color: var(--bg);
  padding: 24px;
}
.price-card .rate-tag {
  font-weight: 800;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.price-card .price {
  font-weight: 900;
  font-size: 56px;
  line-height: 1;
  letter-spacing: -0.03em;
}
.price-card .unit {
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-top: 4px;
}

/* ---------- Knowledge grid ---------- */
.knowledge-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.knowledge-grid--stacked { grid-template-columns: 1fr; }
.knowledge-grid ul {
  margin: 10px 0 0 0;
  padding: 0;
  list-style: none;
}
.knowledge-grid li {
  padding: 7px 0;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
  color: #d4d4d4;
  display: flex;
  align-items: center;
  gap: 10px;
}
.knowledge-grid li::before {
  content: '';
  width: 5px;
  height: 5px;
  flex-shrink: 0;
}
.knowledge-grid .good li::before { background: var(--accent); }
.knowledge-grid .out li::before { background: #404040; }
.knowledge-grid .out li { color: var(--text-muted); }
.knowledge-grid .panel-title {
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding-bottom: 10px;
  border-bottom: 2px solid;
}
.knowledge-grid .good .panel-title {
  border-color: var(--accent);
  color: var(--accent);
}
.knowledge-grid .out .panel-title {
  border-color: #404040;
  color: var(--text-muted);
}

/* ---------- Step list ---------- */
.step-list { display: grid; gap: 10px; }
.step-list .step {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 16px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  background: var(--panel);
}
.step-list .step .n {
  font-weight: 800;
  font-style: italic;
  font-size: 28px;
  color: var(--accent);
  line-height: 1;
}
.step-list .step .label {
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 4px;
  color: var(--text-strong);
}
.step-list .step .text {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ---------- Service layout ---------- */
.body-stack { display: grid; gap: 32px; }
.aside {
  display: grid;
  gap: 14px;
  align-content: start;
  position: sticky;
  top: 24px;
}
.aside .panel-title {
  font-weight: 800;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
}
.aside .panel p {
  font-size: 13px;
  line-height: 1.6;
  color: #d4d4d4;
}
.disclaimer {
  font-size: 13px;
  line-height: 1.7;
  color: var(--text-muted);
  margin: 0;
}
.free-help {
  font-size: 14px;
  line-height: 1.65;
  color: #d4d4d4;
}
.free-help strong { color: #fff; }

/* ---------- Footer ---------- */
.footer {
  padding: 18px 40px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  font-weight: 700;
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-fainter);
  flex-wrap: wrap;
  gap: 12px;
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; padding: 28px; gap: 28px; }
  .body { grid-template-columns: 1fr; padding: 28px; gap: 28px; }
  h1.race { font-size: 40px; }
  .meta-strip { grid-template-columns: repeat(2, 1fr); }
  .meta-strip > div:nth-child(2) { border-right: none; }
  .meta-strip > div:nth-child(1),
  .meta-strip > div:nth-child(2) { border-bottom: 1px solid var(--line); }
  .nav { padding: 14px 20px; }
  .footer { padding: 14px 20px; }
  .knowledge-grid { grid-template-columns: 1fr; }
  .aside { position: static; }
  .price-card .price { font-size: 44px; }
}

@media (max-width: 520px) {
  h1.race { font-size: 32px; }
  .nav-links { gap: 0; }
  .nav-links a { padding: 6px 8px; font-size: 10px; }
  .channel-list a { grid-template-columns: 36px 1fr auto; padding: 14px; }
  .channel-list .num { font-size: 18px; }
  .channel-list .name { font-size: 14px; }
}
