/* ==========================================================================
   Prism Proxy (prismproxy.site) — Mobile Proxy Platform Design System
   Light-first OKLCH palette with obsidian-navy terminal & code surfaces
   ========================================================================== */

:root {
  /* Surfaces */
  --bg: oklch(98.4% 0.004 264);
  --surface: oklch(100% 0 0);
  --surface-2: oklch(97.2% 0.005 264);
  --surface-3: oklch(96.6% 0.006 264);

  /* Borders */
  --border: oklch(91.8% 0.006 264);
  --border-2: oklch(86% 0.008 264);

  /* Typography colors */
  --text: oklch(25% 0.02 264);
  --text-2: oklch(46% 0.015 264);
  --text-3: oklch(62% 0.012 264);

  /* Primary Cobalt Accent */
  --accent: oklch(55% 0.16 264);
  --accent-2: oklch(49% 0.17 264);
  --accent-fg: oklch(99% 0 0);
  --accent-soft: oklch(95.5% 0.025 264);
  --accent-text: oklch(50% 0.16 264);

  /* Semantic Status */
  --ok: oklch(62% 0.13 158);
  --ok-soft: oklch(95% 0.04 158);
  --ok-text: oklch(48% 0.12 158);
  --warn: oklch(74% 0.13 75);
  --warn-soft: oklch(95.5% 0.05 80);
  --warn-text: oklch(53% 0.11 65);
  --danger: oklch(60% 0.19 25);
  --danger-soft: oklch(95.5% 0.035 25);
  --danger-text: oklch(53% 0.18 25);

  /* Carriers */
  --cr-verizon: oklch(58% 0.2 25);
  --cr-att: oklch(52% 0.15 250);
  --cr-tmo: oklch(60% 0.22 350);

  /* Dark Terminal & Code Surfaces */
  --dark-shell: oklch(19% 0.022 264);
  --dark-border: oklch(42% 0.07 264);
  --dark-header: oklch(16.5% 0.02 264);
  --dark-well: oklch(14.5% 0.018 264);
  --dark-well-2: oklch(15.5% 0.02 264);
  --dark-divider: oklch(30% 0.028 264);
  --dark-text: oklch(94% 0.01 264);
  --dark-text-2: oklch(72% 0.018 264);
  --dark-text-3: oklch(56% 0.02 264);

  /* Fonts */
  --sans: "Hanken Grotesk", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  --mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;

  /* Radii & Shadows */
  --radius: 10px;
  --radius-sm: 7px;
  --radius-pill: 999px;
  --shadow: 0 1px 2px rgba(20, 22, 40, 0.05), 0 1px 3px rgba(20, 22, 40, 0.04);
  --shadow-lg: 0 12px 34px rgba(20, 22, 45, 0.12);
}

/* Reset & Base */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background-color: var(--bg);
  color: var(--text);
  font-family: var(--sans);
}

body {
  background-color: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  line-height: 1.5;
  overflow-x: hidden;
}

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

button,
input {
  font-family: inherit;
}

button {
  cursor: pointer;
  border: none;
  background: none;
}

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

.tabular-nums {
  font-variant-numeric: tabular-nums;
}

/* Layout Containers */
.container {
  max-width: 1180px;
  margin-inline: auto;
  padding-inline: 24px;
}

@media (min-width: 640px) {
  .container {
    padding-inline: 32px;
  }
}

.section {
  padding-block: 64px;
}

@media (min-width: 640px) {
  .section {
    padding-block: 88px;
  }
}

.section-alt {
  background-color: var(--surface-2);
  border-block: 1px solid var(--border);
}

/* Typography Helpers */
.eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--accent-text);
  margin-bottom: 14px;
}

.section-title {
  font-size: 32px;
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.028em;
  color: var(--text);
  text-wrap: balance;
}

@media (min-width: 640px) {
  .section-title {
    font-size: 42px;
  }
}

.section-title-split {
  font-size: 30px;
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.026em;
  color: var(--text);
  text-wrap: balance;
}

@media (min-width: 640px) {
  .section-title-split {
    font-size: 40px;
  }
}

.section-subtitle {
  margin-top: 16px;
  font-size: 17px;
  line-height: 1.58;
  color: var(--text-2);
  max-width: 580px;
}

@media (min-width: 640px) {
  .section-subtitle {
    font-size: 18px;
  }
}

/* Animations */
@keyframes pp-pulse-dot {
  0%, 100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(0.78);
    opacity: 0.45;
  }
}

@keyframes pp-dash-slide {
  from {
    background-position: 0 0;
  }
  to {
    background-position: 22px 0;
  }
}

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

