* { box-sizing: border-box; }
:root {
  color-scheme: dark;
  --bg: #070a0d;
  --bg-elev: #0b1117;
  --panel: rgba(12, 18, 24, .88);
  --panel-strong: rgba(15, 24, 32, .96);
  --line: rgba(143, 170, 185, .18);
  --line-strong: rgba(37, 214, 177, .38);
  --ink: #f4f8f7;
  --soft: #c9d7d4;
  --muted: #8ca19c;
  --faint: #60716d;
  --cyan: #6bd7ff;
  --green: #25d6b1;
  --lime: #79f2a7;
  --amber: #ffc857;
  --red: #ff6b6b;
  --blue: #7db3ff;
  --mono: ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", monospace;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, Segoe UI, sans-serif;
}
html, body { margin: 0; min-width: 0; background: var(--bg); }
body {
  color: var(--ink);
  font-family: var(--sans);
  overflow-x: hidden;
  background:
    linear-gradient(180deg, rgba(7,10,13,.92), rgba(6,9,12,.98) 42%, #050708 100%),
    #070a0d;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(139, 170, 185, .055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(139, 170, 185, .04) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(180deg, #000 0%, rgba(0,0,0,.68) 42%, transparent 88%);
}
a { color: inherit; text-decoration: none; }
p, h1, h2, h3 { margin-top: 0; }
p { color: var(--muted); line-height: 1.6; }
code, pre, input, select, textarea { font-family: var(--mono); }
button, input, select, textarea { font: inherit; }
.shell { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }
.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(255,255,255,.08);
  background: rgba(7, 10, 13, .86);
  backdrop-filter: blur(18px);
}
.topbar-inner {
  min-height: 72px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 22px;
}
.brand {
  display: inline-grid;
  grid-template-columns: 44px auto;
  align-items: center;
  gap: 12px;
  min-width: 0;
}
.brand img { width: 44px; height: 44px; border-radius: 8px; }
.brand b { display: block; font-size: 21px; line-height: 1; }
.brand span {
  display: block;
  margin-top: 4px;
  color: var(--green);
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
}
.nav {
  display: flex;
  justify-content: flex-end;
  gap: 16px;
  color: var(--soft);
  font-size: 13px;
  font-weight: 700;
}
.nav a { white-space: nowrap; }
.nav a:hover { color: var(--green); }
.button, button.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  padding: 0 15px;
  color: var(--ink);
  background: rgba(19, 35, 39, .82);
  font-weight: 800;
  cursor: pointer;
}
.button.primary {
  color: #031412;
  border-color: rgba(121, 242, 167, .7);
  background: linear-gradient(135deg, var(--green), var(--lime));
}
.button.secondary { border-color: rgba(125,179,255,.34); background: rgba(17, 27, 38, .82); }
.button:disabled { cursor: wait; opacity: .68; }
.hero {
  position: relative;
  min-height: 620px;
  display: grid;
  align-items: stretch;
  margin-bottom: 38px;
}
.hero-art {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
}
.hero-art picture {
  display: block;
  width: 100%;
  height: 100%;
}
.hero-art img {
  width: 100%;
  height: 100%;
  min-height: 620px;
  object-fit: cover;
  opacity: .78;
}
.hero-art::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7,10,13,.98) 0%, rgba(7,10,13,.86) 34%, rgba(7,10,13,.26) 74%, rgba(7,10,13,.82) 100%),
    linear-gradient(180deg, rgba(7,10,13,.16), #070a0d 100%);
}
.hero-content {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(340px, .58fr);
  align-items: center;
  gap: 44px;
  padding: 56px 0 46px;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  border: 1px solid rgba(37,214,177,.34);
  border-radius: 999px;
  padding: 0 10px;
  color: var(--green);
  background: rgba(37,214,177,.09);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}
