:root {
  --bg-primary: #07090d;
  --bg-secondary: #0b0f16;
  --bg-card: #10151f;
  --bg-card-soft: #121925;
  --text-primary: #f4f7fb;
  --text-secondary: #aeb8c7;
  --text-muted: #6f7a89;
  --text-inverted: #071018;
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-medium: rgba(255, 255, 255, 0.14);
  --border-strong: rgba(255, 255, 255, 0.22);
  --accent-primary: #4da3ff;
  --accent-secondary: #7ce7ff;
  --accent-deep: #245cff;
  --success: #45e6a1;
  --warning: #ffd166;
  --danger: #ff5c7a;
  --container: 1180px;
  --container-wide: 1360px;
  --font-sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px) 50% 0 / 148px 100%,
    radial-gradient(circle at 52% 0%, rgba(77, 163, 255, 0.13), transparent 31rem),
    radial-gradient(circle at 90% 18%, rgba(124, 231, 255, 0.055), transparent 24rem),
    var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-sans);
  text-rendering: geometricprecision;
}

body.modal-open {
  overflow: hidden;
}

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

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

.brand-button,
.nav-links button,
.sign-in-link {
  border: 0;
  padding: 0;
  background: transparent;
  color: inherit;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.container {
  width: min(100% - 48px, var(--container));
  margin-inline: auto;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 40;
  transition: background 180ms ease, border-color 180ms ease;
}

.site-header.scrolled {
  background: rgba(7, 9, 13, 0.72);
  border-bottom: 1px solid var(--border-subtle);
  backdrop-filter: blur(18px);
}

.nav-shell {
  width: min(100% - 40px, var(--container-wide));
  min-height: 76px;
  margin-inline: auto;
  display: grid;
  grid-template-columns: 250px 1fr 250px;
  align-items: center;
  gap: 24px;
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  position: relative;
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  border: 1px solid rgba(124, 231, 255, 0.22);
  border-radius: 10px;
  background:
    linear-gradient(135deg, rgba(77, 163, 255, 0.16), rgba(124, 231, 255, 0.05)),
    rgba(255, 255, 255, 0.03);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 12px 40px rgba(77, 163, 255, 0.13);
}

.brand-mark::before,
.brand-mark::after {
  content: "";
  position: absolute;
  inset: 11px 8px;
  border-top: 1px solid rgba(124, 231, 255, 0.55);
  transform: rotate(28deg);
  transform-origin: center;
}

.brand-mark::after {
  transform: rotate(-25deg);
  border-color: rgba(77, 163, 255, 0.42);
}

.mark-node {
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-secondary);
  box-shadow: 0 0 16px rgba(124, 231, 255, 0.8);
}

.mark-node-a { left: 8px; top: 10px; }
.mark-node-b { right: 8px; top: 11px; background: var(--accent-primary); }
.mark-node-c { left: 10px; bottom: 9px; background: var(--accent-primary); }
.mark-node-d { right: 9px; bottom: 8px; }

.brand-text {
  display: grid;
  line-height: 1;
}

.wordmark {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
}

.company-line {
  margin-top: 6px;
  font-size: 11px;
  color: var(--text-muted);
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  color: var(--text-secondary);
  font-size: 14px;
}

.nav-links button,
.sign-in-link {
  transition: color 180ms ease;
}

.nav-links button:hover,
.sign-in-link:hover {
  color: var(--text-primary);
}

.nav-actions {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 16px;
  font-size: 14px;
}

.mobile-menu-button {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--border-medium);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
}

.mobile-menu-button span:not(.sr-only) {
  display: block;
  width: 18px;
  height: 1px;
  background: var(--text-primary);
  margin: 5px auto;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border-radius: 999px;
  border: 1px solid transparent;
  padding: 11px 18px;
  font-size: 14px;
  font-weight: 650;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

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

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

.button-dark {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.045);
  border-color: rgba(255, 255, 255, 0.12);
}

