/* =============================================================
   Design tokens
============================================================= */
:root {
  /* Color */
  --color-bg: #fafafa;
  --color-surface: #ffffff;
  --color-surface-2: #f4f4f5;
  --color-surface-3: #fafafb;
  --color-surface-inverse: #0a0a0b;
  --color-border: #e4e4e7;
  --color-border-strong: #d4d4d8;

  --color-text: #09090b;
  --color-text-muted: #52525b;
  --color-text-subtle: #71717a;
  --color-text-inverse: #fafafa;
  --color-text-inverse-muted: #a1a1aa;

  --color-primary: #4f46e5;
  --color-primary-hover: #4338ca;
  --color-primary-active: #3730a3;
  --color-primary-soft: #eef2ff;
  --color-primary-fg: #ffffff;

  --color-accent: #06b6d4;
  --color-accent-soft: #ecfeff;

  --color-success: #10b981;
  --color-success-soft: #ecfdf5;

  --color-focus-ring: rgba(79, 70, 229, 0.35);

  /* Typography */
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;

  /* Spacing (4px base) */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-8: 32px;
  --space-10: 40px;
  --space-12: 48px;
  --space-16: 64px;
  --space-20: 80px;
  --space-24: 96px;

  /* Radius */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --radius-xl: 20px;
  --radius-full: 999px;

  /* Shadow */
  --shadow-xs: 0 1px 2px rgba(9, 9, 11, 0.04);
  --shadow-sm: 0 1px 3px rgba(9, 9, 11, 0.06),
    0 1px 2px rgba(9, 9, 11, 0.04);
  --shadow-md: 0 8px 16px -4px rgba(9, 9, 11, 0.06),
    0 2px 4px rgba(9, 9, 11, 0.04);
  --shadow-lg: 0 24px 48px -12px rgba(9, 9, 11, 0.12);

  /* Layout */
  --container-max: 1200px;
  --container-gutter: 24px;
  --header-height: 72px;

  /* Gradient palette — applied by role across the page */
  --gradient-brand: linear-gradient(135deg, #4f46e5 0%, #8b5cf6 50%, #d946ef 100%);
  --gradient-brand-soft: linear-gradient(135deg, #eef2ff 0%, #fae8ff 100%);
  --gradient-cool: linear-gradient(135deg, #06b6d4 0%, #3b82f6 100%);
  --gradient-cool-soft: linear-gradient(135deg, #ecfeff 0%, #eff6ff 100%);
  --gradient-warm: linear-gradient(135deg, #fb923c 0%, #ec4899 100%);
  --gradient-warm-soft: linear-gradient(135deg, #fff7ed 0%, #fce7f3 100%);
  --gradient-mint: linear-gradient(135deg, #10b981 0%, #06b6d4 100%);
  --gradient-mint-soft: linear-gradient(135deg, #ecfdf5 0%, #ecfeff 100%);
  --gradient-sunset: linear-gradient(120deg, #4f46e5 0%, #d946ef 45%, #f97316 100%);
  --gradient-night: linear-gradient(135deg, #0f172a 0%, #1e1b4b 55%, #4338ca 120%);
}

/* =============================================================
   Reset & base
============================================================= */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.5;
  font-feature-settings: "ss01", "cv11";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  /* Reserve space for the mobile sticky CTA */
  padding-bottom: 0;
}

img,
svg {
  display: block;
  max-width: 100%;
}

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

button {
  font-family: inherit;
}

:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
  border-radius: var(--radius-sm);
}

/* Skip link */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  padding: 12px 16px;
  background: var(--color-text);
  color: var(--color-text-inverse);
  border-radius: var(--radius-md);
  font-weight: 600;
  z-index: 100;
}
.skip-link:focus {
  left: 16px;
  top: 16px;
}

/* =============================================================
   Layout
============================================================= */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-gutter);
}

.section {
  padding: var(--space-24) 0;
}
.section--tight {
  padding: var(--space-16) 0;
}

/* =============================================================
   Typography
============================================================= */
h1,
h2,
h3,
h4 {
  margin: 0;
  color: var(--color-text);
  font-weight: 700;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(36px, 5.2vw, 60px);
  line-height: 1.05;
}

h2 {
  font-size: clamp(28px, 3.6vw, 40px);
  line-height: 1.15;
}

h3 {
  font-size: 20px;
  line-height: 1.3;
  font-weight: 600;
  letter-spacing: -0.01em;
}

h4 {
  font-size: 16px;
  line-height: 1.4;
  font-weight: 600;
  letter-spacing: 0;
}

p {
  margin: 0;
  color: var(--color-text-muted);
  line-height: 1.65;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 16px;
  padding: 6px 10px;
  border-radius: var(--radius-full);
  background: var(--color-surface-2);
  color: var(--color-text-subtle);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.eyebrow::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: var(--radius-full);
  background: var(--color-accent);
  box-shadow: 0 0 0 3px var(--color-accent-soft);
}

.lede {
  max-width: 60ch;
  font-size: 18px;
  line-height: 1.6;
  color: var(--color-text-muted);
}

/* =============================================================
   Buttons
============================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 44px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: var(--radius-md);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.005em;
  cursor: pointer;
  transition: background-color 0.15s ease, background-position 0.45s ease,
    border-color 0.15s ease, color 0.15s ease, box-shadow 0.2s ease,
    transform 0.15s ease;
  white-space: nowrap;
}

.btn--primary {
  background-image: linear-gradient(135deg, #4f46e5 0%, #7c3aed 50%, #d946ef 110%);
  background-size: 200% auto;
  background-position: 0% 50%;
  color: var(--color-primary-fg);
  box-shadow: 0 8px 20px -4px rgba(79, 70, 229, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
}
.btn--primary:hover {
  background-position: 100% 50%;
  transform: translateY(-1px);
  box-shadow: 0 14px 28px -6px rgba(124, 58, 237, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
}
.btn--primary:active {
  transform: translateY(0);
  box-shadow: 0 4px 10px -2px rgba(79, 70, 229, 0.35);
}

.btn--secondary {
  background: var(--color-surface);
  color: var(--color-text);
  border-color: var(--color-border);
}
.btn--secondary:hover {
  border-color: var(--color-border-strong);
  background: var(--color-surface-2);
}

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

.btn--inverse {
  background: var(--color-text-inverse);
  color: var(--color-text);
}
.btn--inverse:hover {
  background: #ffffff;
}

.btn--block {
  width: 100%;
}

.btn--lg {
  height: 52px;
  padding: 0 24px;
  font-size: 15px;
}

/* Text link with arrow */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--color-primary);
  font-size: 14px;
  font-weight: 600;
  transition: gap 0.15s ease, color 0.15s ease;
}
.link-arrow:hover {
  gap: 10px;
  color: var(--color-primary-hover);
}

/* =============================================================
   Header
============================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--color-border);
}

.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: var(--header-height);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--color-text);
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: var(--radius-md);
  background-image: var(--gradient-brand);
  color: #ffffff;
  box-shadow: 0 6px 16px -4px rgba(139, 92, 246, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
}
.brand-mark svg {
  width: 18px;
  height: 18px;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}
.brand-text strong {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.brand-text small {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  color: var(--color-text-subtle);
  text-transform: uppercase;
  margin-top: 3px;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}
.primary-nav a {
  padding: 8px 12px;
  border-radius: var(--radius-md);
  color: var(--color-text-muted);
  font-size: 14px;
  font-weight: 500;
  transition: color 0.15s ease, background-color 0.15s ease;
}
.primary-nav a:hover {
  color: var(--color-text);
  background: var(--color-surface-2);
}

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

/* Mobile menu */
.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-surface);
  cursor: pointer;
  list-style: none;
}
.menu-toggle::-webkit-details-marker {
  display: none;
}
.menu-toggle::marker {
  display: none;
}
.menu-toggle-icon {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  gap: 4px;
}
.menu-toggle-icon span {
  display: block;
  width: 18px;
  height: 1.5px;
  background: var(--color-text);
  border-radius: 2px;
}

.mobile-menu {
  position: relative;
  display: none;
}

.mobile-nav {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 220px;
  display: grid;
  gap: 2px;
  padding: 8px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  background: var(--color-surface);
  box-shadow: var(--shadow-lg);
  z-index: 50;
}
.mobile-nav a {
  padding: 10px 12px;
  border-radius: var(--radius-md);
  color: var(--color-text);
  font-size: 14px;
  font-weight: 500;
}
.mobile-nav a:hover {
  background: var(--color-surface-2);
}

/* =============================================================
   Hero
============================================================= */
.hero {
  padding: var(--space-20) 0 var(--space-16);
  position: relative;
  overflow: hidden;
}
.hero::before,
.hero::after {
  content: "";
  position: absolute;
  height: 540px;
  pointer-events: none;
  z-index: 0;
  animation: hero-glow-drift 14s ease-in-out infinite;
}
.hero::before {
  inset: -20% 50% auto -10%;
  background: radial-gradient(
    closest-side,
    rgba(79, 70, 229, 0.16),
    transparent 70%
  );
}
.hero::after {
  inset: auto -10% -25% 45%;
  background: radial-gradient(
    closest-side,
    rgba(236, 72, 153, 0.14),
    transparent 70%
  );
  animation-delay: -7s;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: var(--space-16);
  align-items: center;
}

.hero h1 {
  font-size: clamp(30px, 3.6vw, 44px);
  line-height: 1.12;
  margin-bottom: 18px;
}
.hero .lede {
  margin-bottom: 32px;
}

/* Hero entrance: stagger children */
.hero-copy > .eyebrow,
.hero-copy > h1,
.hero-copy > .lede,
.hero-copy > .hero-actions,
.hero-copy > .trust-row {
  opacity: 0;
  animation: hero-fade-up 0.7s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
.hero-copy > .eyebrow      { animation-delay: 60ms; }
.hero-copy > h1            { animation-delay: 140ms; }
.hero-copy > .lede         { animation-delay: 240ms; }
.hero-copy > .hero-actions { animation-delay: 340ms; }
.hero-copy > .trust-row    { animation-delay: 440ms; }

.hero-card {
  opacity: 0;
  animation: hero-card-in 0.8s cubic-bezier(0.22, 1, 0.36, 1) 220ms forwards;
}

@keyframes hero-fade-up {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes hero-card-in {
  from {
    opacity: 0;
    transform: translateY(20px) scale(0.985);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes hero-glow-drift {
  0%, 100% {
    transform: translate3d(0, 0, 0) scale(1);
    opacity: 1;
  }
  50% {
    transform: translate3d(40px, -16px, 0) scale(1.08);
    opacity: 0.85;
  }
}

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

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.trust-row li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--color-text-muted);
  font-size: 14px;
  font-weight: 500;
}
.trust-row svg {
  flex-shrink: 0;
  color: var(--color-success);
}

/* Hero side card — illustrative support panel */
/* Gradient text accent — sunset palette */
.text-gradient {
  background-image: linear-gradient(
    120deg,
    #4f46e5 0%,
    #d946ef 45%,
    #f97316 80%,
    #d946ef 100%
  );
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  animation: gradient-shift 9s ease-in-out infinite;
}

@keyframes gradient-shift {
  0%, 100% { background-position: 0% 50%; }
  50%      { background-position: 100% 50%; }
}

/* Vibrant hero card — brand gradient */
.hero-card {
  position: relative;
  padding: 32px;
  border-radius: 24px;
  background: var(--gradient-brand);
  border: none;
  color: #ffffff;
  box-shadow: 0 30px 60px -20px rgba(79, 70, 229, 0.45),
    0 12px 30px -10px rgba(217, 70, 239, 0.3);
  isolation: isolate;
}

.hero-card-bg {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}
.hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(4px);
}
.hero-blob--a {
  top: -90px;
  right: -70px;
  width: 260px;
  height: 260px;
  background: radial-gradient(closest-side, rgba(251, 146, 60, 0.45), transparent);
}
.hero-blob--b {
  bottom: -120px;
  left: -60px;
  width: 240px;
  height: 240px;
  background: radial-gradient(closest-side, rgba(6, 182, 212, 0.35), transparent);
}

.hero-card-content {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 16px;
}

.hero-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 4px;
}
.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 10px 5px 8px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #ffffff;
}
.status-dot {
  width: 7px;
  height: 7px;
  border-radius: var(--radius-full);
  background: #34d399;
  box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.6);
  animation: pulse-dot 2.2s ease-out infinite;
}
.status-tag {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.78);
}

