/* DT8 Commerce CDN — Apple × Stripe light glass · 2026 */
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=JetBrains+Mono:wght@400;500&display=swap");

:root {
  --bg: #fafbfc;
  --bg-soft: #f6f9fc;
  --bg-elevated: rgba(255, 255, 255, 0.78);
  --bg-glass: rgba(255, 255, 255, 0.58);
  --bg-glass-strong: rgba(255, 255, 255, 0.82);
  --border: rgba(15, 23, 42, 0.06);
  --border-strong: rgba(15, 23, 42, 0.1);
  --text: #0a2540;
  --text-secondary: #425466;
  --muted: #697386;
  --accent: #635bff;
  --accent-2: #0a2540;
  --stripe-blue: #0073e6;
  --apple-blue: #0071e3;
  --accent-soft: rgba(99, 91, 255, 0.1);
  --green: #0cce6b;
  --yellow: #f5a623;
  --red: #df1b41;
  --radius: 22px;
  --radius-sm: 16px;
  --radius-pill: 999px;
  --shadow: 0 1px 1px rgba(18, 38, 63, 0.02), 0 8px 24px rgba(18, 38, 63, 0.05);
  --shadow-lg: 0 16px 48px rgba(18, 38, 63, 0.08), 0 4px 12px rgba(99, 91, 255, 0.06);
  --glass-blur: 28px;
  --font: "Inter", -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", system-ui, sans-serif;
  --mono: "JetBrains Mono", "SF Mono", ui-monospace, monospace;
  --nav-h: 56px;
  --nav-inset: 14px;
  --ease: cubic-bezier(0.25, 0.1, 0.25, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* —— Animated mesh background (Stripe-like) —— */
.bg-stage {
  position: fixed;
  inset: 0;
  z-index: -3;
  overflow: hidden;
  background: #f6f9fc;
}
.bg-mesh {
  position: absolute;
  inset: -20%;
  background:
    radial-gradient(ellipse 50% 40% at 20% 20%, rgba(99, 91, 255, 0.22), transparent 55%),
    radial-gradient(ellipse 45% 35% at 80% 15%, rgba(0, 115, 230, 0.16), transparent 50%),
    radial-gradient(ellipse 40% 40% at 60% 80%, rgba(0, 113, 227, 0.1), transparent 55%),
    radial-gradient(ellipse 35% 30% at 10% 70%, rgba(168, 85, 247, 0.1), transparent 50%),
    linear-gradient(180deg, #fafbfc 0%, #f0f4fa 50%, #eef2ff 100%);
  animation: mesh-drift 22s ease-in-out infinite alternate;
}
@keyframes mesh-drift {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-2%, 1.5%) scale(1.03); }
  100% { transform: translate(2%, -1%) scale(1.02); }
}

.bg-orbs {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.bg-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(72px);
  opacity: 0.55;
  will-change: transform;
  animation: orb-float 18s ease-in-out infinite;
}
.bg-orb.a {
  width: min(42vw, 420px);
  height: min(42vw, 420px);
  background: rgba(99, 91, 255, 0.35);
  top: -8%;
  right: 8%;
  animation-delay: 0s;
}
.bg-orb.b {
  width: min(36vw, 360px);
  height: min(36vw, 360px);
  background: rgba(0, 115, 230, 0.28);
  bottom: 10%;
  left: -6%;
  animation-delay: -6s;
}
.bg-orb.c {
  width: min(28vw, 280px);
  height: min(28vw, 280px);
  background: rgba(14, 165, 233, 0.22);
  top: 45%;
  right: 20%;
  animation-delay: -11s;
}
@keyframes orb-float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(3%, -4%) scale(1.05); }
  66% { transform: translate(-4%, 2%) scale(0.97); }
}

/* Fine grid + grain */
.bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(10, 37, 64, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(10, 37, 64, 0.03) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, black, transparent 75%);
  animation: grid-shift 40s linear infinite;
  opacity: 0.7;
}
@keyframes grid-shift {
  from { background-position: 0 0; }
  to { background-position: 64px 64px; }
}
.bg-noise {
  position: absolute;
  inset: 0;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  pointer-events: none;
}

a { color: var(--accent); text-decoration: none; transition: color .2s var(--ease), opacity .2s, transform .2s var(--ease-out); }
a:hover { color: #4f46e5; }
img { max-width: 100%; display: block; }
.container { max-width: 1120px; margin: 0 auto; padding: 0 1.5rem; }

/* Reveal on scroll */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}
.reveal.visible {
  opacity: 1;
  transform: none;
}
.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.24s; }
.reveal-delay-4 { transition-delay: 0.32s; }

/* Liquid glass */
.glass {
  background: var(--bg-glass);
  backdrop-filter: blur(var(--glass-blur)) saturate(180%);
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255, 255, 255, 0.9);
  border-radius: var(--radius);
  position: relative;
}

