:root {
  --bg: #f7f9fc;
  --text: #0f172a;
  --muted: #64748b;
  --soft: #f1f5f9;
  --line: rgba(15, 23, 42, .09);
  --blue: #2563eb;
  --green: #16a34a;
  --teal: #0d9488;
  --violet: #6d28d9;
  --amber: #f59e0b;
  --orange: #f97316;
  --pink: #db2777;
  --indigo: #4f46e5;
  --shadow: 0 24px 70px rgba(15, 23, 42, .10);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 12% 8%, rgba(37, 99, 235, .13), transparent 31%),
    radial-gradient(circle at 88% 8%, rgba(109, 40, 217, .13), transparent 29%),
    linear-gradient(180deg, #ffffff 0%, var(--bg) 60%, #eef4ff 100%);
}

a {
  color: inherit;
}

.page {
  width: min(1220px, calc(100% - 36px));
  margin: 0 auto;
  padding: 28px 0 70px;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 34px;
  position: relative;
  z-index: 20;
}

.nav-access {
  position: absolute;
  left: -18px;
  top: 50%;
  transform: translateY(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(15, 23, 42, .12);
  background: rgba(255, 255, 255, .82);
  color: #334155;
  font-size: 11px;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 10px 22px rgba(15, 23, 42, .04);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-left: 56px;
  font-size: 34px;
  font-weight: 950;
  letter-spacing: -1.8px;
  line-height: 1;
  text-decoration: none;
}

.brand img {
  width: 42px;
  height: 42px;
  object-fit: contain;
  flex: 0 0 auto;
}

.brand span,
.gradient-text {
  background: linear-gradient(90deg, var(--blue), var(--violet));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.nav-links {
  display: flex;
  gap: 22px;
  align-items: center;
  color: #334155;
  font-size: 13px;
  font-weight: 760;
  overflow: visible;
}

.nav-links a {
  text-decoration: none;
}

.nav-links--desktop {
  flex-wrap: nowrap;
}

.nav-group {
  position: relative;
  display: inline-flex;
  flex-direction: column;
  align-self: stretch;
}

.nav-group > summary {
  list-style: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 40px;
  padding: 0 10px;
  box-sizing: border-box;
  border-radius: 999px;
  user-select: none;
  white-space: nowrap;
  line-height: 1;
  transition: background-color .18s ease, color .18s ease, transform .18s ease;
}

.nav-group > summary::after {
  content: "▾";
  font-size: 11px;
  line-height: 1;
  transform: translateY(2px);
  transition: transform .18s ease;
}

.nav-group[open] > summary::after {
  transform: rotate(180deg);
}

.nav-group > summary::-webkit-details-marker {
  display: none;
}

.nav-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  width: 260px;
  padding: 10px;
  border-radius: 20px;
  border: 1px solid rgba(15, 23, 42, .09);
  background: rgba(255,255,255,.98);
  box-shadow: 0 18px 50px rgba(15, 23, 42, .10);
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 280px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
  z-index: 30;
  pointer-events: none;
}

.nav-group:hover .nav-dropdown,
.nav-group:focus-within .nav-dropdown,
.nav-group[open] .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.nav-dropdown a {
  display: block;
  padding: 10px 11px;
  border-radius: 14px;
  color: #334155;
  font-size: 13px;
  font-weight: 720;
  white-space: nowrap;
}

.nav-dropdown a:hover {
  background: rgba(37, 99, 235, .06);
  color: #2563eb;
}

.nav-links a:hover {
  color: var(--blue);
}

.nav-cta {
  border: 0;
  border-radius: 14px;
  padding: 10px 14px;
  color: white;
  background: linear-gradient(135deg, var(--blue), var(--violet));
  font-size: 13px;
  font-weight: 850;
  box-shadow: 0 14px 34px rgba(79, 70, 229, .26);
  text-decoration: none;
  white-space: nowrap;
}

.nav-cta--secondary {
  border: 1px solid rgba(59, 130, 246, .18);
  background: rgba(255, 255, 255, .82);
  color: #1d4ed8;
  box-shadow: 0 14px 34px rgba(15, 23, 42, .05);
}

.nav-cta--outline {
  border: 1px solid rgba(15, 23, 42, .12);
  background: rgba(255, 255, 255, .9);
  color: #0f172a;
  box-shadow: 0 14px 34px rgba(15, 23, 42, .05);
}

.nav-mobile-actions {
  display: none;
}

.nav-mobile-menu {
  display: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(560px, 1.05fr);
  gap: 34px;
  align-items: center;
}

.hero-copy {
  padding: 18px 0;
}

.eyebrow {
  display: inline-flex;
  padding: 8px 13px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.76);
  color: #475569;
  font-size: 13px;
  font-weight: 850;
  box-shadow: 0 10px 30px rgba(15, 23, 42, .05);
}