.hero-card-title {
  font-size: 26px;
  line-height: 1.18;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.015em;
  margin: 4px 0 0;
}
.hero-card-sub {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.85);
  margin: 0;
}

.hero-card-features {
  list-style: none;
  padding: 0;
  margin: 8px 0 8px;
  display: grid;
  gap: 12px;
}
.hero-card-features li {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #ffffff;
  font-size: 14px;
  font-weight: 500;
}
.hero-card-features li svg {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  padding: 4px;
  background: rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-full);
  color: #ffffff;
}

.hero-card-cta {
  background: #ffffff;
  color: #4338ca;
  font-weight: 600;
  height: 52px;
  box-shadow: 0 8px 20px -6px rgba(0, 0, 0, 0.2);
}
.hero-card-cta:hover {
  background: #f8fafc;
  color: #3730a3;
  transform: translateY(-1px);
}

@keyframes pulse-dot {
  0%   { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.55); }
  70%  { box-shadow: 0 0 0 8px rgba(52, 211, 153, 0); }
  100% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0); }
}

/* Floating decoration badges */
.floating-badge {
  position: absolute;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px 10px 10px;
  background: #ffffff;
  color: var(--color-text);
  border-radius: 14px;
  box-shadow: 0 18px 36px -12px rgba(9, 9, 11, 0.22),
    0 4px 10px -2px rgba(9, 9, 11, 0.08);
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  will-change: transform;
}
.floating-badge .badge-icon {
  width: 28px;
  height: 28px;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.badge-icon--success {
  background: var(--color-success-soft);
  color: var(--color-success);
}
.badge-icon--star {
  background: #fef3c7;
  color: #d97706;
}
.floating-badge--top {
  top: -18px;
  right: -22px;
  animation: float-y 5s ease-in-out infinite;
}
.floating-badge--bottom {
  bottom: -18px;
  left: -28px;
  animation: float-y 5s ease-in-out -2.5s infinite;
}

@keyframes float-y {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-10px); }
}