/* —— Floating capsule nav + Liquid Glass —— */
.nav {
  position: fixed;
  top: var(--nav-inset);
  left: 50%;
  transform: translateX(-50%);
  z-index: 100;
  width: min(1080px, calc(100% - 28px));
  height: var(--nav-h);
  display: flex;
  align-items: center;
  padding: 0;
  /* Liquid glass capsule — higher transparency */
  background: linear-gradient(
    155deg,
    rgba(255, 255, 255, 0.42) 0%,
    rgba(255, 255, 255, 0.22) 48%,
    rgba(255, 255, 255, 0.32) 100%
  );
  backdrop-filter: blur(32px) saturate(210%);
  -webkit-backdrop-filter: blur(32px) saturate(210%);
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 999px;
  box-shadow:
    0 2px 4px rgba(10, 37, 64, 0.025),
    0 14px 44px rgba(10, 37, 64, 0.06),
    0 0 0 1px rgba(10, 37, 64, 0.025),
    inset 0 1px 0 rgba(255, 255, 255, 0.75),
    inset 0 -1px 0 rgba(10, 37, 64, 0.02);
  transition: box-shadow 0.35s var(--ease), transform 0.35s var(--ease-out), background 0.35s, border-color 0.35s;
}
.nav::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(
    125deg,
    rgba(255, 255, 255, 0.55) 0%,
    rgba(255, 255, 255, 0.08) 40%,
    transparent 60%
  );
  opacity: 0.85;
}
.nav.is-scrolled {
  background: linear-gradient(
    155deg,
    rgba(255, 255, 255, 0.52) 0%,
    rgba(255, 255, 255, 0.32) 100%
  );
  border-color: rgba(255, 255, 255, 0.62);
  box-shadow:
    0 4px 10px rgba(10, 37, 64, 0.035),
    0 18px 50px rgba(10, 37, 64, 0.08),
    0 0 0 1px rgba(10, 37, 64, 0.03),
    inset 0 1px 0 rgba(255, 255, 255, 0.85);
}
/* Reserve space so content isn't under fixed capsule */
body {
  padding-top: calc(var(--nav-inset) + var(--nav-h) + 8px);
}
.nav-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: 100%;
  gap: .75rem;
  padding: 0 .55rem 0 1rem;
}
.logo {
  display: flex;
  align-items: center;
  gap: .55rem;
  font-weight: 650;
  font-size: 1rem;
  color: var(--text);
  letter-spacing: -0.03em;
  flex-shrink: 0;
  padding: .25rem 0;
}
.logo:hover { color: var(--text); }
.logo img.logo-mark,
.logo svg.logo-mark,
.logo svg {
  width: 30px;
  height: 30px;
  flex-shrink: 0;
  border-radius: 9px;
  display: block;
}
.logo-word {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
  gap: 0.08rem;
}
.logo-word strong {
  font-weight: 700;
  font-size: 0.98rem;
  letter-spacing: -0.04em;
  color: var(--text);
}
.logo-word small {
  font-weight: 500;
  font-size: 0.62rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}
.logo span {
  font-weight: 500;
  color: var(--muted);
  font-size: .78rem;
  letter-spacing: -0.01em;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: .1rem;
  list-style: none;
  margin: 0;
  padding: 0 .15rem;
}
.nav-links a {
  color: var(--text-secondary);
  font-size: .84rem;
  font-weight: 500;
  padding: .42rem .72rem;
  border-radius: 999px;
  letter-spacing: -0.01em;
  white-space: nowrap;
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--text);
  background: rgba(10, 37, 64, 0.06);
}
.nav-cta {
  margin-left: .25rem !important;
  background: var(--text) !important;
  color: #fff !important;
  padding: .48rem 1rem !important;
  border-radius: 999px !important;
  font-weight: 560 !important;
  font-size: .82rem !important;
  box-shadow:
    0 2px 8px rgba(10, 37, 64, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
}
.nav-cta:hover {
  color: #fff !important;
  background: #1a3a5c !important;
  transform: scale(1.03);
}
.menu-btn {
  display: none;
  position: relative;
  z-index: 2;
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 999px;
  color: var(--text);
  cursor: pointer;
  width: 40px;
  height: 40px;
  font-size: 1.05rem;
  box-shadow: inset 0 1px 0 #fff;
  flex-shrink: 0;
  margin-right: .15rem;
}

/* —— Hero globe stage —— */
.hero-globe-stage {
  position: relative;
  min-height: min(78vh, 700px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 1.25rem 0 1.5rem;
  overflow: hidden;
}
#network-globe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  opacity: 0;
  transition: opacity 1.1s var(--ease-out);
  pointer-events: auto;
  cursor: grab;
}
#network-globe:active { cursor: grabbing; }
#network-globe.globe-ready { opacity: 1; }
#network-globe canvas {
  outline: none;
  display: block;
  margin: 0 auto;
}
.hero-globe-fade {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(ellipse 55% 50% at 50% 48%, transparent 20%, rgba(246, 249, 252, 0.35) 55%, rgba(246, 249, 252, 0.88) 100%),
    linear-gradient(180deg, rgba(246, 249, 252, 0.55) 0%, transparent 22%, transparent 70%, rgba(246, 249, 252, 0.92) 100%);
  opacity: 1;
  transition: opacity 0.35s var(--ease-out);
}
.hero-globe-copy {
  position: relative;
  z-index: 2;
  text-align: center;
  width: min(920px, calc(100% - 2rem));
  margin: 1.25rem auto 0;
  padding: 1.75rem 1.75rem 1.85rem;
  pointer-events: none;
  /* Frosted glass — cool indigo tint over the globe */
  background: linear-gradient(
    145deg,
    rgba(238, 242, 255, 0.52) 0%,
    rgba(224, 231, 255, 0.28) 42%,
    rgba(239, 246, 255, 0.38) 100%
  );
  backdrop-filter: blur(30px) saturate(190%);
  -webkit-backdrop-filter: blur(30px) saturate(190%);
  border: 1px solid rgba(199, 210, 254, 0.55);
  border-radius: 28px;
  box-shadow:
    0 12px 40px rgba(67, 56, 202, 0.08),
    0 0 0 1px rgba(99, 91, 255, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.75),
    inset 0 -1px 0 rgba(99, 91, 255, 0.04);
  opacity: 1;
  transform: translateY(0) scale(1);
  transition:
    opacity 0.35s var(--ease-out),
    transform 0.4s var(--ease-out),
    filter 0.35s var(--ease-out);
}
.hero-globe-copy .hero-actions,
.hero-globe-copy .hero-badge,
.hero-globe-copy a {
  pointer-events: auto;
}
.hero-globe-caption {
  position: relative;
  z-index: 2;
  margin-top: auto;
  padding: 0.5rem 1rem 0;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
  text-align: center;
  opacity: 1;
  transition: opacity 0.3s var(--ease-out), transform 0.35s var(--ease-out);
}
.hero-globe-caption span {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  background: rgba(238, 242, 255, 0.45);
  border: 1px solid rgba(199, 210, 254, 0.5);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
  color: #5b6478;
}