.button-large {
  min-height: 48px;
  padding-inline: 22px;
}

.button.compact {
  min-height: 36px;
  padding: 8px 14px;
  font-size: 12px;
}

.hero {
  position: relative;
  min-height: 0;
  overflow: hidden;
  padding-top: 76px;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(circle at center, black, transparent 72%);
  opacity: 0.54;
}

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

.hero-inner {
  position: relative;
  z-index: 1;
  width: min(100% - 48px, var(--container-wide));
  min-height: 0;
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(500px, 0.9fr) minmax(560px, 1.1fr);
  align-items: center;
  gap: 56px;
  padding: 58px 0 0;
}

.eyebrow,
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 18px;
  color: var(--accent-secondary);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
}

.eyebrow span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-secondary);
  box-shadow: 0 0 18px rgba(124, 231, 255, 0.8);
}

.hero h1 {
  margin: 0;
  color: var(--text-primary);
  font-size: clamp(48px, 5.7vw, 72px);
  line-height: 0.95;
  font-weight: 700;
}

.hero-statement {
  max-width: 690px;
  margin: 20px 0 0;
  font-size: clamp(34px, 4vw, 48px);
  line-height: 1.04;
  font-weight: 650;
  color: var(--text-primary);
}

.hero-body {
  max-width: 640px;
  margin: 24px 0 0;
  font-size: 18px;
  line-height: 1.65;
  color: var(--text-secondary);
}

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

.signal-strip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  max-width: 100%;
  margin-top: 18px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  padding: 10px 14px;
  color: var(--text-secondary);
  background: rgba(255, 255, 255, 0.045);
  font-family: var(--font-mono);
  font-size: 13px;
  transition: border-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.signal-strip {
  flex-wrap: wrap;
  border-radius: 14px;
  padding: 8px;
  background: rgba(255, 255, 255, 0.035);
}

.signal-strip span {
  border-radius: 10px;
  padding: 7px 9px;
  color: var(--text-secondary);
  background: rgba(7, 9, 13, 0.56);
}

.developer-note {
  max-width: 560px;
  margin: 20px 0 0;
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.6;
}

.hero-visual {
  position: relative;
  min-height: 540px;
  border: 1px solid var(--border-subtle);
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.065), rgba(255, 255, 255, 0.02)),
    radial-gradient(circle at 65% 18%, rgba(77, 163, 255, 0.11), transparent 18rem),
    rgba(11, 15, 22, 0.74);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 30px 120px rgba(0, 0, 0, 0.36);
  overflow: hidden;
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.028) 1px, transparent 1px);
  background-size: 32px 32px;
  opacity: 0.72;
}

.visual-orbit {
  position: absolute;
  width: 360px;
  height: 360px;
  left: calc(50% - 180px);
  top: 116px;
  border: 1px solid rgba(124, 231, 255, 0.14);
  border-radius: 50%;
  box-shadow: inset 0 0 60px rgba(77, 163, 255, 0.08);
  animation: slow-spin 18s linear infinite;
}

.workflow-card {
  position: absolute;
  z-index: 2;
  width: min(420px, calc(100% - 40px));
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  background: rgba(8, 12, 18, 0.82);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(18px);
}

.terminal-card {
  top: 38px;
  left: 34px;
}

.response-card {
  right: 34px;
  bottom: 44px;
}

.panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border-subtle);
  padding: 13px 15px;
  color: var(--text-secondary);
  font-family: var(--font-mono);
  font-size: 12px;
}

.panel-title {
  color: var(--text-primary);
}

.status-badge,
.live-dot {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--accent-secondary);
}

.status-badge::before,
.live-dot::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 14px rgba(69, 230, 161, 0.75);
  animation: pulse 2s ease-in-out infinite;
}

pre {
  margin: 0;
  overflow: auto;
}

code {
  font-family: var(--font-mono);
}

