/* ─── Reset & tokens ─────────────────────────────────────────────────────── */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg-0: #060907;
  --bg-1: #0a0e0b;
  --bg-2: #0e1410;
  --bg-3: #142018;
  --line:  #1c2a20;
  --line2: #2a4032;

  --fg-0: #e6f2e9;
  --fg-1: #9fb8a7;
  --fg-2: #6c8a75;
  --fg-3: #45604d;

  --acc:      #00e572;
  --acc-dim:  #00b359;
  --acc-hi:   #7dffb8;
  --acc-glow: rgba(0, 229, 114, 0.14);

  --font-sans: "Space Grotesk", ui-sans-serif, system-ui, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --r-sm: 4px;
  --r-md: 8px;
  --r-lg: 12px;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  background: var(--bg-0);
  color: var(--fg-0);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

::selection { background: var(--acc); color: #04140a; }

a { color: inherit; text-decoration: none; }

.link-inline {
  color: var(--acc-hi);
  border-bottom: 1px solid rgba(0, 229, 114, 0.35);
  transition: border-color 0.15s;
}
.link-inline:hover { border-color: var(--acc); }

code {
  font-family: var(--font-mono);
  font-size: 0.85em;
  color: var(--acc-hi);
  background: rgba(0, 229, 114, 0.07);
  border: 1px solid rgba(0, 229, 114, 0.12);
  padding: 1px 6px;
  border-radius: 4px;
}

/* ─── Background layers ──────────────────────────────────────────────────── */

#matrix-rain {
  position: fixed;
  inset: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  z-index: 0;
  opacity: 0.09;
}

#download-rain {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  z-index: 0;
  opacity: 0.22;
  mask-image: linear-gradient(to bottom, transparent 0%, black 18%, black 82%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 18%, black 82%, transparent 100%);
}

.grid-overlay {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image:
    linear-gradient(rgba(0, 229, 114, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 229, 114, 0.025) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 90% 60% at 50% 0%, black 0%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 90% 60% at 50% 0%, black 0%, transparent 75%);
}

/* ─── Nav ────────────────────────────────────────────────────────────────── */

nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(6, 9, 7, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.nav-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
  height: 62px;
  display: flex;
  align-items: center;
  gap: 28px;
}

.logo {
  font-family: var(--font-mono);
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.5px;
  flex-shrink: 0;
  display: flex;
  align-items: baseline;
  gap: 1px;
}
.logo-bracket { color: var(--acc); }
.logo-text    { color: var(--fg-0); }
.logo-co {
  font-family: var(--font-sans);
  font-weight: 600;
  color: var(--fg-0);
  letter-spacing: -0.3px;
  margin-right: 7px;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2px;
  margin-left: auto;
}
.nav-links a {
  padding: 6px 13px;
  font-size: 13.5px;
  color: var(--fg-1);
  border-radius: var(--r-sm);
  transition: color 0.15s, background 0.15s;
  display: flex;
  align-items: center;
  gap: 6px;
}
.nav-links a:hover { color: var(--acc-hi); background: var(--bg-3); }
.nav-cta { margin-left: 6px; }

/* ─── Buttons ────────────────────────────────────────────────────────────── */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 9px 18px;
  border-radius: var(--r-sm);
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.15s;
  border: none;
  white-space: nowrap;
}

.btn-solid {
  background: var(--acc);
  color: #03130a;
  box-shadow: 0 0 24px rgba(0, 229, 114, 0.22);
}
.btn-solid:hover {
  background: var(--acc-hi);
  box-shadow: 0 0 36px rgba(0, 229, 114, 0.4);
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  color: var(--fg-1);
  border: 1px solid var(--line2);
}
.btn-ghost:hover {
  color: var(--acc-hi);
  border-color: var(--acc-dim);
  background: rgba(0, 229, 114, 0.05);
}

.btn-lg { padding: 13px 26px; font-size: 14px; }

/* ─── Section scaffolding ────────────────────────────────────────────────── */

section, header.hero, footer { position: relative; z-index: 1; }

.section-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 110px 24px;
}

