:root {
  color-scheme: light dark;
  --page: #eef1ec;
  --surface: #e2e7e1;
  --surface-strong: #d4ddd5;
  --surface-soft: #f5f7f3;
  --text: #17201b;
  --muted: #56625a;
  --line: rgba(23, 32, 27, 0.16);
  --line-strong: rgba(23, 32, 27, 0.32);
  --accent: #2d7655;
  --accent-strong: #205d42;
  --accent-text: #f1f6f1;
  --header: rgba(238, 241, 236, 0.84);
  --shadow: 0 24px 70px rgba(47, 61, 51, 0.12);
  --font-sans: "Avenir Next", Avenir, "Helvetica Neue", Helvetica, "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  --font-mono: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
}

@media (prefers-color-scheme: dark) {
  :root {
    --page: #101411;
    --surface: #181f1a;
    --surface-strong: #222c25;
    --surface-soft: #141a16;
    --text: #edf2ec;
    --muted: #9da99f;
    --line: rgba(237, 242, 236, 0.14);
    --line-strong: rgba(237, 242, 236, 0.28);
    --accent: #86c9a7;
    --accent-strong: #a4d8bd;
    --accent-text: #122019;
    --header: rgba(16, 20, 17, 0.82);
    --shadow: 0 28px 90px rgba(2, 8, 4, 0.34);
  }
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--page);
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--page);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  letter-spacing: 0;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

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

button {
  color: inherit;
  font: inherit;
  letter-spacing: 0;
}

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

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

h1,
h2,
h3 {
  font-weight: 560;
  line-height: 1.06;
  letter-spacing: 0;
}

::selection {
  background: var(--accent);
  color: var(--accent-text);
}

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

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  transform: translateY(-150%);
  border-radius: 4px;
  background: var(--accent);
  color: var(--accent-text);
  padding: 10px 16px;
  transition: transform 180ms ease;
}

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

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 20;
  display: flex;
  min-height: 72px;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  background: var(--header);
  padding: 0 max(28px, calc((100vw - 1360px) / 2));
  backdrop-filter: blur(18px) saturate(130%);
  -webkit-backdrop-filter: blur(18px) saturate(130%);
}

.brand {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 11px;
}

.brand-mark {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 4px;
  background: var(--surface-soft);
  color: var(--text);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
}

.brand-copy {
  display: grid;
  gap: 1px;
  line-height: 1.1;
}

.brand-copy strong {
  font-size: 15px;
  font-weight: 700;
}

.brand-copy span {
  color: var(--muted);
  font-size: 11px;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 32px;
  white-space: nowrap;
}

.primary-nav a {
  position: relative;
  color: var(--muted);
  font-size: 14px;
  font-weight: 520;
  transition: color 180ms ease;
}

.primary-nav a:not(.nav-cta)::after {
  position: absolute;
  right: 0;
  bottom: -7px;
  left: 0;
  height: 1px;
  transform: scaleX(0);
  transform-origin: right;
  background: var(--accent);
  content: "";
  transition: transform 220ms cubic-bezier(0.16, 1, 0.3, 1);
}

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

.primary-nav a:not(.nav-cta):hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.primary-nav .nav-cta {
  border: 1px solid var(--line-strong);
  border-radius: 4px;
  color: var(--text);
  padding: 9px 15px;
  transition: border-color 180ms ease, background 180ms ease, transform 120ms ease;
}

.primary-nav .nav-cta:hover {
  border-color: var(--accent);
  background: var(--surface);
}

.primary-nav .nav-cta:active,
.button:active,
.code-panel-header button:active,
.api-tabs button:active {
  transform: translateY(1px);
}

.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
}

.menu-button span {
  position: absolute;
  width: 20px;
  height: 1px;
  background: var(--text);
  transition: transform 220ms ease;
}

.menu-button span:first-child {
  transform: translateY(-4px);
}

.menu-button span:last-child {
  transform: translateY(4px);
}

.hero {
  position: relative;
  min-height: 88dvh;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: var(--surface-soft);
}

.hero-inner {
  position: relative;
  z-index: 3;
  display: grid;
  width: min(1360px, calc(100% - 56px));
  min-height: 88dvh;
  margin: 0 auto;
  align-items: center;
  padding-top: 72px;
}

