:root {
  color-scheme: light;
  --base-porcelain: #f7f8fa;
  --base-ivory: #fbfbfd;
  --base-fog: #eef1f5;
  --text-ink: #0b1220;
  --text-graphite: #1f2a3b;
  --text-steel: #667085;
  --accent-blue: #1d4ed8;
  --accent-teal: #0f766e;
  --accent-gold: #e0b84a;
  --accent-red: #b42318;
  --glow-blue: #a7c7ff;
  --glow-teal: #79f2e6;
  --glow-gold: #f3e3b4;
  --radius-card: 12px;
  --radius-pill: 999px;
  --shadow-soft: 0 10px 28px rgba(15, 23, 42, 0.12);
  --shadow-lift: 0 18px 48px rgba(15, 23, 42, 0.18);
  --shadow-glow: 0 0 40px rgba(29, 78, 216, 0.18);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  color: var(--text-graphite);
  background: radial-gradient(
      circle at 10% 0%,
      rgba(29, 78, 216, 0.08),
      transparent 45%
    ),
    radial-gradient(
      circle at 90% 10%,
      rgba(224, 184, 74, 0.08),
      transparent 50%
    ),
    linear-gradient(180deg, var(--base-ivory), var(--base-porcelain));
}

h1,
h2,
h3 {
  font-family: "Space Grotesk", system-ui, -apple-system, sans-serif;
  color: var(--text-ink);
  margin: 0 0 16px 0;
}

h1 {
  font-size: clamp(2.6rem, 3.6vw, 4.2rem);
  line-height: 1.05;
}

h2 {
  font-size: clamp(1.8rem, 2.4vw, 2.6rem);
}

p {
  line-height: 1.6;
  color: var(--text-steel);
}

.lightning {
  position: relative;
  display: inline-block;
  color: var(--text-ink);
  z-index: 0;
}

.lightning::before {
  content: "";
  position: absolute;
  left: -2%;
  right: -2%;
  top: 50%;
  height: 0.28em;
  background: linear-gradient(
    90deg,
    rgba(247, 210, 77, 0),
    rgba(242, 183, 5, 0.75),
    rgba(255, 239, 130, 1),
    rgba(242, 183, 5, 0.85),
    rgba(247, 210, 77, 0)
  );
  background-size: 200% 100%;
  clip-path: polygon(
    0 50%,
    5% 0,
    12% 60%,
    18% 10%,
    26% 70%,
    34% 5%,
    44% 75%,
    52% 12%,
    62% 80%,
    70% 18%,
    80% 88%,
    90% 25%,
    100% 75%,
    100% 95%,
    92% 100%,
    84% 60%,
    76% 95%,
    66% 50%,
    54% 90%,
    44% 45%,
    32% 85%,
    22% 40%,
    10% 80%,
    0 60%
  );
  opacity: 0.95;
  filter: drop-shadow(0 0 10px rgba(242, 183, 5, 0.55));
  animation: lightningTrace 2.2s ease-in-out infinite alternate;
  z-index: -1;
}

.lightning::after {
  content: "";
  position: absolute;
  left: -2%;
  right: -2%;
  top: 50%;
  height: 0.28em;
  background: linear-gradient(
    90deg,
    rgba(255, 238, 160, 0),
    rgba(255, 238, 160, 1),
    rgba(255, 238, 160, 0)
  );
  background-size: 300% 100%;
  clip-path: polygon(
    0 50%,
    5% 0,
    12% 60%,
    18% 10%,
    26% 70%,
    34% 5%,
    44% 75%,
    52% 12%,
    62% 80%,
    70% 18%,
    80% 88%,
    90% 25%,
    100% 75%,
    100% 95%,
    92% 100%,
    84% 60%,
    76% 95%,
    66% 50%,
    54% 90%,
    44% 45%,
    32% 85%,
    22% 40%,
    10% 80%,
    0 60%
  );
  opacity: 0.6;
  filter: blur(0.5px);
  animation: lightningCrackle 1.2s steps(6, end) infinite;
  z-index: -1;
}

@keyframes lightningTrace {
  0% {
    background-position: 0% 50%;
    opacity: 0.35;
  }
  40% {
    opacity: 1;
  }
  100% {
    background-position: 100% 50%;
    opacity: 0.6;
  }
}

@keyframes lightningCrackle {
  0% {
    background-position: 0% 50%;
    opacity: 0;
  }
  30% {
    opacity: 0.8;
  }
  50% {
    background-position: 100% 50%;
    opacity: 0.6;
  }
  100% {
    background-position: 200% 50%;
    opacity: 0;
  }
}

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

