@import url("https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&family=Manrope:wght@400;600;700;800&family=IBM+Plex+Mono:wght@400;500&display=swap");

:root {
  --bg: #0b1120;
  --bg-2: #0f172a;
  --surface: rgba(15, 23, 42, 0.72);
  --surface-2: rgba(15, 23, 42, 0.84);
  --text: #d6deea;
  --muted: #9aa8bd;
  --primary: #22d3ee;
  --secondary: #a78bfa;
  --accent: #38bdf8;
  --success: #22c55e;
  --danger: #fb7185;
  --border: rgba(148, 163, 184, 0.18);
  --shadow: rgba(2, 6, 23, 0.58);
  --glow: rgba(34, 211, 238, 0.25);
  --hero-grad: linear-gradient(135deg, #22d3ee, #a78bfa);
  --radius-xl: 28px;
  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-sm: 10px;
  --container: 1200px;
  --card-shadow: 0 16px 40px rgba(15, 23, 42, 0.12);
  --card-shadow-soft: 0 10px 28px rgba(15, 23, 42, 0.10);
  --header-bg: rgba(15, 23, 42, 0.76);
  --header-border: rgba(148, 163, 184, 0.18);
  --bg-glow-1: rgba(34, 211, 238, 0.16);
  --bg-glow-2: rgba(167, 139, 250, 0.18);
  --bg-glow-3: rgba(56, 189, 248, 0.14);
  --noise-opacity: 0.12;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Space Grotesk", "Manrope", "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

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

code,
pre {
  font-family: "IBM Plex Mono", "Consolas", monospace;
}

.bg-canvas {
  position: fixed;
  inset: 0;
  background:
    radial-gradient(1100px 700px at 10% 10%, var(--bg-glow-1) 0%, transparent 60%),
    radial-gradient(900px 600px at 85% 0%, var(--bg-glow-2) 0%, transparent 65%),
    radial-gradient(800px 500px at 50% 90%, var(--bg-glow-3) 0%, transparent 70%),
    var(--bg);
  z-index: -3;
}

.bg-noise {
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23n)' opacity='0.16'/%3E%3C/svg%3E");
  mix-blend-mode: soft-light;
  opacity: var(--noise-opacity);
  z-index: -1;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(18px);
  background: var(--header-bg);
  border-bottom: 1px solid var(--header-border);
}

.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(20, 184, 166, 0.08), rgba(139, 92, 246, 0.08), rgba(14, 165, 233, 0.08));
  opacity: 0.7;
  pointer-events: none;
}

.header-shell {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 76px;
}

.brand-logo {
  display: block;
  width: 228px;
  height: auto;
}

.nav {
  display: flex;
  align-items: center;
}

.nav-links {
  position: relative;
  gap: 4px;
  font-weight: 600;
  color: var(--muted);
  padding: 3px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.08);
  backdrop-filter: blur(10px);
  overflow: hidden;
}

.nav-links::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 999px;
  background: linear-gradient(120deg, transparent 0%, rgba(255, 255, 255, 0.65) 45%, transparent 60%);
  transform: translateX(-120%);
  animation: navScan 7s ease-in-out infinite;
  opacity: 0.7;
  pointer-events: none;
}

.nav-links a {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  padding: 7px 12px;
  border-radius: 999px;
  font-size: 12px;
  transition: color .2s ease, background .2s ease, box-shadow .2s ease, transform .2s ease;
}

.nav-links a:hover {
  color: var(--text);
  background: linear-gradient(135deg, rgba(20, 184, 166, 0.18), rgba(139, 92, 246, 0.18));
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.12);
  transform: translateY(-1px);
}

.header-actions,
.button-row,
.hero-actions,
.cta-actions,
.action-row,
.footer-links {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.header-actions form,
.button-row form,
.action-row form {
  margin: 0;
}

.button {
  border-radius: 999px;
  padding: 10px 18px;
  font-weight: 700;
  border: 1px solid transparent;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 13px;
  min-height: 42px;
  cursor: pointer;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #fff;
  box-shadow: 0 18px 40px var(--glow);
}

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

.button-muted {
  border-color: var(--border);
  background: transparent;
  color: var(--text);
  box-shadow: none;
}

.button-danger {
  border-color: rgba(251, 113, 133, 0.35);
  background: rgba(251, 113, 133, 0.12);
  color: #ffd7df;
  box-shadow: none;
}

.button-small {
  min-height: 36px;
  padding: 8px 14px;
}

.button-wide {
  width: 100%;
}

.btn-hero-primary {
  box-shadow: 0 12px 22px rgba(34, 211, 238, 0.16);
}

.chip,
.badge,
.summary-chip,
.summary-price,
.section-badge,
.hero-badge,
.service-pill.compact,
.meta-pill,
.api-tag,
.glass-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 999px;
  border: 1px solid var(--border);
}

.chip,
.hero-badge,
.summary-chip {
  padding: 8px 12px;
  background: var(--surface);
  color: var(--text);
  font-size: 12px;
  font-weight: 600;
}

.glass-badge,
.section-badge {
  padding: 6px 14px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #fff;
  font-size: 12px;
  box-shadow: 0 12px 22px rgba(20, 184, 166, 0.22);
}

.live-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #ff4d67;
  box-shadow: 0 0 0 0 rgba(255, 77, 103, 0.62);
  animation: liveBlink 1.6s ease-in-out infinite;
  flex: 0 0 auto;
}