.workflow-card pre {
  padding: 16px;
  color: #dbe8f5;
  font-size: 12px;
  line-height: 1.75;
}

.routing-map {
  position: absolute;
  z-index: 1;
  inset: 68px 0 auto;
  width: 100%;
  height: 430px;
  opacity: 0.86;
}

.route-line {
  fill: none;
  stroke: url("#routeGradient");
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-dasharray: 8 14;
  animation: route-flow 12s linear infinite;
}

.route-b { animation-duration: 14s; opacity: 0.68; }
.route-c { animation-duration: 9s; opacity: 0.45; }

.node-cluster {
  position: absolute;
  inset: 0;
  z-index: 3;
}

.infra-node {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(124, 231, 255, 0.16);
  border-radius: 999px;
  padding: 9px 12px;
  background: rgba(10, 15, 22, 0.8);
  color: var(--text-secondary);
  font-family: var(--font-mono);
  font-size: 12px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.26);
}

.infra-node::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent-primary);
  box-shadow: 0 0 14px rgba(77, 163, 255, 0.75);
}

.node-hosting { left: 70px; top: 292px; }
.node-telco { left: 258px; top: 215px; }
.node-validation { right: 64px; top: 176px; }
.node-enrichment { right: 72px; top: 288px; }
.node-dnc { left: 190px; bottom: 74px; }
.node-usage { right: 210px; bottom: 116px; }

.positioning-strip {
  position: relative;
  z-index: 2;
  border-block: 1px solid var(--border-subtle);
  background: rgba(11, 15, 22, 0.62);
  backdrop-filter: blur(14px);
}

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

.strip-grid div {
  min-height: 96px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
  border-right: 1px solid var(--border-subtle);
  padding: 18px 24px;
  color: var(--text-primary);
  font-size: 14px;
  transition: background 180ms ease;
}

.strip-grid div:first-child {
  border-left: 1px solid var(--border-subtle);
}

.strip-grid div:hover {
  background: rgba(77, 163, 255, 0.055);
}

.strip-grid span {
  color: var(--accent-secondary);
  font-family: var(--font-mono);
  font-size: 11px;
}

.section {
  padding-block: 96px;
}

.section-heading {
  max-width: 820px;
  text-align: center;
  margin-bottom: 48px;
}

.section-heading.align-left {
  text-align: left;
  margin: 0;
}

.section-heading h2,
.final-cta h2 {
  margin: 0;
  color: var(--text-primary);
  font-size: 44px;
  line-height: 1.08;
  font-weight: 650;
}

.section-heading p:not(.section-kicker),
.final-cta p:not(.section-kicker) {
  margin: 18px 0 0;
  color: var(--text-secondary);
  font-size: 17px;
  line-height: 1.7;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.feature-card,
.category-panel,
.use-case-grid article,
.pricing-grid article,
.permission-matrix,
.code-interface,
.product-shell {
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.025));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 24px 80px rgba(0, 0, 0, 0.25);
}

.feature-card {
  min-height: 300px;
  padding: 22px;
  transition: transform 180ms ease, border-color 180ms ease;
}

.feature-card:nth-child(1),
.feature-card:nth-child(6) {
  grid-column: span 2;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: end;
  column-gap: 24px;
}

.feature-card:nth-child(1) .feature-visual,
.feature-card:nth-child(6) .feature-visual {
  min-height: 170px;
  grid-row: span 3;
}

.feature-card:nth-child(1) h3,
.feature-card:nth-child(6) h3 {
  margin-top: 0;
}

.feature-card:hover,
.use-case-grid article:hover,
.pricing-grid article:hover {
  transform: translateY(-2px);
  border-color: rgba(124, 231, 255, 0.18);
}

.feature-card h3,
.category-panel h3,
.use-case-grid h3,
.pricing-grid h3 {
  margin: 22px 0 0;
  font-size: 20px;
  line-height: 1.2;
}

