:root {
  color-scheme: dark;
  --canvas: #080b12;
  --canvas-soft: #0b101a;
  --surface: #101621;
  --surface-raised: #151d2a;
  --surface-quiet: #0c121c;
  --line: #263146;
  --line-strong: #3a4964;
  --text: #f1f4fb;
  --muted: #b2bdd0;
  --quiet: #8290a6;
  --accent: #84b9ff;
  --accent-hover: #a5ccff;
  --accent-ink: #07111f;
  --healthy: #6fdab2;
  --warning: #f0bd6c;
  --danger: #ff8582;
  --page: min(1180px, calc(100vw - 64px));
  --display: "SF Pro Display", "Segoe UI Variable Display", "PingFang SC", "Noto Sans SC", sans-serif;
  --sans: "SF Pro Text", -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Noto Sans SC", "Microsoft YaHei", sans-serif;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
  --radius-small: 10px;
  --radius: 16px;
  --radius-large: 24px;
  --shadow: 0 32px 90px rgba(0, 0, 0, 0.38);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 82px;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 72% 7%, rgba(78, 122, 191, 0.18), transparent 25rem),
    linear-gradient(180deg, #0b1019 0, var(--canvas) 37rem);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

button,
input {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

img,
svg {
  display: block;
  max-width: 100%;
}

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

h1,
h2,
h3,
strong {
  font-family: var(--display);
  text-wrap: balance;
}

[hidden] {
  display: none !important;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 12px;
  z-index: 100;
  padding: 10px 14px;
  border-radius: var(--radius-small);
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 760;
  transform: translateY(-160%);
}

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

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  border-bottom: 1px solid rgba(38, 49, 70, 0.78);
  background: rgba(8, 11, 18, 0.9);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}

.header-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  width: var(--page);
  min-height: 74px;
  margin: 0 auto;
}

.brand {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  gap: 11px;
  color: var(--text);
  font-family: var(--display);
  font-size: 15px;
  font-weight: 760;
  letter-spacing: -0.01em;
  text-decoration: none;
}

.brand img {
  border-radius: 8px;
  box-shadow: 0 0 22px rgba(132, 185, 255, 0.18);
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 30px;
}

.primary-nav a {
  color: var(--muted);
  font-size: 14px;
  font-weight: 620;
  text-decoration: none;
  transition: color 120ms ease-out;
}

.primary-nav a:hover {
  color: var(--text);
}

.header-actions {
  display: flex;
  align-items: center;
  justify-self: end;
  gap: 10px;
}

.language-toggle,
.header-cta {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  transition: border-color 120ms ease-out, background 120ms ease-out, color 120ms ease-out;
  cursor: pointer;
}

.language-toggle {
  min-width: 44px;
  padding: 0 11px;
}

.header-cta {
  padding: 0 18px;
  border-color: var(--accent);
  background: var(--accent);
  color: var(--accent-ink);
}

.language-toggle:hover,
.header-cta:hover {
  border-color: var(--accent-hover);
  background: var(--accent-hover);
  color: var(--accent-ink);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(420px, 0.95fr);
  align-items: center;
  gap: clamp(48px, 7vw, 96px);
  width: var(--page);
  min-height: calc(100vh - 74px);
  margin: 0 auto;
  padding: 70px 0 76px;
}

.eyebrow {
  margin-bottom: 18px;
  color: var(--accent);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 760;
  letter-spacing: 0.15em;
  line-height: 1.45;
}

.hero h1 {
  max-width: 720px;
  margin-bottom: 24px;
  font-size: clamp(48px, 5vw, 68px);
  font-weight: 760;
  letter-spacing: -0.055em;
  line-height: 1.05;
}

.hero-lede {
  max-width: 650px;
  margin-bottom: 30px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 34px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0 21px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 760;
  text-align: center;
  text-decoration: none;
  transition: transform 120ms ease-out, border-color 120ms ease-out, background 120ms ease-out, color 120ms ease-out;
  cursor: pointer;
}

