:root {
  color-scheme: dark;
  --bg: #07100c;
  --bg-deep: #040806;
  --surface: #0d1913;
  --surface-2: #122219;
  --surface-3: #172b20;
  --ink: #f4f7f2;
  --muted: #a8b4ac;
  --muted-2: #738078;
  --line: rgba(229, 240, 231, 0.12);
  --line-strong: rgba(229, 240, 231, 0.2);
  --green: #9beaaf;
  --green-bright: #b8f7c7;
  --green-dark: #173f27;
  --amber: #f4cb73;
  --red: #f29a90;
  --white: #fff;
  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 28px;
  --shadow: 0 32px 100px rgba(0, 0, 0, 0.28);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 76% 5%, rgba(66, 178, 101, 0.14), transparent 27rem),
    linear-gradient(180deg, #0a1510 0%, var(--bg) 42%, var(--bg-deep) 100%);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

a { color: inherit; }

button,
textarea { font: inherit; }

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  color: var(--bg);
  background: var(--green);
  border-radius: 8px;
  transform: translateY(-150%);
}

.skip-link:focus { transform: translateY(0); }

.page-width,
.nav-shell {
  width: min(1180px, calc(100% - 48px));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  z-index: 50;
  top: 0;
  border-bottom: 1px solid var(--line);
  background: rgba(7, 16, 12, 0.82);
  backdrop-filter: blur(18px);
}

.nav-shell {
  min-height: 76px;
  display: flex;
  align-items: center;
  gap: 32px;
}

.brand {
  display: inline-flex;
  flex: 0 0 auto;
  gap: 12px;
  align-items: center;
  color: var(--ink);
  font-weight: 720;
  letter-spacing: -0.025em;
  text-decoration: none;
}

.brand-mark {
  width: 38px;
  height: 38px;
  display: inline-flex;
  gap: 3px;
  align-items: flex-end;
  justify-content: center;
  padding: 9px;
  border: 1px solid rgba(184, 247, 199, 0.3);
  border-radius: 11px;
  background: linear-gradient(145deg, rgba(155, 234, 175, 0.19), rgba(155, 234, 175, 0.06));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.brand-mark i {
  width: 4px;
  display: block;
  border-radius: 4px;
  background: var(--green);
}

.brand-mark i:nth-child(1) { height: 8px; opacity: 0.65; }
.brand-mark i:nth-child(2) { height: 14px; }
.brand-mark i:nth-child(3) { height: 19px; opacity: 0.82; }

nav {
  display: flex;
  gap: 27px;
  align-items: center;
  margin-left: auto;
}

nav a {
  color: var(--muted);
  font-size: 14px;
  font-weight: 550;
  text-decoration: none;
  transition: color 150ms ease;
}

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

.nav-cta {
  min-height: 40px;
  display: inline-flex;
  gap: 10px;
  align-items: center;
  padding: 0 16px;
  border: 1px solid var(--line-strong);
  border-radius: 9px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 650;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.045);
}

.nav-cta:hover { border-color: rgba(155, 234, 175, 0.5); }

.hero {
  min-height: 720px;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(400px, 0.92fr);
  gap: clamp(48px, 7vw, 96px);
  align-items: center;
  padding-top: 84px;
  padding-bottom: 86px;
}

.hero-copy { max-width: 670px; }

.eyebrow,
.section-label,
.overline {
  color: var(--green);
  font-size: 11px;
  font-weight: 760;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.eyebrow {
  display: flex;
  gap: 9px;
  align-items: center;
  margin-bottom: 24px;
}

.signal-dot {
  width: 8px;
  height: 8px;
  display: inline-block;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 5px rgba(155, 234, 175, 0.09), 0 0 20px rgba(155, 234, 175, 0.55);
}

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

h1,
h2,
h3 { line-height: 1.08; }

h1 {
  max-width: 760px;
  margin-bottom: 25px;
  font-size: clamp(52px, 6.3vw, 81px);
  font-weight: 680;
  letter-spacing: -0.062em;
}

h2 {
  margin-bottom: 22px;
  font-size: clamp(36px, 5vw, 59px);
  font-weight: 640;
  letter-spacing: -0.052em;
}

h3 {
  margin-bottom: 12px;
  font-size: 20px;
  font-weight: 650;
  letter-spacing: -0.022em;
}

.lede {
  max-width: 650px;
  margin-bottom: 32px;
  color: #b8c3bb;
  font-size: clamp(17px, 2vw, 20px);
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  gap: 12px;
  align-items: center;
}

.button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 21px;
  border: 1px solid transparent;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 150ms ease, border-color 150ms ease, background 150ms ease;
}