.feature-card p,
.category-panel p,
.use-case-grid p,
.pricing-grid span {
  display: block;
  margin: 12px 0 0;
  color: var(--text-secondary);
  line-height: 1.65;
}

.feature-visual {
  min-height: 82px;
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 14px;
  background: rgba(7, 9, 13, 0.42);
  color: var(--text-secondary);
  font-family: var(--font-mono);
  font-size: 12px;
}

.endpoint-lines,
.event-stream,
.vault-lines {
  display: grid;
  gap: 9px;
}

.endpoint-lines span,
.event-stream span,
.vault-lines span {
  height: 12px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(77, 163, 255, 0.46), rgba(124, 231, 255, 0.08));
}

.endpoint-lines span:nth-child(2) { width: 72%; }
.endpoint-lines span:nth-child(3) { width: 48%; }

.phone-resource,
.json-mini,
.cli-mini {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.phone-resource strong {
  width: 100%;
  color: var(--text-primary);
  font-size: 16px;
}

.phone-resource span,
.tag {
  display: inline-flex;
  width: fit-content;
  margin-top: 18px;
  border: 1px solid rgba(124, 231, 255, 0.14);
  border-radius: 999px;
  padding: 5px 9px;
  color: var(--accent-secondary);
  background: rgba(124, 231, 255, 0.08);
  font-family: var(--font-mono);
  font-size: 12px;
}

.json-mini code,
.cli-mini code {
  white-space: normal;
  overflow-wrap: anywhere;
}

.developer-section {
  background:
    linear-gradient(180deg, transparent, rgba(11, 15, 22, 0.76), transparent);
}

.developer-layout {
  display: grid;
  grid-template-columns: 0.84fr 1.16fr;
  gap: 56px;
  align-items: center;
}

.dev-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.dev-proof span {
  border: 1px solid var(--border-subtle);
  border-radius: 999px;
  padding: 8px 10px;
  color: var(--text-secondary);
  font-family: var(--font-mono);
  font-size: 12px;
}

.code-interface {
  overflow: hidden;
  background: rgba(9, 13, 20, 0.76);
}

.code-tabs {
  display: flex;
  gap: 4px;
  border-bottom: 1px solid var(--border-subtle);
  padding: 10px;
}

.code-tab {
  border: 0;
  border-radius: 999px;
  padding: 9px 13px;
  background: transparent;
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 12px;
}

.code-tab.active {
  background: rgba(77, 163, 255, 0.12);
  color: var(--accent-secondary);
}

.code-window {
  min-height: 390px;
  position: relative;
}

.code-panel {
  display: none;
  padding: 24px;
  color: #dbe8f5;
  font-size: 13px;
  line-height: 1.75;
}

.code-panel.active {
  display: block;
  animation: panel-in 180ms ease;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.category-panel {
  position: relative;
  min-height: 360px;
  padding: 30px;
  overflow: hidden;
}

.category-panel::before {
  content: "";
  position: absolute;
  inset: auto 24px 24px;
  height: 130px;
  border: 1px solid var(--border-subtle);
  border-radius: 18px;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 24px 24px;
}

.resource-list {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}

.resource-list span {
  border: 1px solid var(--border-subtle);
  border-radius: 999px;
  padding: 7px 10px;
  color: var(--text-secondary);
  background: rgba(7, 9, 13, 0.42);
  font-family: var(--font-mono);
  font-size: 12px;
}

.workflow-section {
  overflow: hidden;
}

.timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 12%;
  right: 12%;
  top: 42px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(77, 163, 255, 0.72), rgba(124, 231, 255, 0.72), transparent);
}

.timeline article {
  position: relative;
  z-index: 1;
  padding: 20px 20px 0;
}

.timeline span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(124, 231, 255, 0.24);
  border-radius: 50%;
  background: var(--bg-primary);
  color: var(--accent-secondary);
  font-family: var(--font-mono);
  box-shadow: 0 0 30px rgba(77, 163, 255, 0.16);
}