.bg-grid,
.bg-orbit {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.bg-grid {
  background-image: linear-gradient(
      rgba(15, 23, 42, 0.04) 1px,
      transparent 1px
    ),
    linear-gradient(90deg, rgba(15, 23, 42, 0.04) 1px, transparent 1px);
  background-size: 80px 80px;
  opacity: 0.5;
}

.bg-orbit {
  background: radial-gradient(
      circle at 20% 20%,
      rgba(29, 78, 216, 0.12),
      transparent 55%
    ),
    radial-gradient(
      circle at 80% 30%,
      rgba(14, 116, 144, 0.12),
      transparent 50%
    ),
    radial-gradient(
      circle at 50% 80%,
      rgba(224, 184, 74, 0.16),
      transparent 52%
    );
  opacity: 0.7;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(12px);
  background: rgba(251, 251, 253, 0.9);
  border-bottom: 1px solid rgba(15, 23, 42, 0.1);
}

.nav {
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.logo {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: 1.2rem;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.logo-dot {
  width: 10px;
  height: 10px;
  background: var(--accent-red);
  border-radius: 50%;
  box-shadow: 0 0 10px rgba(180, 35, 24, 0.4);
}

.nav-links {
  display: flex;
  gap: 18px;
  font-size: 0.95rem;
  color: var(--text-steel);
}

.nav-cta {
  display: flex;
  gap: 12px;
}

.nav-toggle {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-ink);
  margin: 5px 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 0.9rem;
  border: 1px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-primary {
  background: var(--accent-blue);
  color: white;
  box-shadow: 0 10px 20px rgba(29, 78, 216, 0.2);
}

.btn-ghost {
  border-color: rgba(15, 23, 42, 0.1);
  color: var(--text-ink);
  background: white;
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-soft);
}

main {
  position: relative;
  z-index: 1;
}

.hero {
  max-width: 1200px;
  margin: 0 auto;
  padding: 96px 24px 80px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 48px;
  align-items: center;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--accent-blue);
  margin-bottom: 16px;
}

.hero p {
  font-size: 1.1rem;
}

.hero-cta {
  display: flex;
  gap: 12px;
  margin: 24px 0;
  flex-wrap: wrap;
}

.hero-proof {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.pill {
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  background: white;
  border: 1px solid rgba(15, 23, 42, 0.08);
  font-size: 0.8rem;
  color: var(--text-steel);
}

.hero-visual {
  position: relative;
  display: grid;
  place-items: center;
}

.map-stack {
  position: relative;
  display: grid;
  place-items: center;
  width: min(520px, 94%);
  height: 340px;
}

.territory-map {
  position: absolute;
  inset: 0;
  border-radius: 20px;
  background-image: url("./assets/territory-map.png");
  background-size: 140%;
  background-repeat: no-repeat;
  background-position: center;
  filter: drop-shadow(0 20px 44px rgba(15, 23, 42, 0.2)) contrast(1.25)
    saturate(0.9);
  opacity: 0.95;
  z-index: 0;
  border: 1px solid rgba(31, 42, 59, 0.08);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.65);
  overflow: hidden;
}

.territory-map::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
      circle at 20% 30%,
      rgba(29, 78, 216, 0.18),
      transparent 45%
    ),
    radial-gradient(
      circle at 70% 40%,
      rgba(15, 118, 110, 0.18),
      transparent 40%
    ),
    radial-gradient(
      circle at 55% 75%,
      rgba(224, 184, 74, 0.2),
      transparent 45%
    );
  mix-blend-mode: multiply;
  opacity: 0.9;
}

.territory-map::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(
      90deg,
      rgba(15, 23, 42, 0.06) 1px,
      transparent 1px
    ),
    linear-gradient(
      rgba(15, 23, 42, 0.06) 1px,
      transparent 1px
    );
  background-size: 40px 40px;
  opacity: 0.35;
}

.map-attrib {
  position: absolute;
  bottom: 12px;
  left: 14px;
  font-size: 0.6rem;
  color: rgba(31, 42, 59, 0.55);
  background: rgba(255, 255, 255, 0.78);
  padding: 4px 8px;
  border-radius: 6px;
  z-index: 2;
}

.signal-core {
  position: absolute;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(29, 78, 216, 0.18), transparent 60%);
  display: grid;
  place-items: center;
  overflow: hidden;
  z-index: 1;
}

.signal-ring {
  position: absolute;
  width: 160px;
  height: 160px;
  border: 1px solid rgba(29, 78, 216, 0.2);
  border-radius: 50%;
  animation: ringPulse 3.6s ease-in-out infinite;
}

.ring-2 {
  width: 220px;
  height: 220px;
  border-color: rgba(14, 116, 144, 0.2);
  animation-delay: 0.4s;
}

.ring-3 {
  width: 280px;
  height: 280px;
  border-color: rgba(224, 184, 74, 0.2);
  animation-delay: 0.8s;
}