/* Dragging globe: hide glass + title chrome */
.hero-globe-stage.is-dragging .hero-globe-copy,
.hero-globe-stage.is-dragging .hero-globe-fade,
.hero-globe-stage.is-dragging .hero-globe-caption {
  opacity: 0;
  pointer-events: none;
}
.hero-globe-stage.is-dragging .hero-globe-copy {
  transform: translateY(12px) scale(0.98);
  filter: blur(6px);
}
.hero-globe-stage.is-dragging .hero-globe-caption {
  transform: translateY(8px);
}
.hero-globe-stage.is-dragging #network-globe {
  cursor: grabbing;
}

/* —— Hero (Apple product + Stripe headline) —— */
.hero {
  padding: 0 0 3.5rem;
  text-align: center;
  position: relative;
}
.hero .container { position: relative; z-index: 1; }
.hero-globe-stage .hero-lead {
  color: #5c6b7f;
  text-shadow: none;
}
.hero-globe-stage h1 {
  color: #0b1b33;
  text-shadow: none;
}
.hero-globe-copy .hero-lead strong {
  color: #4338ca;
  font-weight: 650;
}
.hero-globe-copy .hero-badge {
  background: rgba(255, 255, 255, 0.45);
  border-color: rgba(199, 210, 254, 0.55);
  color: #5b6478;
}
.hero-badge .badge-sep {
  opacity: 0.45;
  margin: 0 0.15rem;
}

/* —— Home layout: tighter, POP-aware —— */
.home-hero { padding-bottom: 0.5rem; }
.home-live {
  padding: 0.5rem 0 2.5rem;
}
.live-strip {
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(22px) saturate(170%);
  -webkit-backdrop-filter: blur(22px) saturate(170%);
  border: 1px solid rgba(255, 255, 255, 0.88);
  border-radius: 24px;
  padding: 1.35rem 1.4rem 1.15rem;
  box-shadow: var(--shadow-lg), inset 0 1px 0 #fff;
}
.live-strip-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.15rem;
  flex-wrap: wrap;
}
.live-strip-title {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--text);
  margin-top: 0.25rem;
}
.live-strip-meta {
  font-size: 0.8rem;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}
.live-kpis {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0.65rem;
}
.live-kpi {
  background: rgba(246, 249, 252, 0.85);
  border: 1px solid rgba(10, 37, 64, 0.05);
  border-radius: 16px;
  padding: 0.9rem 0.85rem;
  text-align: left;
}
.live-kpi-val {
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.035em;
  color: var(--text);
  font-variant-numeric: tabular-nums;
  line-height: 1.15;
}
.live-kpi-lbl {
  font-size: 0.72rem;
  color: var(--muted);
  margin-top: 0.3rem;
  font-weight: 500;
}
.live-kpi-chart {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 88px;
}
.chart-bars-sm {
  height: 48px;
  gap: 4px;
  padding-top: 0;
}
.chart-bars-sm span {
  border-radius: 3px 3px 1px 1px;
  animation: none;
}
.live-note {
  margin-top: 0.85rem;
  font-size: 0.78rem;
  color: var(--muted);
  line-height: 1.45;
}
.live-note code {
  font-family: var(--mono);
  font-size: 0.85em;
  background: rgba(10, 37, 64, 0.05);
  padding: 0.1rem 0.35rem;
  border-radius: 5px;
}