@keyframes pp-fade-in {
  from {
    opacity: 0;
    transform: translateY(4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.pulse-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background-color: var(--ok);
  animation: pp-pulse-dot 1.8s ease-in-out infinite;
  flex-shrink: 0;
}

/* ==========================================================================
   1. Navigation Header
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--border);
  background: oklch(96.5% 0.005 264 / 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.header-inner {
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

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

.brand-mark {
  position: relative;
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background-color: var(--accent);
  color: var(--accent-fg);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 16px;
  letter-spacing: -0.04em;
  box-shadow: 0 2px 8px -2px oklch(55% 0.16 264 / 0.55);
}

.brand-wordmark {
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--text);
}

.brand-wordmark span {
  font-weight: 700;
  color: var(--accent-text);
}

.header-nav {
  display: none;
  align-items: center;
  gap: 2px;
}

@media (min-width: 768px) {
  .header-nav {
    display: flex;
  }
}

.nav-link {
  padding: 7px 13px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 600;
  color: var(--text-2);
  transition: background-color 0.15s ease, color 0.15s ease;
}

.nav-link:hover {
  background-color: var(--surface-2);
  color: var(--text);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.btn-ghost {
  display: none;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  transition: background-color 0.15s ease, color 0.15s ease;
}

@media (min-width: 640px) {
  .btn-ghost {
    display: inline-flex;
    align-items: center;
  }
}

.btn-ghost:hover {
  background-color: var(--surface-2);
  color: var(--accent-text);
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 9px 16px;
  border-radius: var(--radius-sm);
  background-color: var(--accent);
  color: var(--accent-fg);
  font-size: 14px;
  font-weight: 700;
  transition: background-color 0.16s ease, transform 0.16s ease, box-shadow 0.16s ease;
}

.btn-primary:hover {
  background-color: var(--accent-2);
}

.btn-primary:active {
  transform: translateY(1px);
}

.btn-hero {
  padding: 14px 26px;
  border-radius: var(--radius);
  font-size: 15.5px;
  font-weight: 700;
  box-shadow: 0 12px 28px -10px oklch(55% 0.16 264 / 0.75);
}

.btn-hero:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 32px -10px oklch(55% 0.16 264 / 0.85);
}

.mobile-menu-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
}

@media (min-width: 768px) {
  .mobile-menu-btn {
    display: none;
  }
}

.mobile-drawer {
  display: none;
  border-top: 1px solid var(--border);
  background: var(--surface);
  padding: 16px 24px 20px;
}

.mobile-drawer.open {
  display: block;
}

.mobile-drawer-links {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 14px;
}

.mobile-drawer-links a {
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-weight: 600;
  color: var(--text-2);
}

.mobile-drawer-links a:hover {
  background: var(--surface-2);
  color: var(--text);
}

.mobile-drawer-actions {
  display: flex;
  gap: 10px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
}

/* ==========================================================================
   2. Hero & Live Proxy Tester
   ========================================================================== */
.hero-section {
  padding-top: 52px;
  padding-bottom: 64px;
}

@media (min-width: 640px) {
  .hero-section {
    padding-top: 76px;
    padding-bottom: 84px;
  }
}

.hero-header {
  max-width: 840px;
  margin-inline: auto;
  text-align: center;
}

.live-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 5px 14px 5px 6px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--shadow);
  font-size: 13px;
  font-weight: 500;
  color: var(--text-2);
  margin-bottom: 24px;
}

.live-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 9px;
  border-radius: var(--radius-pill);
  background: var(--ok-soft);
  color: var(--ok-text);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.hero-title {
  font-size: 40px;
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.037em;
  color: var(--text);
  text-wrap: balance;
}

@media (min-width: 640px) {
  .hero-title {
    font-size: 52px;
  }
}

@media (min-width: 1024px) {
  .hero-title {
    font-size: 60px;
  }
}

.hero-subtitle {
  max-width: 560px;
  margin: 22px auto 0;
  font-size: 17px;
  line-height: 1.56;
  color: var(--text-2);
}

@media (min-width: 640px) {
  .hero-subtitle {
    font-size: 19px;
  }
}

.hero-cta-wrap {
  margin-top: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}

.hero-trust-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px 22px;
  font-size: 13px;
  color: var(--text-3);
}

.hero-trust-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.hero-trust-item svg {
  color: var(--ok);
  flex-shrink: 0;
}

/* Divider Label */
.tester-divider {
  max-width: 580px;
  margin: 40px auto 22px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.tester-divider-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-2));
}

.tester-divider-line.right {
  background: linear-gradient(90deg, var(--border-2), transparent);
}

.tester-divider-label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--mono);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.09em;
  color: var(--accent-text);
  white-space: nowrap;
}

