:root {
  color-scheme: dark;
  --ink: #f4f8ff;
  --muted: #96a8bf;
  --faint: #5f748e;
  --navy: #07111f;
  --panel: #0b1a2d;
  --panel-2: #0e2138;
  --line: rgba(148, 181, 218, 0.16);
  --cyan: #22d3ee;
  --cyan-soft: rgba(34, 211, 238, 0.12);
  --blue: #4a86ff;
  --max: 1180px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background:
    radial-gradient(circle at 80% 8%, rgba(30, 116, 172, 0.18), transparent 28rem),
    var(--navy);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.site-header,
.site-footer,
.hero,
.section,
.principle-band {
  width: min(calc(100% - 48px), var(--max));
  margin-inline: auto;
}

.site-header {
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  font-size: 21px;
  font-weight: 750;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.brand img { border-radius: 9px; }

nav { display: flex; align-items: center; gap: 30px; }
nav a { color: var(--muted); font-size: 14px; font-weight: 650; text-decoration: none; }
nav a:hover { color: var(--ink); }

.nav-cta {
  padding: 8px 15px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.035);
}

.hero {
  min-height: 690px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, 0.88fr);
  align-items: center;
  gap: 72px;
  padding: 78px 0 88px;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 22px;
  color: var(--cyan);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.eyebrow span {
  width: 22px;
  height: 1px;
  background: var(--cyan);
  box-shadow: 0 0 10px var(--cyan);
}

h1, h2, h3 { margin-top: 0; line-height: 1.08; letter-spacing: -0.045em; }

h1 { margin-bottom: 26px; font-size: clamp(52px, 6vw, 82px); font-weight: 740; }
h1 em { color: var(--cyan); font-style: normal; }
h2 { margin-bottom: 22px; font-size: clamp(40px, 4.8vw, 64px); font-weight: 720; }
h3 { margin-bottom: 14px; font-size: 23px; }

.hero-lead {
  max-width: 650px;
  margin: 0;
  color: var(--muted);
  font-size: 20px;
  line-height: 1.65;
}

.hero-actions { display: flex; gap: 12px; margin-top: 36px; }

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border-radius: 9px;
  font-size: 14px;
  font-weight: 750;
  text-decoration: none;
}

.button.primary { background: var(--cyan); color: #04131f; box-shadow: 0 10px 32px rgba(34, 211, 238, 0.16); }
.button.primary:hover { background: #67e8f9; }
.button.secondary { border: 1px solid var(--line); background: rgba(255,255,255,0.03); color: var(--ink); }
.button.secondary:hover { border-color: rgba(34, 211, 238, 0.45); }

.release-note { margin-top: 24px; color: var(--faint); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 12px; }
.release-note span { display: inline-block; width: 6px; height: 6px; margin-right: 8px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 10px var(--cyan); }

.console {
  overflow: hidden;
  border: 1px solid rgba(91, 151, 204, 0.22);
  border-radius: 16px;
  background: linear-gradient(155deg, rgba(16, 40, 67, 0.95), rgba(7, 20, 35, 0.96));
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.32), inset 0 1px rgba(255,255,255,0.03);
}

.console-bar,
.console-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  color: var(--faint);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.console-bar { border-bottom: 1px solid var(--line); }
.console-status { color: var(--cyan); }

.flight-plan { margin: 0; padding: 4px 18px; list-style: none; }

.flight-plan li {
  display: grid;
  grid-template-columns: 38px 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}

.flight-plan li:last-child { border-bottom: 0; }
.step-number { color: var(--faint); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 11px; }
.flight-plan strong { display: block; margin-bottom: 2px; font-size: 14px; letter-spacing: -0.01em; }
.flight-plan small { display: block; color: var(--muted); font-size: 12px; }
.step-state { padding: 4px 7px; border-radius: 5px; background: var(--cyan-soft); color: var(--cyan); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 9px; font-weight: 800; letter-spacing: 0.08em; }
.console-footer { border-top: 1px solid var(--line); }
.console-footer i { width: 7px; height: 7px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 12px var(--cyan); }

.principle-band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-block: 1px solid var(--line);
}