.button:hover { transform: translateY(-2px); }

.button-primary {
  color: #0a160e;
  background: var(--green);
  box-shadow: 0 12px 36px rgba(65, 173, 93, 0.15);
}

.button-primary:hover { background: var(--green-bright); }

.button-secondary {
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.035);
}

.button-secondary:hover { border-color: rgba(155, 234, 175, 0.45); }

.button-light {
  color: #0a160e;
  background: #eaf3ec;
}

.microcopy {
  margin: 17px 0 0;
  color: var(--muted-2);
  font-size: 12px;
}

.pipeline-card {
  overflow: hidden;
  border: 1px solid rgba(217, 241, 223, 0.16);
  border-radius: 22px;
  background: rgba(12, 24, 17, 0.82);
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255, 255, 255, 0.045);
  transform: rotate(1deg);
}

.window-bar {
  min-height: 54px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0 18px;
  border-bottom: 1px solid var(--line);
  color: var(--muted-2);
  background: rgba(255, 255, 255, 0.022);
  font-size: 11px;
}

.window-bar > :last-child { justify-self: end; }

.window-dots { display: flex; gap: 5px; }
.window-dots span { width: 6px; height: 6px; border-radius: 50%; background: #445148; }

.pipeline-body { padding: 25px; }

.pipeline-intro {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 22px;
}

.pipeline-intro strong { display: block; margin-top: 5px; font-size: 17px; }

.pill {
  display: inline-flex;
  gap: 7px;
  align-items: center;
  padding: 5px 9px;
  border-radius: 99px;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
}

.pill-green { color: var(--green); background: rgba(155, 234, 175, 0.1); }
.pill-green span { width: 6px; height: 6px; border-radius: 50%; background: var(--green); }

.pipeline-list { margin: 0; padding: 0; list-style: none; }

.pipeline-list li {
  display: grid;
  grid-template-columns: 34px 1fr auto;
  gap: 13px;
  align-items: center;
  padding: 15px 0;
  border-top: 1px solid var(--line);
}

.step-icon {
  width: 31px;
  height: 31px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(155, 234, 175, 0.18);
  border-radius: 8px;
  color: var(--green);
  background: rgba(155, 234, 175, 0.065);
  font: 650 9px ui-monospace, SFMono-Regular, Menlo, monospace;
}

.pipeline-list strong,
.pipeline-list small { display: block; }
.pipeline-list strong { font-size: 13px; }
.pipeline-list small { margin-top: 2px; color: var(--muted-2); font-size: 10px; }
.step-state { color: var(--muted-2); font: 650 9px ui-monospace, SFMono-Regular, Menlo, monospace; }

.pipeline-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 7px;
  padding: 13px 15px;
  border: 1px solid rgba(244, 203, 115, 0.17);
  border-radius: 9px;
  color: var(--amber);
  background: rgba(244, 203, 115, 0.055);
  font-size: 10px;
}

.proof-bar {
  border-block: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.018);
}

.proof-grid { display: grid; grid-template-columns: repeat(4, 1fr); }

.proof-grid > div {
  min-height: 110px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 28px;
  border-left: 1px solid var(--line);
}

.proof-grid > div:last-child { border-right: 1px solid var(--line); }
.proof-grid strong { color: var(--green); font-size: 22px; font-weight: 650; letter-spacing: -0.03em; }
.proof-grid span { color: var(--muted-2); font-size: 11px; }

.section { padding-block: 120px; }
.section-tinted { border-block: 1px solid var(--line); background: rgba(255, 255, 255, 0.018); }

.section-label { margin-bottom: 15px; }

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.56fr);
  gap: 100px;
  align-items: end;
  margin-bottom: 56px;
}

.section-heading h2 { max-width: 750px; margin-bottom: 0; }
.section-heading > p { margin-bottom: 7px; color: var(--muted); }
.section-heading.compact { grid-template-columns: 1fr; }

.feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.feature-card {
  min-height: 310px;
  padding: 33px;
  overflow: hidden;
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.012));
}