.home-capabilities { margin-top: 1.75rem; }
.home-steps-section {
  background: rgba(255, 255, 255, 0.35);
  border-top: 1px solid rgba(255, 255, 255, 0.7);
  border-bottom: 1px solid rgba(10, 37, 64, 0.04);
}
.home-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 1.75rem;
}
.home-step .step-num {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--accent);
  background: var(--accent-soft);
  margin-bottom: 0.85rem;
}
.home-step h3 {
  font-size: 1.05rem;
  margin-bottom: 0.4rem;
}
.code-block-sm {
  margin-top: 0.9rem;
  padding: 0.85rem 1rem;
  font-size: 0.72rem;
  border-radius: 14px;
  line-height: 1.55;
}
.home-inline-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.75rem;
}
.home-pops { margin-top: 1.5rem; }
.pop-item.pop-here {
  border-color: rgba(99, 91, 255, 0.35);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.95), rgba(245, 243, 255, 0.9));
  box-shadow: 0 4px 16px rgba(99, 91, 255, 0.1), inset 0 1px 0 #fff;
}
.pop-item.pop-here .ms {
  color: var(--accent);
  font-weight: 600;
}
.home-more-pops {
  margin-top: 1rem;
  font-size: 0.9rem;
  font-weight: 600;
}
.home-ops {
  padding-top: 2.5rem;
  padding-bottom: 2.5rem;
}
.home-ops-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.home-api-list {
  list-style: none;
  margin: 0.75rem 0 1rem;
  padding: 0;
}
.home-api-list li {
  font-size: 0.88rem;
  color: var(--text-secondary);
  padding: 0.35rem 0;
  font-family: var(--mono);
  font-size: 0.8rem;
}