@media (max-width: 1024px) {
  .floating-badge--top {
    top: -16px;
    right: -8px;
  }
  .floating-badge--bottom {
    bottom: -16px;
    left: -8px;
  }
}
@media (max-width: 640px) {
  .floating-badge { display: none; }
  .hero-card { padding: 24px; }
}

/* =============================================================
   Capabilities (was metrics)
============================================================= */
.capabilities {
  padding-bottom: var(--space-16);
}
.capabilities-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

/* =============================================================
   Generic card
============================================================= */
.card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 24px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  transition: border-color 0.15s ease, box-shadow 0.15s ease,
    transform 0.15s ease;
}
.card:hover {
  border-color: var(--color-border-strong);
  box-shadow: var(--shadow-sm);
}
.card h3 {
  font-size: 18px;
}
.card p {
  font-size: 15px;
  line-height: 1.6;
  flex: 1;
}

.card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  color: #ffffff;
  margin-bottom: 4px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.card-icon svg {
  width: 22px;
  height: 22px;
}
.card:hover .card-icon {
  transform: scale(1.06) rotate(-2deg);
}

/* Icon variants — gradient by role */
.card-icon--brand {
  background: var(--gradient-brand);
  box-shadow: 0 6px 16px -4px rgba(139, 92, 246, 0.45);
}
.card-icon--cool {
  background: var(--gradient-cool);
  box-shadow: 0 6px 16px -4px rgba(59, 130, 246, 0.45);
}
.card-icon--warm {
  background: var(--gradient-warm);
  box-shadow: 0 6px 16px -4px rgba(236, 72, 153, 0.4);
}
.card-icon--mint {
  background: var(--gradient-mint);
  box-shadow: 0 6px 16px -4px rgba(16, 185, 129, 0.4);
}