.section-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--acc);
  margin-bottom: 22px;
}
.section-tag::before { content: '> '; color: var(--fg-3); }

.section-h2 {
  font-size: clamp(30px, 4.4vw, 48px);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -1px;
  color: var(--fg-0);
  margin-bottom: 18px;
}
.section-h2 .accent { color: var(--acc); }

.section-sub {
  font-size: 16.5px;
  color: var(--fg-1);
  max-width: 620px;
  line-height: 1.75;
  margin-bottom: 48px;
}

/* ─── Hero ───────────────────────────────────────────────────────────────── */

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 110px 24px 80px;
  position: relative;
  z-index: 1;
  width: 100%;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 6px 16px;
  background: rgba(0, 229, 114, 0.07);
  border: 1px solid rgba(0, 229, 114, 0.25);
  border-radius: 2px;
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--acc-hi);
  margin-bottom: 36px;
  font-family: var(--font-mono);
}
.badge-pulse {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--acc);
  box-shadow: 0 0 10px var(--acc);
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:0.35} }

.hero-h1 {
  font-size: clamp(42px, 7.4vw, 84px);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -2.5px;
  color: var(--fg-0);
  margin-bottom: 26px;
  max-width: 800px;
}
.hero-h1 .accent {
  color: var(--acc);
  text-shadow: 0 0 40px rgba(0, 229, 114, 0.35);
}

.hero-sub {
  font-size: 18px;
  color: var(--fg-1);
  line-height: 1.7;
  max-width: 580px;
  margin-bottom: 42px;
}

.hero-jab {
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.3px;
  color: var(--fg-3);
  margin: -26px 0 42px;
}
.jab-link {
  color: var(--acc-hi);
  transition: text-shadow 0.2s, color 0.2s;
}
.jab-link:hover {
  color: var(--acc);
  text-shadow: 0 0 14px rgba(0, 229, 114, 0.6);
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 68px;
}

.hero-terminal {
  max-width: 660px;
  border-radius: var(--r-md);
  background: rgba(10, 14, 11, 0.9);
  border: 1px solid var(--line2);
  box-shadow:
    0 30px 90px -20px rgba(0, 0, 0, 0.9),
    0 0 0 1px rgba(0, 229, 114, 0.06),
    0 0 60px -10px rgba(0, 229, 114, 0.1);
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  top: 20%;
  right: -12%;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(0, 229, 114, 0.06) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

/* ─── Terminal shared ────────────────────────────────────────────────────── */

.terminal-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 11px 16px;
  background: var(--bg-3);
  border-bottom: 1px solid var(--line);
}

.dot { width: 11px; height: 11px; border-radius: 50%; }
.dot-r { background: #3a2527; border: 1px solid #61373b; }
.dot-y { background: #3a3325; border: 1px solid #615537; }
.dot-g { background: var(--acc-dim); box-shadow: 0 0 6px rgba(0,229,114,0.5); }

.terminal-title {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--fg-3);
  margin-left: 8px;
}

.terminal-body {
  padding: 20px;
  font-family: var(--font-mono);
  font-size: 13px;
  line-height: 1.8;
  min-height: 210px;
}

.t-line   { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.t-prompt { color: var(--acc); font-weight: 600; }
.t-cmd    { color: var(--fg-0); }
.t-caret  {
  display: inline-block;
  width: 8px; height: 15px;
  background: var(--acc);
  vertical-align: text-bottom;
  animation: blink 1.1s steps(2) infinite;
}
.t-output { margin-top: 4px; }

.t-out      { color: var(--fg-1); }
.t-out.ok   { color: var(--acc); }
.t-out.dim  { color: var(--fg-3); }
.t-comment  { color: var(--fg-3); padding-bottom: 2px; }
.t-comment::before { content: ''; }
.t-spacer   { height: 13px; }
.blink      { animation: blink 1s steps(2) infinite; }

@keyframes blink { 0%,49%{opacity:1} 50%,100%{opacity:0} }

/* ─── Providers ──────────────────────────────────────────────────────────── */

.providers {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 34px 24px;
  background: var(--bg-1);
}

.providers-label {
  text-align: center;
  font-size: 11.5px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--fg-3);
  margin-bottom: 20px;
  font-family: var(--font-mono);
}

.providers-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  max-width: 820px;
  margin: 0 auto;
}