.timeline h3 {
  margin: 18px 0 0;
}

.timeline p {
  color: var(--text-secondary);
  line-height: 1.65;
}

.product-shell {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr) 260px;
  min-height: 520px;
  padding: 14px;
  overflow: hidden;
  background: rgba(10, 14, 21, 0.84);
}

.product-sidebar {
  border-right: 1px solid var(--border-subtle);
  padding: 16px 12px;
}

.mini-brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--accent-deep), var(--accent-secondary));
  color: var(--text-inverted);
  font-weight: 800;
}

.product-sidebar nav {
  display: grid;
  gap: 6px;
  margin-top: 24px;
}

.product-sidebar button {
  width: 100%;
  border: 0;
  border-radius: 10px;
  padding: 10px;
  color: var(--text-muted);
  background: transparent;
  text-align: left;
  font-size: 13px;
}

.product-sidebar button.active,
.product-sidebar button:hover {
  background: rgba(255, 255, 255, 0.055);
  color: var(--text-primary);
}

.resource-table-wrap {
  min-width: 0;
  padding: 16px;
}

.table-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.table-toolbar strong,
.table-toolbar span {
  display: block;
}

.table-toolbar span {
  margin-top: 5px;
  color: var(--text-muted);
  font-size: 13px;
}

.resource-table {
  min-width: 760px;
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  overflow: hidden;
}

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

.table-row {
  display: grid;
  grid-template-columns: 1.2fr 1.1fr 0.9fr 0.8fr 0.6fr 0.7fr 1fr;
  align-items: center;
  min-height: 58px;
  border-bottom: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  font-size: 13px;
}

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

.table-row span {
  padding: 0 12px;
}

.table-head {
  min-height: 42px;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.035);
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
}

.table-row.selected {
  color: var(--text-primary);
  background: rgba(77, 163, 255, 0.08);
}

.table-row i {
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 7px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 14px rgba(69, 230, 161, 0.7);
}

.detail-panel {
  border-left: 1px solid var(--border-subtle);
  padding: 20px;
}

.detail-panel p {
  margin: 0;
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 12px;
  text-transform: uppercase;
}

.detail-panel h3 {
  margin: 10px 0 22px;
}

.detail-panel dl {
  margin: 0;
  display: grid;
  gap: 14px;
}

.detail-panel div {
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 13px;
}

.detail-panel dt {
  color: var(--text-muted);
  font-size: 12px;
}

.detail-panel dd {
  margin: 5px 0 0;
  color: var(--text-secondary);
  font-size: 13px;
}

.use-case-grid,
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.use-case-grid article,
.pricing-grid article {
  padding: 24px;
  transition: transform 180ms ease, border-color 180ms ease;
}

.governance-section {
  background: linear-gradient(180deg, rgba(11, 15, 22, 0.2), rgba(11, 15, 22, 0.8));
}

.governance-layout {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  gap: 56px;
  align-items: center;
}

.permission-matrix {
  overflow: hidden;
  background: rgba(7, 9, 13, 0.58);
}

.matrix-row {
  display: grid;
  grid-template-columns: 1.15fr repeat(4, 1fr);
  min-height: 58px;
  align-items: center;
  border-bottom: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  font-size: 13px;
}

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

.matrix-row span {
  padding: 0 16px;
}

.matrix-row span:first-child {
  color: var(--text-primary);
  font-weight: 650;
}

.matrix-head {
  min-height: 44px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
}

.pricing-grid {
  grid-template-columns: repeat(3, 1fr);
}

.pricing-grid article {
  display: flex;
  min-height: 300px;
  flex-direction: column;
}

.pricing-grid p {
  margin: 0;
  color: var(--accent-secondary);
  font-family: var(--font-mono);
  font-size: 12px;
  text-transform: uppercase;
}

