:root {
  --nav-height: 104px;
  --bg: #0c0e0d;
  --surface: #141716;
  --line: #292e2b;
  --text: #f1f3ee;
  --muted: #929a95;
  --accent: #b798ff;
  --mono: "DM Mono", monospace;
  --sans: "Press Start 2P", monospace;
}

* { box-sizing: border-box; }
html { background: var(--bg); scroll-behavior: smooth; }
body { margin: 0; min-height: 100vh; background: var(--bg); color: var(--text); font-family: var(--sans); overflow-x: hidden; }
.noise { position: fixed; inset: 0; z-index: 3; pointer-events: none; opacity: .035; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
.container { width: min(1200px, calc(100% - 64px)); margin-inline: auto; }

.nav { height: var(--nav-height); display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); position: relative; z-index: 2; }
.brand { color: var(--text); font-size: 17px; font-weight: 400; letter-spacing: -1px; text-decoration: none; }
.brand > span:first-child { display: inline-block; width: 10px; height: 10px; margin-right: 8px; border-radius: 50%; background: var(--accent); }
.brand-muted { color: var(--muted); font-weight: 500; }
.nav nav { display: flex; gap: 30px; }
.nav nav a { color: var(--muted); font-size: 9px; font-weight: 400; text-decoration: none; transition: color .2s; }
.nav nav a:hover, .nav nav a.active, .nav-cta b { color: var(--accent); }
.nav-cta { color: var(--text); font-size: 9px; text-decoration: none; }
.nav-cta b { margin-left: 5px; font-size: 16px; }