.provider-chip {
  padding: 6px 15px;
  border: 1px solid var(--line);
  background: var(--bg-2);
  border-radius: 2px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--fg-1);
  transition: border-color 0.2s, color 0.2s;
}
.provider-chip:hover { border-color: var(--acc-dim); color: var(--acc-hi); }

/* ─── Platform modes ─────────────────────────────────────────────────────── */

.mode-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 52px;
}

.mode-card {
  background: var(--bg-1);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 26px;
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
  position: relative;
  overflow: hidden;
}
.mode-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--acc-dim), transparent);
  opacity: 0;
  transition: opacity 0.25s;
}
.mode-card:hover { border-color: var(--line2); transform: translateY(-2px); box-shadow: 0 12px 40px -12px rgba(0,0,0,0.6); }
.mode-card:hover::before { opacity: 1; }

.mode-name {
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: 600;
  color: var(--acc);
  margin-bottom: 10px;
}
.mode-name::before { content: '◈ '; font-size: 12px; color: var(--fg-3); }

.mode-desc {
  font-size: 13.5px;
  color: var(--fg-2);
  line-height: 1.7;
  margin-bottom: 16px;
}

.mode-views { display: flex; flex-wrap: wrap; gap: 6px; }

.view-chip {
  font-family: var(--font-mono);
  font-size: 11px;
  padding: 3px 9px;
  border-radius: 2px;
  border: 1px solid var(--line);
  background: var(--bg-2);
  color: var(--fg-1);
}

/* ─── Features ───────────────────────────────────────────────────────────── */

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 56px;
}

.feature-card {
  background: var(--bg-1);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 28px;
  transition: border-color 0.2s, transform 0.2s;
}
.feature-card:hover { border-color: var(--line2); transform: translateY(-2px); }

.feature-card--wide { grid-column: span 2; }

.feature-icon {
  width: 40px; height: 40px;
  border-radius: var(--r-sm);
  background: var(--acc-glow);
  border: 1px solid rgba(0, 229, 114, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--acc);
  margin-bottom: 16px;
}

.feature-card h3 {
  font-size: 16px;
  font-weight: 600;
  color: var(--fg-0);
  margin-bottom: 8px;
  letter-spacing: -0.2px;
}

.feature-card p {
  font-size: 14px;
  color: var(--fg-2);
  line-height: 1.7;
}

.feature-cmd {
  margin-top: 16px;
  padding: 10px 14px;
  background: var(--bg-0);
  border-radius: var(--r-sm);
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--fg-1);
  border: 1px solid var(--line);
  overflow-x: auto;
  white-space: nowrap;
}

/* ─── Demo section ───────────────────────────────────────────────────────── */