.pricing-grid .button {
  width: fit-content;
  margin-top: auto;
}

.highlight-plan {
  border-color: rgba(124, 231, 255, 0.28) !important;
  background:
    radial-gradient(circle at 50% 0%, rgba(77, 163, 255, 0.18), transparent 16rem),
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03)) !important;
}

.final-cta {
  padding-block: 112px;
  text-align: center;
  background:
    radial-gradient(circle at 50% 0%, rgba(77, 163, 255, 0.16), transparent 24rem),
    var(--bg-secondary);
  border-block: 1px solid var(--border-subtle);
}

.final-cta-inner {
  max-width: 820px;
}

.final-cta .hero-actions {
  justify-content: center;
}

.site-footer {
  padding: 64px 0 28px;
  color: var(--text-secondary);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr repeat(3, 1fr);
  gap: 32px;
}

.footer-grid h4 {
  margin: 0 0 14px;
  color: var(--text-primary);
  font-size: 14px;
}

.footer-grid button {
  display: block;
  width: fit-content;
  margin: 9px 0;
  border: 0;
  padding: 0;
  background: transparent;
  color: var(--text-muted);
  font-size: 14px;
  transition: color 180ms ease;
}

.footer-grid button:hover {
  color: var(--text-primary);
}

.footer-bottom {
  margin-top: 48px;
  border-top: 1px solid var(--border-subtle);
  padding-top: 24px;
  color: var(--text-muted);
  font-size: 13px;
}

.funnel-overlay {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(2, 4, 8, 0.78);
  backdrop-filter: blur(16px);
}

.funnel-overlay[hidden] {
  display: none;
}

.funnel-modal {
  position: relative;
  width: min(100%, 760px);
  max-height: min(880px, calc(100svh - 40px));
  overflow: auto;
  border: 1px solid var(--border-medium);
  border-radius: 24px;
  background:
    radial-gradient(circle at 70% 0%, rgba(77, 163, 255, 0.14), transparent 18rem),
    #0b0f16;
  box-shadow: 0 30px 140px rgba(0, 0, 0, 0.56), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.modal-close {
  position: absolute;
  right: 18px;
  top: 18px;
  z-index: 2;
  width: 38px;
  height: 38px;
  border: 1px solid var(--border-subtle);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-primary);
  font-size: 24px;
  line-height: 1;
}

.funnel-progress {
  display: flex;
  gap: 8px;
  padding: 26px 68px 0 32px;
}

.funnel-progress span {
  height: 3px;
  flex: 1;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
}

.funnel-progress span.active {
  background: linear-gradient(90deg, var(--accent-primary), var(--accent-secondary));
}

.access-form {
  padding: 30px 32px 32px;
}

.form-step {
  display: none;
}

.form-step.active {
  display: block;
  animation: panel-in 180ms ease;
}

.form-step h2 {
  margin: 0;
  font-size: 32px;
  line-height: 1.12;
}

.form-step p {
  color: var(--text-secondary);
  line-height: 1.65;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: 24px;
}

label {
  display: grid;
  gap: 8px;
  color: var(--text-secondary);
  font-size: 13px;
}

.full-width {
  grid-column: 1 / -1;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--border-medium);
  border-radius: 14px;
  padding: 13px 14px;
  background: rgba(255, 255, 255, 0.045);
  color: var(--text-primary);
  outline: 0;
}

textarea {
  resize: vertical;
  min-height: 150px;
}

input:focus,
select:focus,
textarea:focus {
  border-color: rgba(124, 231, 255, 0.5);
  box-shadow: 0 0 0 3px rgba(77, 163, 255, 0.12);
}

select option {
  color: #071018;
}

.choice-grid,
.checkbox-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: 24px;
}

.choice-card,
.checkbox-grid label {
  min-height: 96px;
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.035);
}

