:root {
  color-scheme: light;
  --background: hsl(0 0% 100%);
  --foreground: hsl(222 47% 11%);
  --muted: hsl(210 20% 98%);
  --muted-foreground: hsl(215 16% 47%);
  --card: hsla(0 0% 100% / 0.9);
  --card-foreground: hsl(222 47% 11%);
  --border: hsla(220 13% 91% / 0.85);
  --primary: hsl(221 83% 53%);
  --primary-foreground: hsl(210 40% 98%);
  --secondary: hsl(215 28% 17%);
  --secondary-foreground: hsl(210 40% 98%);
  --accent: hsl(197 92% 90%);
  --shadow-lg: 0 24px 80px rgba(15, 23, 42, 0.12);
  --shadow-md: 0 18px 48px rgba(15, 23, 42, 0.08);
  --radius-xl: 28px;
  --radius-lg: 20px;
  --radius-md: 14px;
  --container: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--foreground);
  font-family: "Manrope", "Avenir Next", "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(59, 130, 246, 0.16), transparent 28%),
    radial-gradient(circle at top right, rgba(14, 165, 233, 0.12), transparent 22%),
    linear-gradient(180deg, #f8fbff 0%, #f7f7f8 50%, #ffffff 100%);
  position: relative;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(148, 163, 184, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 163, 184, 0.08) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.22), transparent 76%);
}

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

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

.page-shell {
  position: relative;
}

.container {
  width: min(calc(100% - 32px), var(--container));
  margin: 0 auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  padding: 16px 0;
  backdrop-filter: blur(18px);
  background: linear-gradient(180deg, rgba(248, 251, 255, 0.84), rgba(248, 251, 255, 0.4));
  border-bottom: 1px solid rgba(226, 232, 240, 0.7);
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.brand-mark {
  width: 40px;
  height: 40px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  color: white;
  background:
    linear-gradient(135deg, rgba(59, 130, 246, 1), rgba(14, 165, 233, 1));
  box-shadow: 0 16px 36px rgba(59, 130, 246, 0.28);
  font-size: 0.95rem;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.brand-copy span:last-child {
  color: var(--muted-foreground);
  font-size: 0.84rem;
  font-weight: 600;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.nav-link {
  padding: 11px 14px;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--muted-foreground);
  transition: background-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--foreground);
  background: rgba(255, 255, 255, 0.82);
  transform: translateY(-1px);
}

.hero {
  padding: 64px 0 28px;
}

.hero-grid,
.split-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.8fr);
  gap: 22px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 800;
  color: hsl(217 91% 36%);
  background: rgba(219, 234, 254, 0.8);
  border: 1px solid rgba(191, 219, 254, 0.9);
}

.hero-copy h1,
.page-intro h1 {
  margin: 0;
  font-size: clamp(2.8rem, 6vw, 5.2rem);
  line-height: 0.96;
  letter-spacing: -0.06em;
}

.hero-copy p,
.page-intro p,
.section-copy p,
.card p,
.list-card p,
.callout p,
.policy-card p,
.policy-card li,
.footer p {
  color: var(--muted-foreground);
  line-height: 1.72;
  font-size: 1.02rem;
}

.hero-copy p {
  max-width: 62ch;
  margin: 18px 0 0;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 800;
  letter-spacing: -0.02em;
  transition: transform 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button.primary {
  color: var(--primary-foreground);
  background: linear-gradient(135deg, hsl(221 83% 53%), hsl(199 89% 48%));
  box-shadow: 0 20px 34px rgba(37, 99, 235, 0.22);
}

.button.secondary {
  color: var(--foreground);
  background: rgba(255, 255, 255, 0.78);
  border-color: var(--border);
}

.panel,
.card,
.list-card,
.policy-card,
.callout,
.stat-strip,
.feature-panel {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  background: var(--card);
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(18px);
}

.panel {
  padding: 28px;
}

.hero-panel {
  min-height: 100%;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(248, 250, 252, 0.86)),
    radial-gradient(circle at top right, rgba(56, 189, 248, 0.14), transparent 38%);
}

