:root {
  color-scheme: dark;
  --bg: #080b0f;
  --panel: #0f151c;
  --panel-soft: #111a20;
  --line: rgba(255, 255, 255, 0.1);
  --text: #f5f8f2;
  --muted: #a7b0bb;
  --accent: #96ff4b;
  --accent-soft: rgba(150, 255, 75, 0.12);
  --max: 1080px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 78% 8%, rgba(150, 255, 75, 0.09), transparent 28rem),
    radial-gradient(circle at 12% 42%, rgba(75, 161, 255, 0.07), transparent 30rem),
    var(--bg);
  color: var(--text);
  line-height: 1.65;
}

a { color: inherit; }

.shell { width: min(calc(100% - 40px), var(--max)); margin: 0 auto; }

header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid var(--line);
  background: rgba(8, 11, 15, 0.84);
  backdrop-filter: blur(18px);
}

.nav {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-weight: 850;
  letter-spacing: 0.02em;
  text-decoration: none;
}

.brand-mark {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  color: #071005;
  background: var(--accent);
  box-shadow: 0 0 28px rgba(150, 255, 75, 0.22);
}

nav { display: flex; gap: 22px; color: var(--muted); font-size: 14px; }
nav a { text-decoration: none; }
nav a:hover, nav a[aria-current="page"] { color: var(--text); }

main { padding: 72px 0 88px; }

.hero { padding: 54px 0 72px; max-width: 850px; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 14px var(--accent);
}

h1, h2, h3 { margin: 0; line-height: 1.12; letter-spacing: -0.035em; }
h1 { margin-top: 18px; max-width: 800px; font-size: clamp(42px, 7vw, 76px); }
h2 { font-size: clamp(27px, 4vw, 40px); }
h3 { font-size: 18px; }

.lede { max-width: 720px; margin: 22px 0 0; color: var(--muted); font-size: clamp(17px, 2vw, 21px); }
.lede strong { color: var(--text); }

.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 19px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.035);
  font-size: 14px;
  font-weight: 760;
  text-decoration: none;
}
.button.primary { color: #071005; border-color: var(--accent); background: var(--accent); }
.button:hover { transform: translateY(-1px); }

.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card {
  min-height: 210px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.012));
}
.card .number { color: var(--accent); font: 800 13px/1 ui-monospace, SFMono-Regular, Consolas, monospace; }
.card h3 { margin-top: 40px; }
.card p { margin: 10px 0 0; color: var(--muted); font-size: 15px; }

.band {
  margin-top: 68px;
  padding: 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  border: 1px solid rgba(150, 255, 75, 0.28);
  border-radius: 20px;
  background: var(--accent-soft);
}
.band p { max-width: 690px; margin: 8px 0 0; color: var(--muted); }

.document { max-width: 820px; }
.document h1 { font-size: clamp(38px, 6vw, 62px); }
.document .meta { margin: 16px 0 44px; color: var(--muted); font-size: 14px; }
.document section { padding: 30px 0; border-top: 1px solid var(--line); }
.document h2 { margin-bottom: 14px; font-size: 25px; }
.document p, .document li { color: #c4cbd3; }
.document strong { color: var(--text); }
.document ul { padding-left: 20px; }
.document code { color: var(--accent); }
.notice { padding: 20px; border-left: 3px solid var(--accent); border-radius: 0 12px 12px 0; background: var(--accent-soft); }

footer { padding: 30px 0 42px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }
.footer-row { display: flex; justify-content: space-between; gap: 20px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 18px; }

@media (max-width: 760px) {
  .shell { width: min(calc(100% - 28px), var(--max)); }
  .nav { align-items: flex-start; padding: 18px 0; }
  nav { gap: 12px; flex-wrap: wrap; justify-content: flex-end; }
  main { padding-top: 46px; }
  .hero { padding-top: 26px; }
  .grid { grid-template-columns: 1fr; }
  .card { min-height: 170px; }
  .card h3 { margin-top: 28px; }
  .band, .footer-row { align-items: flex-start; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
