:root {
  color-scheme: dark;
  --bg: #070a10; --panel: #111722; --panel-2: #182130; --ink: #e8edf5; --muted: #8b97ab; --line: #243044;
  --brand: #ffcf33; --brand-ink: #1a1400; --green: #35e0a0;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif; }
a { color: inherit; }
a:focus-visible, summary:focus-visible { outline: 3px solid rgba(255, 207, 51, .55); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3 { line-height: 1.15; letter-spacing: -.02em; margin: 0; overflow-wrap: anywhere; }
h2 { font-size: clamp(26px, 3.4vw, 38px); margin-bottom: 26px; }
h3 { font-size: 20px; margin-bottom: 8px; }
.nav { position: sticky; top: 0; z-index: 5; display: flex; align-items: center; gap: 20px; padding: 12px clamp(16px, 4vw, 48px); background: rgba(7, 10, 16, .88); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: 9px; font-weight: 800; text-decoration: none; white-space: nowrap; }
.logo { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; color: var(--brand-ink); background: linear-gradient(135deg, #ffcf33, #ff8a3d); font-weight: 900; }
.nav nav { display: flex; gap: 20px; margin-left: auto; font-size: 14px; color: var(--muted); }
.nav nav a { text-decoration: none; }
.nav nav a:hover { color: var(--ink); }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 10px 24px; border-radius: 11px; background: var(--brand); color: var(--brand-ink); font-weight: 800; text-decoration: none; border: 1px solid var(--brand); }
.btn:hover { background: #ffdb66; }
.btn.small { min-height: 38px; padding: 6px 16px; font-size: 14px; white-space: nowrap; }
.btn.ghost { background: none; color: var(--ink); border-color: var(--line); }
.btn.ghost:hover { background: var(--panel-2); }
.btn[hidden] { display: none; }
section { padding: clamp(44px, 7vw, 84px) clamp(16px, 5vw, 64px); max-width: 1360px; margin: 0 auto; }
.band { max-width: none; background: var(--panel); border-block: 1px solid var(--line); }
.band > * { max-width: 1232px; margin-inline: auto; }
.hero { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(24px, 4vw, 56px); align-items: center; padding-top: clamp(32px, 5vw, 64px); }
.eyebrow { margin: 0 0 12px; color: var(--green); font-weight: 800; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; }
h1 { font-size: clamp(36px, 5vw, 62px); }
h1 em { font-style: normal; color: var(--brand); }
.lead { font-size: clamp(17px, 1.6vw, 20px); color: #c3cede; margin: 20px 0 26px; }
.cta { display: flex; flex-wrap: wrap; gap: 10px; }
.note { color: var(--muted); font-size: 14px; margin: 14px 0 0; }
.stage { margin: 0; min-width: 0; }
.hud { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; padding: 10px 14px; background: linear-gradient(180deg, #0b1320, #070b13); border: 1px solid var(--line); border-bottom: 0; border-radius: 14px 14px 0 0; font-variant-numeric: tabular-nums; }
.clock { font: 700 22px/1 ui-monospace, "SF Mono", Menlo, monospace; color: #fff; }
.hud b { color: var(--green); font-size: 13px; letter-spacing: .05em; }
.hud b.red { color: #ff6464; }
.hud b.amber { color: #ffb648; }
.hud ol { list-style: none; display: flex; flex-wrap: wrap; gap: 3px; margin: 0 0 0 auto; padding: 0; }
.hud li { font-size: 11px; font-weight: 700; padding: 2px 7px; border-radius: 5px; background: #141c2a; color: var(--muted); }
.hud li.done { background: #0f2d24; color: var(--green); }
.hud li.now { background: var(--brand); color: var(--brand-ink); }
.canvas-wrap { position: relative; aspect-ratio: 16 / 10; background: radial-gradient(ellipse at 50% 35%, #101a2c 0%, #05070c 75%); border: 1px solid var(--line); border-radius: 0 0 14px 14px; overflow: hidden; }
#demo { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
figcaption { margin-top: 8px; font-size: 12.5px; color: var(--muted); }
.steps { list-style: none; counter-reset: step; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; padding: 0; margin: 0 auto; }
.steps li { counter-increment: step; display: grid; gap: 6px; align-content: start; padding: 16px; background: var(--bg); border: 1px solid var(--line); border-radius: 12px; }
.steps li::before { content: counter(step); display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--brand-ink); color: var(--brand); border: 1px solid #5b4a10; font-weight: 800; font-size: 14px; }
.steps span { color: var(--muted); font-size: 14.5px; }
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.cards article { display: flex; flex-direction: column; padding: 22px; background: var(--panel); border: 1px solid var(--line); border-radius: 14px; }
.cards p { margin: 0 0 14px; color: #c3cede; flex: 1; }
.cards small { color: var(--muted); font-size: 12.5px; }
.split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(24px, 5vw, 64px); padding-inline: max(clamp(16px, 5vw, 64px), calc((100% - 1232px) / 2)); }
.split > * { margin: 0; min-width: 0; }
.split h2 { font-size: clamp(23px, 2.6vw, 30px); margin-bottom: 18px; scroll-margin-top: 80px; }
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 26px; color: #c3cede; }
.ticks li::before { content: "✓"; position: absolute; left: 0; color: var(--green); font-weight: 800; }
.faq { max-width: 820px; }
.faq details { border-bottom: 1px solid var(--line); padding: 14px 0; }
.faq summary { font-weight: 700; cursor: pointer; }
.faq p { margin: 10px 0 2px; color: #c3cede; }
.final { text-align: center; padding-top: 0; }
footer { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding: 22px clamp(16px, 4vw, 48px); border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }
section[id] { scroll-margin-top: 64px; }
@media (max-width: 980px) {
  .hero { grid-template-columns: minmax(0, 1fr); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cards { grid-template-columns: minmax(0, 1fr); }
  .split { grid-template-columns: minmax(0, 1fr); }
  .nav nav { display: none; }
  .nav .btn { margin-left: auto; }
  .hud ol { margin-left: 0; }
}
@media (max-width: 480px) {
  .steps { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