.feature-card p { max-width: 540px; color: var(--muted); }
.feature-wide { grid-column: 1 / -1; min-height: 285px; display: grid; grid-template-columns: 56px 1fr 0.75fr; gap: 20px; align-items: start; }
.feature-number { color: var(--muted-2); font: 600 12px ui-monospace, SFMono-Regular, Menlo, monospace; }

.check-stack { display: flex; flex-direction: column; gap: 9px; }
.check-stack span { padding: 13px 15px; border: 1px solid var(--line); border-radius: 9px; color: #c9d2cb; background: rgba(0, 0, 0, 0.12); font-size: 12px; }
.check-stack i { margin-right: 9px; color: var(--green); font-style: normal; }

.result-pills { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 42px; }
.result-pills span { padding: 7px 10px; border: 1px solid var(--line); border-radius: 7px; color: var(--muted); background: rgba(255,255,255,.025); font-size: 11px; }
.result-pills .result-good { color: var(--green); border-color: rgba(155,234,175,.25); }
.result-pills .result-warn { color: var(--amber); border-color: rgba(244,203,115,.25); }
.result-pills .result-bad { color: var(--red); border-color: rgba(242,154,144,.25); }

.meter { height: 68px; display: flex; gap: 9px; align-items: end; margin-top: 38px; }
.meter span { width: 15%; height: 75%; border-radius: 5px 5px 2px 2px; background: linear-gradient(180deg, var(--green), #3d774c); }
.meter span:nth-child(1) { height: 27%; }
.meter span:nth-child(2) { height: 48%; }
.meter span:nth-child(3) { height: 66%; }
.meter span.dim { height: 74%; background: rgba(155,234,175,.1); border: 1px solid rgba(155,234,175,.1); }

.workflow-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: workflow;
}

.workflow-grid li { min-height: 235px; padding: 28px 27px; border-block: 1px solid var(--line); border-left: 1px solid var(--line); }
.workflow-grid li:first-child { border-radius: var(--radius) 0 0 var(--radius); }
.workflow-grid li:last-child { border-right: 1px solid var(--line); border-radius: 0 var(--radius) var(--radius) 0; }
.workflow-grid li > span { width: 33px; height: 33px; display: grid; place-items: center; margin-bottom: 40px; border: 1px solid rgba(155,234,175,.2); border-radius: 50%; color: var(--green); font: 650 11px ui-monospace, SFMono-Regular, Menlo, monospace; }
.workflow-grid p { color: var(--muted); font-size: 14px; }

.workflow-actions { display: flex; gap: 34px; margin-top: 27px; }
.text-link { color: var(--green); font-size: 13px; font-weight: 650; text-decoration: none; }
.text-link span { margin-left: 7px; }
.text-link:hover { text-decoration: underline; text-underline-offset: 5px; }

.safeguards { display: grid; grid-template-columns: .78fr 1.22fr; gap: 100px; }
.safeguard-copy { position: sticky; top: 120px; align-self: start; }
.safeguard-copy p:not(.section-label) { max-width: 500px; margin-bottom: 28px; color: var(--muted); }

.control-list { border-top: 1px solid var(--line); }
.control-list article { display: grid; grid-template-columns: 48px 1fr; gap: 21px; padding: 28px 0; border-bottom: 1px solid var(--line); }
.control-list h3 { margin-bottom: 7px; }
.control-list p { margin-bottom: 0; color: var(--muted); }
.control-icon { width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 11px; color: var(--green); background: rgba(255,255,255,.025); }

.ops-panel {
  display: grid;
  grid-template-columns: 1fr .7fr;
  gap: 90px;
  padding: clamp(35px, 6vw, 72px);
  border: 1px solid rgba(155, 234, 175, 0.2);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 85% 10%, rgba(75, 186, 106, 0.16), transparent 20rem),
    linear-gradient(145deg, #122219, #0c1811);
  box-shadow: var(--shadow);
}

.ops-panel h2 { max-width: 570px; }
.ops-panel p:not(.section-label) { max-width: 580px; color: var(--muted); }
.ops-details > div { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 15px 0; border-bottom: 1px solid var(--line); font-size: 12px; }
.ops-details > div span { color: var(--muted); }
.ops-details > div strong { font-weight: 620; }
.ops-details .signal-dot { width: 6px; height: 6px; margin-right: 5px; }
.ops-details .button { width: 100%; margin-top: 21px; }
.mono { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }

.final-cta { border-top: 1px solid rgba(255,255,255,.2); color: #0b1910; background: var(--green); }
.final-cta .section-label { color: #285d37; }
.final-cta-inner { min-height: 380px; display: grid; grid-template-columns: 1.2fr .55fr; gap: 90px; align-items: center; }
.final-cta h2 { max-width: 700px; margin-bottom: 0; }
.final-cta p:not(.section-label) { color: #285235; }

.site-footer { padding-block: 70px 45px; border-top: 1px solid var(--line); background: #040806; }
.footer-grid { display: grid; grid-template-columns: 1.5fr .65fr .65fr; gap: 55px; }
.footer-grid > div:first-child p { max-width: 340px; margin: 20px 0 0; color: var(--muted-2); font-size: 13px; }
.footer-grid > div:not(:first-child):not(.footer-meta) { display: flex; flex-direction: column; gap: 9px; }
.footer-grid strong { margin-bottom: 5px; color: var(--ink); font-size: 12px; }
.footer-grid a:not(.brand) { color: var(--muted-2); font-size: 12px; text-decoration: none; }
.footer-grid a:hover { color: var(--ink); }
.footer-meta { grid-column: 1 / -1; display: flex; justify-content: space-between; padding-top: 28px; border-top: 1px solid var(--line); color: var(--muted-2); font-size: 11px; }

/* Interior pages */
.page-hero { padding-top: 105px; padding-bottom: 70px; border-bottom: 1px solid var(--line); }
.page-hero h1 { max-width: 950px; font-size: clamp(46px, 7vw, 76px); }
.page-hero .lede { max-width: 760px; }
.breadcrumb { margin-bottom: 24px; color: var(--muted-2); font-size: 12px; }
.breadcrumb a { text-decoration: none; }
.breadcrumb span { margin: 0 8px; }
.interior { padding-block: 80px 120px; }
.content-grid { display: grid; grid-template-columns: 220px minmax(0, 760px); gap: 90px; }
.side-nav { position: sticky; top: 110px; align-self: start; display: flex; flex-direction: column; gap: 5px; }
.side-nav a { padding: 8px 10px; border-left: 1px solid var(--line); color: var(--muted-2); font-size: 12px; text-decoration: none; }
.side-nav a:hover { color: var(--ink); border-left-color: var(--green); }
.prose section { padding-bottom: 62px; scroll-margin-top: 120px; }
.prose h2 { font-size: clamp(31px, 4vw, 46px); }
.prose h3 { margin-top: 32px; }
.prose p, .prose li { color: var(--muted); }
.prose ul, .prose ol { padding-left: 21px; }
.prose li { margin-bottom: 8px; }
.prose a { color: var(--green); }
.note { padding: 18px 20px; border: 1px solid rgba(155,234,175,.18); border-radius: 11px; color: #c8d7cc; background: rgba(155,234,175,.055); font-size: 13px; }
.code-block { overflow-x: auto; padding: 20px; border: 1px solid var(--line); border-radius: 11px; color: #c5e8ce; background: rgba(0,0,0,.24); font: 12px/1.7 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; white-space: pre; }
.data-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.data-table th, .data-table td { padding: 14px 13px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.data-table th { color: var(--ink); font-size: 11px; text-transform: uppercase; letter-spacing: .08em; }
.data-table td { color: var(--muted); }

/* Batch preparation utility */
.tool-layout { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(280px, .85fr); gap: 20px; }
.tool-panel, .summary-panel, .status-card { border: 1px solid var(--line); border-radius: var(--radius); background: rgba(255,255,255,.025); }
.tool-panel { padding: 28px; }
.tool-panel label { display: block; margin-bottom: 10px; font-size: 13px; font-weight: 650; }
.tool-panel textarea { width: 100%; min-height: 320px; resize: vertical; padding: 16px; border: 1px solid var(--line-strong); border-radius: 10px; outline: 0; color: var(--ink); background: rgba(0,0,0,.22); font: 13px/1.65 ui-monospace, SFMono-Regular, Menlo, monospace; }
.tool-panel textarea:focus { border-color: rgba(155,234,175,.55); box-shadow: 0 0 0 3px rgba(155,234,175,.08); }
.tool-hint { display: flex; justify-content: space-between; gap: 16px; margin: 8px 0 18px; color: var(--muted-2); font-size: 11px; }
.tool-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.button-reset { cursor: pointer; }
.button:disabled { cursor: not-allowed; opacity: .45; transform: none; }
.summary-panel { padding: 28px; }
.summary-panel h2 { font-size: 26px; }
.summary-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; margin: 24px 0; }
.summary-grid div { padding: 15px; border: 1px solid var(--line); border-radius: 9px; background: rgba(0,0,0,.11); }
.summary-grid strong, .summary-grid span { display: block; }
.summary-grid strong { font-size: 24px; }
.summary-grid span { color: var(--muted-2); font-size: 10px; text-transform: uppercase; }
.issue-list { max-height: 260px; overflow-y: auto; margin: 0; padding: 0; list-style: none; }
.issue-list li { padding: 9px 0; border-bottom: 1px solid var(--line); color: var(--muted); font: 11px ui-monospace, SFMono-Regular, Menlo, monospace; overflow-wrap: anywhere; }
.local-only { margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--line); color: var(--muted-2); font-size: 11px; }

/* Status host */
.status-shell { min-height: calc(100vh - 76px); padding-block: 90px; }
.status-heading { display: flex; justify-content: space-between; gap: 30px; align-items: flex-end; margin-bottom: 40px; }
.status-heading h1 { margin-bottom: 0; font-size: clamp(46px, 7vw, 74px); }
.live-badge { display: inline-flex; gap: 9px; align-items: center; padding: 10px 13px; border: 1px solid rgba(155,234,175,.2); border-radius: 99px; color: var(--green); background: rgba(155,234,175,.07); font-size: 12px; font-weight: 650; }
.status-banner { display: flex; gap: 17px; align-items: center; padding: 24px; border: 1px solid rgba(155,234,175,.24); border-radius: 15px; background: rgba(155,234,175,.07); }
.status-banner > span:first-child { width: 39px; height: 39px; display: grid; place-items: center; border-radius: 50%; color: #102417; background: var(--green); font-weight: 800; }
.status-banner strong, .status-banner small { display: block; }
.status-banner small { margin-top: 3px; color: var(--muted); }
.component-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 18px; }
.status-card { min-height: 175px; padding: 24px; }
.status-card-head { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 32px; }
.status-card p { margin-bottom: 0; color: var(--muted-2); font-size: 12px; }
.status-ok { color: var(--green); font-size: 11px; }
.status-ok::before { content: ""; width: 6px; height: 6px; display: inline-block; margin-right: 6px; border-radius: 50%; background: var(--green); }
.status-section { padding-top: 70px; }
.status-section h2 { font-size: 34px; }
.limits-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.limits-grid div { padding: 20px; border: 1px solid var(--line); border-radius: 11px; }
.limits-grid strong, .limits-grid span { display: block; }
.limits-grid strong { color: var(--green); font-size: 18px; }
.limits-grid span { margin-top: 4px; color: var(--muted-2); font-size: 10px; }
.status-meta { margin-top: 35px; color: var(--muted-2); font-size: 11px; }

.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.spaced-heading { margin-top: 90px; margin-bottom: 0; }
.contact-card { min-height: 230px; padding: 30px; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(255,255,255,.025); }
.contact-card a { color: var(--green); text-underline-offset: 4px; }
.contact-card p { color: var(--muted); }

/* Server-backed service portal */
.portal-hero {
  min-height: 650px;
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(360px, .74fr);
  gap: clamp(55px, 8vw, 115px);
  align-items: center;
  padding-block: 90px;
}

.portal-hero h1 { max-width: 780px; }

.portal-connection {
  overflow: hidden;
  border: 1px solid rgba(155, 234, 175, .2);
  border-radius: 20px;
  background: linear-gradient(145deg, rgba(22, 42, 30, .94), rgba(9, 19, 13, .94));
  box-shadow: var(--shadow);
}

.portal-connection-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 22px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
}

.portal-connection .pill b { font: inherit; }
.portal-connection dl { margin: 0; padding: 12px 22px; }
.portal-connection dl div { display: flex; justify-content: space-between; gap: 24px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.portal-connection dl div:last-child { border-bottom: 0; }
.portal-connection dt { color: var(--muted-2); font-size: 11px; }
.portal-connection dd { margin: 0; font-size: 11px; text-align: right; overflow-wrap: anywhere; }
.portal-connection > a { display: flex; justify-content: space-between; gap: 16px; padding: 18px 22px; border-top: 1px solid var(--line); color: var(--green); font-size: 11px; text-decoration: none; }
.portal-connection > a:hover { background: rgba(155, 234, 175, .04); }

.portal-band { padding-block: 72px; border-block: 1px solid var(--line); background: rgba(255, 255, 255, .018); }
.portal-band-head { display: flex; justify-content: space-between; gap: 60px; align-items: end; margin-bottom: 30px; }
.portal-band-head h2 { margin-bottom: 0; font-size: clamp(31px, 4vw, 43px); }
.portal-band-head > p { max-width: 430px; margin-bottom: 5px; color: var(--muted); font-size: 13px; }
.portal-metrics { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: 15px; }
.portal-metrics article { min-width: 0; padding: 24px; border-right: 1px solid var(--line); }
.portal-metrics article:last-child { border-right: 0; }
.portal-metrics span, .portal-metrics strong, .portal-metrics small { display: block; }
.portal-metrics span { margin-bottom: 19px; color: var(--muted-2); font-size: 10px; text-transform: uppercase; letter-spacing: .08em; }
.portal-metrics strong { margin-bottom: 4px; color: var(--green); font-size: clamp(25px, 3vw, 36px); font-weight: 620; letter-spacing: -.04em; }
.portal-metrics .metric-state { font-size: clamp(18px, 2.2vw, 25px); }
.portal-metrics small { color: var(--muted-2); font-size: 10px; }
.quota-track { height: 5px; overflow: hidden; margin-top: 14px; border-radius: 99px; background: rgba(155, 234, 175, .08); }
.quota-track span { width: 0; height: 100%; display: block; border-radius: inherit; background: linear-gradient(90deg, #69c77f, var(--green)); transition: width 400ms ease; }

.portal-diagnostic { display: grid; grid-template-columns: .76fr 1.24fr; gap: clamp(60px, 9vw, 125px); align-items: start; }
.portal-diagnostic-copy { position: sticky; top: 120px; }
.portal-diagnostic-copy > p:not(.section-label) { color: var(--muted); }
.portal-scope-list { margin: 30px 0; padding: 0; list-style: none; }
.portal-scope-list li { display: flex; gap: 12px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); color: #c4cec7; font-size: 13px; }
.portal-scope-list li span { width: 20px; color: var(--green); font-weight: 700; text-align: center; }
.portal-diagnostic-copy .note { color: #c8d7cc; }

.diagnostic-console { overflow: hidden; border: 1px solid var(--line-strong); border-radius: 20px; background: linear-gradient(145deg, rgba(18, 34, 25, .92), rgba(8, 16, 11, .92)); box-shadow: var(--shadow); }
.diagnostic-console-head { min-height: 54px; display: flex; justify-content: space-between; gap: 20px; align-items: center; padding: 0 24px; border-bottom: 1px solid var(--line); color: var(--muted-2); font-size: 10px; text-transform: uppercase; letter-spacing: .08em; }
.diagnostic-console form { padding: 25px; border-bottom: 1px solid var(--line); }
.diagnostic-console label { display: block; margin-bottom: 10px; font-size: 12px; font-weight: 650; }
.domain-input-row { display: grid; grid-template-columns: 1fr auto; gap: 9px; }
.domain-input-row input { min-width: 0; height: 50px; padding: 0 15px; border: 1px solid var(--line-strong); border-radius: 9px; outline: 0; color: var(--ink); background: rgba(0, 0, 0, .2); font: 13px ui-monospace, SFMono-Regular, Menlo, monospace; }
.domain-input-row input:focus { border-color: rgba(155, 234, 175, .58); box-shadow: 0 0 0 3px rgba(155, 234, 175, .08); }
.domain-input-row input:disabled { opacity: .6; }
.domain-examples { margin-top: 10px; color: var(--muted-2); font-size: 10px; }
.domain-examples button { margin: 0; padding: 0; border: 0; cursor: pointer; color: var(--green); background: none; font: inherit; text-decoration: underline; text-underline-offset: 3px; }
.diagnostic-empty { min-height: 370px; display: grid; place-items: center; align-content: center; padding: 45px; text-align: center; }
.diagnostic-empty strong { margin-top: 22px; }
.diagnostic-empty p { max-width: 340px; margin: 7px 0 0; color: var(--muted-2); font-size: 12px; }
.diagnostic-radar { width: 88px; height: 88px; display: grid; place-items: center; position: relative; border: 1px solid rgba(155, 234, 175, .2); border-radius: 50%; background: radial-gradient(circle, rgba(155, 234, 175, .13), transparent 65%); }
.diagnostic-radar::before, .diagnostic-radar::after { content: ""; position: absolute; border: 1px solid rgba(155, 234, 175, .1); border-radius: 50%; }
.diagnostic-radar::before { inset: 13px; }
.diagnostic-radar::after { inset: 28px; }
.diagnostic-radar i { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 22px rgba(155, 234, 175, .7); }
.diagnostic-result { min-height: 370px; padding: 29px 25px; }
.diagnostic-result[hidden], .diagnostic-empty[hidden] { display: none; }
.diagnostic-summary { display: flex; justify-content: space-between; gap: 25px; align-items: start; }
.diagnostic-summary h3 { margin-bottom: 0; font-size: 24px; overflow-wrap: anywhere; }
.result-badge { flex: 0 0 auto; padding: 7px 9px; border: 1px solid var(--line); border-radius: 99px; color: var(--muted); font-size: 9px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.result-badge.is-good { color: var(--green); border-color: rgba(155, 234, 175, .25); background: rgba(155, 234, 175, .07); }
.result-badge.is-warn { color: var(--amber); border-color: rgba(244, 203, 115, .25); background: rgba(244, 203, 115, .06); }
.result-badge.is-bad { color: var(--red); border-color: rgba(242, 154, 144, .25); background: rgba(242, 154, 144, .06); }
.diagnostic-result > p { margin: 20px 0; color: var(--muted); }
.diagnostic-details { margin: 0 0 22px; }
.diagnostic-details div { display: grid; grid-template-columns: 120px 1fr; gap: 20px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.diagnostic-details dt { color: var(--muted-2); font-size: 10px; text-transform: uppercase; }
.diagnostic-details dd { margin: 0; color: #c7d1ca; font: 11px/1.55 ui-monospace, SFMono-Regular, Menlo, monospace; overflow-wrap: anywhere; }
.diagnostic-result > small { color: var(--muted-2); font-size: 9px; }
.diagnostic-result.is-error { border-top: 2px solid rgba(242, 154, 144, .45); }

.portal-workflow { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(60px, 9vw, 120px); align-items: start; }
.portal-workflow > div > p:not(.section-label) { color: var(--muted); }
.portal-workflow ol { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.portal-workflow li { display: grid; grid-template-columns: 36px 1fr; gap: 18px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.portal-workflow li > span { width: 32px; height: 32px; display: grid; place-items: center; border: 1px solid rgba(155, 234, 175, .18); border-radius: 8px; color: var(--green); font: 650 9px ui-monospace, SFMono-Regular, Menlo, monospace; }
.portal-workflow strong, .portal-workflow small { display: block; }
.portal-workflow strong { margin-bottom: 3px; font-size: 13px; }
.portal-workflow small { color: var(--muted-2); font-size: 11px; }

@media (max-width: 980px) {
  nav { display: none; }
  .hero { grid-template-columns: 1fr; }
  .hero-copy { max-width: 780px; }
  .pipeline-card { max-width: 620px; transform: none; }
  .section-heading, .safeguards, .ops-panel, .final-cta-inner { grid-template-columns: 1fr; gap: 45px; }
  .section-heading { align-items: start; }
  .workflow-grid { grid-template-columns: 1fr 1fr; }
  .workflow-grid li:nth-child(2) { border-right: 1px solid var(--line); border-radius: 0 var(--radius) 0 0; }
  .workflow-grid li:first-child { border-radius: var(--radius) 0 0 0; }
  .workflow-grid li:nth-child(3) { border-radius: 0 0 0 var(--radius); }
  .workflow-grid li:last-child { border-radius: 0 0 var(--radius) 0; }
  .safeguard-copy { position: static; }
  .content-grid { grid-template-columns: 1fr; gap: 40px; }
  .side-nav { position: static; flex-flow: row wrap; }
  .tool-layout { grid-template-columns: 1fr; }
  .component-grid { grid-template-columns: 1fr 1fr; }
  .limits-grid { grid-template-columns: 1fr 1fr; }
  .portal-hero, .portal-diagnostic, .portal-workflow { grid-template-columns: 1fr; }
  .portal-connection { max-width: 620px; }
  .portal-metrics { grid-template-columns: 1fr 1fr; }
  .portal-metrics article:nth-child(2) { border-right: 0; }
  .portal-metrics article:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .portal-diagnostic-copy { position: static; }
}

@media (max-width: 680px) {
  .page-width, .nav-shell { width: min(100% - 32px, 1180px); }
  .nav-shell { min-height: 68px; }
  .brand { font-size: 14px; }
  .nav-cta { min-height: 38px; margin-left: auto; padding: 0 11px; font-size: 11px; }
  .nav-cta span { display: none; }
  .hero { min-height: auto; padding-top: 64px; padding-bottom: 66px; }
  h1 { font-size: clamp(43px, 14vw, 59px); }
  h2 { font-size: 38px; }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .button { width: 100%; min-height: 52px; }
  .pipeline-body { padding: 18px; }
  .window-bar { grid-template-columns: 1fr auto; }
  .window-bar > span:nth-child(2) { display: none; }
  .pipeline-intro { gap: 15px; }
  .pipeline-list li { grid-template-columns: 32px 1fr; }
  .step-state { display: none; }
  .pipeline-footer { flex-direction: column; gap: 4px; }
  .proof-grid { grid-template-columns: 1fr 1fr; }
  .proof-grid > div { min-height: 90px; padding: 0 16px; border-bottom: 1px solid var(--line); }
  .proof-grid > div:nth-child(2) { border-right: 1px solid var(--line); }
  .section { padding-block: 82px; }
  .section-heading { margin-bottom: 38px; }
  .feature-grid, .contact-grid { grid-template-columns: 1fr; }
  .feature-wide { grid-column: auto; grid-template-columns: 1fr; }
  .workflow-grid { grid-template-columns: 1fr; }
  .workflow-grid li, .workflow-grid li:first-child, .workflow-grid li:nth-child(2), .workflow-grid li:nth-child(3), .workflow-grid li:last-child { min-height: auto; border: 1px solid var(--line); border-bottom: 0; border-radius: 0; }
  .workflow-grid li:first-child { border-radius: var(--radius) var(--radius) 0 0; }
  .workflow-grid li:last-child { border-bottom: 1px solid var(--line); border-radius: 0 0 var(--radius) var(--radius); }
  .workflow-grid li > span { margin-bottom: 22px; }
  .workflow-actions { align-items: flex-start; flex-direction: column; }
  .ops-panel { padding: 30px 22px; }
  .ops-details > div { align-items: flex-start; flex-direction: column; gap: 3px; }
  .final-cta-inner { min-height: 440px; padding-block: 70px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
  .footer-meta { align-items: flex-start; flex-direction: column; gap: 5px; }
  .page-hero { padding-top: 70px; }
  .interior { padding-block: 55px 85px; }
  .status-shell { padding-block: 60px; }
  .status-heading { align-items: flex-start; flex-direction: column; }
  .component-grid, .limits-grid { grid-template-columns: 1fr; }
  .tool-panel, .summary-panel { padding: 20px; }
  .portal-hero { min-height: auto; padding-block: 65px; }
  .portal-band { padding-block: 55px; }
  .portal-band-head { align-items: flex-start; flex-direction: column; gap: 15px; }
  .portal-metrics { grid-template-columns: 1fr; }
  .portal-metrics article, .portal-metrics article:nth-child(2) { border-right: 0; border-bottom: 1px solid var(--line); }
  .portal-metrics article:last-child { border-bottom: 0; }
  .portal-diagnostic { gap: 45px; }
  .diagnostic-console form { padding: 20px; }
  .domain-input-row { grid-template-columns: 1fr; }
  .domain-input-row .button { width: 100%; }
  .diagnostic-empty { min-height: 310px; padding: 35px 20px; }
  .diagnostic-result { min-height: 310px; padding: 24px 20px; }
  .diagnostic-summary { align-items: flex-start; flex-direction: column; gap: 12px; }
  .diagnostic-details div { grid-template-columns: 1fr; gap: 5px; }
  .portal-connection dl div { align-items: flex-start; flex-direction: column; gap: 3px; }
  .portal-connection dd { text-align: left; }
}

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