/* Dark Interactive Live Tester Shell */
.tester-stage {
  position: relative;
  max-width: 880px;
  margin-inline: auto;
}

.tester-stage::before {
  content: "";
  position: absolute;
  inset: -34px -32px -28px;
  background: radial-gradient(55% 58% at 50% 42%, oklch(55% 0.16 264 / 0.17), transparent 72%);
  pointer-events: none;
  z-index: 0;
}

.tester-window {
  position: relative;
  z-index: 1;
  border-radius: 14px;
  background: var(--dark-shell);
  border: 1px solid var(--dark-border);
  box-shadow:
    0 0 0 4px oklch(55% 0.16 264 / 0.07),
    0 10px 48px -14px oklch(55% 0.16 264 / 0.45),
    0 26px 64px -24px rgba(10, 12, 30, 0.6);
  overflow: hidden;
  color: var(--dark-text);
}

.tester-chrome {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 18px;
  background: var(--dark-header);
  border-bottom: 1px solid var(--dark-divider);
}

.tester-chrome-left {
  display: flex;
  align-items: center;
  gap: 14px;
}

.traffic-lights {
  display: flex;
  align-items: center;
  gap: 7px;
}

.tl-dot {
  width: 11px;
  height: 11px;
  border-radius: 999px;
}

.tl-red { background: #ff5f57; }
.tl-amber { background: #febc2e; }
.tl-green { background: #28c840; }

.tester-title {
  font-family: var(--mono);
  font-size: 12.5px;
  font-weight: 500;
  color: oklch(86% 0.015 264);
}

.tester-live {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--ok);
}

.tester-body {
  padding: 20px 20px 18px;
}

.tester-field-label {
  display: block;
  font-family: var(--mono);
  font-size: 11.5px;
  color: var(--dark-text-3);
  margin-bottom: 8px;
}

.tester-input-row {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

@media (min-width: 560px) {
  .tester-input-row {
    flex-direction: row;
    align-items: stretch;
  }
}

.tester-input {
  flex: 1;
  height: 52px;
  padding: 0 16px;
  border-radius: 10px;
  border: 1px solid var(--dark-divider);
  background: var(--dark-well);
  color: var(--dark-text);
  font-family: var(--mono);
  font-size: 15px;
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.tester-input::placeholder {
  color: oklch(48% 0.02 264);
}

.tester-input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px oklch(55% 0.16 264 / 0.25);
}

.tester-run-btn {
  height: 52px;
  min-width: 104px;
  padding: 0 22px;
  border-radius: 10px;
  background: var(--accent);
  color: var(--accent-fg);
  font-size: 14.5px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 8px 24px -6px oklch(55% 0.16 264 / 0.7);
  transition: background-color 0.15s ease, transform 0.15s ease;
}

.tester-run-btn:hover {
  background: var(--accent-2);
}

.tester-run-btn:active {
  transform: scale(0.98);
}

.tester-run-btn:disabled {
  opacity: 0.78;
  cursor: wait;
}

.tester-hint {
  margin-top: 10px;
  font-family: var(--mono);
  font-size: 11.5px;
  color: var(--dark-text-3);
}

/* Tester Result Card */
.tester-result {
  margin-top: 16px;
  border-radius: 10px;
  border: 1px solid var(--dark-divider);
  background: var(--dark-well-2);
  overflow: hidden;
  animation: pp-fade-in 0.22s ease;
}

.tester-result-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 16px;
  background: var(--dark-header);
  border-bottom: 1px solid var(--dark-divider);
}

.tester-result-status {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.status-pill-ok {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 9px;
  border-radius: 6px;
  background: oklch(62% 0.13 158 / 0.16);
  border: 1px solid oklch(62% 0.13 158 / 0.35);
  color: oklch(76% 0.15 158);
  font-family: var(--mono);
  font-size: 11.5px;
  font-weight: 600;
  flex-shrink: 0;
}

.tester-result-url {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--dark-text-2);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.tester-result-latency {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--dark-text-2);
}

.tester-result-grid {
  display: grid;
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .tester-result-grid {
    grid-template-columns: 1.52fr 1fr;
  }
}

.tester-result-left {
  padding: 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
}

@media (min-width: 640px) {
  .tester-result-left {
    border-right: 1px solid var(--dark-divider);
  }
}

.tester-cmd-block {
  font-family: var(--mono);
  font-size: 12.5px;
  line-height: 1.65;
}

.tester-cmd-line {
  color: oklch(78% 0.13 255);
  word-break: break-all;
}

.tester-cmd-route {
  color: var(--dark-text-3);
  margin-top: 2px;
}

.tester-upsell {
  padding-top: 14px;
  border-top: 1px solid var(--dark-divider);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.tester-upsell-head {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--dark-text);
}

.tester-gift-badge {
  width: 28px;
  height: 28px;
  border-radius: 7px;
  background: oklch(62% 0.13 158 / 0.16);
  color: oklch(76% 0.15 158);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.tester-signup-btn {
  width: 100%;
  height: 42px;
  border-radius: 8px;
  background: var(--accent);
  color: var(--accent-fg);
  font-size: 13.5px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  transition: background-color 0.15s ease;
}

.tester-signup-btn:hover {
  background: var(--accent-2);
}

.tester-result-right {
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  border-top: 1px solid var(--dark-divider);
}

@media (min-width: 640px) {
  .tester-result-right {
    border-top: none;
  }
}

.meta-item-label {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--dark-text-3);
  margin-bottom: 3px;
}

.meta-item-val {
  font-family: var(--mono);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--dark-text);
  display: flex;
  align-items: center;
  gap: 7px;
}

.carrier-dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  display: inline-block;
  flex-shrink: 0;
}