.summary-price,
.api-tag,
.meta-pill {
  padding: 5px 10px;
  background: rgba(20, 184, 166, 0.12);
  border-color: rgba(20, 184, 166, 0.25);
  font-size: 11px;
}

.summary-chip {
  background: rgba(255, 255, 255, 0.08);
  color: var(--muted);
}

.badge-pending {
  background: rgba(251, 191, 36, 0.14);
  color: #fbbf24;
  padding: 8px 12px;
}

.badge-received {
  background: rgba(56, 189, 248, 0.14);
  color: #7dd3fc;
  padding: 8px 12px;
}

.badge-completed {
  background: rgba(34, 197, 94, 0.14);
  color: #86efac;
  padding: 8px 12px;
}

.badge-canceled {
  background: rgba(251, 113, 133, 0.14);
  color: #fda4af;
  padding: 8px 12px;
}

.surface,
.stat-card,
.feature-card,
.route-record,
.auth-point,
.docs-fact,
.message-card,
.empty-state,
.docs-rule-card,
.docs-subcard,
.docs-code-tabs {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--card-shadow);
}

.surface {
  padding: 28px;
}

.eyebrow,
.label-text,
.route-code,
.ledger-reference {
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: .16em;
  font-size: 12px;
  font-weight: 700;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.05;
}

h1 {
  font-size: clamp(32px, 3.5vw, 52px);
}

h2 {
  font-size: clamp(26px, 2.5vw, 40px);
}

h3 {
  font-size: 20px;
}

.lead,
.hero-subtitle,
.muted-line,
.feature-list li,
.ordered-list li,
.message-card p,
.docs-rule-card p,
.docs-subcard p,
.feature-card p,
.faq-grid p {
  color: var(--muted);
}

.page-grid {
  display: grid;
  gap: 24px;
  padding: 28px 0 64px;
}

.centered-page {
  padding: 42px 0 72px;
}

.landing-shell {
  display: grid;
  gap: 0;
}

.landing-section {
  padding: 46px 0;
}

.hero {
  position: relative;
  padding: 70px 0 34px;
}

.hero-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 40px;
  align-items: start;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 28px;
  padding: 20px 0 8px;
}

.hero-copy-main {
  display: grid;
  align-content: start;
}

.hero-title {
  margin: 18px 0 14px;
  position: relative;
}

.hero-title span {
  display: block;
}

.hero-title .title-lead {
  color: var(--text);
}

.hero-title .accent,
.section-header .accent {
  background: linear-gradient(90deg, #0ea5e9 0%, #22d3ee 35%, #8b5cf6 70%, #0ea5e9 100%);
  background-size: 240% 100%;
  -webkit-background-clip: text;
  color: transparent;
  animation: accentShift 6s linear infinite, accentGlow 3.6s ease-in-out infinite;
  text-shadow: 0 8px 22px rgba(14, 165, 233, 0.18);
}

.hero-title .title-sub {
  color: var(--muted);
  font-weight: 600;
}

.hero-title .accent-price {
  display: inline;
  background: linear-gradient(90deg, #0ea5e9 0%, #22d3ee 35%, #8b5cf6 70%, #0ea5e9 100%);
  background-size: 240% 100%;
  -webkit-background-clip: text;
  color: transparent;
  animation: accentShift 6s linear infinite, accentGlow 3.6s ease-in-out infinite;
  text-shadow: 0 8px 22px rgba(14, 165, 233, 0.18);
}

.hero-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 130px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  animation: titleUnderline 3.2s ease-in-out infinite;
}

.hero-subtitle {
  font-size: 18px;
  max-width: 540px;
}

.hero-metrics,
.metric-strip {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 20px;
}

.metric,
.metric-cell,
.stat-card {
  min-width: 140px;
  padding: 12px 16px;
  border-radius: var(--radius-md);
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: 0 18px 50px rgba(15, 23, 42, 0.12);
  position: relative;
  overflow: hidden;
}

.metric strong,
.metric-cell strong,
.stat-card strong,
.ledger-price,
.docs-fact strong {
  font-size: 22px;
  display: block;
  color: var(--text);
}

.metric span,
.metric-cell span,
.stat-card span,
.docs-fact span,
.ledger-meta-grid span {
  color: var(--muted);
  font-size: 14px;
}

.hero-visual {
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 20px 0 8px;
}

.glass-stream {
  position: relative;
  width: min(540px, 94vw);
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

.glass-orbit,
.glass-ring {
  position: absolute;
  border-radius: 50%;
}

.glass-orbit {
  width: 520px;
  height: 520px;
  border: 1px dashed rgba(20, 184, 166, 0.25);
  animation: orbit 22s linear infinite;
  z-index: 1;
}

.glass-orbit.orbit-2 {
  width: 420px;
  height: 420px;
  border-color: rgba(139, 92, 246, 0.2);
  animation-duration: 28s;
  animation-direction: reverse;
}

.glass-ring {
  width: 360px;
  height: 360px;
  border: 1px solid rgba(20, 184, 166, 0.2);
  box-shadow: 0 0 40px rgba(20, 184, 166, 0.15), inset 0 0 20px rgba(139, 92, 246, 0.15);
  animation: ringPulse 6s ease-in-out infinite;
  z-index: 1;
}

.glass-ring.ring-2 {
  width: 300px;
  height: 300px;
  border-color: rgba(139, 92, 246, 0.2);
  animation-delay: -2s;
  opacity: 0.7;
}

.packet {
  position: absolute;
  top: 50%;
  left: 50%;
  padding: 7px 12px;
  border-radius: 999px;
  font-size: 9px;
  font-weight: 700;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.65));
  border: 1px solid rgba(255, 255, 255, 0.7);
  color: #0f172a;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.18);
  letter-spacing: .4px;
  z-index: 4;
  backdrop-filter: blur(8px);
}