.demo {
  background: var(--bg-1);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.demo-tabs { display: flex; gap: 4px; }

.demo-tab {
  padding: 9px 20px;
  background: transparent;
  border: 1px solid transparent;
  border-radius: var(--r-sm) var(--r-sm) 0 0;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 500;
  color: var(--fg-2);
  cursor: pointer;
  transition: all 0.15s;
}
.demo-tab.active {
  background: var(--bg-2);
  color: var(--acc-hi);
  border-color: var(--line);
  border-bottom-color: var(--bg-2);
  position: relative;
  bottom: -1px;
}
.demo-tab:hover:not(.active) { color: var(--fg-1); }

.demo-terminal {
  border-radius: 0 var(--r-md) var(--r-md) var(--r-md);
  background: var(--bg-2);
  border: 1px solid var(--line);
  box-shadow: 0 24px 80px -20px rgba(0, 0, 0, 0.8);
  overflow: hidden;
  max-width: 860px;
}

.demo-body { min-height: 340px; }

.demo-panel { display: none; }
.demo-panel.active { display: block; animation: panel-in 0.25s ease; }

@keyframes panel-in {
  from { opacity: 0; transform: translateY(4px); }
  to   { opacity: 1; transform: none; }
}

/* ─── Networks ───────────────────────────────────────────────────────────── */

.net-diagram {
  margin: 24px 0 56px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

.net-level {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.net-node {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--fg-0);
  background: var(--bg-2);
  border: 1px solid var(--line2);
  border-radius: var(--r-sm);
  padding: 12px 22px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.net-node-label {
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--fg-3);
}

.net-node-sub {
  font-size: 10.5px;
  color: var(--fg-3);
  margin-top: 3px;
}

.net-node--root {
  border-color: var(--acc-dim);
  box-shadow: 0 0 30px rgba(0, 229, 114, 0.12);
  color: var(--acc-hi);
  padding: 14px 34px;
}
.net-node--root .net-node-label { color: var(--acc); }

.net-node--agent {
  font-size: 12px;
  padding: 8px 16px;
  color: var(--fg-1);
  border-color: var(--line);
}

.net-branch {
  width: 1px;
  height: 34px;
  background: linear-gradient(to bottom, var(--acc-dim), var(--line2));
  position: relative;
}
.net-branch--wide { height: 30px; }
.net-branch::before, .net-branch::after {
  content: '';
  position: absolute;
  bottom: 0;
  width: 120px;
  height: 1px;
  background: var(--line2);
}
.net-branch::before { right: 0; }
.net-branch::after  { left: 0; }

.net-points {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.net-point h3 {
  font-size: 15px;
  font-weight: 600;
  color: var(--fg-0);
  margin-bottom: 8px;
}
.net-point h3::before { content: '» '; color: var(--acc); }

.net-point p {
  font-size: 13.5px;
  color: var(--fg-2);
  line-height: 1.7;
}

/* ─── Enterprise ─────────────────────────────────────────────────────────── */

.enterprise {
  background: var(--bg-1);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.ent-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 52px;
}

.ent-card {
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--bg-2);
  padding: 26px;
  transition: border-color 0.2s;
}
.ent-card:hover { border-color: var(--acc-dim); }

.ent-num {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  color: var(--acc);
  width: 34px; height: 34px;
  border: 1px solid rgba(0, 229, 114, 0.3);
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  background: var(--acc-glow);
}

.ent-card h3 {
  font-size: 15.5px;
  font-weight: 600;
  color: var(--fg-0);
  margin-bottom: 8px;
}

.ent-card p {
  font-size: 13.5px;
  color: var(--fg-2);
  line-height: 1.7;
}

/* ─── How it works ───────────────────────────────────────────────────────── */

.steps {
  display: flex;
  align-items: flex-start;
  margin-top: 60px;
  flex-wrap: wrap;
}

.step { flex: 1; min-width: 190px; padding: 0 18px; }
.step:first-child { padding-left: 0; }
.step:last-child  { padding-right: 0; }

.step-number {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  color: var(--acc);
  letter-spacing: 2px;
  margin-bottom: 14px;
}
.step-number::before { content: '['; color: var(--fg-3); }
.step-number::after  { content: ']'; color: var(--fg-3); }

.step h3 {
  font-size: 17px;
  font-weight: 600;
  color: var(--fg-0);
  margin-bottom: 10px;
}

.step p {
  font-size: 13.5px;
  color: var(--fg-2);
  line-height: 1.7;
}

.step-connector {
  flex-shrink: 0;
  width: 36px;
  height: 1px;
  background: linear-gradient(to right, var(--line), var(--acc), var(--line));
  margin-top: 34px;
  opacity: 0.6;
}

/* ─── Download ───────────────────────────────────────────────────────────── */

.download {
  background: radial-gradient(ellipse 70% 50% at 50% 100%, rgba(0, 229, 114, 0.05) 0%, transparent 70%), var(--bg-0);
}

.download-inner { text-align: center; position: relative; z-index: 1; }
.download-inner .section-sub { margin: 0 auto 52px; }

.download-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr 1fr;
  gap: 16px;
  margin-bottom: 44px;
  text-align: left;
}

.download-card {
  background: var(--bg-1);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 9px;
  transition: border-color 0.2s, transform 0.2s;
}
.download-card:hover { border-color: var(--line2); transform: translateY(-2px); }

.download-card--featured {
  border-color: rgba(0, 229, 114, 0.35);
  background: linear-gradient(150deg, var(--bg-1) 0%, rgba(0, 229, 114, 0.045) 100%);
  box-shadow: 0 0 50px rgba(0, 229, 114, 0.07);
}
.download-card--featured:hover { border-color: rgba(0, 229, 114, 0.55); }

.dl-os-icon { color: var(--acc); margin-bottom: 4px; }
.dl-os-icon--dim { color: var(--fg-2); }

.dl-platform { font-size: 20px; font-weight: 700; color: var(--fg-0); }
.dl-sub { font-size: 13px; color: var(--fg-2); }

.dl-note {
  font-size: 11.5px;
  color: var(--fg-3);
  margin-top: 10px;
  line-height: 1.5;
}

.dl-version {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--fg-3);
  margin-bottom: 8px;
}