.hero-panel::after {
  content: "";
  position: absolute;
  inset: auto -18% -24% 32%;
  aspect-ratio: 1;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.14), transparent 70%);
  animation: drift 8s ease-in-out infinite;
}

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

.stat-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: 18px;
  padding: 1px;
  background: rgba(226, 232, 240, 0.9);
}

.stat {
  padding: 18px 18px 20px;
  background: rgba(255, 255, 255, 0.92);
}

.stat strong {
  display: block;
  font-size: 1.35rem;
  letter-spacing: -0.04em;
}

.stat span {
  display: block;
  margin-top: 6px;
  color: var(--muted-foreground);
  font-size: 0.95rem;
}

.section {
  padding: 24px 0 0;
}

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

.section-head h2 {
  margin: 0;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  letter-spacing: -0.05em;
}

.section-label {
  display: inline-flex;
  padding: 6px 10px;
  border-radius: 999px;
  color: hsl(215 25% 32%);
  background: rgba(241, 245, 249, 0.9);
  border: 1px solid rgba(226, 232, 240, 0.9);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.grid-3,
.grid-2,
.card-grid {
  display: grid;
  gap: 18px;
}

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

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

.card {
  padding: 24px;
}

.card h3,
.list-card h3,
.policy-card h3,
.callout h3,
.panel h3 {
  margin: 0 0 10px;
  font-size: 1.18rem;
  letter-spacing: -0.04em;
}

.kicker {
  color: hsl(217 91% 36%);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.list-card,
.policy-card,
.callout {
  padding: 24px;
}

.check-list,
.number-list,
.mini-list,
.policy-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}

.check-list li,
.policy-list li {
  position: relative;
  padding-left: 28px;
}

.check-list li::before,
.policy-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45rem;
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: linear-gradient(135deg, hsl(221 83% 53%), hsl(188 94% 43%));
  box-shadow: 0 0 0 4px rgba(96, 165, 250, 0.16);
}

.number-list li {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 16px;
  align-items: start;
}

.number-pill {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: rgba(219, 234, 254, 0.9);
  border: 1px solid rgba(191, 219, 254, 0.95);
  color: hsl(217 91% 36%);
  font-weight: 900;
}

.step-copy h3,
.step-copy p {
  margin: 0;
}

.step-copy p {
  margin-top: 6px;
}

.page-intro {
  padding: 52px 0 18px;
}

.page-intro p {
  margin: 16px 0 0;
  max-width: 70ch;
}

.mono {
  font-family: "IBM Plex Mono", "SFMono-Regular", monospace;
  font-size: 0.92rem;
}

.highlight {
  display: inline;
  background: linear-gradient(180deg, transparent 55%, rgba(125, 211, 252, 0.42) 55%);
}

.footer {
  padding: 48px 0 72px;
}

.footer-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 22px 24px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  color: var(--muted-foreground);
  font-weight: 700;
}

.muted {
  color: var(--muted-foreground);
}

@keyframes drift {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }
  50% {
    transform: translate3d(-12px, -18px, 0);
  }
}

@media (max-width: 960px) {
  .hero-grid,
  .split-grid,
  .grid-3,
  .grid-2 {
    grid-template-columns: 1fr;
  }

  .section-head,
  .footer-card,
  .topbar-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav {
    justify-content: flex-start;
  }

  .stat-strip {
    grid-template-columns: 1fr;
  }
}

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

  .panel,
  .card,
  .list-card,
  .policy-card,
  .callout {
    padding: 20px;
    border-radius: 22px;
  }

  .container {
    width: min(calc(100% - 20px), var(--container));
  }

  .button-row {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .number-list li {
    grid-template-columns: 1fr;
  }
}