.button:hover:not(:disabled) {
  transform: translateY(-1px);
}

.button:active:not(:disabled) {
  transform: translateY(0);
}

.button-primary {
  background: var(--accent);
  color: var(--accent-ink);
}

.button-primary:hover:not(:disabled) {
  background: var(--accent-hover);
}

.button-secondary {
  border-color: var(--line-strong);
  background: rgba(16, 22, 33, 0.72);
  color: var(--text);
}

.button-secondary:hover:not(:disabled) {
  border-color: var(--accent);
  background: var(--surface-raised);
}

.button:disabled {
  border-color: var(--line);
  background: #121925;
  color: var(--quiet);
  cursor: not-allowed;
}

.button-block {
  width: 100%;
}

.hero-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 670px;
  margin: 0;
  padding: 18px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.hero-facts div {
  min-width: 0;
}

.hero-facts div + div {
  padding-left: 20px;
  border-left: 1px solid var(--line);
}

.hero-facts dt {
  margin-bottom: 3px;
  color: var(--quiet);
  font-size: 11px;
}

.hero-facts dd {
  overflow: hidden;
  color: var(--text);
  font-family: var(--mono);
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.independent-note {
  margin: 14px 0 0;
  color: var(--quiet);
  font-size: 12px;
}

.product-stage {
  position: relative;
  display: grid;
  min-height: 650px;
  place-items: center;
  margin: 0;
}

.stage-glow {
  position: absolute;
  width: 460px;
  height: 460px;
  border-radius: 50%;
  background: rgba(88, 134, 207, 0.2);
  filter: blur(72px);
}

.product-window {
  position: relative;
  z-index: 2;
  width: min(370px, 82%);
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: 24px;
  background: #0d151e;
  box-shadow: var(--shadow);
  transform: rotate(1deg);
}

.window-bar {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 42px;
  padding: 0 13px;
  border-bottom: 1px solid var(--line);
  background: #101722;
}

.window-bar > span {
  display: flex;
  gap: 5px;
}

.window-bar i {
  width: 6px;
  height: 6px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
}

.window-bar b,
.window-bar em {
  font-family: var(--mono);
  font-size: 9px;
  font-style: normal;
  letter-spacing: 0.04em;
}

.window-bar b {
  color: var(--muted);
}

.window-bar em {
  justify-self: end;
  color: var(--healthy);
}

.product-window img {
  width: 100%;
  height: auto;
}

.product-stage figcaption {
  position: absolute;
  bottom: 6px;
  left: 50%;
  z-index: 3;
  display: flex;
  width: min(440px, 90%);
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  color: var(--muted);
  font-size: 12px;
  transform: translateX(-50%);
}

.product-stage figcaption small {
  color: var(--quiet);
}

.stage-chip {
  position: absolute;
  z-index: 4;
  display: grid;
  grid-template-columns: auto 1fr;
  margin: 0;
  padding: 11px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  background: rgba(12, 18, 28, 0.93);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
}

.stage-chip > span {
  grid-row: 1 / 3;
  align-self: center;
  width: 8px;
  height: 8px;
  margin-right: 10px;
  border-radius: 50%;
  background: var(--healthy);
  box-shadow: 0 0 16px rgba(111, 218, 178, 0.65);
}

.stage-chip b {
  font-family: var(--mono);
  font-size: 11px;
}

.stage-chip small {
  color: var(--quiet);
  font-size: 10px;
}

.stage-chip-local {
  top: 132px;
  left: 0;
}

.stage-chip-state {
  right: -10px;
  bottom: 116px;
}

.stage-chip-state > span {
  background: var(--warning);
  box-shadow: 0 0 16px rgba(240, 189, 108, 0.5);
}

.section {
  width: var(--page);
  margin: 0 auto;
  padding: 118px 0;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  align-items: end;
  gap: 72px;
  margin-bottom: 52px;
}

.section-heading h2 {
  max-width: 760px;
  margin-bottom: 0;
  font-size: clamp(38px, 4.2vw, 54px);
  font-weight: 740;
  letter-spacing: -0.045em;
  line-height: 1.12;
}

.section-heading > p {
  max-width: 520px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 16px;
}

.compact-heading {
  align-items: start;
}

.proof {
  padding-top: 132px;
}

.route-console {
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-large);
  background: var(--surface-quiet);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.24);
}