.principle-band span {
  padding: 20px 16px;
  border-right: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-align: center;
  text-transform: uppercase;
}

.principle-band span:last-child { border-right: 0; }

.section { padding: 130px 0; }

.workflows { display: grid; grid-template-columns: 0.72fr 1.28fr; gap: 88px; }
.section-heading { position: sticky; top: 32px; align-self: start; }
.section-heading > p:last-child, .start-copy > p:last-child { color: var(--muted); }

.workflow-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

.workflow-grid article {
  min-height: 280px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: linear-gradient(145deg, rgba(16, 39, 64, 0.78), rgba(9, 25, 43, 0.78));
}

.workflow-grid article:hover { border-color: rgba(34, 211, 238, 0.28); transform: translateY(-2px); transition: 180ms ease; }
.workflow-grid p { margin: 0; color: var(--muted); font-size: 14px; }
.card-index { display: block; margin-bottom: 42px; color: var(--cyan); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 11px; }
.skill-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 24px; }
.skill-tags code { padding: 4px 7px; border: 1px solid var(--line); border-radius: 5px; color: #a9bdd5; background: rgba(0,0,0,0.12); font-size: 10px; }

.start {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  align-items: center;
  gap: 90px;
  margin-bottom: 90px;
  padding-inline: 64px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: linear-gradient(120deg, rgba(15, 43, 69, 0.75), rgba(7, 22, 38, 0.7));
}

.command-stack { display: grid; gap: 12px; }
.command-card { padding: 20px; border: 1px solid rgba(34, 211, 238, 0.22); border-radius: 12px; background: rgba(4, 15, 26, 0.55); }
.command-card > div { display: flex; justify-content: space-between; margin-bottom: 14px; }
.command-card span { color: var(--faint); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase; }
.command-card strong { font-size: 12px; }
.command-card code { display: block; overflow-x: auto; color: var(--ink); font-size: 16px; white-space: nowrap; }
.command-card code b { margin-right: 10px; color: var(--cyan); }
.command-card.muted { border-color: var(--line); }

.site-footer {
  min-height: 120px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  color: var(--faint);
  font-size: 13px;
}

.footer-brand { margin-right: 12px; color: var(--ink); font-size: 16px; font-weight: 750; text-decoration: none; }
.footer-links { display: flex; gap: 24px; }
.footer-links a { color: var(--muted); text-decoration: none; }
.footer-links a:hover { color: var(--ink); }

.page-shell { width: min(calc(100% - 48px), 760px); min-height: 70vh; margin: 0 auto; padding: 90px 0 120px; }
.prose h1 { margin-bottom: 10px; font-size: clamp(42px, 6vw, 62px); }
.prose h2 { margin-top: 48px; font-size: 30px; }
.prose p, .prose li { color: var(--muted); }
.prose a { color: var(--cyan); }
.prose > p:first-of-type { color: var(--faint); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 12px; text-transform: uppercase; }

@media (max-width: 920px) {
  .hero { grid-template-columns: 1fr; gap: 54px; }
  .hero-copy { max-width: 700px; }
  .console { max-width: 620px; }
  .workflows, .start { grid-template-columns: 1fr; }
  .section-heading { position: static; }
  .start { gap: 50px; padding-inline: 40px; }
}

@media (max-width: 640px) {
  .site-header, .site-footer, .hero, .section, .principle-band { width: min(calc(100% - 30px), var(--max)); }
  .site-header { min-height: 74px; }
  nav > a:not(.nav-cta) { display: none; }
  .hero { min-height: auto; padding: 72px 0; }
  h1 { font-size: 48px; }
  .hero-lead { font-size: 17px; }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .principle-band { grid-template-columns: 1fr 1fr; }
  .principle-band span:nth-child(2) { border-right: 0; }
  .principle-band span:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .workflow-grid { grid-template-columns: 1fr; }
  .section { padding: 90px 0; }
  .start { width: min(calc(100% - 30px), var(--max)); margin-bottom: 50px; padding: 70px 22px; }
  .site-footer { align-items: flex-start; flex-direction: column; justify-content: center; gap: 14px; }
  .footer-links { gap: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