.signal-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent-blue);
  box-shadow: var(--shadow-glow);
  animation: dotPulse 2.2s ease-in-out infinite;
}

.signal-core::after {
  content: "";
  position: absolute;
  inset: 50%;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid rgba(29, 78, 216, 0.45);
  transform: translate(-50%, -50%);
  animation: ping 2.8s ease-out infinite;
  box-shadow: 0 0 20px rgba(29, 78, 216, 0.2);
}

@keyframes ringPulse {
  0% {
    transform: scale(0.96);
    opacity: 0.6;
  }
  50% {
    transform: scale(1.02);
    opacity: 1;
  }
  100% {
    transform: scale(0.96);
    opacity: 0.6;
  }
}

@keyframes dotPulse {
  0% {
    transform: scale(1);
    box-shadow: 0 0 20px rgba(29, 78, 216, 0.28);
  }
  50% {
    transform: scale(1.25);
    box-shadow: 0 0 36px rgba(29, 78, 216, 0.4);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 0 20px rgba(29, 78, 216, 0.28);
  }
}

@keyframes ping {
  0% {
    transform: translate(-50%, -50%) scale(0.6);
    opacity: 0.6;
  }
  70% {
    opacity: 0.2;
  }
  100% {
    transform: translate(-50%, -50%) scale(4.2);
    opacity: 0;
  }
}

.hero-card {
  margin-top: 24px;
  background: linear-gradient(180deg, #ffffff, #f6f7fb);
  border-radius: var(--radius-card);
  padding: 20px;
  box-shadow: var(--shadow-lift);
  border: 1px solid rgba(15, 23, 42, 0.12);
  width: min(320px, 100%);
  position: relative;
  z-index: 2;
}

.hero-card.compact {
  position: absolute;
  bottom: -100px;
  right: -6px;
  margin-top: 0;
  width: min(320px, 90%);
  padding: 16px 18px;
}

.card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.chip {
  padding: 6px 10px;
  border-radius: var(--radius-pill);
  background: rgba(15, 118, 110, 0.12);
  color: #0f766e;
  font-size: 0.7rem;
  font-weight: 600;
}

.card-title {
  font-weight: 600;
}

.card-sub {
  color: var(--text-steel);
  margin-bottom: 12px;
  font-size: 0.9rem;
}

.card-metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 12px;
  margin: 12px 0;
}

.metric-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-steel);
}

.metric-value {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-ink);
}

.card-footer {
  padding-top: 10px;
  border-top: 1px dashed rgba(15, 23, 42, 0.12);
  font-size: 0.82rem;
  color: var(--text-graphite);
}
.card-list {
  display: grid;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-graphite);
}

.badge {
  width: 10px;
  height: 10px;
  display: inline-block;
  border-radius: 50%;
  margin-right: 8px;
}

.badge.high {
  background: var(--accent-teal);
}

.badge.med {
  background: var(--accent-gold);
}

.badge.low {
  background: rgba(15, 23, 42, 0.2);
}

.section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 88px 24px;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.section.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.section::before {
  content: "";
  display: block;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(15, 23, 42, 0.12),
    transparent
  );
  margin-bottom: 40px;
}

.section-head {
  max-width: 620px;
  margin-bottom: 32px;
}

.section-grid {
  display: grid;
  gap: 32px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  align-items: center;
}