.hero { position: relative; min-height: calc(100vh - 104px); padding: clamp(70px, 11vh, 140px) 0 80px; }
#start { scroll-margin-top: var(--nav-height); }
.eyebrow { display: flex; align-items: center; gap: 9px; color: var(--muted); font: 11px var(--mono); letter-spacing: .04em; text-transform: uppercase; }
.eyebrow i { display: block; width: 22px; height: 1px; background: var(--accent); }
h1 { margin: 22px 0 31px; font-size: clamp(42px, 6.5vw, 88px); font-weight: 400; letter-spacing: -.06em; line-height: 1.18; }
h1 em { color: var(--accent); font-style: normal; }
.hero-copy { max-width: 510px; margin: 0; color: var(--muted); font-size: 11px; line-height: 2; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.button { display: inline-flex; align-items: center; gap: 18px; padding: 16px 19px; border: 1px solid var(--line); color: var(--text); font-size: 9px; font-weight: 400; line-height: 1.6; text-decoration: none; transition: transform .2s, background .2s; }
.button:hover { transform: translateY(-3px); }
.primary { border-color: var(--accent); background: var(--accent); color: #130d22; }
.primary span { font-size: 20px; line-height: 10px; }
.ghost { background: transparent; }

.terminal { position: absolute; top: 27%; right: 0; width: min(43%, 510px); border: 1px solid var(--line); background: #101312; box-shadow: 18px 18px 0 #171b18; }
.terminal-bar { display: flex; align-items: center; gap: 6px; height: 43px; padding: 0 15px; border-bottom: 1px solid var(--line); }
.terminal-bar span { width: 7px; height: 7px; border-radius: 50%; background: #3d4640; }
.terminal-bar span:nth-child(2) { background: #586259; }
.terminal-bar span:nth-child(3) { background: var(--accent); }
.terminal-bar small { margin-left: 8px; color: var(--muted); font: 10px var(--mono); }
.terminal pre { margin: 0; padding: 23px 25px 27px; color: #9fa9a1; font: 13px/1.7 var(--mono); white-space: pre-wrap; }
.terminal b { color: #dfe5dd; font-weight: 500; }
.terminal span, .terminal mark, .terminal i { color: var(--accent); background: none; font-style: normal; }

.process-screen, .command-screen { display: grid; min-height: 100vh; border-top: 1px solid var(--line); }
.process-screen { background: #101210; }
.command-screen { background: #0e0c12; }
.screen-inner { align-self: center; padding-block: 72px; }
.screen-kicker { display: flex; align-items: center; gap: 13px; color: var(--muted); font: 9px var(--mono); letter-spacing: .09em; text-transform: uppercase; }
.screen-kicker span { color: var(--accent); }
.screen-inner h2 { margin: 20px 0 42px; font-size: clamp(31px, 5vw, 66px); font-weight: 400; letter-spacing: -.06em; line-height: 1.3; }
.screen-inner h2 em { color: var(--accent); font-style: normal; }
.vertical-steps { max-width: 930px; border-top: 1px solid var(--line); }
.vertical-steps article { display: grid; grid-template-columns: 52px minmax(180px, 1fr) 290px; gap: 25px; align-items: center; padding: 21px 0; border-bottom: 1px solid var(--line); }
.vertical-steps > article > span, .vertical-steps code { color: var(--accent); font: 10px var(--mono); }
.vertical-steps h3 { margin: 0 0 8px; font-size: 11px; font-weight: 400; }
.vertical-steps p { margin: 0; color: var(--muted); font-size: 8px; line-height: 1.8; }
.scroll-next { display: inline-block; margin-top: 37px; color: var(--text); font-size: 9px; text-decoration: none; }
.scroll-next b { margin-left: 10px; color: var(--accent); font-size: 17px; }
.quick-commands { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 740px; border: 1px solid var(--line); background: var(--line); gap: 1px; }
.quick-commands article { min-height: 108px; padding: 22px; background: var(--surface); }
.quick-commands small { display: block; margin-bottom: 24px; color: var(--muted); font: 8px var(--mono); letter-spacing: .06em; }
.quick-commands code { color: var(--accent); font: 11px var(--mono); }

.footer { display: flex; align-items: center; justify-content: space-between; height: 64px; border-top: 1px solid var(--line); color: var(--muted); font: 10px var(--mono); letter-spacing: .05em; text-transform: uppercase; }
.page-main { min-height: calc(100vh - 168px); padding: 72px 0 92px; }
.page-title { margin-top: 18px; font-size: clamp(34px, 5.2vw, 67px); }
.intro { max-width: 600px; color: var(--muted); font-size: 10px; line-height: 2; }
.steps { max-width: 820px; margin-top: 65px; border-top: 1px solid var(--line); }
.steps article { display: grid; grid-template-columns: 105px 1fr; gap: 24px; padding: 27px 0; border-bottom: 1px solid var(--line); }
.step-number, .steps code, .commands-grid code { color: var(--accent); font: 12px var(--mono); }
.step-number { padding-top: 5px; }
.steps h2 { margin: 0 0 12px; font-size: 12px; letter-spacing: -.04em; line-height: 1.6; }
.steps p { max-width: 570px; margin: 0 0 16px; color: var(--muted); font-size: 9px; line-height: 1.9; }
.next-link { margin-top: 34px; }

.commands-page { padding-bottom: 70px; }
.commands-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin-top: 53px; border: 1px solid var(--line); background: var(--line); }
.commands-grid article { min-height: 165px; padding: 25px; background: var(--surface); transition: background .2s; }
.commands-grid article:hover { background: #1d1a25; }
.commands-grid small { display: block; margin-bottom: 26px; color: var(--muted); font: 9px var(--mono); letter-spacing: .04em; }
.commands-grid code { font-size: 14px; }
.commands-grid p { margin: 16px 0 0; color: var(--muted); font-size: 8px; line-height: 1.9; }

@media (max-width: 760px) {
  :root { --nav-height: 83px; }
  .container { width: min(100% - 36px, 1200px); }
  .nav { min-height: 83px; height: auto; gap: 18px; }
  .nav nav { display: none; }
  .nav-cta { font-size: 11px; }
  .hero { padding-top: 76px; }
  .terminal { position: relative; top: auto; right: auto; width: 100%; margin-top: 68px; box-shadow: 10px 10px 0 #171b18; }
  h1 { letter-spacing: -.075em; }
  .page-main { padding-top: 58px; }
  .steps article { grid-template-columns: 53px 1fr; }
  .commands-grid { grid-template-columns: 1fr; }
  .commands-grid article { min-height: 132px; }
  .footer { font-size: 8px; }
  .vertical-steps article { grid-template-columns: 34px 1fr; gap: 14px; }
  .vertical-steps code { grid-column: 2; }
  .quick-commands { grid-template-columns: 1fr; }
}