@media (max-width: 960px) {
  .live-kpis { grid-template-columns: repeat(3, 1fr); }
  .home-steps, .home-ops-grid { grid-template-columns: 1fr; }
  .home-capabilities { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .live-kpis { grid-template-columns: 1fr 1fr; }
  .live-kpi-chart { grid-column: 1 / -1; }
  .hero-globe-stage { min-height: min(78vh, 640px); }
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .4rem .9rem .4rem .55rem;
  border-radius: 980px;
  font-size: .8rem;
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: 1.75rem;
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 2px 12px rgba(10, 37, 64, 0.04), inset 0 1px 0 #fff;
  backdrop-filter: blur(16px);
  letter-spacing: -0.01em;
}
.hero-badge .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 3px rgba(12, 206, 107, 0.2);
  animation: pulse-dot 2.2s ease infinite;
}
@keyframes pulse-dot {
  0%, 100% { box-shadow: 0 0 0 3px rgba(12, 206, 107, 0.2); }
  50% { box-shadow: 0 0 0 7px rgba(12, 206, 107, 0.06); }
}
.hero-badge a { font-weight: 600; color: var(--accent); }
.hero h1 {
  font-size: clamp(2.6rem, 6.5vw, 4.25rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.045em;
  max-width: 900px;
  margin: 0 auto;
  color: var(--text);
}
.hero h1 em {
  font-style: normal;
  background: linear-gradient(105deg, #635bff 0%, #0073e6 50%, #00d4ff 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: gradient-shift 8s ease infinite;
}
@keyframes gradient-shift {
  0%, 100% { background-position: 0% center; }
  50% { background-position: 100% center; }
}
.hero-lead {
  color: var(--muted);
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  max-width: 560px;
  margin: 1.35rem auto 0;
  line-height: 1.55;
  font-weight: 400;
  letter-spacing: -0.015em;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-top: 2rem;
  justify-content: center;
}

/* Buttons — Stripe / Apple hybrid */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .4rem;
  padding: .85rem 1.45rem;
  border-radius: 980px;
  font-size: .95rem;
  font-weight: 560;
  border: none;
  cursor: pointer;
  transition: transform .25s var(--ease-out), box-shadow .25s, background .2s, color .2s;
  font-family: inherit;
  letter-spacing: -0.015em;
}
.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 4px 14px rgba(99, 91, 255, 0.35);
}
.btn-primary:hover {
  color: #fff;
  background: #5248e5;
  transform: scale(1.03);
  box-shadow: 0 8px 24px rgba(99, 91, 255, 0.4);
}
.btn-ghost {
  background: rgba(255, 255, 255, 0.85);
  color: var(--accent);
  border: 1px solid rgba(99, 91, 255, 0.15);
  box-shadow: 0 1px 2px rgba(10, 37, 64, 0.04), inset 0 1px 0 #fff;
}
.btn-ghost:hover {
  color: var(--accent);
  background: #fff;
  transform: scale(1.02);
}
.btn-dark {
  background: var(--text);
  color: #fff;
}
.btn-dark:hover { color: #fff; background: #1a3a5c; transform: scale(1.03); }

/* Hero product glass panel */
.hero-visual {
  margin: 3.5rem auto 0;
  max-width: 960px;
  position: relative;
}
.hero-panel {
  background: rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(32px) saturate(180%);
  -webkit-backdrop-filter: blur(32px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: 28px;
  box-shadow:
    0 2px 4px rgba(10, 37, 64, 0.03),
    0 24px 64px rgba(10, 37, 64, 0.1),
    0 48px 100px rgba(99, 91, 255, 0.08),
    inset 0 1px 0 #fff;
  overflow: hidden;
  padding: 0;
}
.hero-panel-bar {
  display: flex;
  align-items: center;
  gap: .4rem;
  padding: .85rem 1.15rem;
  border-bottom: 1px solid rgba(10, 37, 64, 0.06);
  background: rgba(255, 255, 255, 0.5);
}
.hero-panel-bar .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #e2e8f0;
}
.hero-panel-bar .dot:nth-child(1) { background: #ff5f57; }
.hero-panel-bar .dot:nth-child(2) { background: #febc2e; }
.hero-panel-bar .dot:nth-child(3) { background: #28c840; }
.hero-panel-bar .url {
  margin-left: .75rem;
  flex: 1;
  font-size: .75rem;
  font-family: var(--mono);
  color: var(--muted);
  background: rgba(10, 37, 64, 0.04);
  border-radius: 8px;
  padding: .35rem .75rem;
  text-align: left;
}
.hero-panel-body {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  min-height: 280px;
}
.hero-metrics {
  padding: 1.75rem 1.5rem;
  border-right: 1px solid rgba(10, 37, 64, 0.06);
  text-align: left;
}
.hero-metrics h3 {
  font-size: .75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  margin-bottom: 1.25rem;
}
.metric-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: .65rem 0;
  border-bottom: 1px solid rgba(10, 37, 64, 0.05);
}
.metric-row .k { font-size: .9rem; color: var(--text-secondary); font-weight: 500; }
.metric-row .v {
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
  color: var(--text);
}
.metric-row .v.up { color: #0cce6b; }
.hero-chart {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: .5rem;
  background: linear-gradient(165deg, rgba(99, 91, 255, 0.04), transparent 60%);
}
.chart-bars {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 140px;
  padding-top: 1rem;
}
.chart-bars span {
  flex: 1;
  border-radius: 6px 6px 2px 2px;
  background: linear-gradient(180deg, #635bff, #0073e6);
  opacity: 0.85;
  animation: bar-grow 1.4s var(--ease-out) backwards;
  min-height: 12%;
}
@keyframes bar-grow {
  from { transform: scaleY(0); transform-origin: bottom; opacity: 0; }
  to { transform: scaleY(1); opacity: 0.85; }
}
.chart-label {
  font-size: .7rem;
  color: var(--muted);
  text-align: left;
  font-weight: 500;
}

/* Stats strip */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 3rem;
  padding: 1.5rem 0.5rem;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 24px;
  box-shadow: var(--shadow-lg), inset 0 1px 0 #fff;
}
.stat-item {
  text-align: center;
  padding: .75rem 1rem;
  position: relative;
}
.stat-item:not(:last-child)::after {
  content: "";
  position: absolute;
  right: 0;
  top: 22%;
  height: 56%;
  width: 1px;
  background: linear-gradient(180deg, transparent, rgba(10, 37, 64, 0.1), transparent);
}
.stat-item .val {
  font-size: clamp(1.55rem, 3vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  color: var(--text);
  font-variant-numeric: tabular-nums;
}
.stat-item .lbl {
  font-size: .78rem;
  color: var(--muted);
  margin-top: .3rem;
  font-weight: 500;
  letter-spacing: -0.01em;
}

/* Sections */
section { padding: 5rem 0; }
.section-label {
  display: inline-block;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--accent);
  margin-bottom: .85rem;
}
.section-title {
  font-size: clamp(1.85rem, 3.8vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.12;
  color: var(--text);
  max-width: 640px;
}
.section-desc {
  color: var(--muted);
  font-size: 1.1rem;
  max-width: 520px;
  margin-top: .9rem;
  line-height: 1.55;
  letter-spacing: -0.01em;
}
.section-center { text-align: center; }
.section-center .section-title,
.section-center .section-desc { margin-left: auto; margin-right: auto; }

/* Bento / cards — Stripe product grid */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 2.5rem;
}
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 2.5rem;
}
.bento {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  grid-template-rows: auto auto;
  gap: 1rem;
  margin-top: 2.5rem;
}
.bento .card.wide { grid-column: 1 / -1; }
.bento .card.tall { grid-row: span 2; }

.card {
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 24px;
  padding: 1.75rem 1.6rem;
  box-shadow: var(--shadow), inset 0 1px 0 #fff;
  transition: transform .35s var(--ease-out), box-shadow .35s;
  position: relative;
  overflow: hidden;
  text-align: left;
}
.card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: radial-gradient(600px circle at var(--mx, 50%) var(--my, 0%), rgba(255, 255, 255, 0.5), transparent 40%);
  opacity: 0;
  transition: opacity .3s;
}
.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg), inset 0 1px 0 #fff;
}
.card:hover::after { opacity: 1; }
.card-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  font-size: 1.15rem;
  margin-bottom: 1.1rem;
  background: linear-gradient(145deg, rgba(99, 91, 255, 0.12), rgba(0, 115, 230, 0.08));
  border: 1px solid rgba(99, 91, 255, 0.08);
  color: var(--accent);
  font-weight: 600;
}
.card h3 {
  font-size: 1.15rem;
  font-weight: 650;
  letter-spacing: -0.03em;
  margin-bottom: .5rem;
  color: var(--text);
}
.card p {
  font-size: .95rem;
  color: var(--muted);
  line-height: 1.55;
  letter-spacing: -0.01em;
}
.card .card-link {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  margin-top: 1rem;
  font-size: .9rem;
  font-weight: 600;
  color: var(--accent);
}