.packet-a { animation: packetFly1 20s linear infinite; }
.packet-b { animation: packetFly2 22s linear infinite; }
.packet-c { animation: packetFly3 21s linear infinite; }

.glass-frame {
  width: 100%;
  padding: 1px;
  border-radius: calc(var(--radius-xl) + 2px);
  background: linear-gradient(135deg, rgba(20, 184, 166, 0.55), rgba(139, 92, 246, 0.4), rgba(14, 165, 233, 0.45));
  box-shadow: 0 40px 90px var(--shadow);
  position: relative;
  z-index: 2;
  animation: frameBreath 6.5s ease-in-out infinite;
}

.glass-main {
  width: 100%;
  --glass-col-left: minmax(0, 1fr);
  --glass-col-right: minmax(0, .95fr);
  --glass-col-gap: 12px;
  background: var(--surface-2);
  border-radius: var(--radius-xl);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 16px;
  box-shadow: var(--card-shadow);
  backdrop-filter: blur(26px) saturate(1.25);
  position: relative;
  overflow: hidden;
}

.glass-main::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.10), transparent 55%);
  opacity: 0.7;
  pointer-events: none;
}

.glass-main::after {
  content: "";
  position: absolute;
  inset: -40% -20% auto;
  height: 200px;
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.20), transparent);
  opacity: 0.6;
  transform: rotate(-8deg);
  animation: sweep 9s ease-in-out infinite;
  pointer-events: none;
}

.glass-header {
  position: relative;
  display: grid;
  grid-template-columns: var(--glass-col-left) auto var(--glass-col-right);
  align-items: center;
  gap: var(--glass-col-gap);
  font-size: 12px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.glass-header > :first-child {
  justify-self: start;
}

.glass-header > :last-child {
  justify-self: end;
}

.glass-grid {
  display: grid;
  grid-template-columns: var(--glass-col-left) var(--glass-col-right);
  gap: var(--glass-col-gap);
  margin-top: 12px;
  align-items: start;
}

.stream-window {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 10px;
  height: 160px;
  overflow: hidden;
  position: relative;
  mask-image: linear-gradient(to bottom, transparent 0%, black 12%, black 88%, transparent 100%);
  box-shadow: var(--card-shadow-soft);
}

.glass-badge {
  position: relative;
  justify-self: center;
  min-width: 182px;
  justify-content: center;
  padding: 9px 20px 9px 26px;
  overflow: hidden;
  isolation: isolate;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0) 48%),
    linear-gradient(90deg, #3bc8ff 0%, #57b8ff 42%, #8a7dff 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.24),
    inset 0 -10px 18px rgba(9, 14, 39, 0.16),
    0 12px 28px rgba(34, 211, 238, 0.15);
  letter-spacing: .14em;
  font-weight: 700;
}

.glass-badge::before,
.glass-badge::after {
  content: "";
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}

.glass-badge::before {
  left: 14px;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow:
    0 0 0 4px rgba(255, 255, 255, 0.14),
    0 0 18px rgba(255, 255, 255, 0.36);
  z-index: 1;
}

.glass-badge::after {
  left: 18px;
  right: 18px;
  height: 22px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(34, 211, 238, 0.30), rgba(167, 139, 250, 0.28));
  filter: blur(16px);
  opacity: 0.82;
  z-index: -1;
}

.glass-badge span,
.glass-badge {
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.08);
}

.stream-window::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -40px;
  height: 40px;
  background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.40), transparent);
  animation: scan 4.5s ease-in-out infinite;
  opacity: 0.7;
}

.stream-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  padding: 8px 10px;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.04);
  border: 1px solid var(--border);
}

.stream-item + .stream-item {
  margin-top: 8px;
}

.stream-item.active {
  background: linear-gradient(90deg, rgba(34, 211, 238, 0.16), rgba(167, 139, 250, 0.14));
  border-color: rgba(34, 211, 238, 0.35);
}

.number-card {
  padding: 14px;
  border-radius: 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--card-shadow);
  display: grid;
  gap: 10px;
  position: relative;
  overflow: hidden;
}

.number-card::after {
  content: "";
  position: absolute;
  inset: -30% 30% auto;
  height: 120px;
  background: radial-gradient(circle, rgba(20, 184, 166, 0.35), transparent 60%);
  animation: pulseGlow 4s ease-in-out infinite;
}

.number-top,
.api-ready,
.panel-head,
.directory-head,
.docs-endpoint-head,
.ledger-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.number-top {
  align-items: center;
}

.number-top > :last-child {
  white-space: nowrap;
  line-height: 1.1;
}

.service-pill {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: 18px;
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: 0 18px 50px rgba(15, 23, 42, 0.12);
  transition: transform .2s ease;
  white-space: nowrap;
}

.service-pill:hover {
  transform: translateY(-4px);
}

.service-pill.compact {
  padding: 6px 10px;
  gap: 8px;
  border-radius: 999px;
}

.service-icon {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  font-size: 11px;
}