.dot-verizon { background-color: var(--cr-verizon); }
.dot-att { background-color: var(--cr-att); }
.dot-tmo { background-color: var(--cr-tmo); }

/* Carrier Switcher Footer inside Terminal */
.tester-carriers {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.tester-carriers-label {
  font-family: var(--mono);
  font-size: 11.5px;
  color: var(--dark-text-3);
  margin-right: 4px;
}

.carrier-pill-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 12px;
  border-radius: 8px;
  border: 1px solid var(--dark-divider);
  background: var(--dark-well);
  color: var(--dark-text-2);
  font-size: 12.5px;
  font-weight: 600;
  transition: all 0.15s ease;
}

.carrier-pill-btn:hover {
  border-color: oklch(44% 0.05 264);
  color: var(--dark-text);
}

.carrier-pill-btn.active {
  border-color: var(--accent);
  background: oklch(55% 0.16 264 / 0.16);
  color: var(--dark-text);
}

/* Telemetry Footer Below Terminal */
.hero-telemetry {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px 28px;
  font-family: var(--mono);
  font-size: 12.5px;
  color: var(--text-3);
}

.telemetry-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.telemetry-item strong {
  color: var(--text);
  font-weight: 700;
}

.t-dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
}

.t-dot-ok { background: var(--ok); }
.t-dot-accent { background: var(--accent); }
.t-dot-warn { background: var(--warn); }

/* ==========================================================================
   3. Coverage Section (#coverage)
   ========================================================================== */
.carriers-grid {
  margin-top: 38px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

@media (min-width: 640px) {
  .carriers-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.carrier-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  transition: border-color 0.16s ease, box-shadow 0.16s ease, transform 0.16s ease;
  cursor: pointer;
}

.carrier-card:hover {
  border-color: var(--border-2);
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

.carrier-bar {
  width: 42px;
  height: 4px;
  border-radius: 999px;
  margin-bottom: 18px;
}

.bar-verizon { background: var(--cr-verizon); }
.bar-att { background: var(--cr-att); }
.bar-tmo { background: var(--cr-tmo); }

.carrier-card-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.carrier-card-title {
  font-size: 19px;
  font-weight: 700;
  color: var(--text);
}

.carrier-city-count {
  font-family: var(--mono);
  font-size: 12.5px;
  color: var(--text-3);
}

.carrier-card-desc {
  font-size: 14px;
  line-height: 1.56;
  color: var(--text-2);
  margin-bottom: 20px;
  flex: 1;
}

.carrier-tech {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--text-3);
}

/* Sample Location Grid */
.sample-header {
  margin-top: 38px;
  margin-bottom: 16px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.sample-label {
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.14em;
  color: var(--text-3);
}

.inline-action-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--accent-text);
  transition: gap 0.15s ease, color 0.15s ease;
}

.inline-action-link:hover {
  color: var(--accent-2);
  gap: 9px;
}

.locations-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

@media (min-width: 480px) {
  .locations-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .locations-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.loc-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 15px 16px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: border-color 0.15s ease;
}

.loc-card:hover {
  border-color: var(--border-2);
}

.loc-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.loc-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.loc-carrier {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  font-weight: 500;
  color: var(--text-3);
  flex-shrink: 0;
}

.loc-bottom {
  display: flex;
  align-items: center;
  gap: 10px;
}

.loc-track {
  flex: 1;
  height: 5px;
  border-radius: 999px;
  background: var(--surface-3);
  overflow: hidden;
}

.loc-fill {
  height: 100%;
  border-radius: 999px;
}