/* =============================================================
   Section heading
============================================================= */
.section-heading {
  max-width: 720px;
  margin-bottom: 48px;
}
.section-heading h2 {
  margin-bottom: 16px;
}
.section-heading p {
  font-size: 17px;
  line-height: 1.6;
}
.section-heading--center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

/* =============================================================
   About
============================================================= */
.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: var(--space-16);
  align-items: center;
}

.about-copy h2 {
  margin-bottom: 20px;
}
.about-copy p + p {
  margin-top: 16px;
}

.network-illustration {
  position: relative;
  aspect-ratio: 1 / 1;
  max-width: 480px;
  margin-left: auto;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
  padding: 32px;
  overflow: hidden;
}
.network-illustration::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(var(--color-border) 1px, transparent 1px),
    linear-gradient(90deg, var(--color-border) 1px, transparent 1px);
  background-size: 32px 32px;
  opacity: 0.5;
  mask-image: radial-gradient(closest-side, black, transparent 80%);
  -webkit-mask-image: radial-gradient(closest-side, black, transparent 80%);
}
.network-illustration svg {
  position: relative;
  width: 100%;
  height: 100%;
}

/* =============================================================
   Services
============================================================= */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

/* =============================================================
   Highlight
============================================================= */
.highlight-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: 24px;
  align-items: stretch;
}