.service-icon.compact-icon {
  width: 24px;
  height: 24px;
  border-radius: 999px;
}

.service-icon-image,
.route-code-image {
  width: 22px;
  height: 22px;
  border-radius: 8px;
  object-fit: cover;
  display: block;
}

.compact-icon .service-icon-image {
  width: 18px;
  height: 18px;
  border-radius: 6px;
}

.service-icon-tiny {
  width: 16px;
  height: 16px;
  border-radius: 6px;
  object-fit: cover;
  display: block;
  flex: 0 0 auto;
}

.service-inline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  vertical-align: middle;
}

.number-value {
  font-size: clamp(20px, 1.8vw, 24px);
  font-weight: 700;
  letter-spacing: .18px;
  position: relative;
  display: inline-flex;
  flex-wrap: nowrap;
  white-space: nowrap;
  word-break: keep-all;
  max-width: 100%;
}

.number-value::before {
  content: "";
  position: absolute;
  inset: -8px -12px;
  background: radial-gradient(circle, rgba(20, 184, 166, 0.35), transparent 60%);
  opacity: .5;
  filter: blur(6px);
  animation: numberGlow 4.5s ease-in-out infinite;
  z-index: -1;
}

.meta-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.hero-card-row {
  display: grid;
  grid-template-columns: var(--glass-col-left) var(--glass-col-right);
  gap: var(--glass-col-gap);
  margin-top: 12px;
}

.sms-card {
  padding: 14px;
  border-radius: 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--card-shadow-soft);
  display: grid;
  gap: 10px;
  min-height: 144px;
  align-content: start;
  position: relative;
  overflow: hidden;
}

.sms-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.26), transparent);
}

.sms-card-top,
.sms-card-meta,
.sms-card-footer,
.sms-code-line {
  display: flex;
  align-items: center;
}

.sms-card-top,
.sms-card-footer {
  justify-content: space-between;
  gap: 8px;
}

.sms-card-top strong {
  font-size: 16px;
  letter-spacing: -0.02em;
}

.sms-card-meta {
  justify-content: space-between;
  gap: 12px;
  font-size: 11px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.sms-card-status,
.sms-mini-pill {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  white-space: nowrap;
}

.sms-card-status {
  padding: 5px 10px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #bff8ff;
  background: linear-gradient(90deg, rgba(34, 211, 238, 0.18), rgba(167, 139, 250, 0.16));
}

.sms-card-status.is-muted {
  color: #ddd6fe;
  background: linear-gradient(90deg, rgba(99, 102, 241, 0.14), rgba(167, 139, 250, 0.16));
}

.sms-code-line {
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.sms-code-label {
  font-size: 12px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.sms-code-value {
  font-size: 24px;
  line-height: 1;
  letter-spacing: 0.12em;
  color: #eff6ff;
  text-shadow: 0 0 16px rgba(59, 200, 255, 0.16);
}

.sms-card p {
  margin: 0;
  color: var(--text-soft);
  line-height: 1.55;
}

.sms-card-footer {
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-start;
}

.sms-card-unlimited .sms-card-top {
  align-items: flex-start;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 6px;
}

.sms-card-unlimited .sms-card-top strong {
  flex: 1 1 100%;
  max-width: 100%;
}

.sms-card-unlimited .sms-card-status {
  letter-spacing: 0.08em;
}

.sms-card-unlimited p {
  font-size: 14px;
  line-height: 1.48;
}

.sms-mini-pill {
  padding: 6px 10px;
  font-size: 11px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.03);
}

.routing-bar {
  display: grid;
  grid-template-columns: 7fr 3fr;
  gap: 8px;
}

.routing-fill {
  display: block;
  height: 10px;
  border-radius: 999px;
}

.routing-fill-primary {
  background: linear-gradient(90deg, rgba(34, 211, 238, 0.95), rgba(59, 130, 246, 0.95));
  box-shadow: 0 0 18px rgba(34, 211, 238, 0.18);
}

.routing-fill-secondary {
  background: linear-gradient(90deg, rgba(167, 139, 250, 0.7), rgba(99, 102, 241, 0.72));
}

.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 28px;
}

.section-header p {
  margin-top: 12px;
}

.api-section .section-header h2 {
  margin-top: 18px;
}

.feature-grid,
.faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.feature-card {
  padding: 22px;
}

.feature-card h3 {
  font-size: 20px;
  margin-bottom: 10px;
}

.service-band {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 28px;
}

.directory-shell,
.live-catalog,
.workspace-hero,
.ledger-card,
.purchase-card,
.key-card,
.operator-card,
.inventory-card,
.docs-section,
.docs-endpoint,
.docs-sidebar,
.docs-key-card {
  background: var(--surface);
}

.search-shell {
  width: min(360px, 100%);
  display: grid;
  gap: 10px;
}

.service-search-empty {
  margin: 18px 0 0;
}

.service-directory {
  display: grid;
  gap: 8px;
  margin-top: 18px;
}

.route-record {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(17, 24, 39, 0.94), rgba(15, 23, 42, 0.9));
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease, background .22s ease;
}

.route-record::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(34, 211, 238, 0.08), transparent 24%, transparent 76%, rgba(139, 92, 246, 0.08)),
    radial-gradient(circle at top left, rgba(34, 211, 238, 0.08), transparent 34%);
  opacity: 0;
  transition: opacity .22s ease;
  pointer-events: none;
}