.fill-open { background: var(--ok); }
.fill-busy-warn { background: var(--warn); }
.fill-busy-red { background: var(--danger); }
.fill-full { background: var(--danger); }

.loc-status {
  font-size: 11px;
  font-weight: 700;
  min-width: 30px;
  text-align: right;
}

.status-open { color: var(--ok-text); }
.status-busy { color: var(--warn-text); }
.status-full { color: var(--danger-text); }

/* ==========================================================================
   4. One Proxy, Every City (Animated Routing Topology)
   ========================================================================== */
.split-grid-routing {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}

@media (min-width: 1024px) {
  .split-grid-routing {
    grid-template-columns: 0.9fr 1.1fr;
    gap: 52px;
  }
}

.icon-bullets {
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.icon-bullet-row {
  display: flex;
  align-items: center;
  gap: 13px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--text);
}

.icon-box-sm {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: var(--accent-soft);
  color: var(--accent-text);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* Topology Card */
.topology-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px 26px 22px;
  box-shadow: var(--shadow-lg);
}

.topology-status {
  display: flex;
  align-items: center;
  gap: 9px;
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.08em;
  color: var(--text-3);
  margin-bottom: 22px;
}

.topology-status strong {
  color: var(--text);
  font-weight: 600;
}

.topology-diagram {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}

@media (min-width: 600px) {
  .topology-diagram {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 0;
  }
}

.topo-node-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.topo-you-box {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  color: var(--text-2);
  display: flex;
  align-items: center;
  justify-content: center;
}

.topo-proxy-box {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--accent);
  color: var(--accent-fg);
  font-size: 19px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 24px -6px oklch(55% 0.16 264 / 0.65);
}

.topo-node-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-3);
}

.topo-dash {
  width: 2px;
  height: 26px;
  background: repeating-linear-gradient(
    180deg,
    var(--accent) 0 5px,
    transparent 5px 10px
  );
  opacity: 0.85;
}

@media (min-width: 600px) {
  .topo-dash {
    flex: 1;
    min-width: 34px;
    max-width: 78px;
    height: 2px;
    margin-bottom: 24px;
    background: repeating-linear-gradient(
      90deg,
      var(--accent) 0 6px,
      transparent 6px 11px
    );
    background-size: 22px 2px;
    animation: pp-dash-slide 1.1s linear infinite;
  }
}

.topo-exits-wrap {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

@media (min-width: 600px) {
  .topo-exits-wrap {
    width: auto;
    min-width: 244px;
  }
}

.topo-exit-row {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 9px 12px;
  border-radius: 9px;
  border: 1px solid var(--border);
  background: var(--surface);
  cursor: pointer;
  transition: all 0.22s ease;
  text-align: left;
  width: 100%;
}

.topo-exit-row:hover {
  border-color: var(--border-2);
}

.topo-exit-row::before {
  content: "";
  display: none;
}

@media (min-width: 600px) {
  .topo-exit-row::before {
    display: block;
    position: absolute;
    left: -14px;
    top: 50%;
    width: 13px;
    height: 1.5px;
    background: var(--border);
    transition: background-color 0.22s ease;
  }
}

.topo-exit-row.active {
  border-color: var(--accent);
  background: var(--accent-soft);
  box-shadow: 0 4px 14px -6px oklch(55% 0.16 264 / 0.35);
}

.topo-exit-row.active::before {
  background: var(--accent);
}

.topo-exit-left {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.topo-exit-row .carrier-dot {
  opacity: 0.35;
  transition: opacity 0.2s ease;
}

.topo-exit-row.active .carrier-dot {
  opacity: 1;
}

.topo-exit-city {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-2);
  transition: color 0.2s ease;
}

.topo-exit-row.active .topo-exit-city {
  color: var(--text);
}

.topo-exit-carrier {
  font-size: 11.5px;
  color: var(--text-3);
}

.topo-exit-badge {
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 999px;
  border: 1px solid var(--border);
  color: var(--text-3);
  background: var(--surface-2);
  letter-spacing: 0.04em;
  flex-shrink: 0;
}

.topo-exit-row.active .topo-exit-badge {
  background: var(--ok-soft);
  border-color: oklch(62% 0.13 158 / 0.28);
  color: var(--ok-text);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.topo-footer-note {
  margin-top: 8px;
  text-align: center;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--text-3);
}

@media (min-width: 600px) {
  .topo-footer-note {
    text-align: right;
  }
}

/* ==========================================================================
   5. Developer-First API Section (#api)
   ========================================================================== */
.split-grid-api {
  display: grid;
  grid-template-columns: 1fr;
  gap: 38px;
  align-items: center;
}

@media (min-width: 1024px) {
  .split-grid-api {
    grid-template-columns: 0.85fr 1.15fr;
    gap: 48px;
  }
}

.check-list {
  list-style: none;
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.check-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--text);
}