.highlight-card {
  padding: 40px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
}
.highlight-card h2 {
  margin-bottom: 16px;
}
.highlight-card > p {
  margin-bottom: 24px;
  font-size: 17px;
  line-height: 1.6;
  max-width: 60ch;
}

.check-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 12px;
}
.check-list li {
  position: relative;
  padding-left: 32px;
  color: var(--color-text);
  font-size: 15px;
  line-height: 1.55;
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 2px;
  width: 20px;
  height: 20px;
  border-radius: var(--radius-full);
  background: var(--color-success-soft);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%2310b981'%3E%3Cpath fill-rule='evenodd' d='M16.7 5.3a1 1 0 010 1.4l-7.5 7.5a1 1 0 01-1.4 0L3.3 9.7a1 1 0 011.4-1.4L8.5 12l6.8-6.7a1 1 0 011.4 0z' clip-rule='evenodd'/%3E%3C/svg%3E");
  background-position: center;
  background-repeat: no-repeat;
  background-size: 14px;
}

.cta-card {
  position: relative;
  padding: 40px;
  background: var(--gradient-night);
  color: var(--color-text-inverse);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
  overflow: hidden;
  box-shadow: 0 24px 48px -16px rgba(15, 23, 42, 0.4);
}
.cta-card::before {
  content: "";
  position: absolute;
  top: -80px;
  right: -80px;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(217, 70, 239, 0.35), transparent);
  pointer-events: none;
}
.cta-card::after {
  content: "";
  position: absolute;
  bottom: -100px;
  left: -60px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(6, 182, 212, 0.25), transparent);
  pointer-events: none;
}
.cta-card > * {
  position: relative;
  z-index: 1;
}
.cta-card h3 {
  font-size: 24px;
  color: var(--color-text-inverse);
  margin-bottom: 8px;
}
.cta-card p {
  color: var(--color-text-inverse-muted);
  font-size: 15px;
}

.cta-info {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 14px;
}
.cta-info li {
  display: flex;
  align-items: center;
  gap: 12px;
}
.cta-info-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  flex-shrink: 0;
}
.cta-info small {
  display: block;
  font-size: 11px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.6);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 2px;
}
.cta-info strong {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: #ffffff;
  letter-spacing: -0.005em;
}

/* =============================================================
   FAQ
============================================================= */
.faq {
  background: var(--color-surface-2);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}
