:root {
  --accent: #1b3a6b;
  --accent-light: #2a4f8a;
  --accent-dark: #0f2847;
  --surface: #ffffff;
  --surface-secondary: #f6f8fb;
  --canvas: #eceef3;
  --text: #1a2332;
  --text-secondary: #4a5568;
  --text-muted: #6b7a90;
  --border: rgba(15, 23, 42, 0.08);
  --font-sans: "Nunito Sans", ui-sans-serif, system-ui, sans-serif;
  --font-display: Nunito, "Nunito Sans", ui-sans-serif, system-ui, sans-serif;
}

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

html {
  -webkit-font-smoothing: antialiased;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--canvas);
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  letter-spacing: -0.02em;
}

img {
  max-width: 100%;
  height: auto;
}

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

.hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  background: var(--accent-dark);
  padding: 28px 24px 72px;
}

.hero-glow,
.hero-dots {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-glow::before,
.hero-glow::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  filter: blur(90px);
}

.hero-glow::before {
  width: 420px;
  height: 420px;
  left: -120px;
  top: -140px;
  background: var(--accent);
  opacity: 0.55;
}

.hero-glow::after {
  width: 360px;
  height: 360px;
  right: -80px;
  bottom: -120px;
  background: var(--accent-light);
  opacity: 0.35;
}

.hero-dots {
  opacity: 0.05;
  background-image: radial-gradient(circle, #fff 1px, transparent 1px);
  background-size: 40px 40px;
}

.nav,
.hero-copy,
.modules,
.footer {
  position: relative;
  z-index: 1;
  width: min(1080px, 100%);
  margin-inline: auto;
}

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

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.logo-light {
  height: 52px;
  width: auto;
}

.logo-color {
  height: 44px;
  width: auto;
}

.hero-copy {
  max-width: 720px;
  padding-top: 72px;
}

.eyebrow {
  margin: 0 0 12px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}

h1 {
  margin: 0;
  font-size: clamp(36px, 5vw, 56px);
  line-height: 1.12;
  font-weight: 800;
}

.lead {
  margin: 18px 0 0;
  max-width: 38rem;
  font-size: 17px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.68);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 18px;
  border-radius: 12px;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 700;
}

.btn-ghost {
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.12);
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 32px 0 0;
  padding: 0;
  list-style: none;
}

.chips li {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  padding: 6px 14px;
  font-size: 12px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.75);
}

.modules {
  padding: 64px 24px 32px;
}

.section-head h2 {
  margin: 0;
  font-size: clamp(26px, 3vw, 34px);
  line-height: 1.2;
}

.section-head p {
  margin: 10px 0 0;
  color: var(--text-secondary);
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.grid li {
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--surface);
  padding: 22px 20px;
}

.grid h3 {
  margin: 0;
  font-size: 18px;
}

.grid p {
  margin: 8px 0 0;
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.55;
}

.footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 28px 24px 40px;
}

.footer p {
  margin: 0;
  color: var(--text-muted);
  font-size: 13px;
}

@media (max-width: 800px) {
  .grid {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    padding-top: 48px;
  }
}

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