.check-list svg {
  color: var(--ok);
  flex-shrink: 0;
}

.api-docs-link {
  margin-top: 24px;
}

/* Dark Code Window */
.code-window {
  border-radius: 14px;
  background: linear-gradient(165deg, oklch(20.5% 0.022 264), oklch(15.8% 0.024 264));
  border: 1px solid oklch(32% 0.03 264);
  box-shadow: 0 22px 54px -18px rgba(10, 12, 30, 0.55);
  overflow: hidden;
  color: var(--dark-text);
}

.code-window-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 14px;
  border-bottom: 1px solid oklch(28% 0.028 264);
  background: oklch(17% 0.02 264 / 0.6);
  overflow-x: auto;
}

.code-tabs {
  display: flex;
  align-items: center;
  gap: 4px;
}

.code-tab {
  padding: 6px 12px;
  border-radius: 7px;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  color: var(--dark-text-3);
  white-space: nowrap;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.code-tab:hover {
  color: var(--dark-text-2);
}

.code-tab.active {
  background: oklch(28% 0.032 264);
  color: var(--dark-text);
}

.copy-code-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 11px;
  border-radius: 7px;
  border: 1px solid oklch(32% 0.03 264);
  background: oklch(21% 0.022 264);
  color: var(--dark-text-2);
  font-family: var(--mono);
  font-size: 11.5px;
  font-weight: 500;
  flex-shrink: 0;
  transition: all 0.15s ease;
}

.copy-code-btn:hover {
  border-color: oklch(45% 0.05 264);
  color: var(--dark-text);
}

.copy-code-btn.copied {
  border-color: oklch(62% 0.13 158 / 0.5);
  color: oklch(78% 0.15 158);
}

.code-body {
  padding: 22px 22px 24px;
  overflow-x: auto;
  min-height: 218px;
}

.code-body pre {
  font-family: var(--mono);
  font-size: 13px;
  line-height: 1.72;
  margin: 0;
}

.tok-comment { color: oklch(68% 0.12 158); }
.tok-prompt { color: oklch(68% 0.16 255); }
.tok-cmd { color: oklch(94% 0.01 264); }
.tok-str { color: oklch(84% 0.12 225); }
.tok-kw { color: oklch(76% 0.15 280); }
.tok-fn { color: oklch(82% 0.14 250); }
.tok-dim { color: oklch(64% 0.02 264); }

/* ==========================================================================
   6. Use Cases (#usecases)
   ========================================================================== */