.faq-list {
  display: grid;
  gap: 8px;
  max-width: 820px;
  margin: 0 auto;
}
.faq-item {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color 0.15s ease;
}
.faq-item[open] {
  border-color: var(--color-border-strong);
}
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  list-style: none;
  cursor: pointer;
  font-size: 16px;
  font-weight: 600;
  color: var(--color-text);
}
.faq-item summary::-webkit-details-marker {
  display: none;
}
.faq-item summary::after {
  content: "";
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%2371717a'%3E%3Cpath fill-rule='evenodd' d='M5.3 7.3a1 1 0 011.4 0L10 10.6l3.3-3.3a1 1 0 011.4 1.4l-4 4a1 1 0 01-1.4 0l-4-4a1 1 0 010-1.4z' clip-rule='evenodd'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  transition: transform 0.2s ease;
}
.faq-item[open] summary::after {
  transform: rotate(180deg);
}
.faq-item-body {
  padding: 0 24px 20px;
}
.faq-item-body p {
  font-size: 15px;
  line-height: 1.65;
}

/* =============================================================
   Reviews
============================================================= */
.reviews-summary {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 0 auto 40px;
  padding: 10px 18px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-xs);
}
.reviews-summary-wrap {
  display: flex;
  justify-content: center;
}
.review-stars {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  color: #f59e0b;
  flex-shrink: 0;
}
.review-stars svg {
  width: 14px;
  height: 14px;
}
.review-stars--lg svg {
  width: 16px;
  height: 16px;
}
.reviews-summary strong {
  font-size: 14px;
  font-weight: 700;
  color: var(--color-text);
  letter-spacing: -0.005em;
}
.reviews-summary span:not(.review-stars) {
  font-size: 13px;
  color: var(--color-text-muted);
}

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

.review-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 22px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  transition: border-color 0.15s ease, box-shadow 0.2s ease,
    transform 0.2s ease;
}
.review-card:hover {
  border-color: var(--color-border-strong);
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
}
.review-card p {
  margin: 0;
  flex: 1;
  font-size: 14px;
  line-height: 1.6;
  color: var(--color-text);
}

.review-author {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 4px;
  padding-top: 12px;
  border-top: 1px solid var(--color-border);
}
.review-avatar {
  width: 34px;
  height: 34px;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.02em;
  flex-shrink: 0;
}
.review-avatar--brand { background: var(--gradient-brand); }
.review-avatar--cool  { background: var(--gradient-cool); }
.review-avatar--warm  { background: var(--gradient-warm); }
.review-avatar--mint  { background: var(--gradient-mint); }

.review-meta {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}
.review-meta strong {
  font-size: 13px;
  font-weight: 600;
  color: var(--color-text);
}
.review-meta span {
  font-size: 12px;
  color: var(--color-text-subtle);
}

@media (max-width: 1024px) {
  .reviews-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .reviews-grid { grid-template-columns: 1fr; }
}

/* =============================================================
   Disclaimer
============================================================= */
.disclaimer-card {
  position: relative;
  padding: 32px 32px 32px 36px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  display: grid;
  gap: 12px;
  overflow: hidden;
}
.disclaimer-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--gradient-sunset);
}
.disclaimer-card h2 {
  font-size: 18px;
  margin-bottom: 4px;
}
.disclaimer-card p {
  font-size: 13px;
  line-height: 1.6;
}
.disclaimer-card p strong {
  color: var(--color-text);
}

/* =============================================================
   Footer
============================================================= */
.site-footer {
  background: var(--color-surface);
  border-top: 1px solid var(--color-border);
  padding: var(--space-16) 0 var(--space-8);
}
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 2fr) repeat(3, minmax(0, 1fr));
  gap: 48px;
  align-items: start;
  margin-bottom: 48px;
}
.footer-brand {
  margin-bottom: 16px;
}
.footer-brand-block p {
  font-size: 14px;
  line-height: 1.6;
  max-width: 36ch;
}
.footer-column h4 {
  font-size: 13px;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 16px;
  letter-spacing: 0.02em;
}
.footer-column nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-column a,
.footer-column p {
  color: var(--color-text-muted);
  font-size: 14px;
  line-height: 1.5;
  transition: color 0.15s ease;
}
.footer-column a:hover {
  color: var(--color-text);
}
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  padding-top: 24px;
  border-top: 1px solid var(--color-border);
  font-size: 13px;
  color: var(--color-text-subtle);
}