.choice-card {
  grid-template-columns: auto 1fr;
  align-items: start;
  column-gap: 12px;
}

.choice-card span,
.choice-card small {
  grid-column: 2;
}

.choice-card input {
  grid-row: 1 / span 2;
  width: 18px;
  margin-top: 2px;
}

.choice-card span {
  color: var(--text-primary);
  font-weight: 650;
}

.choice-card small {
  color: var(--text-muted);
  line-height: 1.5;
}

.checkbox-grid label {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 58px;
}

.checkbox-grid input {
  width: 18px;
}

.company-fields {
  margin-top: 10px;
}

.company-fields.hidden {
  display: none;
}

.form-note {
  font-size: 13px;
}

.form-error {
  min-height: 20px;
  margin: 18px 0 0;
  color: var(--danger) !important;
  font-size: 13px;
}

.form-status,
.referral-note {
  min-height: 20px;
  margin: 12px 0 0;
  color: var(--text-muted) !important;
  font-size: 13px;
}

.referral-note {
  width: fit-content;
  border: 1px solid rgba(124, 231, 255, 0.16);
  border-radius: 999px;
  padding: 7px 10px;
  color: var(--accent-secondary) !important;
  background: rgba(124, 231, 255, 0.07);
  font-family: var(--font-mono);
}

.form-actions {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 18px;
}

.success-step {
  text-align: center;
  padding: 28px 0;
}

.success-step .button {
  margin-top: 18px;
}