.dl-btn { width: 100%; margin-top: 4px; }

.dl-btn-sm {
  display: block;
  text-align: center;
  padding: 7px 14px;
  font-size: 12px;
  font-family: var(--font-mono);
  color: var(--fg-2);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  cursor: pointer;
  transition: all 0.15s;
}
.dl-btn-sm:hover { color: var(--acc-hi); border-color: var(--acc-dim); }

.cli-install {
  max-width: 480px;
  margin: 0 auto 32px;
  background: var(--bg-1);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 22px 26px;
}

.cli-install-label {
  font-size: 11px;
  color: var(--fg-3);
  font-family: var(--font-mono);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.cli-install-cmd {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: var(--bg-0);
  border: 1px solid var(--line2);
  border-radius: var(--r-sm);
  padding: 12px 16px;
  margin-bottom: 10px;
}
.cli-install-cmd code {
  font-size: 14px;
  color: var(--acc-hi);
  background: none;
  border: none;
  padding: 0;
}
.cli-install-cmd code::before { content: '$ '; color: var(--fg-3); }

.copy-btn {
  background: none;
  border: none;
  color: var(--fg-3);
  cursor: pointer;
  padding: 2px;
  transition: color 0.15s;
  flex-shrink: 0;
  display: flex;
}
.copy-btn:hover { color: var(--acc); }

.cli-install-note { font-size: 12px; color: var(--fg-3); line-height: 1.6; }

/* ── First-run warning ───────────────────────────────────────────────────
   Unsigned builds trip Gatekeeper and SmartScreen. A visitor who meets that
   dialog with no warning reads it as "this download is malware", not as
   "this developer hasn't paid Apple yet" — and never comes back. Quote the
   dialog verbatim so it is recognisable, then give the way out. */
.firstrun {
  max-width: 900px;
  margin: 0 auto 32px;
  background: var(--bg-1);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 24px 26px;
  text-align: left;
}
.firstrun-head { display: flex; gap: 13px; align-items: flex-start; margin-bottom: 22px; }
.firstrun-icon { color: var(--acc-dim); flex-shrink: 0; margin-top: 2px; }
.firstrun-title {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--fg-1);
  margin-bottom: 8px;
}
.firstrun-lede { font-size: 13px; color: var(--fg-2); line-height: 1.65; max-width: 68ch; }