h1 {
  margin: 20px 0 16px;
  max-width: 720px;
  font-size: clamp(44px, 5.2vw, 82px);
  line-height: .93;
  letter-spacing: -4px;
  font-weight: 950;
}

.hero-copy p {
  margin: 0;
  max-width: 620px;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 23px);
  line-height: 1.42;
  font-weight: 520;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border-radius: 12px;
  padding: 14px 20px;
  font-weight: 880;
  font-size: 13px;
  min-height: 50px;
}

.button.primary {
  color: white;
  background: linear-gradient(135deg, var(--blue), var(--violet));
  box-shadow: 0 16px 34px rgba(79, 70, 229, .26);
}

.button.secondary {
  color: #1e293b;
  background: white;
  border: 1px solid var(--line);
  box-shadow: 0 12px 28px rgba(15, 23, 42, .05);
}

.button.tertiary {
  color: #0f172a;
  background: rgba(255, 255, 255, .92);
  border: 1px solid rgba(15, 23, 42, .12);
  box-shadow: 0 12px 28px rgba(15, 23, 42, .05);
}

.proof-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 9px;
  margin-top: 30px;
  max-width: 620px;
}

.proof {
  padding: 14px;
  border-radius: 18px;
  background: rgba(255,255,255,.74);
  border: 1px solid var(--line);
  box-shadow: 0 12px 30px rgba(15, 23, 42, .05);
}

.proof strong {
  display: block;
  font-size: 15px;
  margin-bottom: 4px;
}

.proof span {
  display: block;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.25;
  font-weight: 560;
}

.map-shell {
  position: relative;
  min-height: 595px;
  border-radius: 38px;
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at 50% 48%, rgba(37,99,235,.08), transparent 28%),
    linear-gradient(180deg, rgba(255,255,255,.95), rgba(255,255,255,.80));
  box-shadow: var(--shadow);
  overflow: hidden;
}

.map-shell::before {
  content: "";
  position: absolute;
  width: 320px;
  height: 320px;
  border-radius: 999px;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(37,99,235,.08), transparent 62%);
  pointer-events: none;
}

.orbit {
  position: absolute;
  inset: 0 0 20px 0;
}

.core {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 205px;
  height: 205px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 24px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.98), rgba(255,255,255,.90)),
    radial-gradient(circle at 30% 20%, rgba(37,99,235,.12), transparent 40%);
  border: 1px solid rgba(15,23,42,.08);
  box-shadow: 0 24px 70px rgba(15, 23, 42, .13);
  z-index: 3;
}

.core::before {
  content: "";
  position: absolute;
  inset: -10px;
  border-radius: 50%;
  background: conic-gradient(
    from -90deg,
    var(--blue),
    var(--green),
    var(--teal),
    var(--violet),
    var(--amber),
    var(--orange),
    var(--pink),
    var(--indigo),
    var(--blue)
  );
  z-index: -2;
}

.core::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  background: white;
  z-index: -1;
}

.core strong {
  display: block;
  font-size: 44px;
  line-height: .9;
  letter-spacing: -3px;
  font-weight: 950;
  margin-bottom: 9px;
}

.core p {
  margin: 0;
  color: #475569;
  font-size: 12.5px;
  line-height: 1.28;
  font-weight: 760;
}