.console-head {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 52px;
  padding: 0 20px;
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}

.console-head > span {
  display: flex;
  gap: 6px;
}

.console-head i {
  width: 7px;
  height: 7px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
}

.console-head b,
.console-head em {
  font-family: var(--mono);
  font-size: 10px;
  font-style: normal;
  letter-spacing: 0.08em;
}

.console-head em {
  justify-self: end;
  color: var(--healthy);
}

.signal-rail {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0;
  padding: 56px 46px 48px;
  list-style: none;
}

.signal-rail::before {
  position: absolute;
  top: 72px;
  right: 12.5%;
  left: 12.5%;
  height: 1px;
  background: var(--line-strong);
  content: "";
}

.signal-rail li {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  gap: 3px;
  color: var(--quiet);
  text-align: center;
}

.rail-point {
  width: 33px;
  height: 33px;
  margin-bottom: 9px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: var(--surface);
  box-shadow: inset 0 0 0 9px var(--surface-quiet);
  transition: border-color 160ms ease-out, background 160ms ease-out, transform 160ms ease-out;
}

.signal-rail li[data-state="ready"] .rail-point {
  border-color: var(--healthy);
  background: var(--healthy);
}

.signal-rail li[data-state="active"] .rail-point {
  border-color: var(--accent);
  background: var(--accent);
  transform: scale(1.1);
}

.signal-rail li[data-state="warning"] .rail-point {
  border-color: var(--warning);
  background: var(--warning);
}

.signal-rail li[data-state="error"] .rail-point {
  border-color: var(--danger);
  background: var(--danger);
}

.signal-rail b {
  color: var(--text);
  font-size: 14px;
}

.signal-rail small {
  font-family: var(--mono);
  font-size: 10px;
}

.console-foot {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px;
  padding: 18px 20px;
  border-top: 1px solid var(--line);
  background: #0a1018;
}

.trace-window {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 4px 14px;
  min-width: 0;
  font-family: var(--mono);
  font-size: 11px;
}

.trace-window span {
  color: var(--accent);
}

.trace-window code {
  overflow: hidden;
  color: var(--muted);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.trace-window i {
  color: var(--healthy);
  font-style: normal;
}

.route-modes {
  display: flex;
  gap: 5px;
}

.route-modes button {
  min-height: 38px;
  padding: 0 12px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: transparent;
  color: var(--quiet);
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
}

.route-modes button:hover {
  color: var(--text);
}

.route-modes button[aria-pressed="true"] {
  border-color: var(--line-strong);
  background: var(--surface-raised);
  color: var(--text);
}

.capability-ledger {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin-top: 72px;
  border-top: 1px solid var(--line);
}

.capability-ledger article {
  min-width: 0;
  padding: 28px 28px 0 0;
}

.capability-ledger article + article {
  padding-left: 28px;
  border-left: 1px solid var(--line);
}

.capability-ledger span {
  display: block;
  margin-bottom: 26px;
  color: var(--accent);
  font-family: var(--mono);
  font-size: 11px;
}

.capability-ledger h3 {
  margin-bottom: 9px;
  font-size: 18px;
}

.capability-ledger p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.clients {
  padding-top: 136px;
}

.client-workbench {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 270px;
  grid-template-rows: auto 1fr;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-large);
  background: var(--surface-quiet);
}

.client-switcher {
  display: flex;
  grid-column: 1;
  gap: 6px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}

.client-switcher button {
  min-height: 40px;
  padding: 0 15px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: transparent;
  color: var(--quiet);
  font-size: 12px;
  font-weight: 730;
  cursor: pointer;
}

