:root {
  color-scheme: dark;
  --bg: #0b1017;
  --panel: #121a22;
  --text: #f2f6f2;
  --muted: #a9b7ad;
  --line: rgba(255,255,255,.12);
  --green: #6ee787;
  --amber: #ffce66;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at 20% 0%, rgba(110,231,135,.16), transparent 30rem),
    radial-gradient(circle at 82% 12%, rgba(255,107,92,.13), transparent 24rem),
    linear-gradient(180deg, #0b1017 0%, #0e151c 58%, #111820 100%);
  color: var(--text);
  font: 16px/1.65 Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
a { color: inherit; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid var(--line);
  background: rgba(11,16,23,.9);
  backdrop-filter: blur(16px);
}
.wrap { width: min(1120px, calc(100% - 32px)); margin: 0 auto; }
.nav {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; font-weight: 850; }
.mark {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(110,231,135,.42);
  border-radius: 10px;
  background: linear-gradient(145deg, rgba(110,231,135,.24), rgba(255,206,102,.12));
  color: var(--green);
}
.links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px; }
.links a {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  border-radius: 8px;
  padding: 0 12px;
  text-decoration: none;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}
.links a:hover, .links a:focus-visible { background: rgba(255,255,255,.07); color: var(--text); }
.hero { padding: clamp(48px, 9vw, 104px) 0 34px; }
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, .9fr);
  gap: clamp(28px, 5vw, 60px);
  align-items: center;
}
.eyebrow {
  margin: 0 0 12px;
  color: var(--green);
  font-size: 13px;
  font-weight: 850;
  letter-spacing: .08em;
  text-transform: uppercase;
}
h1 {
  margin: 0;
  max-width: 12ch;
  font-size: clamp(44px, 8vw, 88px);
  line-height: .9;
  letter-spacing: 0;
}
.lead {
  max-width: 66ch;
  margin: 24px 0 0;
  color: #d6dfd9;
  font-size: clamp(18px, 2vw, 22px);
}
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 8px;
  padding: 0 18px;
  text-decoration: none;
  font-weight: 850;
}
.button.primary { border-color: transparent; background: var(--green); color: #08110b; }
.button.secondary { background: rgba(255,255,255,.07); color: var(--text); }
.hero-card {
  position: relative;
  overflow: hidden;
  min-height: 360px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(110,231,135,.22), rgba(255,107,92,.11)),
    radial-gradient(circle at 50% 20%, rgba(255,206,102,.22), transparent 18rem),
    var(--panel);
  box-shadow: 0 34px 80px rgba(0,0,0,.35);
}
.hero-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(180deg, black, transparent);
}
.vehicle {
  position: absolute;
  left: 11%;
  right: 11%;
  bottom: 72px;
  height: 78px;
  border: 3px solid rgba(242,246,242,.9);
  border-radius: 12px 28px 10px 10px;
  background: linear-gradient(180deg, rgba(255,255,255,.13), rgba(255,255,255,.03));
}
.vehicle::before, .vehicle::after {
  content: "";
  position: absolute;
  bottom: -30px;
  width: 54px;
  height: 54px;
  border: 7px solid #0b1017;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 3px rgba(242,246,242,.8);
}
.vehicle::before { left: 9%; }
.vehicle::after { right: 9%; }
.zombie {
  position: absolute;
  top: 58px;
  right: 18%;
  width: 64px;
  height: 118px;
  border-radius: 40px 40px 16px 16px;
  background: rgba(110,231,135,.72);
  box-shadow: -66px 34px 0 -8px rgba(110,231,135,.45), -134px 76px 0 -18px rgba(110,231,135,.28);
}
.status {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 22px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.stat {
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 8px;
  padding: 12px;
  background: rgba(5,9,12,.58);
}
.stat strong { display: block; font-size: 24px; line-height: 1; }
.stat span { color: var(--muted); font-size: 12px; font-weight: 750; text-transform: uppercase; }
.section { padding: 48px 0; }
.section h2 { margin: 0 0 18px; font-size: clamp(30px, 4vw, 46px); line-height: 1; }
.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.card {
  min-height: 176px;
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 8px;
  padding: 20px;
  background: linear-gradient(145deg, rgba(255,255,255,.06), rgba(255,255,255,.025));
}
.card h3 { margin: 0 0 10px; font-size: 20px; }
.card p { margin: 0; color: var(--muted); }
.card a { display: inline-block; margin-top: 16px; color: var(--green); font-weight: 800; }
.code-panel {
  border: 1px solid rgba(110,231,135,.25);
  border-radius: 8px;
  padding: 20px;
  background: rgba(110,231,135,.08);
}
.code-panel code { color: var(--amber); font-weight: 850; }
.footer {
  margin-top: 40px;
  border-top: 1px solid var(--line);
  padding: 34px 0;
  color: var(--muted);
}
.article-hero { padding: 54px 0 22px; border-bottom: 1px solid var(--line); }
.article-hero h1 { max-width: 16ch; }
.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 34px;
  align-items: start;
}
.article {
  padding: 34px 0 20px;
}
.article h2 {
  margin: 38px 0 12px;
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1.1;
}
.article h3 { margin: 26px 0 8px; font-size: 21px; }
.article p, .article li { color: #d6dfd9; }
.article ul, .article ol { padding-left: 22px; }
.article table {
  width: 100%;
  border-collapse: collapse;
  margin: 18px 0 8px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
}
.article th, .article td {
  border-bottom: 1px solid var(--line);
  padding: 12px;
  text-align: left;
  vertical-align: top;
}
.article th { background: rgba(110,231,135,.1); color: var(--text); }
.article tr:last-child td { border-bottom: 0; }
.note {
  border-left: 4px solid var(--green);
  border-radius: 8px;
  padding: 14px 16px;
  background: rgba(110,231,135,.08);
}
.toc {
  position: sticky;
  top: 96px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px;
  background: rgba(255,255,255,.05);
}
.toc strong { display: block; margin-bottom: 8px; }
.toc a {
  display: block;
  padding: 7px 0;
  color: var(--muted);
  text-decoration: none;
  font-weight: 700;
}
.toc a:hover { color: var(--text); }
.source-list a { color: var(--green); font-weight: 750; }
@media (max-width: 820px) {
  .nav { align-items: flex-start; flex-direction: column; padding: 14px 0; }
  .links { justify-content: flex-start; }
  .hero-grid, .cards { grid-template-columns: 1fr; }
  .hero-card { min-height: 320px; }
  .status { grid-template-columns: 1fr; }
  .article-layout { grid-template-columns: 1fr; }
  .toc { position: static; }
}
