.landing-page {
  --landing-bg: #0a0d0b;
  --landing-bg-soft: #0e120f;
  --landing-surface: #121713;
  --landing-surface-2: #171d18;
  --landing-border: rgb(220 239 224 / 0.13);
  --landing-border-strong: rgb(220 239 224 / 0.22);
  --landing-text: #f1f5f2;
  --landing-muted: #9ca7a0;
  --landing-accent: #9fe870;
  --landing-accent-soft: rgb(159 232 112 / 0.13);
  --landing-shadow: 0 28px 90px rgb(2 8 4 / 0.48);
  background: var(--landing-bg);
  color: var(--landing-text);
  color-scheme: dark;
}

.landing-page .page-shell {
  background: var(--landing-bg);
}

.landing-page .container {
  width: min(1240px, calc(100% - 48px));
}

.landing-page .site-header {
  height: 72px;
  border-bottom: 1px solid transparent;
  background: rgb(8 11 9 / 0.72);
  color: var(--landing-text);
  backdrop-filter: blur(18px) saturate(130%);
}

.landing-page .site-header.is-scrolled {
  height: 64px;
  border-color: var(--landing-border);
  background: rgb(8 11 9 / 0.92);
}

.landing-page .brand {
  color: var(--landing-text);
  font-size: 17px;
  font-weight: 760;
}

.landing-page .brand-mark {
  width: 32px;
  height: 32px;
  border-color: rgb(159 232 112 / 0.28);
  border-radius: 8px;
  background: var(--landing-accent);
  color: #10160f;
  box-shadow: inset 0 1px 0 rgb(242 255 235 / 0.46);
}

.landing-page .nav-link,
.landing-page .nav-trigger {
  border-radius: 8px;
  color: rgb(241 245 242 / 0.72);
  font-size: 13px;
  font-weight: 620;
}

.landing-page .nav-link:hover,
.landing-page .nav-trigger:hover {
  background: rgb(241 245 242 / 0.07);
  color: var(--landing-text);
}

.landing-page .mega-menu {
  top: 66px;
  border-color: var(--landing-border-strong);
  border-radius: 8px;
  background: rgb(16 21 17 / 0.97);
  box-shadow: var(--landing-shadow);
}

.landing-page .mega-title {
  color: var(--landing-accent);
}

.landing-page .mega-item {
  border-radius: 8px;
}

.landing-page .mega-item:hover {
  background: rgb(241 245 242 / 0.06);
}

.landing-page .mega-item span,
.landing-page .mega-item span span {
  color: var(--landing-muted);
}

.landing-page .mini-icon {
  border-color: var(--landing-border);
  border-radius: 8px;
  background: rgb(241 245 242 / 0.04);
  color: var(--landing-accent);
}

.landing-page .btn {
  min-height: 44px;
  border-radius: 8px;
  padding: 11px 16px;
  font-size: 14px;
  font-weight: 720;
}

.landing-page .btn i,
.landing-page .copy-response i {
  font-size: 17px;
}

.landing-page .btn-primary,
.landing-page .btn-accent {
  border: 1px solid var(--landing-accent);
  background: var(--landing-accent);
  color: #10160f;
  box-shadow: inset 0 1px 0 rgb(245 255 239 / 0.45);
}

.landing-page .btn-primary:hover,
.landing-page .btn-accent:hover {
  border-color: #b0f086;
  background: #b0f086;
  transform: translateY(-1px);
}

.landing-page .btn-secondary,
.landing-page .btn-ghost {
  border: 1px solid var(--landing-border-strong);
  background: rgb(241 245 242 / 0.06);
  color: var(--landing-text);
}

.landing-page .btn-secondary:hover,
.landing-page .btn-ghost:hover {
  border-color: rgb(241 245 242 / 0.32);
  background: rgb(241 245 242 / 0.1);
}

.landing-page .icon-btn {
  border-color: var(--landing-border-strong);
  border-radius: 8px;
  background: rgb(241 245 242 / 0.06);
  color: var(--landing-text);
}

.landing-page .mobile-nav {
  display: none;
}

.landing-page .status {
  border-color: rgb(159 232 112 / 0.25);
  background: rgb(159 232 112 / 0.08);
  color: #cdeeb9;
}

.landing-page .status::before {
  background: var(--landing-accent);
  box-shadow: 0 0 0 3px rgb(159 232 112 / 0.1);
}

.landing-page .field,
.landing-page .select-field,
.landing-page .textarea-field {
  border-color: var(--landing-border);
  border-radius: 8px;
  background: rgb(241 245 242 / 0.055);
  color: var(--landing-text);
}

.landing-page .field::placeholder {
  color: #7f8982;
}

.landing-page .field:focus,
.landing-page .select-field:focus,
.landing-page .textarea-field:focus {
  border-color: rgb(159 232 112 / 0.66);
  box-shadow: 0 0 0 4px rgb(159 232 112 / 0.1);
}

.landing-page .tab-btn,
.landing-page .segmented button {
  border-color: var(--landing-border);
  border-radius: 8px;
  background: rgb(241 245 242 / 0.04);
  color: var(--landing-muted);
}