.step {
  --x: 50%;
  --y: 50%;
  --color: var(--blue);
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: 170px;
  min-height: 96px;
  transform: translate(-50%, -50%);
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 12px;
  align-items: start;
  padding: 12px;
  border-radius: 18px;
  background: rgba(255,255,255,.90);
  border: 1px solid rgba(15, 23, 42, .08);
  box-shadow: 0 18px 45px rgba(15, 23, 42, .10);
  backdrop-filter: blur(18px);
  z-index: 4;
  transition: transform .18s ease, box-shadow .18s ease;
}

.step:hover {
  transform: translate(-50%, -50%) translateY(-4px);
  box-shadow: 0 24px 62px rgba(15, 23, 42, .14);
}

.badge {
  width: 34px;
  height: 34px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  color: white;
  font-size: 14px;
  font-weight: 950;
  background: linear-gradient(135deg, color-mix(in srgb, var(--color) 72%, white), var(--color));
  box-shadow: 0 12px 28px color-mix(in srgb, var(--color) 25%, transparent);
}

.step h3 {
  margin: 0 0 4px;
  font-size: 12.5px;
  line-height: 1.12;
  letter-spacing: -.25px;
  color: color-mix(in srgb, var(--color) 78%, #0f172a);
}

.step p {
  margin: 0;
  color: var(--muted);
  font-size: 10.8px;
  line-height: 1.25;
  font-weight: 560;
}

.s1 { --x: 50%; --y: 12%; --color: var(--blue); }
.s2 { --x: 78%; --y: 22%; --color: var(--green); }
.s3 { --x: 84%; --y: 49%; --color: var(--teal); }
.s4 { --x: 78%; --y: 74%; --color: var(--violet); }
.s5 { --x: 50%; --y: 88%; --color: var(--amber); }
.s6 { --x: 22%; --y: 74%; --color: var(--orange); }
.s7 { --x: 16%; --y: 49%; --color: var(--pink); }
.s8 { --x: 22%; --y: 22%; --color: var(--indigo); }

.section {
  margin-top: 34px;
  padding: 34px;
  border-radius: 34px;
  background: rgba(255,255,255,.74);
  border: 1px solid var(--line);
  box-shadow: 0 18px 50px rgba(15, 23, 42, .07);
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 24px;
  margin-bottom: 22px;
}

.section h2 {
  margin: 0;
  font-size: clamp(28px, 3vw, 42px);
  letter-spacing: -1.5px;
  line-height: 1;
}

.section-head p {
  margin: 0;
  color: var(--muted);
  max-width: 480px;
  font-size: 16px;
  line-height: 1.45;
  font-weight: 540;
}

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

.feature-grid.five {
  grid-template-columns: repeat(5, 1fr);
}

.feature {
  padding: 20px;
  border-radius: 24px;
  background: white;
  border: 1px solid rgba(15,23,42,.08);
  min-height: 170px;
}

.feature-icon {
  width: 46px;
  height: 46px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  color: white;
  font-weight: 900;
  font-size: 20px;
  margin-bottom: 14px;
}

.feature h3 {
  margin: 0 0 8px;
  font-size: 18px;
  letter-spacing: -.3px;
}

.feature p {
  margin: 0;
  color: var(--muted);
  line-height: 1.42;
  font-size: 14px;
  font-weight: 540;
}

.audience-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}

.audience {
  border-radius: 20px;
  padding: 17px;
  background: var(--soft);
  border: 1px solid rgba(15,23,42,.06);
  font-weight: 820;
  color: #243044;
  text-align: center;
}