.hero-copy {
  width: min(820px, 64vw);
}

.hero h1 {
  max-width: 820px;
  font-size: 76px;
  font-weight: 520;
  line-height: 0.98;
}

.hero h1 span {
  display: block;
  white-space: nowrap;
}

.hero-copy > p {
  max-width: 470px;
  margin-top: 28px;
  color: var(--muted);
  font-size: 21px;
  line-height: 1.55;
}

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

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 4px;
  padding: 0 20px;
  font-size: 14px;
  font-weight: 650;
  white-space: nowrap;
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease, transform 120ms ease;
}

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

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

.button-secondary {
  border-color: var(--line-strong);
  background: color-mix(in srgb, var(--page) 72%, transparent);
  color: var(--text);
  backdrop-filter: blur(10px);
}

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

.section {
  padding: 132px 0;
}

.section-shell,
.footer-main,
.footer-meta {
  width: min(1360px, calc(100% - 56px));
  margin: 0 auto;
}

.section-heading {
  display: grid;
  max-width: 900px;
  gap: 22px;
}

.section-heading.compact {
  max-width: 760px;
  gap: 18px;
}

.eyebrow,
.card-kicker {
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 650;
  line-height: 1.4;
}

.section-heading h2,
.closing-inner h2 {
  max-width: 870px;
  font-size: 58px;
}

.section-heading > p:last-child {
  max-width: 690px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.75;
}

.about-section {
  padding-top: 60px;
  padding-bottom: 64px;
}

.about-statement {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(280px, 0.7fr);
  gap: 11%;
  margin-top: 92px;
  padding-left: 11%;
}

.statement-lead {
  font-size: 32px;
  line-height: 1.45;
}

.about-statement > p:last-child {
  align-self: end;
  color: var(--muted);
  font-size: 16px;
}

.company-facts {
  display: grid;
  grid-template-columns: 0.8fr 1.3fr 1.4fr;
  margin-top: 104px;
  border-top: 1px solid var(--line-strong);
}

.company-facts > div {
  min-height: 132px;
  border-right: 1px solid var(--line);
  padding: 26px 28px 24px 0;
}

.company-facts > div:not(:first-child) {
  padding-left: 28px;
}

.company-facts > div:last-child {
  border-right: 0;
}

.company-facts dt {
  color: var(--muted);
  font-size: 13px;
}

.company-facts dd {
  margin-top: 18px;
  font-size: 19px;
  font-weight: 580;
}

.business-section {
  padding-top: 92px;
}

.business-stage {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(320px, 0.75fr);
  gap: 8%;
  margin-top: 76px;
  align-items: center;
}

.endpoint-panel {
  min-height: 420px;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  background: var(--surface-soft);
  box-shadow: var(--shadow);
}

.endpoint-header {
  display: flex;
  min-height: 62px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid var(--line);
  padding: 0 24px;
  color: var(--muted);
  font-size: 12px;
}

.endpoint-header code {
  overflow: hidden;
  color: var(--text);
  font-family: var(--font-mono);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.request-flow {
  display: grid;
  grid-template-columns: 1fr 62px 1fr 62px 1fr;
  min-height: 356px;
  align-items: center;
  padding: 44px;
}

.flow-node {
  display: grid;
  min-width: 0;
  min-height: 116px;
  place-content: center;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--page);
  padding: 20px;
  text-align: center;
}

.flow-node.active {
  border-color: var(--accent);
  background: var(--accent);
  color: var(--accent-text);
}

.flow-node span {
  color: var(--muted);
  font-size: 11px;
}

.flow-node.active span {
  color: color-mix(in srgb, var(--accent-text) 72%, transparent);
}

.flow-node strong {
  overflow-wrap: anywhere;
  font-family: var(--font-mono);
  font-size: 12px;
}

.flow-connector {
  position: relative;
  height: 1px;
  overflow: hidden;
  background: var(--line-strong);
}

.flow-connector span {
  position: absolute;
  inset: 0 auto 0 0;
  width: 20px;
  background: var(--accent);
}