.route-record:hover,
.route-record[open] {
  transform: translateY(-1px);
  border-color: rgba(82, 180, 255, 0.18);
  box-shadow: 0 22px 44px rgba(2, 6, 23, 0.28);
}

.route-record:hover::before,
.route-record[open]::before {
  opacity: 1;
}

.route-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  list-style: none;
  padding: 14px 18px;
  cursor: pointer;
  position: relative;
  z-index: 1;
}

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

.route-summary::after {
  content: "+";
  flex: 0 0 auto;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.2);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: #dbeafe;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.route-record[open] .route-summary {
  border-bottom: 1px solid rgba(148, 163, 184, 0.12);
}

.route-record[open] .route-summary::after {
  content: "–";
  color: #ffffff;
  border-color: rgba(34, 211, 238, 0.24);
  background: linear-gradient(135deg, rgba(20, 184, 166, 0.24), rgba(99, 102, 241, 0.18));
}

.route-summary-head {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
  flex: 1 1 auto;
}

.route-code-badge {
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.18), rgba(99, 102, 241, 0.18));
  border: 1px solid rgba(34, 211, 238, 0.22);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 12px 26px rgba(14, 165, 233, 0.12);
  overflow: hidden;
}

.route-summary-copy {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.route-summary-copy h3 {
  font-size: 16px;
  line-height: 1.08;
}

.route-summary-copy span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.route-summary-side {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
}

.route-summary-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: nowrap;
}

.route-summary .summary-chip,
.route-summary .summary-price {
  padding: 0 10px;
  min-height: 30px;
  font-size: 10px;
  font-weight: 700;
  box-sizing: border-box;
}

.route-summary .summary-chip {
  background: rgba(148, 163, 184, 0.12);
  border-color: rgba(148, 163, 184, 0.18);
  color: #cbd5e1;
}

.route-summary .summary-price {
  background: linear-gradient(135deg, rgba(20, 184, 166, 0.18), rgba(14, 165, 233, 0.12));
  border-color: rgba(34, 211, 238, 0.24);
  color: #ecfeff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.route-country-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
  padding: 14px 18px 18px;
  position: relative;
  z-index: 1;
}

.country-card {
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(148, 163, 184, 0.14);
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
}

.country-card:hover {
  transform: translateY(-1px);
  border-color: rgba(125, 211, 252, 0.22);
  background: rgba(255, 255, 255, 0.065);
}

.country-card strong,
.country-card span {
  display: block;
}

.country-card-head,
.country-inline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.country-card-head {
  width: 100%;
}

.country-inline {
  vertical-align: middle;
}

.country-flag {
  width: 18px;
  height: 18px;
  border-radius: 999px;
  object-fit: cover;
  box-shadow: 0 0 0 1px rgba(148, 163, 184, 0.18);
  background: rgba(255, 255, 255, 0.06);
  flex: 0 0 auto;
}

.country-card span {
  margin-top: 6px;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.seo-copy-panel {
  display: grid;
  gap: 22px;
}

.seo-copy-header {
  margin-bottom: 0;
}

.seo-copy-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.seo-copy-grid p {
  margin: 0;
  color: var(--text-soft);
  line-height: 1.7;
}

.seo-pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.seo-pill {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.18);
  background: rgba(255, 255, 255, 0.04);
  color: #cbd5e1;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.cta {
  position: relative;
  text-align: center;
  padding: 70px 0;
  background: transparent;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 30%, rgba(20, 184, 166, 0.12), transparent 55%), radial-gradient(circle at 80% 40%, rgba(139, 92, 246, 0.12), transparent 60%);
  opacity: 0.35;
  pointer-events: none;
}

.cta-panel {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 44px 28px;
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.12);
}

.cta-panel h2 {
  margin-bottom: 10px;
}

.cta-panel p {
  margin-bottom: 18px;
  max-width: 620px;
  color: var(--muted);
}

.cta-panel .cta-actions {
  justify-content: center;
}

.page-grid .surface,
.workspace-hero,
.ledger-card,
.operator-card,
.inventory-card,
.docs-top,
.docs-layout,
.auth-stage,
.blocked-shell {
  backdrop-filter: blur(18px);
}

.workspace-hero,
.docs-top,
.auth-stage,
.workspace-grid,
.control-grid,
.docs-layout {
  display: grid;
  gap: 24px;
}

.page-grid,
.docs-shell,
.docs-top,
.docs-layout,
.docs-content,
.docs-top-copy,
.docs-key-card,
.docs-section,
.docs-endpoint,
.docs-sidebar,
.docs-code,
.docs-code-panel,
.table-wrap {
  min-width: 0;
  max-width: 100%;
}

.workspace-hero {
  gap: 26px;
}

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

.stat-card {
  padding: 22px;
}

.workspace-grid {
  grid-template-columns: minmax(320px, .86fr) minmax(0, 1.4fr);
  align-items: start;
}

.workspace-side {
  position: sticky;
  top: 96px;
}

.workspace-stack {
  display: grid;
  gap: 24px;
}

.form-stack {
  display: grid;
  gap: 16px;
}

label {
  display: grid;
  gap: 8px;
  color: var(--muted);
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  padding: 14px 16px;
  font: inherit;
}

textarea {
  resize: vertical;
}

.code-block {
  margin-top: 16px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: rgba(2, 6, 23, 0.88);
  padding: 16px;
  overflow-x: auto;
}

.code-block code,
.code-block pre {
  color: #d8fff7;
}