.client-switcher button[aria-selected="true"] {
  border-color: var(--line-strong);
  background: var(--surface-raised);
  color: var(--text);
}

.config-example {
  min-width: 0;
}

.code-meta {
  display: flex;
  min-height: 40px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 0 22px;
  color: var(--quiet);
  font-family: var(--mono);
  font-size: 10px;
}

.config-example pre {
  min-height: 260px;
  margin: 0;
  overflow: auto;
  padding: 26px 22px 34px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-family: var(--mono);
  font-size: 13px;
  line-height: 1.85;
  tab-size: 2;
}

.config-example code span {
  color: var(--accent);
}

.client-boundary {
  grid-column: 2;
  grid-row: 1 / 3;
  padding: 32px;
  border-left: 1px solid var(--line);
  background:
    radial-gradient(circle at 100% 0, rgba(132, 185, 255, 0.13), transparent 13rem),
    var(--surface);
}

.client-boundary h3 {
  margin-bottom: 14px;
  font-size: 24px;
  letter-spacing: -0.025em;
  line-height: 1.25;
}

.client-boundary > p:last-child {
  color: var(--muted);
  font-size: 14px;
}

.acquire {
  padding-top: 138px;
}

.acquire-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(360px, 0.88fr);
  align-items: start;
  gap: 24px;
}

.release-panel,
.license-panel {
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-large);
  background: var(--surface-quiet);
}

.panel-title {
  display: flex;
  min-height: 58px;
  align-items: center;
  justify-content: space-between;
  padding: 0 22px;
  border-bottom: 1px solid var(--line);
  background: var(--surface);
  font-size: 13px;
  font-weight: 720;
}

.panel-title small {
  color: var(--warning);
  font-size: 11px;
}

.release-row {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  min-height: 152px;
  padding: 22px;
}

.release-row + .release-row {
  border-top: 1px solid var(--line);
}

.platform-symbol {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 13px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 760;
}

.release-copy p,
.release-copy h3 {
  margin-bottom: 0;
}

.release-copy p {
  color: var(--quiet);
  font-size: 11px;
}

.release-copy h3 {
  font-size: 17px;
}

.release-copy span {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 12px;
}

.release-state {
  align-self: start;
  justify-self: end;
  color: var(--warning);
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 760;
  letter-spacing: 0.06em;
}

.release-row > .button {
  grid-column: 2 / 4;
  justify-self: start;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 999px;
  font-size: 12px;
}

.release-proof {
  display: flex;
  grid-column: 2 / 4;
  flex-wrap: wrap;
  gap: 10px;
  min-width: 0;
  font-size: 10px;
}