/* Feature rows Apple-style */
.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  margin-top: 4rem;
}
.feature-row.reverse { direction: rtl; }
.feature-row.reverse > * { direction: ltr; }
.feature-copy h3 {
  font-size: clamp(1.5rem, 2.5vw, 1.85rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.2;
  margin-bottom: .85rem;
  color: var(--text);
}
.feature-copy p {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.55;
  letter-spacing: -0.01em;
}
.feature-copy ul {
  list-style: none;
  margin-top: 1.25rem;
}
.feature-copy li {
  padding: .45rem 0 .45rem 1.5rem;
  position: relative;
  color: var(--text-secondary);
  font-size: .95rem;
  font-weight: 500;
}
.feature-copy li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.75rem;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 3px rgba(99, 91, 255, 0.15);
}
.feature-visual {
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 24px;
  padding: 2rem;
  box-shadow: var(--shadow-lg), inset 0 1px 0 #fff;
  backdrop-filter: blur(16px);
  min-height: 260px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.feature-visual .flow-anim {
  width: 100%;
  max-width: 320px;
}
.flow-line {
  height: 4px;
  border-radius: 4px;
  background: linear-gradient(90deg, transparent, #635bff, #0073e6, transparent);
  background-size: 200% 100%;
  animation: flow 2.5s linear infinite;
  margin: 1rem 0;
  opacity: 0.7;
}
@keyframes flow {
  from { background-position: 100% 0; }
  to { background-position: -100% 0; }
}
.node-pills {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  justify-content: center;
}
.node-pills span {
  font-size: .75rem;
  font-weight: 600;
  font-family: var(--mono);
  padding: .4rem .7rem;
  border-radius: 8px;
  background: rgba(99, 91, 255, 0.08);
  color: var(--accent);
  animation: pill-pulse 3s ease-in-out infinite;
}
.node-pills span:nth-child(2) { animation-delay: .4s; }
.node-pills span:nth-child(3) { animation-delay: .8s; }
.node-pills span:nth-child(4) { animation-delay: 1.2s; }
@keyframes pill-pulse {
  0%, 100% { opacity: 0.7; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.04); }
}

/* POP network */
.pop-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: .75rem;
  margin-top: 2.25rem;
}
.pop-item {
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 16px;
  padding: 1.15rem 1rem;
  box-shadow: var(--shadow), inset 0 1px 0 #fff;
  transition: transform .25s var(--ease-out), border-color .2s;
  text-align: left;
}
.pop-item:hover {
  transform: translateY(-3px);
  border-color: rgba(99, 91, 255, 0.25);
}
.pop-item .code {
  font-family: var(--mono);
  font-size: .72rem;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.04em;
}
.pop-item .loc {
  font-size: .92rem;
  font-weight: 600;
  color: var(--text);
  margin-top: .25rem;
  letter-spacing: -0.02em;
}
.pop-item .ms {
  font-size: .75rem;
  color: var(--muted);
  margin-top: .2rem;
  font-variant-numeric: tabular-nums;
}

/* Code block */
.code-block {
  margin-top: 2rem;
  background: #0a2540;
  color: #e6edf5;
  border-radius: 20px;
  padding: 1.6rem 1.75rem;
  font-family: var(--mono);
  font-size: .84rem;
  line-height: 1.75;
  overflow-x: auto;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(10, 37, 64, 0.3);
  white-space: pre-wrap;
  text-align: left;
}
.code-block .cm { color: #7c8da6; }
.code-block .kw { color: #7dd3fc; }
.code-block .str { color: #86efac; }

/* Logos */
.logos {
  display: flex;
  flex-wrap: wrap;
  gap: .65rem;
  justify-content: center;
}
.logo-pill {
  padding: .7rem 1.2rem;
  border-radius: 980px;
  font-size: .88rem;
  font-weight: 600;
  color: var(--text-secondary);
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.95);
  box-shadow: 0 1px 3px rgba(10, 37, 64, 0.04), inset 0 1px 0 #fff;
  letter-spacing: -0.02em;
  transition: transform .2s, color .2s;
}
.logo-pill:hover {
  transform: translateY(-2px);
  color: var(--text);
}

/* Quote / social proof */
.quotes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 2.5rem;
}
.quote-card {
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 24px;
  padding: 1.75rem;
  box-shadow: var(--shadow), inset 0 1px 0 #fff;
  backdrop-filter: blur(16px);
  text-align: left;
}
.quote-card blockquote {
  font-size: 1.1rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.45;
  color: var(--text);
  margin-bottom: 1.25rem;
}
.quote-card .who {
  display: flex;
  align-items: center;
  gap: .75rem;
}
.quote-card .avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, #635bff, #0073e6);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: .85rem;
}
.quote-card .name { font-weight: 600; font-size: .9rem; color: var(--text); }
.quote-card .role { font-size: .8rem; color: var(--muted); }