.final-cta {
  margin-top: 34px;
  padding: 42px;
  border-radius: 34px;
  text-align: center;
  background:
    radial-gradient(circle at 20% 10%, rgba(255,255,255,.25), transparent 28%),
    linear-gradient(135deg, #2563eb, #6d28d9);
  color: white;
  box-shadow: 0 24px 70px rgba(79,70,229,.28);
}

.final-cta h2 {
  margin: 0 auto 12px;
  max-width: 760px;
  font-size: clamp(32px, 4vw, 54px);
  line-height: 1;
  letter-spacing: -2px;
}

.final-cta p {
  margin: 0 auto 24px;
  max-width: 700px;
  color: rgba(255,255,255,.86);
  font-size: 18px;
  line-height: 1.45;
}

.final-cta .button {
  background: white;
  color: #1e293b;
  box-shadow: 0 16px 34px rgba(15,23,42,.18);
}

@media (max-width: 1180px) {
  .nav {
    align-items: flex-start;
  }

  .nav-links--desktop {
    flex-wrap: wrap;
  }

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

  .hero-copy {
    text-align: center;
  }

  .hero-copy p,
  h1,
  .proof-row {
    margin-left: auto;
    margin-right: auto;
  }

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

  .map-shell {
    max-width: 660px;
    margin: 0 auto;
  }

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

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

  .section-head {
    display: block;
  }

  .section-head p {
    margin-top: 12px;
  }
}

@media (max-width: 1050px) {
  .map-shell {
    min-height: auto;
    padding: 26px;
  }

  .map-shell::before,
  .core::before {
    display: none;
  }

  .orbit {
    position: relative;
    inset: auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .core {
    position: relative;
    left: auto;
    top: auto;
    transform: none;
    width: min(260px, 100%);
    height: auto;
    min-height: 180px;
    margin: 0 auto 18px;
    border-radius: 32px;
  }

  .core::after {
    display: none;
  }

  .step {
    position: relative;
    left: auto;
    top: auto;
    transform: none;
    width: 100%;
    min-height: auto;
  }

  .step:hover {
    transform: translateY(-3px);
  }
}

@media (max-width: 640px) {
  .page {
    width: min(100% - 24px, 1220px);
    padding-top: 18px;
  }

  h1 {
    letter-spacing: -2px;
  }

  .brand {
    font-size: 31px;
  }

  .nav-cta {
    padding: 10px 12px;
  }

  .proof-row,
  .feature-grid,
  .feature-grid.five,
  .audience-grid {
    grid-template-columns: 1fr;
  }

  .section,
  .final-cta {
    padding: 24px;
    border-radius: 26px;
  }

  .hero-actions .button {
    width: 100%;
  }

  .nav-dropdown {
    position: static;
    width: 100%;
    margin-top: 8px;
    opacity: 1;
    visibility: visible;
    transform: none;
  }
}

@media (max-width: 980px) {
  .nav-access {
    display: none;
  }

  .brand {
    margin-left: 0;
  }

  .nav {
    gap: 12px;
  }

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

  .nav {
    align-items: center;
    justify-content: space-between;
  }

  .nav-mobile-menu {
    display: block;
    margin-left: auto;
  }

  .nav-mobile-menu > summary {
    list-style: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 14px;
    border: 1px solid var(--line);
    background: white;
    box-shadow: 0 12px 28px rgba(15, 23, 42, .05);
    font-size: 0;
  }

  .nav-mobile-menu > summary::-webkit-details-marker {
    display: none;
  }

  .nav-mobile-menu > summary::before {
    content: "☰";
    font-size: 18px;
    color: var(--blue);
    line-height: 1;
  }

  .nav-mobile-menu[open] > summary::before {
    content: "✕";
  }

  .nav-mobile-menu__panel {
    position: absolute;
    right: 0;
    top: calc(100% + 10px);
    width: min(320px, calc(100vw - 24px));
    padding: 12px;
    border-radius: 22px;
    border: 1px solid var(--line);
    background: rgba(255,255,255,.98);
    box-shadow: var(--shadow);
    display: grid;
    gap: 4px;
  }

  .nav-mobile-menu__panel a {
    display: block;
    padding: 11px 12px;
    border-radius: 14px;
    color: #334155;
    font-size: 13px;
    font-weight: 750;
    text-decoration: none;
  }

  .nav-mobile-menu__panel a:hover {
    background: rgba(37, 99, 235, .06);
    color: var(--blue);
  }

  .nav-mobile-menu__actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 8px;
  }

  .nav-mobile-menu__actions .button:first-child {
    grid-column: 1 / -1;
  }

  .nav-mobile-menu__actions .button {
    width: 100%;
    min-height: 44px;
    padding: 10px 12px;
  }
}