.usecases-grid {
  margin-top: 38px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

@media (min-width: 640px) {
  .usecases-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .usecases-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.usecase-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.usecase-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  border-color: var(--border-2);
}

.icon-box-md {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--accent-soft);
  color: var(--accent-text);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.usecase-title {
  font-size: 16.5px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
}

.usecase-desc {
  font-size: 14px;
  line-height: 1.56;
  color: var(--text-2);
}

/* ==========================================================================
   7. How It Works (#how)
   ========================================================================== */
.steps-grid {
  margin-top: 38px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

@media (min-width: 640px) {
  .steps-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.step-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px 24px;
  box-shadow: var(--shadow);
}

.step-num {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 600;
  color: var(--accent-text);
  margin-bottom: 16px;
}

.icon-box-step {
  width: 46px;
  height: 46px;
  border-radius: 11px;
  background: var(--accent-soft);
  color: var(--accent-text);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.step-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
}

.step-desc {
  font-size: 14px;
  line-height: 1.58;
  color: var(--text-2);
}

/* ==========================================================================
   8. Features (3x3 Compact Grid)
   ========================================================================== */
.features-grid {
  margin-top: 38px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

@media (min-width: 640px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow);
  display: flex;
  align-items: flex-start;
  gap: 15px;
}

.icon-box-feat {
  width: 38px;
  height: 38px;
  border-radius: 9px;
  background: var(--accent-soft);
  color: var(--accent-text);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.feature-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
}

.feature-desc {
  font-size: 13.5px;
  line-height: 1.52;
  color: var(--text-2);
}

/* ==========================================================================
   9. Pricing (#pricing)
   ========================================================================== */
.pricing-header {
  text-align: center;
  max-width: 620px;
  margin-inline: auto;
}

.pricing-header .section-subtitle {
  margin-inline: auto;
}

.pricing-controls {
  margin-top: 32px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.duration-tabs {
  display: inline-flex;
  align-items: center;
  padding: 4px;
  border-radius: var(--radius-pill);
  background: var(--surface-2);
  border: 1px solid var(--border);
}

.duration-tab {
  padding: 7px 16px;
  border-radius: var(--radius-pill);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-2);
  transition: all 0.16s ease;
}

.duration-tab:hover {
  color: var(--text);
}

.duration-tab.active {
  background: var(--surface);
  color: var(--text);
  box-shadow: var(--shadow);
}

.save-badge {
  padding: 5px 11px;
  border-radius: var(--radius-pill);
  background: var(--ok-soft);
  color: var(--ok-text);
  font-family: var(--mono);
  font-size: 11.5px;
  font-weight: 600;
}

.pricing-grid {
  max-width: 880px;
  margin: 32px auto 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  align-items: stretch;
}

@media (min-width: 768px) {
  .pricing-grid {
    grid-template-columns: 1.12fr 0.88fr;
  }
}

.plan-card {
  position: relative;
  border-radius: 16px;
  padding: 30px 28px;
  display: flex;
  flex-direction: column;
}

.plan-featured {
  background: var(--surface);
  border: 1.5px solid var(--accent);
  box-shadow: 0 18px 44px -22px oklch(55% 0.16 264 / 0.35), var(--shadow);
}

.plan-secondary {
  background: var(--surface-2);
  border: 1px solid var(--border);
}

.popular-badge {
  position: absolute;
  top: 22px;
  right: 22px;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  background: var(--accent-soft);
  color: var(--accent-text);
  font-family: var(--mono);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.plan-name {
  font-size: 19px;
  font-weight: 800;
  color: var(--text);
}

.plan-tagline {
  margin-top: 4px;
  font-size: 13.5px;
  color: var(--text-2);
}

.plan-price-block {
  margin-top: 24px;
}

.plan-price-row {
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.plan-amount {
  font-size: 54px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--text);
}

.plan-period {
  font-size: 15px;
  font-weight: 500;
  color: var(--text-3);
}

.plan-volume-heading {
  font-size: 32px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--text);
  padding-top: 12px;
}

.plan-caption {
  margin-top: 8px;
  font-size: 13px;
  color: var(--text-3);
}

.plan-cta {
  margin-top: 22px;
  width: 100%;
  height: 46px;
  border-radius: var(--radius);
  font-size: 14.5px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.16s ease;
}

.plan-cta-primary {
  background: var(--accent);
  color: var(--accent-fg);
  box-shadow: 0 10px 24px -10px oklch(55% 0.16 264 / 0.7);
}

.plan-cta-primary:hover {
  background: var(--accent-2);
}

.plan-cta-outline {
  background: var(--surface);
  border: 1px solid var(--border-2);
  color: var(--text);
  box-shadow: var(--shadow);
}

.plan-cta-outline:hover {
  border-color: var(--accent);
  color: var(--accent-text);
}

.plan-divider {
  margin-block: 24px 20px;
  height: 1px;
  background: var(--border);
}

.plan-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.plan-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--text);
}

.plan-features svg {
  color: var(--ok);
  flex-shrink: 0;
}

/* Payment Strip */
.payment-strip {
  margin-top: 34px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.payment-label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--text-3);
}

.payment-badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.pay-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 11px;
  border-radius: 7px;
  border: 1px solid var(--border);
  background: var(--surface);
  font-family: var(--mono);
  font-size: 11.5px;
  font-weight: 600;
  color: var(--text-2);
}

/* ==========================================================================
   10. FAQ (#faq)
   ========================================================================== */
.faq-container {
  max-width: 820px;
  margin-inline: auto;
  padding-inline: 24px;
}

.faq-list {
  margin-top: 34px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: border-color 0.16s ease;
}

.faq-item[open] {
  border-color: var(--border-2);
}

.faq-summary {
  list-style: none;
  padding: 18px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 15.5px;
  font-weight: 700;
  color: var(--text);
  cursor: pointer;
  user-select: none;
}

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

.faq-chevron {
  color: var(--text-3);
  flex-shrink: 0;
  transition: transform 0.2s ease, color 0.2s ease;
}

.faq-item[open] .faq-chevron {
  transform: rotate(180deg);
  color: var(--accent-text);
}

.faq-answer {
  padding: 0 20px 18px;
  font-size: 14.5px;
  line-height: 1.64;
  color: var(--text-2);
}

/* ==========================================================================
   11. Bottom CTA Banner & Footer
   ========================================================================== */
.cta-card {
  position: relative;
  border-radius: 24px;
  padding: 44px 28px;
  background: linear-gradient(150deg, oklch(27% 0.045 264), oklch(17.5% 0.035 264));
  border: 1px solid oklch(33% 0.045 264);
  box-shadow: 0 28px 64px -26px rgba(10, 12, 30, 0.55);
  overflow: hidden;
  color: var(--accent-fg);
}