.compare-card {
  background: linear-gradient(180deg, #ffffff, #f6f7fb);
  border-radius: var(--radius-card);
  padding: 24px;
  box-shadow: var(--shadow-lift);
  border: 1px solid rgba(15, 23, 42, 0.12);
}

.compare-row {
  display: flex;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

.compare-row.highlight {
  color: var(--accent-blue);
  font-weight: 600;
}

.compare-row:last-child {
  border-bottom: none;
}

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

.card {
  background: linear-gradient(180deg, #ffffff, #f6f7fb);
  border-radius: var(--radius-card);
  padding: 20px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  box-shadow: var(--shadow-lift);
}

.feature {
  display: grid;
  gap: 32px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  align-items: center;
}

.feature-panel {
  background: linear-gradient(180deg, #ffffff, #f6f7fb);
  border-radius: var(--radius-card);
  padding: 24px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  box-shadow: var(--shadow-lift);
}

.panel-header {
  font-weight: 600;
}

.panel-metric {
  margin: 12px 0;
  font-family: "Space Mono", monospace;
}

.panel-list {
  display: grid;
  gap: 10px;
  font-size: 0.85rem;
}

.badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.badge-pill {
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  background: linear-gradient(180deg, #ffffff, #f6f7fb);
  border: 1px solid rgba(15, 23, 42, 0.12);
  color: var(--text-steel);
}

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

.moat-card {
  padding: 20px;
  border-radius: var(--radius-card);
  background: linear-gradient(180deg, #ffffff, #f6f7fb);
  border: 1px solid rgba(15, 23, 42, 0.12);
  box-shadow: var(--shadow-lift);
}

.roadmap {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.roadmap-step {
  background: linear-gradient(180deg, #ffffff, #f6f7fb);
  border-radius: var(--radius-card);
  padding: 16px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  box-shadow: var(--shadow-lift);
}

.step-title {
  font-weight: 600;
  color: var(--accent-blue);
}

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

.stat {
  background: linear-gradient(180deg, #ffffff, #f6f7fb);
  border-radius: var(--radius-card);
  padding: 20px;
  text-align: center;
  border: 1px solid rgba(15, 23, 42, 0.12);
  box-shadow: var(--shadow-lift);
  position: relative;
  overflow: hidden;
}

.stat-number {
  font-size: 2rem;
  font-family: "Space Mono", monospace;
  color: var(--accent-blue);
}

.stat::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
      circle at 20% 10%,
      rgba(29, 78, 216, 0.12),
      transparent 45%
    ),
    radial-gradient(
      circle at 80% 20%,
      rgba(15, 118, 110, 0.12),
      transparent 40%
    ),
    radial-gradient(
      circle at 50% 90%,
      rgba(224, 184, 74, 0.12),
      transparent 45%
    );
  opacity: 0.6;
  animation: waveShift 6s ease-in-out infinite;
  z-index: 0;
}

.stat > * {
  position: relative;
  z-index: 1;
}

@keyframes waveShift {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
  100% {
    transform: translateY(0);
  }
}

.integration {
  margin-top: 20px;
  padding: 16px 20px;
  background: linear-gradient(180deg, #ffffff, #f6f7fb);
  border-radius: var(--radius-card);
  border: 1px solid rgba(15, 23, 42, 0.12);
  box-shadow: var(--shadow-lift);
}

.marquee {
  overflow: hidden;
  border-radius: 10px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: #ffffff;
  padding: 10px 0;
}

.marquee-track {
  display: inline-flex;
  gap: 24px;
  align-items: center;
  padding: 0 16px;
  white-space: nowrap;
  animation: marquee 18s linear infinite;
  font-size: 0.85rem;
  color: var(--text-steel);
}

.marquee-track span {
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: rgba(15, 23, 42, 0.02);
}

.integration-notes {
  margin: 12px 0 0;
  padding: 0;
  color: var(--text-steel);
  font-size: 0.9rem;
  list-style: none;
}

.integration-notes li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 8px;
}

.integration-notes li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-blue), var(--accent-teal));
  box-shadow: 0 0 6px rgba(29, 78, 216, 0.12);
  opacity: 0.5;
  animation: bulletPulse 4.2s ease-in-out infinite;
}

.integration-notes li:nth-child(2)::before {
  animation-delay: 1s;
}

.integration-notes li:nth-child(3)::before {
  animation-delay: 2s;
}

@keyframes bulletPulse {
  0%,
  100% {
    opacity: 0.45;
    box-shadow: 0 0 6px rgba(29, 78, 216, 0.12);
  }
  50% {
    opacity: 0.85;
    box-shadow: 0 0 10px rgba(29, 78, 216, 0.2);
  }
}

@keyframes marquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.cta {
  padding-bottom: 96px;
}

.cta-card {
  background: linear-gradient(180deg, #ffffff, #f6f7fb);
  border-radius: var(--radius-card);
  padding: 32px;
  box-shadow: var(--shadow-lift);
  border: 1px solid rgba(15, 23, 42, 0.12);
}

.cta-form {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
  margin-top: 16px;
}

.cta-form input {
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  font-family: inherit;
}

.footer {
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px;
  display: flex;
  justify-content: space-between;
  color: var(--text-steel);
}

.footer-links {
  display: flex;
  gap: 16px;
}

.muted {
  color: var(--text-steel);
}

@media (max-width: 960px) {
  .nav {
    flex-wrap: wrap;
  }

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

  .nav-toggle {
    display: block;
    margin-left: auto;
    padding: 6px;
  }

  .nav-links,
  .nav-cta {
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 0;
  }
}

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

  .hero-visual {
    order: -1;
    width: 100%;
  }

  .map-stack {
    width: min(360px, 100%);
    height: 240px;
  }

  .signal-core {
    width: 180px;
    height: 180px;
  }

  .signal-ring {
    width: 120px;
    height: 120px;
  }

  .ring-2 {
    width: 170px;
    height: 170px;
  }

  .ring-3 {
    width: 220px;
    height: 220px;
  }

  .hero-card.compact {
    position: static;
    margin-top: 16px;
    width: 100%;
  }
}