.code-block pre {
  margin: 0;
  white-space: pre-wrap;
  line-height: 1.7;
}

.ledger-list {
  display: grid;
  gap: 18px;
  margin-top: 26px;
}

.ledger-item {
  padding-top: 22px;
  border-top: 1px solid var(--border);
  display: grid;
  gap: 16px;
}

.ledger-item:first-child {
  padding-top: 0;
  border-top: 0;
}

.ledger-copy {
  display: grid;
  gap: 6px;
}

.ledger-side {
  display: grid;
  gap: 10px;
  justify-items: end;
}

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

.ledger-meta-grid article {
  padding: 16px 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
}

.message-stack {
  display: grid;
  gap: 12px;
}

.message-card {
  padding: 16px 18px;
}

.message-card strong {
  display: block;
}

.message-card p {
  margin-top: 6px;
}

.message-card small {
  display: block;
  margin-top: 8px;
  color: var(--muted);
}

.empty-state {
  padding: 26px 28px;
}

.empty-state h3 {
  margin-bottom: 8px;
}

.compact-empty {
  padding: 20px 22px;
}

.table-wrap {
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
}

th,
td {
  padding: 14px 12px;
  border-bottom: 1px solid var(--border);
  text-align: left;
}

th {
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .16em;
}

.auth-stage {
  grid-template-columns: minmax(0, 1.12fr) minmax(360px, .88fr);
}

.auth-copy,
.docs-top-copy,
.docs-key-card {
  display: grid;
  gap: 18px;
}

.auth-copy {
  min-height: 520px;
}

.auth-form {
  align-self: center;
}

.auth-points {
  display: grid;
  gap: 12px;
  margin-top: 12px;
}

.auth-point {
  padding: 18px 18px 18px 72px;
  position: relative;
}

.auth-point span {
  position: absolute;
  left: 18px;
  top: 18px;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(20, 184, 166, 0.14);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-weight: 700;
}

.flash {
  border-radius: 18px;
  padding: 14px 16px;
  border: 1px solid var(--border);
}

.flash-error {
  background: rgba(251, 113, 133, 0.12);
  color: #fda4af;
}

.flash-notice {
  background: rgba(34, 197, 94, 0.12);
  color: #86efac;
}

.control-grid {
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
}

.docs-shell {
  gap: 24px;
}

.docs-top {
  grid-template-columns: minmax(0, 1.24fr) minmax(320px, .76fr);
}

.docs-fact-grid,
.docs-rule-grid,
.docs-subgrid {
  display: grid;
  gap: 14px;
}

.docs-fact-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

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

.docs-fact,
.docs-rule-card,
.docs-subcard {
  padding: 18px;
}

.docs-fact {
  min-width: 0;
  overflow: hidden;
  padding: 12px 14px;
  border-radius: 18px;
  min-height: 94px;
  box-shadow: 0 14px 34px rgba(2, 6, 23, 0.18);
}

.docs-fact strong {
  max-width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 15px;
  line-height: 1.15;
  margin-top: 6px;
}

.docs-fact span {
  font-size: 12px;
  line-height: 1.1;
}

.docs-key-row {
  display: flex;
  gap: 12px;
}

.docs-layout {
  grid-template-columns: 280px minmax(0, 1fr);
  align-items: start;
}

.docs-sidebar {
  position: sticky;
  top: 96px;
  min-width: 0;
}

.docs-nav {
  display: grid;
  gap: 8px;
}

