:root {
  color-scheme: dark;
  --bg: #050607;
  --ink: #f2f7fb;
  --muted: #9aa8b5;
  --dim: #667482;
  --line: #27323d;
  --panel: #0b0f13;
  --panel-2: #111821;
  --panel-3: #151f29;
  --green: #5ff0b5;
  --blue: #7bb7ff;
  --amber: #ffcd6b;
  --red: #ff7474;
  --shadow: rgba(0, 0, 0, 0.46);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
}

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

svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.sprite {
  display: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px clamp(20px, 5vw, 72px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(5, 6, 7, 0.9);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--green);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-weight: 750;
}

.brand svg {
  width: 22px;
  height: 22px;
}

nav {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--muted);
  font-size: 14px;
}

nav a:hover {
  color: var(--ink);
}

.hero {
  position: relative;
  min-height: 88vh;
  overflow: hidden;
  padding: 118px clamp(20px, 5vw, 72px) 96px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-grid {
  position: absolute;
  inset: 0;
  opacity: 0.45;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(to bottom, #000 0%, rgba(0, 0, 0, 0.82) 54%, transparent 100%);
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 900px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--green);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 13px;
  text-transform: uppercase;
}

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

h1 {
  max-width: 980px;
  margin-bottom: 24px;
  font-size: clamp(46px, 7vw, 92px);
  line-height: 0.98;
}

h2 {
  max-width: 900px;
  margin-bottom: 18px;
  font-size: clamp(32px, 4.6vw, 60px);
  line-height: 1.03;
}

h3 {
  margin-bottom: 12px;
  font-size: 20px;
}

.lede {
  max-width: 760px;
  color: var(--muted);
  font-size: 20px;
  line-height: 1.55;
}

.hero-actions,
.badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-actions {
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 46px;
  padding: 12px 16px;
  border-radius: 8px;
  font-weight: 700;
}

.button.primary {
  background: var(--green);
  color: #03100b;
}

.button.secondary {
  border: 1px solid var(--line);
  background: rgba(11, 15, 19, 0.76);
  color: var(--ink);
}

.install-command {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  max-width: 100%;
  margin-top: 16px;
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(11, 15, 19, 0.86);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.18);
}

.install-command span {
  color: var(--dim);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12px;
  text-transform: uppercase;
}

.install-command code {
  overflow-x: auto;
  color: var(--blue);
  font-size: 14px;
  white-space: nowrap;
}

.badges {
  margin-top: 18px;
}

.badges span {
  padding: 7px 10px;
  border: 1px solid rgba(95, 240, 181, 0.28);
  border-radius: 999px;
  color: #b8f8dc;
  background: rgba(95, 240, 181, 0.08);
  font-size: 13px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.hero-scene {
  position: absolute;
  right: clamp(20px, 5vw, 72px);
  bottom: 44px;
  z-index: 1;
  width: min(560px, 43vw);
  min-height: 390px;
  pointer-events: none;
}

.status-strip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(11, 15, 19, 0.9);
  color: var(--muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12px;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 24px rgba(95, 240, 181, 0.85);
}

.terminal {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(11, 15, 19, 0.94);
  box-shadow: 0 36px 110px var(--shadow);
  overflow: hidden;
}

.hero-terminal {
  transform: rotate(-1deg);
}

.terminal-bar {
  display: flex;
  gap: 8px;
  padding: 14px;
  border-bottom: 1px solid var(--line);
}

.terminal-bar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--line);
}

.terminal-bar span:first-child {
  background: var(--red);
}

.terminal-bar span:nth-child(2) {
  background: var(--amber);
}

.terminal-bar span:nth-child(3) {
  background: var(--green);
}

code,
pre {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

pre {
  margin: 0;
  overflow-x: auto;
}

.terminal pre {
  padding: 24px;
  color: #d8e3ec;
  font-size: 14px;
  line-height: 1.55;
}

.signal-card {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 11px 13px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #0f151c;
  color: var(--ink);
  box-shadow: 0 18px 56px var(--shadow);
  font-size: 13px;
  font-weight: 700;
}

.signal-card svg {
  color: var(--green);
}

.card-a {
  left: -18px;
  bottom: 96px;
}

.card-b {
  right: 22px;
  bottom: 22px;
}

.card-c {
  right: 10px;
  top: 58px;
}

.band {
  padding: 92px clamp(20px, 5vw, 72px);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.band.alt {
  background: #080b0f;
}

.section-heading {
  max-width: 880px;
  margin-bottom: 36px;
}

.section-heading p:not(.eyebrow) {
  max-width: 760px;
  color: var(--muted);
  line-height: 1.6;
}

.command-matrix {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.onboarding-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
  gap: 22px;
  align-items: stretch;
}

.onboarding-terminal {
  min-height: 100%;
}

.onboarding-copy {
  display: grid;
  gap: 14px;
}

.onboarding-item {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel-2);
}

.onboarding-item svg {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 1px solid rgba(95, 240, 181, 0.26);
  border-radius: 8px;
  color: var(--green);
  background: rgba(95, 240, 181, 0.08);
}

.onboarding-item h3 {
  margin-bottom: 6px;
}

.onboarding-item p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.6;
}

.comparison-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel-2);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.22);
}