h1 {
  max-width: 760px;
  margin: 18px 0;
  font-size: clamp(46px, 7vw, 92px);
  line-height: .94;
  letter-spacing: 0;
}
.lede {
  max-width: 680px;
  color: #d9e5e2;
  font-size: clamp(18px, 2vw, 21px);
}
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-proof {
  display: grid;
  gap: 12px;
  align-self: center;
}
.proof-tile {
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 8px;
  padding: 15px;
  background: rgba(6, 11, 15, .72);
  box-shadow: 0 18px 70px rgba(0,0,0,.18);
}
.proof-tile small {
  display: block;
  color: var(--faint);
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
}
.proof-tile strong {
  display: block;
  margin-top: 7px;
  color: var(--ink);
  font-family: var(--mono);
  font-size: 14px;
  overflow-wrap: anywhere;
}
.proof-tile.ok strong { color: var(--lime); }
.section {
  padding: 54px 0;
  border-top: 1px solid rgba(255,255,255,.07);
}
.section-head {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(260px, .42fr);
  gap: 32px;
  align-items: end;
  margin-bottom: 22px;
}
.section h2 { margin: 0; font-size: clamp(29px, 4vw, 48px); line-height: 1.05; }
.section-head p { margin-bottom: 0; }
.flow {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
}
.flow-step {
  position: relative;
  min-height: 132px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
  background: rgba(10, 17, 23, .78);
}
.flow-step b { display: block; color: var(--green); font-family: var(--mono); font-size: 12px; }
.flow-step strong { display: block; margin-top: 10px; font-size: 17px; }
.flow-step p { margin: 8px 0 0; font-size: 13px; }
.tool-grid {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: 18px;
}
.panel {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  overflow: hidden;
}
.panel-title {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid rgba(255,255,255,.08);
  padding: 13px 16px;
  color: var(--soft);
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}
.panel-title span { color: var(--green); }
.panel-body { padding: 16px; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.field { display: grid; gap: 7px; min-width: 0; }
.field.full { grid-column: 1 / -1; }
.field label { color: var(--soft); font-family: var(--mono); font-size: 12px; text-transform: uppercase; }
.field input, .field select, .field textarea {
  width: 100%;
  min-height: 40px;
  border: 1px solid rgba(143,170,185,.22);
  border-radius: 8px;
  background: rgba(0,0,0,.22);
  color: var(--ink);
  padding: 9px 10px;
  outline: none;
}
.field textarea { min-height: 112px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(37,214,177,.09);
}
.result {
  min-height: 280px;
  margin: 0;
  padding: 16px;
  overflow: auto;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  background: #050809;
  color: #d5fff2;
  font-size: 12px;
  line-height: 1.5;
}
.status-grid, .capability-grid, .path-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}
.status-card, .cap-card, .path-card {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
  background: rgba(10, 17, 23, .78);
}
.status-card b, .cap-card b, .path-card b {
  display: block;
  color: var(--soft);
  font-size: 13px;
}
.status-card strong {
  display: block;
  margin-top: 9px;
  color: var(--lime);
  font-family: var(--mono);
  font-size: 13px;
}
.status-card span, .cap-card span, .path-card span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}
.cap-card small {
  display: inline-flex;
  margin-top: 12px;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 999px;
  padding: 4px 8px;
  color: var(--green);
  font-family: var(--mono);
  font-size: 10px;
  text-transform: uppercase;
}
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.filter {
  min-height: 34px;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 999px;
  padding: 0 12px;
  color: var(--soft);
  background: rgba(10,17,23,.8);
  cursor: pointer;
  font-size: 12px;
  font-weight: 800;
}
.filter[aria-pressed="true"] { color: #031412; background: var(--green); border-color: var(--green); }
.snippet-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.snippet-tabs button {
  min-height: 34px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 8px;
  padding: 0 12px;
  color: var(--soft);
  background: rgba(0,0,0,.18);
  cursor: pointer;
  font-family: var(--mono);
  font-size: 12px;
}
.snippet-tabs button[aria-selected="true"] { color: #031412; background: var(--green); }
.footer {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 30px 0 48px;
  color: var(--muted);
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 18px;
}
.footer a { color: var(--soft); }
.compact-main { padding: 42px 0 64px; }
.page-hero { padding: 56px 0 30px; }
.page-hero h1 { max-width: 900px; font-size: clamp(40px, 6vw, 74px); }
.table-shell { overflow: auto; border: 1px solid var(--line); border-radius: 8px; }
table { width: 100%; border-collapse: collapse; min-width: 820px; background: rgba(10,17,23,.78); }
th, td { border-bottom: 1px solid rgba(255,255,255,.07); padding: 12px 13px; text-align: left; vertical-align: top; }
th { color: var(--green); font-family: var(--mono); font-size: 12px; text-transform: uppercase; }
td { color: var(--soft); font-size: 13px; }
td code { color: #d5fff2; }
@media (max-width: 980px) {
  .topbar-inner { grid-template-columns: 1fr; padding: 14px 0; }
  .nav { justify-content: flex-start; overflow-x: auto; }
  .hero-content, .section-head, .tool-grid { grid-template-columns: 1fr; }
  .hero { min-height: 0; }
  .hero-art img { min-height: 760px; }
  .flow, .status-grid, .capability-grid, .path-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .shell { width: min(100% - 28px, 1180px); }
  .hero-content { padding-top: 34px; gap: 24px; }
  .hero-proof { display: none; }
  .flow, .status-grid, .capability-grid, .path-grid, .form-grid { grid-template-columns: 1fr; }
  .field.full { grid-column: auto; }
  .topbar-inner { min-height: 0; }
  .brand { grid-template-columns: 38px auto; }
  .brand img { width: 38px; height: 38px; }
}