.login-modal {
  position: relative;
  width: min(100%, 520px);
  border: 1px solid var(--border-medium);
  border-radius: 18px;
  padding: 34px;
  background:
    radial-gradient(circle at 80% 0%, rgba(77, 163, 255, 0.11), transparent 16rem),
    #0b0f16;
  box-shadow: 0 30px 140px rgba(0, 0, 0, 0.56), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.login-modal h2 {
  max-width: 420px;
  margin: 0;
  font-size: 32px;
  line-height: 1.1;
}

.login-modal p {
  color: var(--text-secondary);
  line-height: 1.65;
}

.login-form {
  display: grid;
  gap: 14px;
  margin-top: 24px;
}

.login-form .button {
  width: 100%;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  animation: reveal-up 700ms ease forwards;
}

.delay-1 {
  animation-delay: 120ms;
}

@keyframes reveal-up {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

@keyframes pulse {
  0%, 100% {
    opacity: 0.7;
    transform: scale(0.9);
  }
  50% {
    opacity: 1;
    transform: scale(1.08);
  }
}

@keyframes slow-spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes panel-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

@media (max-width: 1180px) {
  .nav-shell {
    grid-template-columns: 220px 1fr auto;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    padding-top: 110px;
  }

  .hero-visual {
    min-height: 560px;
  }

  .feature-grid,
  .category-grid,
  .use-case-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .feature-card:nth-child(1),
  .feature-card:nth-child(6) {
    grid-column: span 2;
  }

  .developer-layout,
  .governance-layout {
    grid-template-columns: 1fr;
  }

  .product-shell {
    grid-template-columns: 150px minmax(0, 1fr);
  }

  .detail-panel {
    grid-column: 1 / -1;
    border-left: 0;
    border-top: 1px solid var(--border-subtle);
  }
}

@media (max-width: 860px) {
  .container,
  .hero-inner,
  .nav-shell {
    width: min(100% - 32px, var(--container));
  }

  .nav-shell {
    min-height: 70px;
    grid-template-columns: 1fr auto;
  }

  .mobile-menu-button {
    display: block;
  }

  .nav-links,
  .nav-actions {
    display: none;
  }

  .nav-links.open,
  .nav-actions.open {
    display: flex;
    grid-column: 1 / -1;
    justify-content: flex-start;
    width: 100%;
  }

  .nav-links.open {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding-top: 10px;
  }

  .nav-actions.open {
    padding-bottom: 16px;
  }

  .site-header.menu-open {
    background: rgba(7, 9, 13, 0.92);
    border-bottom: 1px solid var(--border-subtle);
    backdrop-filter: blur(18px);
  }

  .hero {
    padding-top: 70px;
  }

  .hero-inner {
    min-height: auto;
    gap: 36px;
    padding: 72px 0 70px;
  }

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

  .hero-statement,
  .section-heading h2,
  .final-cta h2 {
    font-size: 36px;
  }

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

  .hero-visual {
    min-height: 620px;
    border-radius: 24px;
  }

  .terminal-card,
  .response-card {
    left: 20px;
    right: auto;
    width: calc(100% - 40px);
  }

  .response-card {
    bottom: 24px;
  }

  .node-hosting { left: 28px; top: 280px; }
  .node-telco { left: 46%; top: 225px; }
  .node-validation { right: 28px; top: 322px; }
  .node-enrichment { left: 30px; top: 376px; }
  .node-dnc { left: 42%; bottom: 150px; }
  .node-usage { right: 28px; bottom: 122px; }

  .strip-grid,
  .pricing-grid,
  .timeline {
    grid-template-columns: 1fr;
  }

  .strip-grid div,
  .strip-grid div:first-child {
    border-inline: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
  }

  .timeline::before {
    left: 42px;
    right: auto;
    top: 42px;
    bottom: 42px;
    width: 1px;
    height: auto;
    background: linear-gradient(180deg, transparent, rgba(77, 163, 255, 0.72), rgba(124, 231, 255, 0.72), transparent);
  }

  .product-shell {
    grid-template-columns: 1fr;
  }

  .product-sidebar {
    border-right: 0;
    border-bottom: 1px solid var(--border-subtle);
  }

  .product-sidebar nav {
    grid-template-columns: repeat(3, 1fr);
  }

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

@media (max-width: 620px) {
  .section {
    padding-block: 72px;
  }

  .wordmark {
    font-size: 16px;
  }

  .company-line {
    font-size: 10px;
  }

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

  .hero-statement,
  .section-heading h2,
  .final-cta h2 {
    font-size: 30px;
  }

  .hero-actions,
  .form-actions,
  .table-toolbar {
    flex-direction: column;
    align-items: stretch;
  }

  .button,
  .signal-strip {
    width: 100%;
  }

  .feature-grid,
  .category-grid,
  .use-case-grid,
  .choice-grid,
  .checkbox-grid,
  .form-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .feature-card:nth-child(1),
  .feature-card:nth-child(6) {
    grid-column: auto;
    display: block;
  }

  .feature-card:nth-child(1) h3,
  .feature-card:nth-child(6) h3 {
    margin-top: 22px;
  }

  .hero-visual {
    min-height: 660px;
  }

  .workflow-card pre {
    font-size: 11px;
  }

  .infra-node {
    font-size: 11px;
    padding: 8px 10px;
  }

  .node-hosting { top: 278px; }
  .node-telco { left: 42%; top: 232px; }
  .node-validation { top: 326px; }
  .node-enrichment { top: 390px; }
  .node-dnc { left: 26px; bottom: 172px; }
  .node-usage { right: 22px; bottom: 138px; }

  .code-window {
    min-height: 430px;
  }

  .code-panel {
    font-size: 12px;
    padding: 18px;
  }

  .product-sidebar nav {
    grid-template-columns: repeat(2, 1fr);
  }

  .matrix-row {
    grid-template-columns: 1fr;
    gap: 5px;
    padding-block: 12px;
  }

  .matrix-row span {
    padding-block: 2px;
  }

  .funnel-overlay {
    padding: 12px;
  }

  .funnel-modal {
    max-height: calc(100svh - 24px);
    border-radius: 18px;
  }

  .access-form {
    padding: 26px 18px 20px;
  }

  .funnel-progress {
    padding-left: 18px;
    padding-right: 62px;
  }
}