.docs-nav a {
  display: block;
  width: 100%;
  max-width: 100%;
  padding: 12px 14px;
  border-radius: 16px;
  color: var(--muted);
  border: 1px solid transparent;
  box-sizing: border-box;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.docs-nav a:hover {
  color: var(--text);
  border-color: var(--border);
  background: rgba(255, 255, 255, 0.04);
}

.docs-content {
  display: grid;
  gap: 24px;
}

.docs-section,
.docs-endpoint {
  scroll-margin-top: 100px;
}

.docs-method {
  min-width: 62px;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.docs-method-get {
  background: rgba(34, 211, 238, 0.16);
  color: #7dd3fc;
  border: 1px solid rgba(34, 211, 238, 0.24);
}

.docs-method-post {
  background: rgba(167, 139, 250, 0.16);
  color: #c4b5fd;
  border: 1px solid rgba(167, 139, 250, 0.24);
}

.docs-code {
  margin-top: 20px;
}

.docs-code-tabs {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px;
}

.docs-code-tabs button {
  min-height: 38px;
  padding: 0 14px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.docs-code-tabs button.is-active {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #fff;
}

.docs-code-panel {
  display: none;
}

.docs-code-panel.is-active {
  display: block;
}

.ordered-list {
  margin: 18px 0 0;
  padding-left: 18px;
}

.site-footer {
  padding: 38px 0 22px;
  color: var(--muted);
}

.footer-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.footer-copy strong {
  display: block;
  color: var(--text);
  font-size: 14px;
  font-weight: 700;
}

.footer-copy p {
  margin-top: 8px;
  max-width: 320px;
  font-size: 14px;
}

.footer-support,
.docs-support-line {
  color: var(--muted);
}

.support-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #7dd3fc;
  font-weight: 700;
  transition: color .2s ease, text-shadow .2s ease;
}

.support-link:hover {
  color: #c4b5fd;
  text-shadow: 0 0 18px rgba(125, 211, 252, 0.28);
}

.telegram-mark {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: linear-gradient(135deg, #34b7f1, #4f7cff);
  color: #ffffff;
  box-shadow: 0 10px 20px rgba(52, 183, 241, 0.24);
}

.telegram-mark svg {
  width: 12px;
  height: 12px;
  display: block;
}

.blocked-shell {
  width: min(760px, 100%);
  margin: 9vh auto 0;
  text-align: center;
}

.blocked-shell .lead,
.blocked-shell .muted-line {
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

@keyframes navScan {
  0% { transform: translateX(-120%); }
  55% { transform: translateX(120%); }
  100% { transform: translateX(120%); }
}

@keyframes liveBlink {
  0%, 100% {
    opacity: 1;
    box-shadow: 0 0 0 0 rgba(255, 77, 103, 0.62);
  }
  50% {
    opacity: .45;
    box-shadow: 0 0 0 8px rgba(255, 77, 103, 0);
  }
}

@keyframes accentShift {
  0% { background-position: 0% 50%; }
  100% { background-position: 240% 50%; }
}

@keyframes accentGlow {
  0%, 100% { filter: drop-shadow(0 0 0 rgba(56, 189, 248, 0)); }
  50% { filter: drop-shadow(0 0 10px rgba(56, 189, 248, 0.24)); }
}

@keyframes titleUnderline {
  0%, 100% { width: 130px; opacity: 1; }
  50% { width: 190px; opacity: .75; }
}

@keyframes orbit {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes ringPulse {
  0%, 100% { transform: scale(1); opacity: .65; }
  50% { transform: scale(1.04); opacity: 1; }
}

@keyframes frameBreath {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

@keyframes packetFly1 {
  0% { transform: translate(-150px, -90px) rotate(-8deg); }
  50% { transform: translate(120px, -140px) rotate(8deg); }
  100% { transform: translate(-150px, -90px) rotate(-8deg); }
}

@keyframes packetFly2 {
  0% { transform: translate(110px, -25px); }
  50% { transform: translate(-130px, 100px); }
  100% { transform: translate(110px, -25px); }
}

@keyframes packetFly3 {
  0% { transform: translate(-70px, 125px); }
  50% { transform: translate(150px, 60px); }
  100% { transform: translate(-70px, 125px); }
}

@keyframes sweep {
  0%, 100% { transform: translateX(-15%) rotate(-8deg); opacity: 0; }
  38% { opacity: .55; }
  60% { transform: translateX(18%) rotate(-8deg); opacity: .2; }
}

@keyframes scan {
  0% { top: -40px; }
  100% { top: 180px; }
}

@keyframes pulseGlow {
  0%, 100% { opacity: .35; transform: scale(1); }
  50% { opacity: .85; transform: scale(1.12); }
}

@keyframes numberGlow {
  0%, 100% { opacity: .35; }
  50% { opacity: .82; }
}

@media (max-width: 980px) {
  .hero-grid,
  .workspace-grid,
  .control-grid,
  .docs-top,
  .docs-layout,
  .auth-stage,
  .glass-grid,
  .hero-card-row,
  .docs-fact-grid,
  .docs-rule-grid,
  .docs-subgrid,
  .seo-copy-grid,
  .stat-grid,
  .ledger-meta-grid {
    grid-template-columns: 1fr;
  }

  .workspace-side,
  .docs-sidebar {
    position: static;
  }

  .hero-copy {
    min-height: auto;
    padding: 0;
  }

  .hero-visual {
    padding: 0;
  }
}

@media (max-width: 860px) {
  .nav-links {
    display: none;
  }

  .header-shell {
    flex-direction: column;
    align-items: flex-start;
    padding: 14px 0;
    min-height: auto;
  }

  .header-actions {
    width: 100%;
    justify-content: flex-end;
  }
}

@media (max-width: 720px) {
  .container {
    padding: 0 16px;
  }

  .page-grid {
    padding-top: 32px;
    padding-bottom: 76px;
  }

  .header-shell {
    padding-top: 18px;
    padding-bottom: 18px;
  }

  .header-actions {
    padding-top: 6px;
    padding-bottom: 4px;
  }

  .site-footer,
  .footer-shell,
  .panel-head,
  .directory-head,
  .docs-endpoint-head,
  .number-top,
  .api-ready,
  .ledger-top,
  .route-summary {
    flex-direction: column;
    align-items: flex-start;
  }

  .surface {
    padding: 22px;
  }

  .cta {
    padding-top: 54px;
    padding-bottom: 42px;
  }

  .cta-panel {
    padding-top: 38px;
    padding-bottom: 38px;
  }

  .site-footer {
    padding-top: 52px;
    padding-bottom: 34px;
  }

  .docs-shell {
    gap: 18px;
  }

  .docs-top,
  .docs-layout,
  .docs-content {
    gap: 18px;
  }

  .docs-top-copy,
  .docs-key-card {
    gap: 16px;
  }

  .docs-top-copy h1 {
    font-size: 38px;
    line-height: 1.02;
  }

  .docs-top-copy .lead {
    font-size: 15px;
    line-height: 1.65;
  }

  .docs-fact {
    min-height: auto;
    padding: 14px 16px;
  }

  .docs-fact strong {
    font-size: 17px;
    line-height: 1.2;
  }

  .docs-key-row {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .docs-key-row > * {
    min-width: 0;
    max-width: 100%;
  }

  .docs-key-row .button,
  .docs-key-card .button-row,
  .docs-key-card .button-row .button {
    width: 100%;
    justify-content: center;
  }

  .docs-sidebar {
    padding: 18px;
    overflow: hidden;
  }

  .docs-nav {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 4px;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  .docs-nav::-webkit-scrollbar {
    display: none;
  }

  .docs-nav a {
    flex: 0 0 auto;
    width: auto;
    min-height: 42px;
    padding: 11px 14px;
    border-radius: 14px;
    white-space: nowrap;
  }

  .docs-endpoint-head h2,
  .docs-section h2 {
    font-size: 28px;
    line-height: 1.08;
  }

  .docs-code-tabs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
    gap: 6px;
    padding: 6px;
    overflow: hidden;
  }

  .docs-code-tabs button {
    width: 100%;
    min-height: 36px;
    padding: 0 10px;
    font-size: 13px;
  }

  .code-block {
    padding: 14px;
    border-radius: 16px;
  }

  .code-block pre {
    font-size: 13px;
    line-height: 1.6;
    word-break: break-word;
    overflow-wrap: anywhere;
  }

  .docs-top,
  .docs-layout,
  .docs-content,
  .docs-top-copy,
  .docs-key-card,
  .docs-sidebar,
  .docs-section,
  .docs-endpoint {
    width: 100%;
    min-width: 0;
    max-width: 100%;
  }

  .docs-top-copy .lead,
  .docs-key-card .muted-line,
  .docs-support-line {
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  .glass-main {
    padding: 14px;
  }

  .glass-header {
    grid-template-columns: 1fr auto;
    row-gap: 10px;
    column-gap: 10px;
    align-items: center;
  }

  .glass-header > :first-child {
    grid-column: 1;
    grid-row: 1;
  }

  .glass-header > :last-child {
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
  }

  .glass-badge {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-self: stretch;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    min-height: 44px;
    padding: 10px 18px 10px 30px;
    text-align: center;
    letter-spacing: .12em;
  }

  .packet {
    display: none;
  }

  .service-band {
    justify-content: flex-start;
  }

  .service-pill {
    padding: 8px 10px;
    border-radius: 14px;
    font-size: 12px;
    gap: 8px;
  }

  .service-icon {
    width: 26px;
    height: 26px;
    border-radius: 9px;
    font-size: 9px;
  }

  .route-summary-meta,
  .ledger-side {
    width: 100%;
    justify-content: flex-start;
  }

  .route-summary-head,
  .route-summary-side {
    width: 100%;
  }

  .route-summary-side {
    margin-left: 0;
  }

  .glass-orbit,
  .glass-ring {
    display: none;
  }
}

@media (max-width: 520px) {
  .hero {
    padding-top: 42px;
  }

  .page-grid {
    padding-top: 26px;
    padding-bottom: 82px;
  }

  .surface {
    padding: 18px;
    border-radius: 24px;
  }

  .header-shell {
    padding-top: 16px;
    padding-bottom: 20px;
  }

  .brand-logo {
    width: 190px;
  }

  .docs-top-copy h1 {
    font-size: 34px;
  }

  .docs-top-copy .lead,
  .docs-subcard p,
  .docs-rule-card p,
  .ordered-list li {
    font-size: 14px;
    line-height: 1.6;
  }

  .glass-header {
    grid-template-columns: 1fr;
    font-size: 11px;
    row-gap: 8px;
    column-gap: 0;
  }

  .glass-badge {
    grid-column: 1;
    grid-row: auto;
    justify-self: stretch;
    min-height: 42px;
    padding: 9px 16px 9px 28px;
    font-size: 12px;
  }

  .glass-header > :first-child,
  .glass-header > :last-child {
    grid-column: 1;
    justify-self: start;
  }

  .docs-fact {
    padding: 13px 14px;
  }

  .docs-fact strong {
    font-size: 16px;
  }

  .docs-fact span {
    font-size: 11px;
  }

  .docs-sidebar {
    padding: 16px;
  }

  .docs-nav {
    gap: 8px;
  }

  .docs-nav a {
    min-height: 38px;
    padding: 10px 12px;
    font-size: 13px;
  }

  .docs-endpoint-head h2,
  .docs-section h2 {
    font-size: 24px;
  }

  .docs-method {
    min-width: 58px;
    min-height: 32px;
    font-size: 11px;
    letter-spacing: .1em;
  }

  .docs-code-tabs {
    grid-template-columns: 1fr 1fr;
  }

  .docs-code-tabs button {
    min-height: 34px;
    font-size: 12px;
  }

  .code-block {
    padding: 12px;
  }

  .code-block pre {
    font-size: 12px;
    line-height: 1.55;
  }

  .table-wrap {
    margin: 0 -6px;
  }

  table {
    min-width: 0;
    table-layout: fixed;
  }

  th,
  td {
    padding: 12px 10px;
    font-size: 13px;
    vertical-align: top;
    overflow-wrap: anywhere;
  }

  td code,
  th code {
    white-space: normal;
    overflow-wrap: anywhere;
  }

  .header-actions {
    justify-content: flex-start;
    padding-top: 8px;
    padding-bottom: 6px;
  }

  .cta {
    padding-top: 48px;
    padding-bottom: 36px;
  }

  .cta-panel {
    padding-top: 34px;
    padding-bottom: 34px;
  }

  .site-footer {
    padding-top: 56px;
    padding-bottom: 46px;
  }
}