.business-copy h3 {
  max-width: 420px;
  font-size: 34px;
  line-height: 1.3;
}

.business-copy > p {
  margin-top: 24px;
  color: var(--muted);
}

.service-family-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 32px 0 0;
  padding: 0;
  list-style: none;
}

.service-family-list li {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 12px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 11px;
}

.platform-section {
  background: var(--surface-soft);
}

.capability-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 14px;
  margin-top: 70px;
}

.capability-card {
  position: relative;
  min-width: 0;
  min-height: 330px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--page);
  padding: 34px;
}

.capability-card h3 {
  max-width: 500px;
  margin-top: 20px;
  font-size: 28px;
  line-height: 1.25;
}

.capability-card p {
  max-width: 500px;
  margin-top: 16px;
  color: var(--muted);
}

.routing-card {
  display: grid;
  grid-column: span 7;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 42px;
  align-items: center;
}

.pool-card {
  display: grid;
  grid-column: span 5;
  grid-template-rows: auto 1fr;
}

.cost-card,
.trace-card,
.alert-card {
  grid-column: span 4;
}

.route-visual {
  display: grid;
  grid-template-columns: 62px minmax(80px, 1fr) 84px;
  min-height: 186px;
  align-items: center;
}

.route-origin {
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  border: 1px solid var(--accent);
  border-radius: 6px;
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 11px;
}

.route-lines {
  display: grid;
  height: 132px;
  align-content: space-around;
}

.route-lines i {
  position: relative;
  height: 1px;
  overflow: hidden;
  background: var(--line-strong);
}

.route-lines i::after {
  position: absolute;
  inset: 0 auto 0 0;
  width: 32%;
  background: var(--accent);
  content: "";
}

.route-targets {
  display: grid;
  gap: 10px;
}

.route-targets span {
  display: grid;
  min-height: 36px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 4px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 9px;
}

.pool-visual {
  display: grid;
  gap: 10px;
  align-self: end;
  margin-top: 42px;
}

.pool-visual span {
  display: grid;
  grid-template-columns: 1fr 90px;
  min-height: 38px;
  align-items: center;
  gap: 14px;
}

.pool-visual i {
  height: 5px;
  background: repeating-linear-gradient(90deg, var(--accent) 0 18px, transparent 18px 26px);
}

.pool-visual span:nth-child(2) i {
  opacity: 0.72;
}

.pool-visual span:nth-child(3) i {
  opacity: 0.42;
}

.pool-visual b {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 500;
}

.cost-card {
  background: var(--surface-strong);
}

.cost-labels {
  display: flex;
  gap: 22px;
  margin-top: 42px;
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 11px;
}

.trace-card {
  background: var(--accent);
  color: var(--accent-text);
}

.trace-card .card-kicker,
.trace-card p {
  color: color-mix(in srgb, var(--accent-text) 76%, transparent);
}

.trace-code {
  display: inline-flex;
  margin-top: 42px;
  border: 1px solid color-mix(in srgb, var(--accent-text) 36%, transparent);
  border-radius: 4px;
  padding: 8px 10px;
  font-family: var(--font-mono);
  font-size: 11px;
}

.alert-signal {
  display: flex;
  height: 42px;
  align-items: end;
  gap: 8px;
  margin-top: 34px;
}

.alert-signal span {
  width: 5px;
  border-radius: 4px;
  background: var(--accent);
}

.alert-signal span:nth-child(1) {
  height: 30%;
}

.alert-signal span:nth-child(2) {
  height: 58%;
}

.alert-signal span:nth-child(3) {
  height: 38%;
}

.alert-signal span:nth-child(4) {
  height: 86%;
}

.alert-signal span:nth-child(5) {
  height: 48%;
}

.api-browser {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  min-height: 440px;
  margin-top: 70px;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  background: var(--surface-soft);
}

.api-tabs {
  display: grid;
  align-content: start;
  border-right: 1px solid var(--line);
  padding: 12px;
}

.api-tabs button {
  min-height: 54px;
  border: 0;
  border-radius: 4px;
  background: transparent;
  color: var(--muted);
  padding: 0 16px;
  text-align: left;
  cursor: pointer;
  transition: background 180ms ease, color 180ms ease, transform 120ms ease;
}