/* CTA band */
.cta-band {
  margin: 2rem 0 0;
  padding: 4.5rem 0;
  position: relative;
}
.cta-inner {
  background: linear-gradient(135deg, #0a2540 0%, #1a1a4e 50%, #635bff 130%);
  border-radius: 28px;
  padding: 3.5rem 2.5rem;
  text-align: center;
  color: #fff;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}
.cta-inner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 80% at 80% 20%, rgba(99, 91, 255, 0.45), transparent 55%);
  pointer-events: none;
  animation: cta-glow 8s ease-in-out infinite alternate;
}
@keyframes cta-glow {
  from { opacity: 0.7; transform: scale(1); }
  to { opacity: 1; transform: scale(1.08); }
}
.cta-inner h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  position: relative;
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.15;
}
.cta-inner p {
  color: rgba(255, 255, 255, 0.72);
  margin: 1rem auto 1.75rem;
  max-width: 420px;
  position: relative;
  font-size: 1.05rem;
}
.cta-inner .btn-primary {
  position: relative;
  background: #fff;
  color: var(--text);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}
.cta-inner .btn-primary:hover {
  background: #f0f4fa;
  color: var(--text);
}

/* Glass band */
.glass-band {
  padding: 4.5rem 0;
  background: rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(12px);
  border-top: 1px solid rgba(255, 255, 255, 0.8);
  border-bottom: 1px solid rgba(10, 37, 64, 0.04);
}

/* Pricing */
.price-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 2.5rem;
  align-items: stretch;
}
.price-card {
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(22px);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 24px;
  padding: 2rem 1.65rem;
  box-shadow: var(--shadow), inset 0 1px 0 #fff;
  position: relative;
  display: flex;
  flex-direction: column;
  text-align: left;
  transition: transform .3s var(--ease-out);
}
.price-card:hover { transform: translateY(-4px); }
.price-card.featured {
  background: linear-gradient(165deg, #fff 0%, #f5f3ff 100%);
  border: 1px solid rgba(99, 91, 255, 0.25);
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(99, 91, 255, 0.08), inset 0 1px 0 #fff;
}
.price-card .tag {
  position: absolute;
  top: 1.15rem;
  right: 1.15rem;
  font-size: .68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--accent);
  background: var(--accent-soft);
  padding: .3rem .65rem;
  border-radius: 980px;
}
.price-card h3 {
  font-size: 1.1rem;
  font-weight: 650;
  letter-spacing: -0.02em;
}
.price-card .price {
  font-size: 2.75rem;
  font-weight: 700;
  letter-spacing: -0.045em;
  margin: 1.1rem 0 .2rem;
  color: var(--text);
  font-variant-numeric: tabular-nums;
}
.price-card .price span {
  font-size: .95rem;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0;
}
.price-card .desc {
  color: var(--muted);
  font-size: .9rem;
  margin-bottom: 1.35rem;
}
.price-card ul {
  list-style: none;
  flex: 1;
  margin-bottom: 1.5rem;
}
.price-card li {
  font-size: .9rem;
  color: var(--text-secondary);
  padding: .4rem 0;
  padding-left: 1.35rem;
  position: relative;
  font-weight: 500;
}
.price-card li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
  font-size: .8rem;
}

/* Docs */
.doc-layout {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 2.5rem;
  margin-top: 2.25rem;
}
.doc-nav {
  position: sticky;
  top: calc(var(--nav-h) + 1.25rem);
  align-self: start;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 18px;
  padding: 1rem;
  box-shadow: var(--shadow), inset 0 1px 0 #fff;
}
.doc-nav a {
  display: block;
  padding: .45rem .65rem;
  border-radius: 10px;
  font-size: .875rem;
  font-weight: 500;
  color: var(--muted);
}
.doc-nav a:hover { background: rgba(10, 37, 64, 0.04); color: var(--text); }
.doc-content h2 {
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin: 2.25rem 0 .75rem;
  color: var(--text);
}
.doc-content h2:first-child { margin-top: 0; }
.doc-content p, .doc-content li {
  color: var(--muted);
  font-size: .98rem;
  margin-bottom: .75rem;
  letter-spacing: -0.01em;
}
.doc-content ul { padding-left: 1.25rem; margin-bottom: 1rem; }
.doc-content code {
  font-family: var(--mono);
  font-size: .85em;
  background: rgba(10, 37, 64, 0.05);
  padding: .15rem .4rem;
  border-radius: 6px;
  color: var(--text);
}