/* =============================================================
   Sticky mobile call button
============================================================= */
.sticky-cta {
  display: inline-flex;
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 30;
  height: 52px;
  padding: 0 22px 0 18px;
  border-radius: var(--radius-full);
  background-image: linear-gradient(135deg, #4f46e5 0%, #7c3aed 50%, #d946ef 110%);
  background-size: 200% auto;
  background-position: 0% 50%;
  color: var(--color-primary-fg);
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.005em;
  box-shadow: 0 16px 32px -8px rgba(124, 58, 237, 0.5),
    0 4px 12px -4px rgba(79, 70, 229, 0.3);
  transition: background-position 0.45s ease, box-shadow 0.2s ease,
    transform 0.2s ease;
  animation: sticky-pulse 3s ease-in-out 1.5s infinite;
}
.sticky-cta:hover {
  background-position: 100% 50%;
  transform: translateY(-2px);
  box-shadow: 0 22px 40px -10px rgba(124, 58, 237, 0.55),
    0 6px 14px -4px rgba(79, 70, 229, 0.35);
  animation: none;
}

@keyframes sticky-pulse {
  0%, 100% { box-shadow: 0 16px 32px -8px rgba(124, 58, 237, 0.5), 0 0 0 0 rgba(124, 58, 237, 0.4); }
  50%      { box-shadow: 0 16px 32px -8px rgba(124, 58, 237, 0.5), 0 0 0 12px rgba(124, 58, 237, 0); }
}

/* =============================================================
   Info modal (page-load popup)
============================================================= */
.info-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 16px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}
.info-modal[hidden] {
  display: none;
}
.info-modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

.info-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.info-modal-card {
  position: relative;
  width: min(460px, 100%);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: 32px 32px 28px;
  box-shadow: 0 30px 60px -12px rgba(15, 23, 42, 0.4);
  transform: translateY(16px) scale(0.97);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  overflow: hidden;
}
.info-modal-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-sunset);
}
.info-modal.is-open .info-modal-card {
  transform: translateY(0) scale(1);
}

.info-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 32px;
  height: 32px;
  border: none;
  border-radius: 8px;
  background: transparent;
  color: var(--color-text-muted);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.15s ease, color 0.15s ease;
}
.info-modal-close:hover {
  background: var(--color-surface-2);
  color: var(--color-text);
}

.info-modal-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--gradient-brand);
  color: #ffffff;
  margin-bottom: 18px;
  box-shadow: 0 8px 20px -6px rgba(139, 92, 246, 0.5);
}
.info-modal-icon svg {
  width: 24px;
  height: 24px;
}

.info-modal-card h3 {
  font-size: 20px;
  margin: 0 0 8px;
  letter-spacing: -0.01em;
}
.info-modal-card > p {
  font-size: 14px;
  line-height: 1.6;
  margin: 0 0 16px;
  color: var(--color-text-muted);
}

.info-modal-list {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  display: grid;
  gap: 10px;
}
.info-modal-list li {
  position: relative;
  padding-left: 26px;
  font-size: 13px;
  line-height: 1.55;
  color: var(--color-text);
}
.info-modal-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1px;
  width: 18px;
  height: 18px;
  border-radius: var(--radius-full);
  background: var(--color-success-soft);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%2310b981'%3E%3Cpath fill-rule='evenodd' d='M16.7 5.3a1 1 0 010 1.4l-7.5 7.5a1 1 0 01-1.4 0L3.3 9.7a1 1 0 011.4-1.4L8.5 12l6.8-6.7a1 1 0 011.4 0z' clip-rule='evenodd'/%3E%3C/svg%3E");
  background-position: center;
  background-repeat: no-repeat;
  background-size: 12px;
}

.info-modal-actions {
  display: grid;
  gap: 8px;
}
.info-modal-actions .btn--ghost {
  height: 40px;
  font-size: 13px;
  font-weight: 500;
}