.landing-page .tab-btn.is-active,
.landing-page .segmented button.is-active {
  border-color: rgb(159 232 112 / 0.34);
  background: var(--landing-accent-soft);
  color: #daf5c9;
}

[data-spotlight] {
  --mouse-x: 50%;
  --mouse-y: 50%;
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

[data-spotlight]::after {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: radial-gradient(360px circle at var(--mouse-x) var(--mouse-y), rgb(159 232 112 / 0.11), transparent 66%);
  content: "";
  opacity: 0;
  pointer-events: none;
  transition: opacity 300ms var(--ease);
}

[data-spotlight]:hover::after,
[data-spotlight]:focus-within::after {
  opacity: 1;
}

[data-spotlight] > * {
  position: relative;
  z-index: 1;
}

.hero {
  position: relative;
  isolation: isolate;
  display: grid;
  min-height: min(760px, calc(100dvh - var(--header-height) - 36px));
  overflow: hidden;
  background: #090c0a;
}

.header-sentinel {
  position: absolute;
  left: 0;
  top: 12px;
  width: 1px;
  height: 1px;
}

.hero-art {
  position: absolute;
  inset: 0;
  z-index: -4;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: 58% center;
  filter: saturate(0.82) contrast(1.05) brightness(0.72);
  transform: scale(1.02);
}

.hero::before {
  position: absolute;
  inset: 0;
  z-index: -3;
  background:
    linear-gradient(90deg, rgb(7 10 8 / 0.98) 0%, rgb(7 10 8 / 0.88) 34%, rgb(7 10 8 / 0.3) 67%, rgb(7 10 8 / 0.58) 100%),
    linear-gradient(180deg, rgb(7 10 8 / 0.26), rgb(7 10 8 / 0.08) 55%, rgb(7 10 8 / 0.9));
  content: "";
}

.hero::after {
  position: absolute;
  inset: auto 0 0;
  z-index: 4;
  height: 120px;
  background: linear-gradient(180deg, transparent, var(--landing-bg));
  content: "";
  pointer-events: none;
}

.hero-dot-grid {
  position: absolute;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  opacity: 0.38;
  pointer-events: none;
}

.hero-light-rays {
  position: absolute;
  inset: -22% -10% 0 48%;
  z-index: -2;
  opacity: 0.3;
  background:
    linear-gradient(112deg, transparent 28%, rgb(159 232 112 / 0.12) 43%, transparent 53%),
    linear-gradient(106deg, transparent 52%, rgb(159 232 112 / 0.08) 62%, transparent 72%);
  filter: blur(10px);
  transform: rotate(-4deg);
  transform-origin: top center;
  pointer-events: none;
}

.hero-layout {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(430px, 0.92fr);
  gap: 64px;
  align-items: center;
  padding-block: 48px 76px;
}

.hero-content {
  display: grid;
  gap: 22px;
  max-width: 700px;
}

.hero .eyebrow {
  width: fit-content;
  border: 1px solid rgb(159 232 112 / 0.28);
  border-radius: 8px;
  background: rgb(159 232 112 / 0.08);
  color: #d2f2bf;
  padding: 7px 10px;
  font-family: var(--font-code);
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0;
  text-transform: none;
}

.hero h1 {
  max-width: 700px;
  color: var(--landing-text);
  font-size: 56px;
  font-weight: 660;
  line-height: 0.98;
  text-wrap: balance;
}

.hero h1 span {
  display: block;
}

.hero h1 span:last-child {
  color: #b7c0ba;
}

.hero-copy {
  max-width: 570px;
  color: #b6c0b9;
  font-size: 18px;
  line-height: 1.6;
  text-wrap: pretty;
}

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

.rpc-playground {
  position: relative;
  border: 1px solid rgb(222 240 225 / 0.2);
  border-radius: 8px;
  background: rgb(10 14 11 / 0.76);
  box-shadow:
    inset 0 1px 0 rgb(245 255 246 / 0.08),
    0 36px 100px rgb(2 8 4 / 0.54);
  backdrop-filter: blur(22px) saturate(125%);
}

.rpc-playground::before {
  position: absolute;
  inset: 0;
  z-index: 2;
  border-radius: inherit;
  border: 1px solid transparent;
  background: linear-gradient(115deg, rgb(159 232 112 / 0.34), transparent 28%, transparent 72%, rgb(236 249 238 / 0.12)) border-box;
  content: "";
  pointer-events: none;
  -webkit-mask: linear-gradient(#f5f5f5 0 0) padding-box, linear-gradient(#f5f5f5 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
}

.playground-chrome {
  display: grid;
  gap: 15px;
  padding: 18px;
}

.playground-head,
.playground-stats,
.request-row,
.inline-between {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.playground-head {
  min-height: 32px;
  padding-bottom: 13px;
  border-bottom: 1px solid var(--landing-border);
}

.playground-title {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 14px;
  font-weight: 720;
}

.playground-title i {
  color: var(--landing-accent);
  font-size: 19px;
}

.playground-network-row {
  display: grid;
  grid-template-columns: 84px 1fr;
  align-items: center;
  gap: 12px;
  color: var(--landing-muted);
  font-size: 12px;
}

.dark-field {
  width: 100%;
  border: 1px solid var(--landing-border);
  border-radius: 8px;
  background: rgb(241 245 242 / 0.055);
  color: var(--landing-text);
  padding: 10px 12px;
  outline: 0;
}

.dark-field:focus {
  border-color: rgb(159 232 112 / 0.58);
  box-shadow: 0 0 0 4px rgb(159 232 112 / 0.09);
}

.dark-field option {
  background: #101511;
}

.endpoint-box {
  overflow: hidden;
  border: 1px solid var(--landing-border);
  border-radius: 8px;
  background: rgb(5 8 6 / 0.52);
  color: #b9c5bd;
  padding: 11px 12px;
  font-family: var(--font-code);
  font-size: 12px;
  line-height: 1.5;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.request-row > div {
  display: grid;
  gap: 4px;
}

.request-row strong {
  color: #e7eee9;
  font-size: 13px;
  font-weight: 580;
}

.request-label,
.playground-stats small {
  color: #7f8b83;
  font-size: 10px;
  font-weight: 650;
}

.playground-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-block: 1px solid var(--landing-border);
}

.playground-stats > span {
  display: grid;
  gap: 4px;
  padding-block: 11px;
}

.playground-stats > span + span {
  border-left: 1px solid var(--landing-border);
  padding-left: 14px;
}

.playground-stats strong {
  overflow: hidden;
  color: #dce5df;
  font-family: var(--font-code);
  font-size: 11px;
  font-weight: 550;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.json-output {
  min-height: 132px;
  border-color: var(--landing-border);
  border-radius: 8px;
  background: rgb(4 7 5 / 0.7);
  box-shadow: none;
}

.json-output pre {
  max-height: 150px;
  color: #d9e4dc;
  font-size: 11px;
}

.copy-response {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  min-height: 39px;
  border: 1px solid var(--landing-border);
  border-radius: 8px;
  background: rgb(241 245 242 / 0.04);
  color: #bcc7c0;
  font-size: 12px;
  font-weight: 650;
  transition: background var(--fast), border-color var(--fast), color var(--fast), transform var(--fast);
}

.copy-response:hover {
  border-color: var(--landing-border-strong);
  background: rgb(241 245 242 / 0.08);
  color: var(--landing-text);
}

.syntax-key {
  color: #b6ee95;
}

.syntax-string {
  color: #c2d0c7;
}

.syntax-number {
  color: #f1e2a9;
}

.ecosystem-strip {
  position: relative;
  z-index: 5;
  border-bottom: 1px solid var(--landing-border);
  background: var(--landing-bg);
  padding: 30px 0 44px;
}

.ecosystem-inner {
  display: grid;
  grid-template-columns: 235px 1fr;
  gap: 48px;
  align-items: center;
}

.ecosystem-inner h2 {
  max-width: 220px;
  color: #849087;
  font-size: 12px;
  font-weight: 570;
  line-height: 1.5;
}

.logo-wall {
  display: grid;
  grid-template-columns: repeat(6, minmax(80px, 1fr));
  gap: 28px;
  align-items: center;
}

.logo-wall img {
  width: 100%;
  max-width: 112px;
  max-height: 24px;
  margin-inline: auto;
  object-fit: contain;
  filter: grayscale(1) brightness(0) invert(1);
  opacity: 0.5;
  transition: opacity var(--normal), transform var(--normal);
}

.logo-wall img:hover {
  opacity: 0.82;
  transform: translateY(-1px);
}

.landing-page .site-section,
.landing-page .dark-section {
  position: relative;
  background: var(--landing-bg);
  color: var(--landing-text);
  padding: 118px 0 132px;
}

.landing-page .site-section.compact {
  padding: 90px 0 104px;
}

.landing-page #products,
.landing-page #networks,
.landing-page #rates,
.landing-page #pricing {
  background: var(--landing-bg-soft);
}

.landing-page #gateway,
.landing-page #streams,
.landing-page #gateway + .site-section,
.landing-page main > .site-section:nth-last-of-type(2) {
  background: #0c100d;
}

.landing-page .section-head {
  gap: 20px;
  max-width: 890px;
  margin-bottom: 52px;
}

.landing-page .section-kicker {
  width: fit-content;
  color: var(--landing-accent);
  font-family: var(--font-code);
  font-size: 12px;
  font-weight: 620;
  letter-spacing: 0;
  text-transform: none;
}

.content-label {
  color: var(--landing-accent);
  font-family: var(--font-code);
  font-size: 12px;
  font-weight: 620;
}

.landing-page .section-title {
  max-width: 850px;
  color: var(--landing-text);
  font-size: 60px;
  font-weight: 650;
  line-height: 1.02;
}

.landing-page .section-copy,
.landing-page .dark-section .section-copy,
.landing-page .muted,
.landing-page .dark-section .muted {
  color: var(--landing-muted);
}

.landing-page .section-copy {
  max-width: 650px;
  font-size: 17px;
  line-height: 1.7;
}

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

.bento-card {
  display: grid;
  grid-column: span 4;
  align-content: space-between;
  gap: 28px;
  min-height: 238px;
  border: 1px solid var(--landing-border);
  border-radius: 8px;
  background: var(--landing-surface);
  padding: 26px;
  box-shadow: inset 0 1px 0 rgb(241 245 242 / 0.025);
  transition: border-color var(--normal), transform var(--normal), background var(--normal);
}

.bento-card:nth-child(1) {
  grid-column: span 7;
  background:
    linear-gradient(130deg, rgb(159 232 112 / 0.11), transparent 48%),
    var(--landing-surface);
}

.bento-card:nth-child(2) {
  grid-column: span 5;
}

.bento-card:nth-child(3) {
  grid-column: span 5;
}

.bento-card:nth-child(4) {
  grid-column: span 7;
  background:
    linear-gradient(155deg, transparent 34%, rgb(159 232 112 / 0.08)),
    var(--landing-surface);
}

.bento-card:nth-child(5),
.bento-card:nth-child(6) {
  grid-column: span 6;
}

.bento-card:nth-child(7) {
  grid-column: span 12;
  min-height: 190px;
}

.bento-card:hover {
  border-color: var(--landing-border-strong);
  background-color: var(--landing-surface-2);
  transform: translateY(-3px);
}

.bento-card > div:first-child {
  display: grid;
  gap: 13px;
}

.bento-card h3 {
  font-size: 22px;
  font-weight: 650;
}

.product-icon,
.power-icon,
.network-logo,
.node-icon,
.decision-icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgb(159 232 112 / 0.22);
  border-radius: 8px;
  background: var(--landing-accent-soft);
  color: var(--landing-accent);
  font-size: 20px;
}

.network-logo img {
  width: 22px;
  height: 22px;
  object-fit: contain;
  filter: grayscale(1) brightness(1.65);
}

.network-logo i {
  font-size: 21px;
}

.mini-metric {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.mini-metric span,
.route-cell,
.network-chip,
.price-row,
.security-card,
.insight-card {
  border: 1px solid var(--landing-border);
  border-radius: 8px;
  background: rgb(241 245 242 / 0.035);
  padding: 13px;
}

.mini-metric span {
  color: var(--landing-muted);
  font-size: 11px;
}

.mini-metric strong {
  color: var(--landing-text);
  font-family: var(--font-code);
  font-size: 16px;
  font-weight: 590;
}

.route-cell {
  color: #c8d1cb;
  font-size: 12px;
}

.gateway-lab {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  min-height: 650px;
  overflow: hidden;
  border: 1px solid var(--landing-border-strong);
  border-radius: 8px;
  background: #0b0f0c;
  box-shadow: var(--landing-shadow);
}

.gateway-stage {
  display: grid;
  grid-template-rows: 54px minmax(0, 1fr) 72px;
  min-width: 0;
}

.gateway-stage-bar,
.gateway-controls-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.gateway-stage-bar {
  border-bottom: 1px solid var(--landing-border);
  color: var(--landing-muted);
  padding: 0 20px;
  font-size: 12px;
}

.gateway-stage-bar span:first-child {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #cbd5ce;
  font-weight: 650;
}

.gateway-stage-bar i {
  color: var(--landing-accent);
  font-size: 17px;
}

.gateway-topology {
  position: relative;
  min-height: 520px;
  overflow: hidden;
  background:
    linear-gradient(rgb(241 245 242 / 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgb(241 245 242 / 0.025) 1px, transparent 1px),
    radial-gradient(circle at 48% 50%, rgb(159 232 112 / 0.07), transparent 28%);
  background-size: 40px 40px, 40px 40px, auto;
}

.gateway-links {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
}

.route-line {
  fill: none;
  vector-effect: non-scaling-stroke;
}

.route-line-base {
  stroke: rgb(216 235 220 / 0.12);
  stroke-width: 1;
}

.route-line-active {
  stroke: url(#route-active);
  stroke-dasharray: 8 11;
  stroke-linecap: round;
  stroke-width: 1.7;
  filter: url(#route-soft-glow);
  opacity: 0.92;
}

.route-packet {
  fill: #dfffd0;
  filter: url(#route-soft-glow);
}

.gateway-lab[data-routing-mode="load"] .route-c,
.gateway-lab[data-routing-mode="load"] .packet-c {
  opacity: 0.38;
}

.gateway-lab[data-routing-mode="failover"] .route-b,
.gateway-lab[data-routing-mode="failover"] .packet-b {
  opacity: 0.42;
}

.gateway-lab[data-routing-mode="failover"] .route-c,
.gateway-lab[data-routing-mode="failover"] .packet-c {
  opacity: 0.1;
}

.gateway-lab[data-routing-mode="method"] .route-c,
.gateway-lab[data-routing-mode="method"] .packet-c {
  opacity: 0.18;
}

.topology-node {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 12px;
  width: 184px;
  min-height: 82px;
  border: 1px solid var(--landing-border-strong);
  border-radius: 8px;
  background: rgb(18 24 19 / 0.94);
  padding: 13px;
  box-shadow: 0 16px 42px rgb(2 8 4 / 0.34), inset 0 1px 0 rgb(241 245 242 / 0.04);
  transition: border-color var(--normal), opacity var(--normal), transform var(--normal);
}

.topology-node > span:not(.node-icon):not(.node-health) {
  display: grid;
  min-width: 0;
}

.topology-node small,
.gateway-controls small,
.gateway-telemetry small,
.gateway-decision small {
  color: #7f8a83;
  font-size: 10px;
  font-style: normal;
  font-weight: 600;
}

.topology-node strong {
  overflow: hidden;
  margin-top: 3px;
  color: #edf3ef;
  font-size: 13px;
  font-weight: 670;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.topology-node em {
  overflow: hidden;
  margin-top: 3px;
  color: #8f9b93;
  font-family: var(--font-code);
  font-size: 9px;
  font-style: normal;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.topology-app {
  left: 3%;
  top: 6%;
}

.topology-gateway {
  left: 40.3%;
  top: 42%;
  border-color: rgb(159 232 112 / 0.43);
  background: rgb(20 30 21 / 0.96);
}

.topology-provider {
  right: 2.5%;
  justify-content: space-between;
}

.topology-provider-a {
  top: 6%;
}

.topology-provider-b {
  top: 42%;
}

.topology-provider-c {
  top: 78%;
}

.topology-provider.is-degraded {
  opacity: 0.62;
}

.node-health {
  color: var(--landing-accent);
  font-family: var(--font-code);
  font-size: 10px;
}

.topology-provider.is-degraded .node-health {
  color: #d8b77b;
}

.gateway-telemetry {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--landing-border);
}

.gateway-telemetry > span {
  display: grid;
  align-content: center;
  gap: 5px;
  padding-inline: 20px;
}

.gateway-telemetry > span + span {
  border-left: 1px solid var(--landing-border);
}

.gateway-telemetry strong {
  color: #d9e3dc;
  font-size: 13px;
  font-weight: 580;
}

.gateway-controls {
  align-content: start;
  display: grid;
  gap: 22px;
  border-left: 1px solid var(--landing-border);
  background: #101511;
  padding: 24px;
}

.gateway-controls h3 {
  margin-top: 4px;
  font-size: 20px;
  font-weight: 650;
}

.gateway-segmented {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 5px;
  border: 1px solid var(--landing-border);
  border-radius: 8px;
  background: rgb(4 7 5 / 0.34);
  padding: 4px;
}

.gateway-segmented button {
  min-width: 0;
  border: 0;
  padding: 9px 6px;
  font-size: 10px;
  white-space: nowrap;
}

.gateway-mode-copy {
  color: var(--landing-muted);
  font-size: 13px;
  line-height: 1.6;
}

.routing-details {
  display: grid;
  gap: 8px;
}

.routing-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  border-bottom: 1px solid var(--landing-border);
  padding: 11px 0;
}

.routing-row:last-child {
  border-bottom: 0;
}

.routing-row span:first-child {
  display: grid;
  gap: 4px;
}

.routing-row strong {
  overflow: hidden;
  color: #dce5df;
  font-size: 12px;
  font-weight: 620;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.routing-row small {
  color: #77827b;
  font-family: var(--font-code);
  font-size: 9px;
}

.route-value {
  color: var(--landing-accent);
  font-family: var(--font-code);
  font-size: 11px;
  font-style: normal;
}

.gateway-decision {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 12px;
  align-items: center;
  border: 1px solid rgb(159 232 112 / 0.2);
  border-radius: 8px;
  background: rgb(159 232 112 / 0.07);
  padding: 13px;
}

.gateway-decision > span:last-child {
  display: grid;
  gap: 4px;
}

.gateway-decision strong {
  color: #dbe9d4;
  font-size: 11px;
  font-weight: 620;
}

.power-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 42px;
}

.power-card {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 16px;
  align-items: start;
  min-height: 132px;
  border-top: 1px solid var(--landing-border);
  background: transparent;
  padding: 24px 0;
  transition: background var(--normal), padding var(--normal), transform var(--normal);
}

.power-card:hover,
.power-card:focus-within {
  background: rgb(241 245 242 / 0.025);
  padding-inline: 14px;
  transform: translateX(2px);
}

.power-card > div {
  display: grid;
  gap: 8px;
}

.power-card h3 {
  font-size: 17px;
  font-weight: 650;
}

.power-card p {
  color: var(--landing-muted);
  font-size: 13px;
  line-height: 1.55;
}

.network-search {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  margin-bottom: 18px;
  border: 1px solid var(--landing-border);
  border-radius: 8px;
  background: rgb(241 245 242 / 0.025);
  padding: 8px;
}

.networks-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.network-card {
  display: grid;
  gap: 14px;
  align-content: start;
  min-height: 250px;
  border: 1px solid var(--landing-border);
  border-radius: 8px;
  background: var(--landing-surface);
  padding: 18px;
  transition: border-color var(--normal), transform var(--normal), background var(--normal);
}

.network-card:first-child,
.network-card:last-child {
  grid-column: span 2;
}

.network-card:hover {
  border-color: var(--landing-border-strong);
  background: var(--landing-surface-2);
  transform: translateY(-2px);
}

.network-card h3 {
  font-size: 16px;
  font-weight: 650;
}

.network-card .btn {
  align-self: end;
  margin-top: auto;
}

.fine-print {
  color: #7f8a83;
  font-size: 11px;
  line-height: 1.55;
}

.api-explorer {
  display: grid;
  grid-template-columns: 310px minmax(0, 1fr);
  min-height: 470px;
  overflow: hidden;
  border: 1px solid var(--landing-border-strong);
  border-radius: 8px;
  background: #0c100d;
  box-shadow: var(--landing-shadow);
}

.explorer-controls {
  align-content: start;
  gap: 18px;
  border: 0;
  border-right: 1px solid var(--landing-border);
  border-radius: 0;
  background: #111612;
  padding: 20px;
  box-shadow: none;
}

.explorer-controls label {
  display: grid;
  gap: 8px;
  color: #97a29b;
  font-size: 12px;
}

.api-explorer > .code-window {
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.terminal-feed {
  display: grid;
  gap: 8px;
  min-height: 300px;
  max-height: 300px;
  overflow: auto;
  border: 1px solid var(--landing-border);
  border-radius: 8px;
  background: #080b09;
  padding: 16px;
  font-family: var(--font-code);
  font-size: 11px;
}

.event-line {
  border-bottom: 1px solid rgb(241 245 242 / 0.05);
  color: #9ba79f;
  padding-bottom: 7px;
}

.event-line strong {
  color: var(--landing-accent);
}

.webhook-flow {
  position: relative;
  display: grid;
  gap: 10px;
  margin-top: 20px;
}

.webhook-flow .route-cell {
  min-height: 76px;
  padding: 16px;
}

.wallet-mock,
.market-board,
.observability-mock {
  border: 1px solid var(--landing-border-strong);
  border-radius: 8px;
  background: var(--landing-surface);
  padding: 24px;
  box-shadow: var(--landing-shadow);
}

.wallet-mock {
  align-self: stretch;
  background:
    linear-gradient(145deg, rgb(159 232 112 / 0.09), transparent 45%),
    var(--landing-surface);
}

.wallet-mock h3 {
  max-width: 470px;
  margin-top: 12px;
  font-size: 34px;
  font-weight: 640;
  line-height: 1.1;
}

.wallet-capabilities,
.wallet-address {
  margin-top: 20px;
}

.wallet-address {
  background: rgb(5 8 6 / 0.45);
  color: #cbd6ce;
}

.price-row {
  display: grid;
  grid-template-columns: 80px minmax(0, 1fr) 80px 150px;
  align-items: center;
  gap: 14px;
  margin-top: 0;
  border: 0;
  border-bottom: 1px solid var(--landing-border);
  border-radius: 0;
  background: transparent;
  padding: 18px 4px;
}

.price-row:last-child {
  border-bottom: 0;
}

.price-row strong,
.price-row > span:nth-child(2) {
  font-family: var(--font-code);
  font-variant-numeric: tabular-nums;
}

.price-change {
  font-family: var(--font-code);
  font-size: 12px;
}

.price-change.is-up {
  color: var(--landing-accent);
}

.price-change.is-down {
  color: #df9f9f;
}

.price-sparkline {
  color: var(--landing-accent);
}

.dev-code {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(460px, 1.2fr);
  gap: 64px;
  align-items: center;
}

.landing-page .code-window {
  border-color: var(--landing-border-strong);
  border-radius: 8px;
  background: #080b09;
  box-shadow: var(--landing-shadow);
}

.landing-page .code-toolbar {
  border-color: var(--landing-border);
}

.stats-strip {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.stats-strip .route-cell {
  border: 0;
  border-right: 1px solid var(--landing-border);
  border-radius: 0;
  background: transparent;
  padding: 8px 16px;
}

.stats-strip .route-cell:last-child {
  border-right: 0;
}

.stats-strip strong {
  font-family: var(--font-code);
  font-size: 20px;
  font-weight: 580;
}

.observability-chart {
  width: 100%;
  height: 260px;
  margin-top: 24px;
}

.landing-page [data-security-grid] {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 44px;
}

.security-card {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 14px;
  border: 0;
  border-top: 1px solid var(--landing-border);
  border-radius: 0;
  background: transparent;
  padding: 22px 0;
}

.security-card .product-icon {
  grid-row: span 2;
}

.security-card h3 {
  font-size: 15px;
  font-weight: 640;
}

.security-card p {
  grid-column: 2;
  font-size: 12px;
  line-height: 1.5;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  align-items: stretch;
}

.pricing-card {
  position: relative;
  display: grid;
  gap: 16px;
  align-content: start;
  min-height: 480px;
  border: 1px solid var(--landing-border);
  border-radius: 8px;
  background: var(--landing-surface);
  padding: 22px;
  transition: border-color var(--normal), transform var(--normal), background var(--normal);
}

.pricing-card:hover {
  border-color: var(--landing-border-strong);
  transform: translateY(-3px);
}

.pricing-card.featured {
  border-color: rgb(159 232 112 / 0.45);
  background:
    linear-gradient(180deg, rgb(159 232 112 / 0.12), transparent 42%),
    var(--landing-surface);
}

.pricing-card.featured::before {
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: var(--landing-accent);
  content: "";
}

.pricing-card h3 {
  font-size: 18px;
  font-weight: 650;
}

.plan-price {
  margin-top: 14px;
  color: var(--landing-text);
  font-family: var(--font-code);
  font-size: 34px;
  font-weight: 560;
}

.pricing-card .btn {
  align-self: end;
  margin-top: auto;
}

.landing-page [data-insights] {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
  gap: 12px;
}

.insight-card {
  display: grid;
  gap: 13px;
  align-content: start;
  min-height: 220px;
  border-color: var(--landing-border);
  background: var(--landing-surface);
  padding: 22px;
}

.insight-card:first-child {
  grid-row: span 2;
  min-height: 452px;
  align-content: end;
  background:
    linear-gradient(180deg, transparent 20%, rgb(8 12 9 / 0.92)),
    linear-gradient(135deg, rgb(159 232 112 / 0.14), transparent 55%),
    var(--landing-surface);
}

.insight-card h3 {
  font-size: 20px;
  font-weight: 640;
  line-height: 1.2;
}

.insight-card:first-child h3 {
  max-width: 560px;
  font-size: 34px;
}

.content-tag {
  color: var(--landing-accent);
  font-family: var(--font-code);
  font-size: 11px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr repeat(6, minmax(0, 1fr));
  gap: 34px;
}

.footer-col {
  display: grid;
  align-content: start;
  gap: 11px;
}

.footer-col > strong {
  color: #dce5df;
  font-size: 12px;
  font-weight: 650;
}

.footer-col a:not(.brand) {
  color: #7f8b83;
  font-size: 12px;
  transition: color var(--fast);
}

.footer-col a:hover {
  color: var(--landing-text);
}

.footer-meta {
  margin-top: 38px;
  border-top: 1px solid var(--landing-border);
  padding-top: 22px;
}

.reveal {
  transform: none;
  opacity: 1;
}

.motion-ready .reveal {
  transform: none;
  opacity: 1;
}

.motion-ready .reveal.is-visible {
  animation: reveal-enter 680ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

@media (prefers-reduced-motion: no-preference) {
  .hero-art {
    animation: hero-drift 18s ease-in-out infinite alternate;
  }

  .hero-light-rays {
    animation: ray-breathe 8s ease-in-out infinite alternate;
  }

  .route-line-active {
    animation: route-flow 2.6s linear infinite;
  }
}

@keyframes hero-drift {
  from { transform: scale(1.02) translate3d(0, 0, 0); }
  to { transform: scale(1.055) translate3d(-0.7%, -0.4%, 0); }
}

@keyframes ray-breathe {
  from { opacity: 0.18; transform: rotate(-4deg) translate3d(-1%, 0, 0); }
  to { opacity: 0.38; transform: rotate(-2deg) translate3d(1%, 1%, 0); }
}

@keyframes route-flow {
  to { stroke-dashoffset: -38; }
}

@keyframes reveal-enter {
  from { transform: translateY(22px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

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

  .hero-layout {
    grid-template-columns: minmax(0, 1fr) minmax(390px, 0.82fr);
    gap: 36px;
  }

  .gateway-lab {
    grid-template-columns: 1fr;
  }

  .gateway-controls {
    grid-template-columns: minmax(220px, 0.7fr) minmax(320px, 1.3fr);
    border-top: 1px solid var(--landing-border);
    border-left: 0;
  }

  .gateway-controls-head,
  .gateway-segmented,
  .gateway-mode-copy {
    grid-column: 1;
  }

  .routing-details,
  .gateway-decision {
    grid-column: 2;
  }

  .routing-details {
    grid-row: 1 / span 3;
  }

  .footer-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .footer-col:first-child {
    grid-column: span 4;
  }
}

@media (max-width: 1080px) {
  .landing-page .container {
    width: min(100% - 40px, 960px);
  }

  .landing-page .mobile-nav {
    position: fixed;
    inset: 64px 14px auto;
    z-index: 95;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 4px;
    visibility: hidden;
    transform: translateY(-8px);
    border: 1px solid var(--landing-border-strong);
    border-radius: 8px;
    background: rgb(16 21 17 / 0.98);
    padding: 10px;
    box-shadow: var(--landing-shadow);
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--fast), transform var(--fast), visibility var(--fast);
  }

  .landing-page .mobile-nav.is-open {
    visibility: visible;
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .landing-page .mobile-nav a {
    border-radius: 8px;
    color: #c6d0c9;
    padding: 13px;
    font-size: 13px;
    font-weight: 620;
  }

  .landing-page .mobile-nav a:hover {
    background: rgb(241 245 242 / 0.07);
    color: var(--landing-text);
  }

  .hero {
    min-height: auto;
  }

  .hero-layout {
    grid-template-columns: 1fr;
    gap: 42px;
    padding-block: 66px 94px;
  }

  .hero-content {
    max-width: 760px;
  }

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

  .rpc-playground {
    width: min(100%, 680px);
  }

  .ecosystem-inner {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .ecosystem-inner h2 {
    max-width: none;
  }

  .bento-card,
  .bento-card:nth-child(1),
  .bento-card:nth-child(2),
  .bento-card:nth-child(3),
  .bento-card:nth-child(4),
  .bento-card:nth-child(5),
  .bento-card:nth-child(6),
  .bento-card:nth-child(7) {
    grid-column: span 6;
  }

  .networks-grid,
  .pricing-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .network-card:first-child,
  .network-card:last-child {
    grid-column: span 1;
  }

  .api-explorer,
  .dev-code {
    grid-template-columns: 1fr;
  }

  .explorer-controls {
    border-right: 0;
    border-bottom: 1px solid var(--landing-border);
  }

  .landing-page .split,
  .landing-page .grid-2 {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .landing-page .container {
    width: min(100% - 28px, 720px);
  }

  .landing-page .site-section,
  .landing-page .dark-section {
    padding: 78px 0 88px;
  }

  .landing-page .site-section.compact {
    padding: 68px 0 76px;
  }

  .landing-page .section-head {
    margin-bottom: 34px;
  }

  .landing-page .section-title {
    font-size: 40px;
  }

  .hero-layout {
    gap: 24px;
    padding-block: 30px 40px;
  }

  .hero-content {
    gap: 16px;
  }

  .hero-art {
    object-position: 70% center;
  }

  .hero::before {
    background:
      linear-gradient(180deg, rgb(7 10 8 / 0.86), rgb(7 10 8 / 0.72) 48%, rgb(7 10 8 / 0.94)),
      linear-gradient(90deg, rgb(7 10 8 / 0.92), rgb(7 10 8 / 0.36));
  }

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

  .hero-copy {
    font-size: 16px;
  }

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

  .hero-actions .btn {
    width: 100%;
  }

  .playground-network-row,
  .request-row {
    grid-template-columns: 1fr;
  }

  .request-row {
    display: grid;
  }

  .request-row .btn {
    width: 100%;
  }

  .playground-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .playground-stats > span + span {
    border-top: 0;
    border-left: 1px solid var(--landing-border);
    padding-left: 10px;
  }

  .rpc-playground .endpoint-box,
  .rpc-playground .json-output,
  .rpc-playground .copy-response {
    display: none;
  }

  .logo-wall {
    grid-template-columns: repeat(3, minmax(70px, 1fr));
    gap: 24px;
  }

  .bento,
  .power-grid,
  .networks-grid,
  .pricing-grid,
  .landing-page [data-security-grid],
  .landing-page [data-insights] {
    grid-template-columns: 1fr;
  }

  .bento-card,
  .bento-card:nth-child(1),
  .bento-card:nth-child(2),
  .bento-card:nth-child(3),
  .bento-card:nth-child(4),
  .bento-card:nth-child(5),
  .bento-card:nth-child(6),
  .bento-card:nth-child(7),
  .network-card:first-child,
  .network-card:last-child {
    grid-column: auto;
  }

  .power-grid {
    column-gap: 0;
  }

  .gateway-stage {
    grid-template-rows: 54px auto auto;
  }

  .gateway-topology {
    display: grid;
    gap: 12px;
    min-height: 0;
    padding: 20px;
    background-size: 32px 32px, 32px 32px, auto;
  }

  .gateway-links {
    display: none;
  }

  .topology-node {
    position: static;
    width: 100%;
    min-height: 76px;
  }

  .topology-gateway {
    order: 2;
  }

  .topology-app {
    order: 1;
  }

  .topology-provider-a {
    order: 3;
  }

  .topology-provider-b {
    order: 4;
  }

  .topology-provider-c {
    order: 5;
  }

  .gateway-telemetry {
    grid-template-columns: 1fr;
  }

  .gateway-telemetry > span {
    min-height: 64px;
  }

  .gateway-telemetry > span + span {
    border-top: 1px solid var(--landing-border);
    border-left: 0;
  }

  .gateway-controls {
    display: grid;
    grid-template-columns: 1fr;
    padding: 20px;
  }

  .gateway-controls-head,
  .gateway-segmented,
  .gateway-mode-copy,
  .routing-details,
  .gateway-decision {
    grid-column: 1;
    grid-row: auto;
  }

  .gateway-segmented {
    grid-template-columns: 1fr;
  }

  .price-row {
    grid-template-columns: 56px 1fr 70px;
  }

  .price-row svg {
    display: none;
  }

  .stats-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .stats-strip .route-cell {
    border-right: 0;
    border-bottom: 1px solid var(--landing-border);
  }

  .stats-strip .route-cell:last-child {
    grid-column: span 2;
  }

  .insight-card:first-child {
    grid-row: auto;
    min-height: 320px;
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-col:first-child {
    grid-column: span 2;
  }
}

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

  .landing-page .section-title {
    font-size: 36px;
  }

  .rpc-playground,
  .wallet-mock,
  .market-board,
  .observability-mock {
    padding: 0;
  }

  .playground-chrome,
  .wallet-mock,
  .market-board,
  .observability-mock {
    padding: 16px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-col:first-child {
    grid-column: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  .motion-ready .reveal,
  .motion-ready .reveal.is-visible {
    transform: none;
    opacity: 1;
  }

  .route-packet {
    display: none;
  }
}