.api-tabs button:hover {
  color: var(--text);
}

.api-tabs button[aria-selected="true"] {
  background: var(--surface-strong);
  color: var(--text);
}

.api-panels {
  min-width: 0;
}

.api-panels [role="tabpanel"] {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  min-height: 438px;
  gap: 70px;
  align-items: center;
  padding: 58px;
}

.api-panels [hidden] {
  display: none;
}

.api-panels h3 {
  max-width: 590px;
  font-size: 38px;
  line-height: 1.25;
}

.api-panels p {
  max-width: 530px;
  margin-top: 22px;
  color: var(--muted);
}

.endpoint-list {
  display: grid;
  gap: 10px;
}

.endpoint-list code {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--page);
  padding: 13px 14px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.integration-section {
  background: var(--surface-soft);
}

.integration-shell {
  display: grid;
  grid-template-columns: minmax(320px, 0.8fr) minmax(0, 1.2fr);
  gap: 9%;
  align-items: center;
}

.integration-copy h2 {
  max-width: 540px;
  font-size: 54px;
}

.integration-copy > p {
  max-width: 560px;
  margin-top: 26px;
  color: var(--muted);
}

.integration-points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 48px;
}

.integration-points div {
  border-top: 1px solid var(--line-strong);
  padding-top: 15px;
}

.integration-points dt {
  font-size: 13px;
  font-weight: 650;
}

.integration-points dd {
  margin-top: 8px;
  color: var(--muted);
  font-size: 12px;
}

.code-panel {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  background: #111512;
  box-shadow: var(--shadow);
  color: #dfe9e1;
}

.code-panel-header {
  display: flex;
  min-height: 58px;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(223, 233, 225, 0.14);
  padding: 0 18px 0 24px;
  color: #9ca9a0;
  font-family: var(--font-mono);
  font-size: 11px;
}

.code-panel-header button {
  min-width: 62px;
  min-height: 34px;
  border: 1px solid rgba(223, 233, 225, 0.22);
  border-radius: 4px;
  background: rgba(223, 233, 225, 0.05);
  color: #dfe9e1;
  cursor: pointer;
  transition: background 180ms ease, transform 120ms ease;
}

.code-panel-header button:hover {
  background: rgba(223, 233, 225, 0.12);
}

.code-panel pre {
  min-height: 330px;
  overflow: auto;
  padding: 38px 34px;
}

.code-panel code {
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 2;
}

.closing-section {
  border-bottom: 1px solid var(--line);
  padding: 148px 0;
}

.closing-inner {
  display: grid;
  justify-items: start;
  gap: 30px;
  padding-left: 9%;
}

.closing-inner > p {
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 12px;
}

.closing-inner h2 {
  max-width: 980px;
}

.contact-email {
  border-bottom: 1px solid var(--line-strong);
  color: var(--text);
  font-family: var(--font-mono);
  font-size: clamp(18px, 2vw, 28px);
  line-height: 1.4;
  transition: border-color 180ms ease, color 180ms ease;
}

.contact-email:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.site-footer {
  padding: 70px 0 28px;
}

.footer-main {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
}

.footer-address {
  display: grid;
  max-width: 420px;
  gap: 12px;
  text-align: right;
}

.footer-address p {
  font-size: 14px;
  font-weight: 650;
}

.footer-address > a {
  width: fit-content;
  justify-self: end;
  border-bottom: 1px solid var(--line);
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 12px;
  transition: border-color 180ms ease, color 180ms ease;
}

.footer-address > a:hover {
  border-color: var(--accent);
  color: var(--accent-strong);
}

.footer-address address {
  color: var(--muted);
  font-size: 13px;
  font-style: normal;
  line-height: 1.7;
}

.footer-meta {
  display: flex;
  justify-content: space-between;
  margin-top: 78px;
  border-top: 1px solid var(--line);
  padding-top: 20px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 10px;
}

.js [data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 720ms cubic-bezier(0.16, 1, 0.3, 1), transform 720ms cubic-bezier(0.16, 1, 0.3, 1);
}