@media (max-width: 480px) {
  .info-modal-card {
    padding: 28px 20px 24px;
  }
}

/* =============================================================
   Legal pages — page header + reading layout
============================================================= */
.page-header {
  position: relative;
  padding: var(--space-20) 0 var(--space-12);
  border-bottom: 1px solid var(--color-border);
}
.page-header::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  background: var(--gradient-sunset);
  opacity: 0.7;
  mask-image: linear-gradient(90deg, transparent, black 20%, black 80%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, black 20%, black 80%, transparent);
}
.page-header h1 {
  font-size: clamp(32px, 4.5vw, 48px);
  margin-bottom: 16px;
  background-image: var(--gradient-sunset);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  animation: gradient-shift 9s ease-in-out infinite;
}
.page-header .lede {
  margin-bottom: 16px;
}
.page-header .updated {
  font-size: 13px;
  color: var(--color-text-subtle);
}

.legal {
  padding: var(--space-16) 0 var(--space-24);
}
.legal-grid {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 64px;
  align-items: start;
}

.toc {
  position: sticky;
  top: calc(var(--header-height) + 24px);
}
.toc h4 {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-text-subtle);
  font-weight: 600;
  margin-bottom: 12px;
}
.toc ol {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 4px;
  counter-reset: toc;
}
.toc li {
  counter-increment: toc;
}
.toc a {
  display: block;
  padding: 6px 12px;
  border-radius: var(--radius-md);
  color: var(--color-text-muted);
  font-size: 14px;
  line-height: 1.4;
  transition: background 0.15s ease, color 0.15s ease;
}
.toc a::before {
  content: counter(toc) ".";
  display: inline-block;
  width: 22px;
  color: var(--color-text-subtle);
  font-variant-numeric: tabular-nums;
}
.toc a:hover {
  background: var(--color-surface-2);
  color: var(--color-text);
}

.legal-content {
  max-width: 70ch;
}
.legal-section + .legal-section {
  margin-top: 48px;
  padding-top: 48px;
  border-top: 1px solid var(--color-border);
}
.legal-section h2 {
  font-size: 24px;
  letter-spacing: -0.01em;
  margin-bottom: 16px;
}
.legal-section p {
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 12px;
}
.legal-section p:last-child {
  margin-bottom: 0;
}
.legal-section ul {
  margin: 12px 0 16px;
  padding-left: 20px;
  color: var(--color-text-muted);
}
.legal-section ul li {
  margin-bottom: 6px;
  line-height: 1.7;
}
.legal-section a {
  color: var(--color-primary);
  font-weight: 500;
  text-underline-offset: 3px;
  text-decoration: underline;
  text-decoration-color: rgba(79, 70, 229, 0.3);
}
.legal-section a:hover {
  text-decoration-color: var(--color-primary);
}

/* =============================================================
   Responsive
============================================================= */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: var(--space-12);
  }
  .hero-card {
    max-width: 480px;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: var(--space-12);
  }
  .network-illustration {
    margin: 0 auto;
  }

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

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

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

  .legal-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .toc {
    position: static;
    padding: 16px;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
  }

  .primary-nav {
    display: none;
  }
  .mobile-menu {
    display: block;
  }
  .menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
  }
}

@media (max-width: 640px) {
  :root {
    --container-gutter: 16px;
  }

  .section {
    padding: var(--space-16) 0;
  }
  .hero {
    padding: var(--space-12) 0 var(--space-16);
  }

  .hero-actions .btn {
    flex: 1;
  }

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

  .footer-grid {
    gap: 32px;
    margin-bottom: 32px;
  }

  .highlight-card,
  .cta-card {
    padding: 24px;
  }
  .disclaimer-card {
    padding: 24px;
  }

  .section-heading {
    margin-bottom: 32px;
  }

  body {
    padding-bottom: 80px;
  }
  .sticky-cta {
    right: 12px;
    bottom: 12px;
    height: 48px;
    padding: 0 18px 0 14px;
    font-size: 13px;
  }
  .nav-cta-desktop {
    display: none;
  }
}

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