.release-proof code {
  width: 100%;
  overflow: hidden;
  color: var(--muted);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.release-proof a {
  color: var(--accent);
}

.license-panel {
  position: sticky;
  top: 98px;
  padding: 34px;
  background:
    radial-gradient(circle at 100% 0, rgba(132, 185, 255, 0.16), transparent 18rem),
    var(--surface);
}

.license-panel h2 {
  margin-bottom: 18px;
  font-size: clamp(30px, 3vw, 40px);
  letter-spacing: -0.04em;
  line-height: 1.12;
}

.license-price {
  margin-bottom: 4px;
  color: var(--text);
  font-family: var(--display);
  font-size: 23px;
  font-weight: 740;
}

.license-price-note {
  margin-bottom: 26px;
  color: var(--muted);
  font-size: 12px;
}

.device-rule {
  margin: 0 0 26px;
  padding: 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.device-rule li {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.device-rule span {
  color: var(--accent);
  font-family: var(--mono);
  font-size: 11px;
}

.device-rule p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.purchase-assurance {
  display: grid;
  gap: 9px;
  margin: 0 0 24px;
  padding: 0;
  color: var(--muted);
  font-size: 12px;
  list-style: none;
}

.purchase-assurance li {
  position: relative;
  padding-left: 18px;
}

.purchase-assurance li::before {
  position: absolute;
  top: 0.73em;
  left: 2px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--healthy);
  content: "";
}

.checkout-status {
  min-height: 40px;
  margin: 12px 0 0;
  color: var(--quiet);
  font-size: 11px;
  text-align: center;
}

.license-legal {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin: 8px 0 0;
  color: var(--quiet);
  font-size: 11px;
}

.license-legal a:hover {
  color: var(--text);
}

.delivery {
  padding-top: 140px;
}

.delivery-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.delivery-steps li {
  min-height: 250px;
  padding: 30px 34px 28px 0;
}

.delivery-steps li + li {
  padding-left: 34px;
  border-left: 1px solid var(--line);
}

.delivery-steps span {
  display: block;
  margin-bottom: 52px;
  color: var(--warning);
  font-family: var(--mono);
  font-size: 11px;
}

.delivery-steps h3 {
  margin-bottom: 10px;
  font-size: 20px;
}

.delivery-steps p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.recovery-strip {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px;
  padding: 22px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.recovery-strip strong {
  font-size: 14px;
}

.recovery-strip p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.recovery-strip a {
  color: var(--accent);
  font-size: 13px;
  font-weight: 720;
}

.faq {
  padding-top: 132px;
}

.faq .section-heading {
  grid-template-columns: 1fr;
}

.faq-list {
  border-top: 1px solid var(--line-strong);
}

.faq-list details {
  border-bottom: 1px solid var(--line);
}

.faq-list summary {
  position: relative;
  padding: 24px 48px 24px 0;
  color: var(--text);
  font-family: var(--display);
  font-size: 17px;
  font-weight: 690;
  list-style: none;
  cursor: pointer;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  position: absolute;
  top: 22px;
  right: 2px;
  color: var(--quiet);
  font-size: 22px;
  font-weight: 400;
  content: "+";
  transition: transform 140ms ease-out;
}

.faq-list details[open] summary::after {
  transform: rotate(45deg);
}

.faq-list details p {
  max-width: 800px;
  margin: -5px 0 24px;
  color: var(--muted);
  font-size: 14px;
}

.final-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 40px;
  width: var(--page);
  margin: 60px auto 120px;
  padding: 42px 46px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-large);
  background:
    radial-gradient(circle at 86% 50%, rgba(132, 185, 255, 0.14), transparent 18rem),
    var(--surface);
}

.final-cta h2 {
  max-width: 760px;
  margin-bottom: 8px;
  font-size: clamp(30px, 3vw, 40px);
  letter-spacing: -0.035em;
  line-height: 1.15;
}

.final-cta div > p:last-child {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.site-footer {
  width: var(--page);
  margin: 0 auto;
  padding: 44px 0 48px;
  border-top: 1px solid var(--line);
}

.footer-main {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: start;
  gap: 48px;
}

.footer-brand {
  display: flex;
  gap: 12px;
}

.footer-brand strong {
  font-size: 14px;
}

.footer-brand p {
  margin: 2px 0 0;
  color: var(--quiet);
  font-size: 12px;
}

.footer-main nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px 20px;
}

.footer-main nav a {
  color: var(--muted);
  font-size: 12px;
}

.footer-main nav a:hover {
  color: var(--text);
}

.footer-note {
  max-width: 920px;
  margin: 60px 0 0;
  color: var(--quiet);
  font-size: 11px;
}

.legal-page {
  min-height: 100vh;
  background: var(--canvas);
}

.legal-page main {
  width: min(780px, calc(100vw - 48px));
  margin: 0 auto;
  padding: 72px 0 110px;
}

.legal-back {
  display: inline-block;
  margin-bottom: 54px;
  color: var(--accent);
  font-size: 13px;
}

.legal-page h1 {
  margin-bottom: 22px;
  font-size: clamp(40px, 6vw, 64px);
  letter-spacing: -0.045em;
  line-height: 1.08;
}

.legal-status {
  margin-bottom: 42px;
  padding: 16px 18px;
  border-left: 3px solid var(--warning);
  background: var(--surface);
  color: var(--muted);
  font-size: 13px;
}

.legal-page article {
  padding-top: 8px;
}

.legal-page article h2 {
  margin: 40px 0 12px;
  font-size: 22px;
}

.legal-page article p,
.legal-page article li {
  color: var(--muted);
}

.legal-page code {
  color: var(--accent);
  font-family: var(--mono);
}

@media (max-width: 1050px) {
  :root {
    --page: min(900px, calc(100vw - 48px));
  }

  .header-inner {
    grid-template-columns: 1fr auto;
  }

  .primary-nav {
    display: none;
  }

  .hero {
    grid-template-columns: minmax(0, 1fr) minmax(350px, 0.8fr);
    gap: 34px;
  }

  .hero h1 {
    font-size: clamp(44px, 6vw, 60px);
  }

  .stage-chip-local {
    left: -14px;
  }

  .stage-chip-state {
    right: -16px;
  }

  .section-heading {
    gap: 42px;
  }

  .console-foot {
    grid-template-columns: 1fr;
  }

  .route-modes {
    justify-content: flex-start;
  }

  .capability-ledger {
    grid-template-columns: repeat(2, 1fr);
  }

  .capability-ledger article:nth-child(3) {
    padding-left: 0;
    border-left: 0;
  }

  .capability-ledger article:nth-child(n + 3) {
    margin-top: 34px;
    padding-top: 26px;
    border-top: 1px solid var(--line);
  }

  .acquire-layout {
    grid-template-columns: 1fr;
  }

  .license-panel {
    position: static;
  }
}

@media (max-width: 760px) {
  :root {
    --page: calc(100vw - 32px);
  }

  html {
    scroll-padding-top: 70px;
  }

  body {
    background:
      radial-gradient(circle at 70% 6%, rgba(78, 122, 191, 0.17), transparent 18rem),
      linear-gradient(180deg, #0b1019 0, var(--canvas) 32rem);
  }

  .header-inner {
    min-height: 66px;
  }

  .brand {
    font-size: 13px;
  }

  .brand img {
    width: 27px;
    height: 27px;
  }

  .header-cta {
    display: none;
  }

  .hero {
    display: block;
    min-height: 0;
    padding: 44px 0 52px;
  }

  .hero h1 {
    margin-bottom: 16px;
    font-size: clamp(38px, 11vw, 46px);
    line-height: 1.08;
  }

  .hero-lede {
    margin-bottom: 20px;
    font-size: 15px;
    line-height: 1.62;
  }

  .hero-actions {
    margin-bottom: 22px;
  }

  .hero-actions .button {
    flex: 1 1 150px;
  }

  .hero-facts {
    grid-template-columns: 0.75fr 1.2fr 1.35fr;
    padding: 14px 0;
  }

  .hero-facts div + div {
    padding-left: 11px;
  }

  .hero-facts dt {
    font-size: 10px;
  }

  .hero-facts dd {
    font-size: 9px;
  }

  .independent-note {
    display: none;
  }

  .product-stage {
    min-height: 548px;
    margin-top: 4px;
  }

  .stage-glow {
    width: 320px;
    height: 320px;
  }

  .product-window {
    width: min(330px, 91%);
    transform: none;
  }

  .window-bar b {
    max-width: 150px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .stage-chip {
    padding: 8px 10px;
    border-radius: 11px;
  }

  .stage-chip-local {
    top: 68px;
    left: -4px;
  }

  .stage-chip-state {
    right: -4px;
    bottom: 72px;
  }

  .product-stage figcaption {
    bottom: 0;
    display: grid;
    justify-content: start;
    gap: 0;
  }

  .section {
    padding: 88px 0;
  }

  .section-heading {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 34px;
  }

  .section-heading h2 {
    font-size: clamp(34px, 10vw, 44px);
  }

  .section-heading > p {
    font-size: 15px;
  }

  .proof,
  .clients,
  .acquire,
  .delivery,
  .faq {
    padding-top: 92px;
  }

  .route-console {
    overflow: visible;
    border-radius: 19px;
  }

  .console-head {
    grid-template-columns: auto 1fr;
    gap: 10px;
    padding: 0 14px;
  }

  .console-head b {
    justify-self: center;
  }

  .console-head em {
    display: none;
  }

  .signal-rail {
    grid-template-columns: 1fr;
    gap: 0;
    padding: 26px 20px 24px;
  }

  .signal-rail::before {
    top: 45px;
    bottom: 44px;
    left: 36px;
    width: 1px;
    height: auto;
  }

  .signal-rail li {
    grid-template-columns: 34px 1fr auto;
    min-height: 64px;
    align-items: center;
    justify-items: start;
    gap: 12px;
    text-align: left;
  }

  .rail-point {
    margin: 0;
  }

  .signal-rail small {
    text-align: right;
  }

  .console-foot {
    gap: 18px;
    padding: 16px 14px;
  }

  .trace-window {
    font-size: 9px;
  }

  .route-modes {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }

  .route-modes button {
    min-height: 44px;
  }

  .capability-ledger {
    grid-template-columns: 1fr;
    margin-top: 50px;
  }

  .capability-ledger article,
  .capability-ledger article + article,
  .capability-ledger article:nth-child(3),
  .capability-ledger article:nth-child(n + 3) {
    margin: 0;
    padding: 24px 0;
    border-top: 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
    border-left: 0;
  }

  .capability-ledger span {
    margin-bottom: 12px;
  }

  .client-workbench {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto auto auto;
    border-radius: 19px;
  }

  .client-switcher {
    grid-column: 1;
    overflow-x: auto;
  }

  .client-switcher button {
    flex: 0 0 auto;
    min-height: 44px;
  }

  .code-meta {
    display: grid;
    justify-content: start;
    gap: 0;
    min-height: 58px;
    padding: 9px 16px;
  }

  .config-example pre {
    min-height: 250px;
    padding: 20px 16px 26px;
    font-size: 11px;
  }

  .client-boundary {
    grid-column: 1;
    grid-row: 3;
    padding: 24px;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .acquire-layout {
    gap: 18px;
  }

  .release-panel,
  .license-panel {
    border-radius: 19px;
  }

  .release-row {
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 12px;
    min-height: 0;
    padding: 20px 16px;
  }

  .release-state {
    grid-column: 1 / 3;
    justify-self: start;
    margin-left: 54px;
  }

  .release-row > .button,
  .release-proof {
    grid-column: 1 / 3;
    width: 100%;
    justify-self: stretch;
    margin-top: 4px;
  }

  .release-row > .button {
    min-height: 46px;
  }

  .license-panel {
    padding: 28px 22px;
  }

  .delivery-steps {
    grid-template-columns: 1fr;
  }

  .delivery-steps li,
  .delivery-steps li + li {
    min-height: 0;
    padding: 24px 0 28px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
    border-left: 0;
  }

  .delivery-steps span {
    margin-bottom: 22px;
  }

  .recovery-strip {
    grid-template-columns: 1fr;
    gap: 8px;
    margin-top: 22px;
  }

  .faq-list summary {
    padding: 21px 38px 21px 0;
    font-size: 16px;
  }

  .final-cta {
    grid-template-columns: 1fr;
    margin: 42px auto 88px;
    padding: 28px 22px;
    border-radius: 19px;
  }

  .final-cta .button {
    width: 100%;
  }

  .site-footer {
    padding-bottom: 40px;
  }

  .footer-main {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .footer-main nav {
    justify-content: flex-start;
  }

  .footer-note {
    margin-top: 42px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.00001s !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.00001s !important;
  }

  .product-window,
  .button:hover:not(:disabled),
  .signal-rail li[data-state="active"] .rail-point {
    transform: none;
  }
}
