:root {
  --bg: #07090d;
  --bg-soft: #0b0f17;
  --surface: #101722;
  --surface-raised: #141d2b;
  --surface-muted: #182233;
  --border: rgba(203, 213, 225, 0.12);
  --border-strong: rgba(203, 213, 225, 0.22);
  --divider: rgba(148, 163, 184, 0.16);
  --text: #f4f1ea;
  --soft: #d6d3cb;
  --muted: #9ca3af;
  --faint: #6b7280;
  --gold: #c9a45c;
  --gold-soft: #e0c98f;
  --blue: #6f8faf;
  --cyan: #7aa6b8;
  --positive: #7fae8b;
  --warning: #d0a85c;
  --negative: #b87575;
  --neutral: #94a3b8;
  --positive-bg: rgba(127, 174, 139, 0.12);
  --warning-bg: rgba(208, 168, 92, 0.12);
  --negative-bg: rgba(184, 117, 117, 0.12);
  --neutral-bg: rgba(148, 163, 184, 0.1);
  --font-display: "Space Grotesk", Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-body: Inter, "IBM Plex Sans", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: "IBM Plex Mono", "DM Mono", "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 72px;
  --radius: 3px;
  --nav-height: 68px;
  --max: 1240px;
  --page-gutter: 40px;
}

* {
  box-sizing: border-box;
}

html {
  color-scheme: dark;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.55;
  min-width: 320px;
}

a {
  color: inherit;
}

img,
svg {
  max-width: 100%;
}

button,
input {
  font: inherit;
}

.site-shell {
  min-height: 100vh;
}

.container {
  width: min(var(--max), calc(100% - var(--page-gutter)));
  margin-inline: auto;
}

.hero {
  min-height: 690px;
  display: grid;
  align-items: center;
  padding: calc(var(--nav-height) + var(--space-8)) 0 var(--space-7);
}

.terminal-grid {
  background:
    linear-gradient(rgba(148, 163, 184, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 163, 184, 0.035) 1px, transparent 1px),
    linear-gradient(180deg, rgba(201, 164, 92, 0.08), transparent 30%),
    var(--bg);
  background-size: 44px 44px, 44px 44px, auto, auto;
}

.hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(420px, 1fr);
  gap: var(--space-7);
  align-items: center;
}

.hero h1 {
  margin: 0;
  max-width: 780px;
  font-family: var(--font-display);
  font-size: clamp(3.2rem, 7vw, 5.8rem);
  line-height: 0.96;
  letter-spacing: 0;
}

.hero-line {
  margin: var(--space-5) 0 var(--space-2);
  color: var(--gold);
  font-family: var(--font-mono);
  font-size: 1.15rem;
}

.hero-text {
  max-width: 640px;
  color: var(--soft);
  font-size: clamp(1rem, 1.8vw, 1.15rem);
}

.eyebrow {
  margin: 0 0 var(--space-3);
  color: var(--cyan);
  font-family: var(--font-mono);
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section {
  padding: var(--space-8) 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.compact-section {
  padding: var(--space-6) 0;
}

.section-head {
  margin-bottom: var(--space-5);
}

h2,
h3,
p {
  margin-top: 0;
}

h2 {
  margin-bottom: var(--space-3);
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.2vw, 2.8rem);
  line-height: 1.08;
  letter-spacing: 0;
}

h3 {
  margin-bottom: var(--space-2);
  font-family: var(--font-display);
  font-size: 1.25rem;
  line-height: 1.2;
}

p {
  color: var(--soft);
  margin-bottom: var(--space-4);
}

p:last-child {
  margin-bottom: 0;
}

.page-hero {
  padding: calc(var(--nav-height) + var(--space-7)) 0 var(--space-7);
  background: linear-gradient(180deg, var(--bg-soft), var(--bg));
}

.compact-page-hero {
  padding: calc(var(--nav-height) + var(--space-5)) 0 var(--space-5);
}

.page-hero h1 {
  max-width: 920px;
  margin: 0 0 var(--space-4);
  font-family: var(--font-display);
  font-size: clamp(2.45rem, 5vw, 4.6rem);
  line-height: 1;
  letter-spacing: 0;
}

.page-hero p {
  max-width: 760px;
  font-size: 1.05rem;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.8fr);
  gap: var(--space-6);
  align-items: start;
}

.split-band {
  background: var(--bg-soft);
}

.stack {
  display: grid;
  gap: var(--space-5);
}

.muted {
  color: var(--muted);
}

@media (max-width: 1180px) {
  :root {
    --page-gutter: 32px;
    --space-8: 60px;
    --space-7: 42px;
  }

  .section {
    padding: var(--space-7) 0;
  }

  .compact-section {
    padding: var(--space-6) 0;
  }
}

@media (max-width: 900px) {
  :root {
    --page-gutter: 28px;
    --nav-height: 64px;
  }

  .hero-layout,
  .split {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: calc(var(--nav-height) + var(--space-7));
  }

  .section,
  .compact-section {
    padding: var(--space-5) 0;
  }

  .page-hero,
  .compact-page-hero {
    padding: calc(var(--nav-height) + var(--space-4)) 0 var(--space-4);
  }
}

@media (max-width: 560px) {
  :root {
    --page-gutter: 24px;
    --space-8: 44px;
    --space-7: 34px;
    --space-6: 26px;
    --space-5: 20px;
  }

  .container {
    width: min(100% - var(--page-gutter), var(--max));
  }

  .hero {
    min-height: auto;
    padding-bottom: var(--space-6);
  }

  .hero h1 {
    font-size: clamp(2.8rem, 14vw, 4rem);
  }

  .page-hero h1 {
    font-size: clamp(2.15rem, 12vw, 3.4rem);
  }
}