.firstrun-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.firstrun-col { border-top: 1px solid var(--line); padding-top: 15px; }
.firstrun-os {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--acc-hi);
  margin-bottom: 10px;
}
.firstrun-quote {
  font-size: 12px;
  color: var(--fg-1);
  line-height: 1.6;
  font-style: italic;
  border-left: 2px solid var(--line2);
  padding-left: 11px;
  margin-bottom: 13px;
}
.firstrun-steps { margin: 0 0 11px; padding-left: 17px; }
.firstrun-steps li { font-size: 12.5px; color: var(--fg-2); line-height: 1.7; margin-bottom: 3px; }
.firstrun-steps strong { color: var(--fg-1); font-weight: 500; }
.firstrun-steps code {
  font-family: var(--font-mono); font-size: 11.5px;
  color: var(--acc-hi); background: var(--bg-0);
  border: 1px solid var(--line); border-radius: 3px; padding: 1px 5px;
}
.firstrun-note { font-size: 11.5px; color: var(--fg-3); line-height: 1.6; }
.firstrun-note strong { color: var(--fg-2); font-weight: 500; }
.firstrun-foot {
  margin-top: 20px; padding-top: 15px;
  border-top: 1px solid var(--line);
  font-size: 12px; color: var(--fg-3);
}

@media (max-width: 860px) {
  .firstrun-cols { grid-template-columns: 1fr; gap: 18px; }
}

.system-reqs {
  display: flex;
  justify-content: center;
  gap: 28px;
  flex-wrap: wrap;
}

.req {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  color: var(--fg-2);
  font-family: var(--font-mono);
  font-size: 12px;
}
.req svg { color: var(--acc); flex-shrink: 0; }

/* ─── Footer ─────────────────────────────────────────────────────────────── */

footer {
  border-top: 1px solid var(--line);
  padding: 40px 24px;
  background: var(--bg-1);
}

.footer-inner {
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}

.footer-logo {
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: 600;
  display: flex;
  align-items: baseline;
}
.footer-logo .logo-bracket { color: var(--acc); }
.footer-logo .logo-text    { color: var(--fg-1); }

.footer-links { display: flex; gap: 20px; }
.footer-links a {
  font-size: 13px;
  font-family: var(--font-mono);
  color: var(--fg-2);
  transition: color 0.15s;
}
.footer-links a:hover { color: var(--acc-hi); }

.footer-copy {
  margin-left: auto;
  font-size: 12px;
  font-family: var(--font-mono);
  color: var(--fg-3);
}

/* ─── Scroll reveal ──────────────────────────────────────────────────────── */

.fade-in {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.fade-in.visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .fade-in { opacity: 1; transform: none; transition: none; }
  .t-caret, .blink, .badge-pulse { animation: none; }
  html { scroll-behavior: auto; }
}

/* ─── Responsive ─────────────────────────────────────────────────────────── */

@media (max-width: 980px) {
  .mode-grid { grid-template-columns: 1fr 1fr; }
  .feature-grid { grid-template-columns: 1fr 1fr; }
  .ent-grid { grid-template-columns: 1fr 1fr; }
  .net-points { grid-template-columns: 1fr; gap: 24px; }
  .download-grid { grid-template-columns: 1fr; }
  .download-card--featured { order: -1; }
  .steps { flex-direction: column; gap: 34px; }
  .step-connector { display: none; }
  .step { padding: 0; }
}

@media (max-width: 640px) {
  .nav-links { display: none; }
  .hero-h1 { letter-spacing: -1.2px; }
  .mode-grid, .feature-grid, .ent-grid { grid-template-columns: 1fr; }
  .feature-card--wide { grid-column: span 1; }
  .demo-tabs { overflow-x: auto; padding-bottom: 1px; }
  .net-branch::before, .net-branch::after { width: 40px; }
  .footer-inner { flex-direction: column; align-items: flex-start; gap: 16px; }
  .footer-copy { margin-left: 0; }
  .system-reqs { flex-direction: column; align-items: center; }
  .section-inner { padding: 80px 20px; }
}


/* "Coming soon" marker — features that exist in the product but are not
   exposed in the current release. Honest beats aspirational: a visitor who
   downloads expecting one of these and cannot find it reads it as broken. */
.soon{
  display:inline-block; margin-left:9px; padding:2px 9px;
  border:1px solid var(--line2); border-radius:999px;
  color:var(--fg-3); font-family:var(--font-mono);
  font-size:10.5px; letter-spacing:.09em; text-transform:uppercase;
  vertical-align:middle; font-weight:400;
}
.view-chip.is-soon{ opacity:.45; }
