:root {
  color-scheme: dark;
  --bg: #06070b;
  --panel: rgba(255,255,255,.06);
  --panel-strong: rgba(255,255,255,.09);
  --line: rgba(255,255,255,.13);
  --text: #f5f7fb;
  --muted: #aab3c5;
  --dim: #737f96;
  --blue: #6da7ff;
  --cyan: #71e4ff;
  --green: #70e4a2;
  --max: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 18% 8%, rgba(109,167,255,.22), transparent 34rem),
    radial-gradient(circle at 84% 12%, rgba(113,228,255,.12), transparent 28rem),
    linear-gradient(180deg, #06070b 0%, #080b12 48%, #05060a 100%);
  color: var(--text);
  line-height: 1.58;
}
a { color: inherit; }
.shell { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; }
header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(6,7,11,.82);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
}
.nav {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-weight: 800;
  letter-spacing: -.03em;
  font-size: 1.1rem;
}
.mark {
  width: 34px;
  height: 34px;
  border: 1px solid rgba(113,228,255,.45);
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, rgba(109,167,255,.22), rgba(113,228,255,.04));
}
.mark::before {
  content: "";
  width: 13px;
  height: 13px;
  border: 2px solid var(--cyan);
  border-radius: 4px;
  transform: rotate(45deg);
}
.links {
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--muted);
  font-size: .92rem;
  font-weight: 700;
}
.links a { text-decoration: none; }
.links a:hover, .links a.active { color: var(--text); }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.18);
  text-decoration: none;
  font-weight: 800;
  font-size: .95rem;
}
.button.primary {
  color: #07111e;
  background: linear-gradient(135deg, var(--cyan), var(--blue));
  border: 0;
}
.button.secondary {
  background: rgba(255,255,255,.04);
  color: var(--text);
}
.hero { padding: 86px 0 70px; }
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, .78fr);
  gap: 48px;
  align-items: center;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  color: var(--cyan);
  background: rgba(113,228,255,.08);
  border: 1px solid rgba(113,228,255,.22);
  border-radius: 999px;
  font-weight: 800;
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .08em;
}
h1 {
  margin: 22px 0 20px;
  font-size: clamp(3rem, 6.5vw, 6.3rem);
  line-height: .92;
  letter-spacing: -.075em;
}
h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.7rem);
  line-height: .98;
  letter-spacing: -.06em;
}
h3 {
  margin: 0 0 10px;
  letter-spacing: -.035em;
  font-size: 1.16rem;
}
.lead {
  color: #d9dfeb;
  font-size: clamp(1.08rem, 2vw, 1.34rem);
  max-width: 760px;
  margin: 0 0 28px;
}
.page { padding: 72px 0 86px; }
.section-head {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 36px;
  align-items: end;
  margin-bottom: 34px;
}
.section-head p, .muted { color: var(--muted); margin: 0; }
.actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 30px; }
.pill-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.pill {
  border: 1px solid var(--line);
  background: rgba(255,255,255,.035);
  border-radius: 999px;
  padding: 8px 12px;
  color: var(--muted);
  font-size: .9rem;
}
.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card {
  border: 1px solid var(--line);
  background: var(--panel);
  border-radius: 24px;
  padding: 26px;
  min-height: 210px;
}
.card p { color: var(--muted); margin: 0; }
.tag {
  display: inline-flex;
  min-height: 32px;
  align-items: center;
  padding: 0 11px;
  border-radius: 999px;
  background: rgba(113,228,255,.09);
  color: var(--cyan);
  border: 1px solid rgba(113,228,255,.2);
  font-weight: 800;
  font-size: .76rem;
  text-transform: uppercase;
  letter-spacing: .07em;
  margin-bottom: 20px;
}
.terminal {
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.035));
  border-radius: 28px;
  overflow: hidden;
}
.terminal-top {
  padding: 15px 18px;
  border-bottom: 1px solid var(--line);
  color: var(--dim);
  font-size: .8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
}
pre {
  margin: 0;
  padding: 22px;
  white-space: pre-wrap;
  font: 500 .9rem/1.65 "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  color: #dfe8f7;
}
.key { color: var(--cyan); }
.value { color: var(--green); }
.diagram {
  border: 1px solid var(--line);
  border-radius: 30px;
  background: var(--panel-strong);
  padding: 24px;
}
.lane {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 16px;
  align-items: stretch;
}
.node {
  background: rgba(6,7,11,.56);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 22px;
}
.node p { margin: 0; color: var(--muted); }
.arrow {
  align-self: center;
  color: var(--cyan);
  font-weight: 800;
  font-size: 1.5rem;
}
.callout {
  border: 1px solid rgba(112,228,162,.22);
  background: linear-gradient(135deg, rgba(112,228,162,.10), rgba(109,167,255,.05));
  border-radius: 30px;
  padding: 30px;
}
.list {
  display: grid;
  gap: 14px;
}
.row {
  border: 1px solid var(--line);
  background: var(--panel);
  border-radius: 18px;
  padding: 18px 20px;
}
.row b { color: var(--cyan); text-transform: uppercase; letter-spacing: .08em; font-size: .84rem; }
.row p { margin: 8px 0 0; color: var(--muted); }
article {
  border: 1px solid var(--line);
  border-radius: 30px;
  background: var(--panel);
  padding: clamp(26px, 5vw, 54px);
}
article h2 {
  margin: 42px 0 12px;
  font-size: clamp(1.55rem, 3vw, 2.4rem);
  line-height: 1.05;
  letter-spacing: -.045em;
}
article h2:first-child { margin-top: 0; }
article p {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 1.05rem;
}
article strong { color: var(--text); }
article ul {
  margin: 0 0 18px;
  padding-left: 22px;
  color: var(--muted);
}
article li { margin: 8px 0; }
.highlight {
  color: var(--green);
  font-weight: 800;
}
footer {
  border-top: 1px solid var(--line);
  padding: 30px 0;
  color: var(--dim);
  font-size: .92rem;
}
.footer-grid { display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap; }
@media (max-width: 920px) {
  .links { display: none; }
  .hero-grid, .section-head, .grid, .grid.two, .grid.four, .lane { grid-template-columns: 1fr; }
  .arrow { transform: rotate(90deg); justify-self: center; }
  .hero { padding-top: 56px; }
}