@media (min-width: 640px) {
  .cta-card {
    padding: 58px 56px;
  }
}

.cta-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(oklch(42% 0.05 264) 1px, transparent 1px);
  background-size: 24px 24px;
  opacity: 0.35;
  pointer-events: none;
}

.cta-content {
  position: relative;
  z-index: 1;
  max-width: 640px;
}

.cta-eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.16em;
  color: oklch(78% 0.1 264);
  margin-bottom: 14px;
}

.cta-title {
  font-size: 32px;
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -0.03em;
  color: #ffffff;
}

@media (min-width: 640px) {
  .cta-title {
    font-size: 44px;
  }
}

.cta-subtitle {
  margin-top: 16px;
  font-size: 16.5px;
  line-height: 1.58;
  color: oklch(78% 0.02 264);
  max-width: 520px;
}

.cta-actions {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.btn-glass {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 22px;
  border-radius: var(--radius);
  border: 1px solid oklch(40% 0.04 264);
  background: oklch(26% 0.03 264 / 0.55);
  color: #ffffff;
  font-size: 14.5px;
  font-weight: 700;
  transition: background-color 0.16s ease, border-color 0.16s ease;
}

.btn-glass:hover {
  background: oklch(32% 0.04 264 / 0.72);
  border-color: oklch(52% 0.06 264);
}

/* Footer */
.site-footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding-top: 56px;
  padding-bottom: 34px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 32px;
  }
}

.footer-tagline {
  margin-top: 14px;
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--text-2);
  max-width: 280px;
}

.footer-col-title {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--text-3);
  margin-bottom: 14px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a,
.footer-links button {
  font-size: 13.5px;
  color: var(--text-2);
  transition: color 0.15s ease;
  text-align: left;
}

.footer-links a:hover,
.footer-links button:hover {
  color: var(--text);
}

.footer-bottom {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  font-size: 12.5px;
  color: var(--text-3);
}

.footer-pay-icons {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  color: var(--text-2);
}

/* ==========================================================================
   12. Modals (Auth / Free Trial, All Locations Coverage, API Quick Docs)
   ========================================================================== */
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: oklch(14% 0.02 264 / 0.58);
  backdrop-filter: blur(6px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-backdrop.open {
  display: flex;
}

.modal-card {
  width: 100%;
  max-width: 440px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: 0 28px 70px -18px rgba(10, 12, 30, 0.45);
  overflow: hidden;
  animation: pp-fade-in 0.18s ease;
}

.modal-card-wide {
  max-width: 780px;
}

.modal-head {
  padding: 18px 22px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.modal-title {
  font-size: 17px;
  font-weight: 800;
  color: var(--text);
}

.modal-close {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  color: var(--text-3);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.modal-close:hover {
  background: var(--surface-2);
  color: var(--text);
}

.modal-body {
  padding: 22px;
}

.auth-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  padding: 4px;
  border-radius: 10px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  margin-bottom: 20px;
}

.auth-tab {
  padding: 8px;
  border-radius: 7px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--text-2);
}

.auth-tab.active {
  background: var(--surface);
  color: var(--text);
  box-shadow: var(--shadow);
}

.form-group {
  margin-bottom: 14px;
}

.form-label {
  display: block;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text-2);
  margin-bottom: 6px;
}

.form-input {
  width: 100%;
  height: 42px;
  padding: 0 13px;
  border-radius: 8px;
  border: 1px solid var(--border-2);
  background: var(--surface);
  color: var(--text);
  font-size: 14px;
  outline: none;
}

.form-input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px oklch(55% 0.16 264 / 0.16);
}

.trial-success-box {
  border-radius: 12px;
  background: var(--dark-shell);
  color: var(--dark-text);
  padding: 16px;
  margin-top: 12px;
  font-family: var(--mono);
  font-size: 12px;
  line-height: 1.65;
}

/* Coverage Modal Filters */
.coverage-modal-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 16px;
}

.coverage-search {
  flex: 1;
  min-width: 200px;
}

.filter-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.filter-pill {
  padding: 7px 12px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--surface-2);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text-2);
}

.filter-pill.active {
  border-color: var(--accent);
  background: var(--accent-soft);
  color: var(--accent-text);
}

.coverage-modal-grid {
  max-height: 420px;
  overflow-y: auto;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 10px;
  padding-right: 4px;
}

.spinner {
  width: 15px;
  height: 15px;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-top-color: #ffffff;
  border-radius: 999px;
  animation: pp-spin 0.65s linear infinite;
}