/* Status */
.status-banner {
  background: linear-gradient(135deg, rgba(12, 206, 107, 0.1), rgba(99, 91, 255, 0.06));
  border: 1px solid rgba(12, 206, 107, 0.18);
  border-radius: 20px;
  padding: 1.65rem 1.5rem;
  margin: 1.5rem 0 2rem;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(12px);
  text-align: left;
}
.status-banner.degraded {
  background: linear-gradient(135deg, rgba(245, 166, 35, 0.12), rgba(223, 27, 65, 0.05));
  border-color: rgba(245, 166, 35, 0.25);
}
.status-banner h2 {
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--text);
}
.status-banner p { color: var(--muted); margin-top: .35rem; font-size: .95rem; }
.status-row {
  display: grid;
  grid-template-columns: 1fr auto auto auto;
  gap: 1rem;
  align-items: center;
  padding: 1rem 1.15rem;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.95);
  border-radius: 14px;
  margin-bottom: .5rem;
  box-shadow: 0 1px 3px rgba(10, 37, 64, 0.03), inset 0 1px 0 #fff;
  backdrop-filter: blur(12px);
  text-align: left;
}
.status-row .svc { font-weight: 600; font-size: .92rem; color: var(--text); letter-spacing: -0.01em; }
.status-row .region { font-size: .78rem; color: var(--muted); margin-top: .1rem; }
.badge {
  font-size: .7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: .3rem .65rem;
  border-radius: 980px;
}
.badge-ok { background: rgba(12, 206, 107, 0.12); color: #059669; }
.badge-warn { background: rgba(245, 166, 35, 0.15); color: #c27803; }
.latency, .uptime-val {
  font-family: var(--mono);
  font-size: .78rem;
  color: var(--muted);
}

/* Contact form */
.form-card {
  max-width: 480px;
  margin-top: 2rem;
  padding: 1.85rem;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(22px);
  border: 1px solid rgba(255, 255, 255, 0.95);
  border-radius: 24px;
  box-shadow: var(--shadow-lg), inset 0 1px 0 #fff;
  text-align: left;
}
.form-group { margin-bottom: 1.1rem; }
.form-group label {
  display: block;
  font-size: .85rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: .4rem;
  letter-spacing: -0.01em;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: .8rem 1rem;
  border-radius: 12px;
  border: 1px solid var(--border-strong);
  background: rgba(255, 255, 255, 0.95);
  font-family: inherit;
  font-size: .95rem;
  color: var(--text);
  transition: border-color .2s, box-shadow .2s;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: rgba(99, 91, 255, 0.5);
  box-shadow: 0 0 0 4px rgba(99, 91, 255, 0.12);
}

/* Footer */
.footer {
  margin-top: 2rem;
  padding: 3.5rem 0 2rem;
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(16px);
  border-top: 1px solid rgba(10, 37, 64, 0.05);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2.5rem;
  text-align: left;
}
.footer h4 {
  font-size: .75rem;
  font-weight: 650;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text);
  margin-bottom: .85rem;
}
.footer ul { list-style: none; }
.footer li { margin-bottom: .45rem; }
.footer a { color: var(--muted); font-size: .9rem; font-weight: 500; }
.footer a:hover { color: var(--accent); }
.footer .copy {
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  font-size: .8rem;
  color: var(--muted);
  text-align: left;
}
.footer .copy a { color: var(--muted); }

/* Responsive */
@media (max-width: 960px) {
  .grid-3, .price-grid { grid-template-columns: 1fr 1fr; }
  .pop-grid { grid-template-columns: repeat(3, 1fr); }
  .stats-bar { grid-template-columns: 1fr 1fr; }
  .stat-item:nth-child(2)::after { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .doc-layout { grid-template-columns: 1fr; }
  .feature-row, .feature-row.reverse, .hero-panel-body, .quotes, .bento, .grid-2 {
    grid-template-columns: 1fr;
    direction: ltr;
  }
  .hero-panel-body { min-height: auto; }
  .hero-metrics { border-right: none; border-bottom: 1px solid rgba(10, 37, 64, 0.06); }
  .hero { text-align: left; }
  .hero h1, .hero-lead { margin-left: 0; }
  .hero-actions { justify-content: flex-start; }
  .section-center { text-align: left; }
  .section-center .section-title,
  .section-center .section-desc { margin-left: 0; margin-right: 0; }
  .logos { justify-content: flex-start; }
}
@media (max-width: 720px) {
  .nav {
    width: calc(100% - 20px);
    top: 10px;
    border-radius: 999px;
  }
  .nav-inner { padding: 0 .4rem 0 .85rem; }
  .logo-word small { display: none; }
  .nav-links {
    display: none;
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: .2rem;
    padding: .85rem;
    background: linear-gradient(
      160deg,
      rgba(255, 255, 255, 0.9) 0%,
      rgba(255, 255, 255, 0.72) 100%
    );
    backdrop-filter: blur(28px) saturate(180%);
    -webkit-backdrop-filter: blur(28px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.85);
    border-radius: 22px;
    box-shadow:
      0 16px 48px rgba(10, 37, 64, 0.12),
      inset 0 1px 0 #fff;
  }
  .nav-links.open { display: flex; }
  .nav-cta { margin-left: 0 !important; text-align: center; }
  .menu-btn { display: flex; align-items: center; justify-content: center; }
  .grid-3, .price-grid, .pop-grid { grid-template-columns: 1fr; }
  .stats-bar { grid-template-columns: 1fr 1fr; }
  .status-row { grid-template-columns: 1fr auto; }
  .status-row .latency, .status-row .uptime-val { display: none; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero { padding: 3rem 0 2.5rem; }
  .cta-inner { padding: 2.5rem 1.5rem; }
}

@media (prefers-reduced-motion: reduce) {
  .bg-mesh, .bg-orb, .bg-grid, .hero h1 em, .chart-bars span,
  .node-pills span, .cta-inner::before, .hero-badge .dot { animation: none !important; }
  .reveal { opacity: 1; transform: none; transition: none; }
}
