:root {
  color-scheme: dark;
  --bg: #080b12;
  --panel: #111726;
  --panel-2: #171f31;
  --text: #f4f7fb;
  --muted: #a9b4c6;
  --line: #29344a;
  --accent: #72e5b8;
  --accent-ink: #06271b;
  --warning: #ffd27a;
  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; background: radial-gradient(circle at 80% -10%, #1c3850 0, transparent 35%), var(--bg); color: var(--text); line-height: 1.6; }
a { color: var(--accent); }
.wrap { width: min(1120px, calc(100% - 40px)); margin: 0 auto; }
.notice { padding: 10px 20px; color: #231702; background: var(--warning); text-align: center; font-size: .9rem; font-weight: 700; }
header { border-bottom: 1px solid var(--line); }
nav { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { color: var(--text); font-weight: 800; letter-spacing: .02em; text-decoration: none; }
.nav-links { display: flex; flex-wrap: wrap; gap: 18px; align-items: center; }
.nav-links a { color: var(--muted); text-decoration: none; }
.nav-links a:hover { color: var(--text); }
main { min-height: 68vh; }
.hero { padding: 96px 0 64px; display: grid; grid-template-columns: 1.35fr .65fr; gap: 56px; align-items: center; }
.eyebrow { color: var(--accent); font-size: .82rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
h1 { max-width: 850px; margin: 12px 0 20px; font-size: clamp(2.5rem, 6vw, 5rem); line-height: 1.02; letter-spacing: -.045em; }
h2 { margin: 0 0 14px; font-size: clamp(1.55rem, 3vw, 2.35rem); line-height: 1.15; }
h3 { margin-top: 0; }
.lead { max-width: 760px; color: var(--muted); font-size: 1.18rem; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.button { display: inline-flex; min-height: 46px; align-items: center; justify-content: center; padding: 0 18px; border-radius: 9px; background: var(--accent); color: var(--accent-ink); font-weight: 800; text-decoration: none; }
.button.secondary { border: 1px solid var(--line); background: transparent; color: var(--text); }
.button.disabled { cursor: not-allowed; background: #6e7787; color: #171b22; }
.terminal { overflow: auto; padding: 22px; border: 1px solid var(--line); border-radius: 14px; background: #05070c; box-shadow: 0 25px 80px #0008; color: #d8e2ef; font: .87rem/1.7 ui-monospace, SFMono-Regular, Menlo, monospace; }
.terminal .ok { color: var(--accent); }
section { padding: 64px 0; }
.section-alt { border-block: 1px solid var(--line); background: #0d121d; }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card { padding: 24px; border: 1px solid var(--line); border-radius: 12px; background: var(--panel); }
.card p, .muted { color: var(--muted); }
.steps { counter-reset: step; display: grid; gap: 14px; padding: 0; list-style: none; }
.steps li { position: relative; padding: 18px 18px 18px 62px; border: 1px solid var(--line); border-radius: 10px; background: var(--panel); }
.steps li::before { counter-increment: step; content: counter(step); position: absolute; left: 18px; top: 17px; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: var(--accent-ink); font-weight: 900; }
.prose { max-width: 820px; padding: 72px 0; }
.prose h1 { font-size: clamp(2.35rem, 5vw, 4.2rem); }
.prose h2 { margin-top: 48px; }
.prose code { padding: 2px 6px; border-radius: 5px; background: var(--panel-2); }
.prose pre { overflow: auto; padding: 20px; border: 1px solid var(--line); border-radius: 10px; background: #05070c; }
.status { padding: 18px; border: 1px solid #755b24; border-radius: 10px; background: #2a210e; color: #ffe2a7; }
footer { padding: 38px 0; border-top: 1px solid var(--line); color: var(--muted); font-size: .9rem; }

@media (max-width: 760px) {
  .hero, .grid { grid-template-columns: 1fr; }
  .hero { padding-top: 64px; }
  nav { align-items: flex-start; flex-direction: column; padding: 18px 0; }
}