.js [data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: no-preference) {
  .flow-connector span,
  .route-lines i::after {
    animation: signal-run 2.4s ease-in-out infinite;
  }

  .route-lines i:nth-child(2)::after {
    animation-delay: 260ms;
  }

  .route-lines i:nth-child(3)::after {
    animation-delay: 520ms;
  }

  .alert-signal span {
    animation: signal-level 2s ease-in-out infinite;
  }

  .alert-signal span:nth-child(2) {
    animation-delay: 180ms;
  }

  .alert-signal span:nth-child(3) {
    animation-delay: 360ms;
  }

  .alert-signal span:nth-child(4) {
    animation-delay: 540ms;
  }

  .alert-signal span:nth-child(5) {
    animation-delay: 720ms;
  }
}

@keyframes signal-run {
  0% {
    transform: translateX(-110%);
  }
  100% {
    transform: translateX(330%);
  }
}

@keyframes signal-level {
  0%,
  100% {
    transform: scaleY(0.55);
    transform-origin: bottom;
  }
  50% {
    transform: scaleY(1);
    transform-origin: bottom;
  }
}

@media (max-width: 1100px) {
  .hero h1 {
    font-size: 60px;
  }

  .section-heading h2,
  .closing-inner h2 {
    font-size: 48px;
  }

  .about-statement {
    gap: 7%;
    padding-left: 5%;
  }

  .statement-lead {
    font-size: 28px;
  }

  .request-flow {
    grid-template-columns: 1fr 34px 1fr 34px 1fr;
    padding: 26px;
  }

  .business-stage {
    grid-template-columns: minmax(0, 1.2fr) minmax(290px, 0.8fr);
    gap: 5%;
  }

  .routing-card {
    grid-column: span 12;
  }

  .pool-card {
    grid-column: span 6;
  }

  .cost-card {
    grid-column: span 6;
  }

  .trace-card,
  .alert-card {
    grid-column: span 6;
  }

  .api-panels [role="tabpanel"] {
    gap: 36px;
    padding: 42px;
  }

  .api-panels h3 {
    font-size: 32px;
  }

  .integration-shell {
    gap: 5%;
  }

  .integration-copy h2 {
    font-size: 44px;
  }

  .integration-points {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 820px) {
  .site-header {
    min-height: 64px;
    padding: 0 20px;
  }

  .menu-button {
    position: relative;
    z-index: 22;
    display: grid;
  }

  .menu-open .menu-button span:first-child {
    transform: rotate(45deg);
  }

  .menu-open .menu-button span:last-child {
    transform: rotate(-45deg);
  }

  .primary-nav {
    position: fixed;
    inset: 64px 0 0 0;
    z-index: 21;
    display: grid;
    width: 100vw;
    height: calc(100dvh - 64px);
    align-content: start;
    gap: 0;
    overflow-y: auto;
    transform: translateX(100%);
    background: var(--page);
    padding: 34px 20px;
    opacity: 0;
    visibility: hidden;
    transition: transform 300ms cubic-bezier(0.16, 1, 0.3, 1), opacity 240ms ease, visibility 240ms ease;
  }

  .menu-open .primary-nav {
    transform: translateX(0);
    opacity: 1;
    visibility: visible;
  }

  .primary-nav a {
    display: flex;
    min-height: 64px;
    align-items: center;
    border-bottom: 1px solid var(--line);
    color: var(--text);
    font-size: 20px;
  }

  .primary-nav a:not(.nav-cta)::after {
    display: none;
  }

  .primary-nav .nav-cta {
    min-height: 50px;
    justify-content: center;
    margin-top: 28px;
    border: 0;
    background: var(--accent);
    color: var(--accent-text);
    font-size: 15px;
  }

  .hero,
  .hero-inner {
    min-height: 84dvh;
  }

  .hero-inner,
  .section-shell,
  .footer-main,
  .footer-meta {
    width: calc(100% - 32px);
  }

  .hero-inner {
    align-items: end;
    padding: 132px 0 74px;
  }

  .hero-copy {
    width: 100%;
  }

  .hero h1 {
    font-size: 38px;
    line-height: 1;
  }

  .hero h1 span {
    white-space: normal;
  }

  .hero-copy > p {
    max-width: 330px;
    margin-top: 22px;
    font-size: 17px;
  }

  .hero-actions {
    margin-top: 28px;
  }

  .section {
    padding: 96px 0;
  }

  .section-heading h2,
  .closing-inner h2 {
    font-size: 40px;
  }

  .section-heading > p:last-child {
    font-size: 16px;
  }

  .about-section {
    padding-top: 60px;
    padding-bottom: 36px;
  }

  .about-statement {
    grid-template-columns: 1fr;
    gap: 30px;
    margin-top: 62px;
    padding-left: 0;
  }

  .statement-lead {
    font-size: 26px;
  }

  .company-facts {
    grid-template-columns: 1fr;
    margin-top: 68px;
  }

  .company-facts > div,
  .company-facts > div:not(:first-child) {
    min-height: 96px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding: 20px 0;
  }

  .business-section {
    padding-top: 72px;
  }

  .business-stage {
    grid-template-columns: 1fr;
    gap: 48px;
    margin-top: 54px;
  }

  .endpoint-panel {
    min-height: 0;
  }

  .request-flow {
    grid-template-columns: 1fr;
    min-height: 0;
    gap: 12px;
    padding: 20px;
  }

  .flow-node {
    min-height: 90px;
  }

  .flow-connector {
    width: 1px;
    height: 22px;
    justify-self: center;
  }

  .flow-connector span {
    width: 1px;
    height: 8px;
  }

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

  .routing-card,
  .pool-card,
  .cost-card,
  .trace-card,
  .alert-card {
    grid-column: auto;
  }

  .routing-card {
    grid-template-columns: 1fr;
  }

  .capability-card {
    min-height: 310px;
    padding: 28px;
  }

  .route-visual {
    max-width: 410px;
  }

  .api-browser {
    grid-template-columns: 1fr;
    min-height: 0;
    margin-top: 52px;
  }

  .api-tabs {
    display: flex;
    overflow-x: auto;
    border-right: 0;
    border-bottom: 1px solid var(--line);
    scroll-snap-type: x mandatory;
  }

  .api-tabs button {
    flex: 0 0 auto;
    min-width: 132px;
    text-align: center;
    scroll-snap-align: start;
  }

  .api-panels [role="tabpanel"] {
    grid-template-columns: 1fr;
    min-height: 0;
    gap: 34px;
    padding: 38px 26px;
  }

  .api-panels h3 {
    font-size: 29px;
  }

  .integration-shell {
    grid-template-columns: 1fr;
    gap: 54px;
  }

  .integration-copy h2 {
    font-size: 40px;
  }

  .code-panel pre {
    min-height: 0;
    padding: 28px 22px;
  }

  .closing-section {
    padding: 104px 0;
  }

  .closing-inner {
    padding-left: 0;
  }

  .footer-main {
    display: grid;
    gap: 50px;
  }

  .footer-address {
    text-align: left;
  }

  .footer-address > a {
    justify-self: start;
  }

  .footer-meta {
    gap: 20px;
  }
}

@media (max-width: 480px) {
  .brand-copy span {
    display: none;
  }

  .hero h1 {
    font-size: 36px;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .button {
    width: 100%;
    padding: 0 14px;
    font-size: 13px;
  }

  .section-heading h2,
  .closing-inner h2,
  .integration-copy h2 {
    font-size: 34px;
  }

  .statement-lead {
    font-size: 23px;
  }

  .endpoint-header {
    display: grid;
    gap: 5px;
    padding: 13px 18px;
  }

  .business-copy h3 {
    font-size: 29px;
  }

  .capability-card h3 {
    font-size: 25px;
  }

  .route-visual {
    grid-template-columns: 54px minmax(44px, 1fr) 72px;
  }

  .pool-visual span {
    grid-template-columns: 1fr 70px;
  }

  .footer-meta {
    display: grid;
  }
}

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

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

  .js [data-reveal] {
    opacity: 1;
    transform: none;
  }
}

@media (prefers-reduced-transparency: reduce) {
  .site-header,
  .button-secondary {
    background: var(--page);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
}
