:root {
  --bg: #081120;
  --bg-alt: #0d1b2f;
  --card: rgba(255, 255, 255, 0.05);
  --border: rgba(255, 255, 255, 0.12);
  --text: #eff6ff;
  --muted: #b8c5d9;
  --accent: #7dd3fc;
  --accent-strong: #38bdf8;
  --shadow: 0 20px 60px rgba(3, 7, 18, 0.35);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: linear-gradient(180deg, #06101e 0%, #0a1426 100%);
  color: var(--text);
  line-height: 1.6;
}

a {
  color: var(--accent);
}

.hero,
.subpage-header {
  padding: 2rem clamp(1.25rem, 3vw, 3rem) 4rem;
  background:
    radial-gradient(circle at top right, rgba(56, 189, 248, 0.22), transparent 30%),
    radial-gradient(circle at top left, rgba(125, 211, 252, 0.15), transparent 28%),
    var(--bg);
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.brand {
  color: #fff;
  font-weight: 700;
  font-size: 1.1rem;
  text-decoration: none;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.nav-links a {
  color: var(--muted);
  text-decoration: none;
}

.hero-content,
.subpage-copy {
  max-width: 800px;
  margin: 5rem auto 0;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
  color: var(--accent);
  margin-bottom: 0.85rem;
}

h1,
h2,
h3 {
  line-height: 1.15;
  margin-top: 0;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4.6rem);
  margin-bottom: 1rem;
}

h2 {
  font-size: clamp(1.8rem, 3.2vw, 2.8rem);
  margin-bottom: 0.75rem;
}

.lede,
.subpage-copy p,
.section-heading p {
  font-size: 1.1rem;
  color: var(--muted);
  max-width: 64ch;
}

.cta-group {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 1.3rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
}

.button.primary {
  background: var(--accent-strong);
  color: #042033;
}

.button.secondary {
  border: 1px solid var(--border);
  color: var(--text);
}

.section,
.policy-layout {
  padding: 4rem clamp(1.25rem, 3vw, 3rem);
}

.alt {
  background: rgba(255, 255, 255, 0.02);
}

.section-heading {
  max-width: 760px;
  margin: 0 auto 2rem;
}

.grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  gap: 1.5rem;
}

.two-up {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.three-up {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.card,
.policy-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 1.5rem;
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
}

.policy-layout {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  gap: 1.25rem;
}

.footer {
  padding: 2rem clamp(1.25rem, 3vw, 3rem) 3rem;
  border-top: 1px solid var(--border);
  color: var(--muted);
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer p {
  margin: 0;
  max-width: 36rem;
}

.footer-links {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer a {
  color: var(--accent);
  text-decoration: none;
}

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

  .nav-links {
    width: 100%;
    gap: 0.75rem;
  }

  .hero-content,
  .subpage-copy {
    margin-top: 3.5rem;
  }

  .cta-group {
    flex-direction: column;
    align-items: stretch;
  }

  .button {
    width: 100%;
  }

  .footer {
    flex-direction: column;
  }
}

@media (max-width: 640px) {
  .hero,
  .subpage-header,
  .section,
  .policy-layout,
  .footer {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .hero-content,
  .subpage-copy {
    margin-top: 2.75rem;
  }

  h1 {
    font-size: clamp(2.2rem, 11vw, 3.4rem);
  }

  h2 {
    font-size: clamp(1.6rem, 8vw, 2.2rem);
  }

  .nav-links {
    flex-direction: column;
    align-items: flex-start;
  }

  .two-up,
  .three-up {
    grid-template-columns: 1fr;
  }

  .card,
  .policy-card {
    padding: 1.25rem;
    border-radius: 20px;
  }

  .section-heading,
  .grid,
  .policy-layout {
    gap: 1rem;
  }
}