.comparison-table {
  width: 100%;
  min-width: 860px;
  border-collapse: collapse;
}

.comparison-table th,
.comparison-table td {
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
  text-align: center;
  vertical-align: middle;
}

.comparison-table thead th {
  color: var(--ink);
  background: #0d131a;
  font-size: 14px;
}

.comparison-table thead th:first-child,
.comparison-table tbody th {
  text-align: left;
}

.comparison-table thead span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
}

.comparison-table thead svg {
  width: 28px;
  height: 28px;
  padding: 6px;
  border: 1px solid rgba(95, 240, 181, 0.26);
  border-radius: 8px;
  color: var(--green);
  background: rgba(95, 240, 181, 0.08);
}

.comparison-table tbody th {
  width: 38%;
  color: #d8e3ec;
  font-weight: 650;
  line-height: 1.5;
}

.comparison-table tbody tr:last-child th,
.comparison-table tbody tr:last-child td {
  border-bottom: 0;
}

.check,
.dash {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-weight: 900;
}

.check {
  color: #052016;
  background: var(--green);
}

.dash {
  color: var(--dim);
  background: #0a0f14;
}

.value {
  display: inline-flex;
  justify-content: center;
  max-width: 170px;
  color: #d8e3ec;
  font-size: 13px;
  font-weight: 750;
  line-height: 1.35;
}

.value.positive {
  color: #b8f8dc;
}

.value.limited {
  color: var(--amber);
}

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

.comparison-footnote {
  max-width: 860px;
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.text-link {
  display: inline-flex;
  margin-right: 18px;
  align-self: end;
  color: var(--green);
  font-weight: 750;
}

.text-link:hover {
  color: var(--ink);
}

.tradeoff-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
  gap: 18px;
  margin-top: 18px;
}

.tradeoff-grid article {
  padding: 18px;
  border: 1px solid rgba(123, 183, 255, 0.25);
  border-radius: 8px;
  background: rgba(123, 183, 255, 0.08);
}

.tradeoff-grid h3 {
  margin-bottom: 8px;
}

.tradeoff-grid p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.6;
}

.command-card,
.mode-card,
.flow-step,
.roadmap-grid article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel-2);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.22);
}

.command-card {
  min-height: 100%;
  padding: 24px;
}

.command-card.wide {
  grid-column: span 3;
}

.card-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 18px;
  border: 1px solid rgba(95, 240, 181, 0.26);
  border-radius: 8px;
  color: var(--green);
  background: rgba(95, 240, 181, 0.08);
}

dl {
  display: grid;
  gap: 14px;
  margin-bottom: 0;
}

dt {
  margin-bottom: 6px;
}

dt code,
.mode-card code {
  display: block;
  width: 100%;
  overflow-x: auto;
  padding: 10px 11px;
  border: 1px solid #243140;
  border-radius: 8px;
  background: #080c10;
  color: var(--blue);
  font-size: 13px;
  line-height: 1.45;
}

dd {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.mode-grid,
.roadmap-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.mode-card {
  display: grid;
  gap: 14px;
  align-content: start;
  min-height: 280px;
  padding: 24px;
}

.mode-card svg {
  width: 34px;
  height: 34px;
  color: var(--green);
}

.mode-card p,
.flow-step p,
.roadmap-grid p {
  color: var(--muted);
  line-height: 1.6;
}

.flow {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.flow-step {
  position: relative;
  min-height: 260px;
  padding: 22px;
  background: var(--panel);
}

.flow-step span {
  display: inline-flex;
  margin-bottom: 42px;
  color: var(--dim);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-weight: 800;
}

.flow-step svg {
  position: absolute;
  right: 20px;
  top: 20px;
  width: 34px;
  height: 34px;
  color: var(--green);
}

.roadmap-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.roadmap-grid article {
  min-height: 190px;
  padding: 24px;
}

footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 32px clamp(20px, 5vw, 72px);
  color: var(--muted);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 13px;
}

@media (max-width: 1120px) {
  .hero-scene {
    opacity: 0.45;
    right: -90px;
    width: 620px;
  }

  .command-matrix,
  .mode-grid,
  .onboarding-panel,
  .tradeoff-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .flow {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  nav {
    display: none;
  }

  .hero {
    min-height: auto;
    padding-top: 82px;
  }

  .hero-scene {
    position: relative;
    right: auto;
    bottom: auto;
    width: 100%;
    min-height: auto;
    margin-bottom: 34px;
    opacity: 1;
  }

  .hero-terminal {
    transform: none;
  }

  .signal-card {
    display: none;
  }

  h1 {
    font-size: 46px;
  }

  .install-command {
    display: flex;
    width: 100%;
  }

  .install-command code {
    min-width: 0;
  }

  .command-matrix,
  .mode-grid,
  .flow,
  .roadmap-grid,
  .onboarding-panel,
  .tradeoff-grid {
    grid-template-columns: 1fr;
  }

  .onboarding-item {
    grid-template-columns: 38px minmax(0, 1fr);
    padding: 16px;
  }

  .onboarding-item svg {
    width: 38px;
    height: 38px;
  }

  .command-card.wide {
    grid-column: span 1;
  }

  footer {
    align-items: flex-start;
    flex-direction: column;
  }
}
