:root {
  --navy: hsl(212 100% 23%);
  --navy-deep: hsl(216 100% 14%);
  --navy-soft: hsl(214 63% 27%);
  --gold: hsl(47 100% 48%);
  --gold-warm: hsl(40 100% 55%);
  --background: hsl(210 33% 98%);
  --surface: hsl(0 0% 100%);
  --surface-alt: hsl(210 20% 94%);
  --foreground: hsl(212 100% 15%);
  --muted: hsl(212 24% 42%);
  --border: hsl(212 30% 88%);
  --shadow-card: 0 1px 3px 0 rgba(0, 50, 118, 0.08), 0 16px 40px -20px rgba(0, 50, 118, 0.28);
  --shadow-card-hover: 0 16px 38px -18px rgba(0, 50, 118, 0.34), 0 0 0 1px rgba(245, 196, 0, 0.12);
  --shadow-hero: 0 30px 80px -36px rgba(0, 25, 72, 0.55);
}

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

html {
  font-size: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "DM Sans", system-ui, sans-serif;
  background:
    radial-gradient(circle at top left, rgba(245, 196, 0, 0.18), transparent 28%),
    linear-gradient(180deg, rgba(0, 50, 118, 0.06), rgba(0, 50, 118, 0) 24%),
    var(--background);
  color: var(--foreground);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

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

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

.page-chrome {
  position: fixed;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: -1;
}

.page-glow {
  position: absolute;
  border-radius: 999px;
  filter: blur(72px);
  opacity: 0.6;
}

.page-glow-left {
  top: 4rem;
  left: -6rem;
  width: 18rem;
  height: 18rem;
  background: rgba(245, 196, 0, 0.18);
}

.page-glow-right {
  top: 16rem;
  right: -8rem;
  width: 24rem;
  height: 24rem;
  background: rgba(0, 50, 118, 0.16);
}

.site-shell {
  width: min(100%, 78rem);
  margin: 0 auto;
  padding: 0.75rem 0.75rem 2rem;
}

.hero-section,
.content-section {
  margin-top: 0.75rem;
}

.hero-surface {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--navy), var(--navy-soft), var(--navy));
  border-radius: 1.05rem;
  padding: 1.1rem;
  box-shadow: var(--shadow-hero);
}

.hero-surface::before {
  content: "";
  position: absolute;
  inset: auto auto -5rem -4rem;
  width: 14rem;
  height: 14rem;
  border-radius: 999px;
  background: rgba(245, 196, 0, 0.15);
  filter: blur(28px);
}

.hero-surface::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), transparent 34%),
    linear-gradient(120deg, rgba(255, 255, 255, 0.08), transparent 42%);
  pointer-events: none;
}

.logo-link {
  position: relative;
  z-index: 1;
  display: inline-flex;
  margin-bottom: 1rem;
}

.brand-logo {
  width: min(100%, 13rem);
  height: auto;
}

.hero-copy,
.section-head {
  position: relative;
  z-index: 1;
}

.section-logo {
  width: min(100%, 11rem);
  height: auto;
  margin-bottom: 0.7rem;
}

.eyebrow {
  margin: 0 0 0.55rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
}

.section-kicker {
  margin: 0 0 0.45rem;
  font-size: 0.86rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.045em;
  color: rgba(255, 255, 255, 0.78);
}

h1,
h2,
.section-title {
  margin: 0;
  font-family: "Space Grotesk", system-ui, sans-serif;
  line-height: 1.05;
}

h1 {
  max-width: 13ch;
  color: #fff;
  font-size: clamp(2rem, 12vw, 3rem);
  font-weight: 700;
}

.hero-text {
  max-width: 41rem;
  margin: 0.85rem 0 0;
  font-size: 0.98rem;
  color: rgba(255, 255, 255, 0.78);
}

.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-top: 1rem;
}

.button-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  width: 100%;
  min-height: 2.8rem;
  border-radius: 0.72rem;
  padding: 0.78rem 0.95rem;
  font-weight: 700;
  line-height: 1.1;
  text-align: center;
  transition: transform 0.28s ease, background-color 0.28s ease, border-color 0.28s ease;
}

.button-link:hover,
.button-link:focus-visible {
  transform: translateY(-2px);
}

.button-link-primary {
  background: var(--gold);
  color: var(--navy-deep);
}

.button-link-secondary {
  border: 1px solid rgba(255, 255, 255, 0.26);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.button-link-secondary:hover,
.button-link-secondary:focus-visible {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(245, 196, 0, 0.5);
}

.hero-disclaimer {
  max-width: 38rem;
  margin: 0.75rem 0 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.76rem;
}

.card-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
  margin-top: 0.75rem;
}

.feature-card {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  min-height: 100%;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 0.9rem;
  padding: 1rem;
  box-shadow: var(--shadow-card);
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.feature-card:hover,
.feature-card:focus-visible {
  transform: translateY(-4px);
  border-color: rgba(245, 196, 0, 0.55);
  box-shadow: var(--shadow-card-hover);
}

.card-label {
  display: inline-flex;
  width: fit-content;
  border-radius: 999px;
  background: rgba(0, 50, 118, 0.08);
  color: var(--navy);
  padding: 0.34rem 0.58rem;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.065em;
  text-transform: uppercase;
}

.feature-card h2 {
  font-size: clamp(1.26rem, 7vw, 1.65rem);
  font-weight: 700;
  color: var(--foreground);
}

.feature-card-compact h2 {
  font-size: clamp(1.18rem, 6vw, 1.45rem);
  line-height: 1.12;
}

.feature-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.cta-row {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 700;
  color: var(--navy);
}

.content-section {
  background: var(--surface);
  border: 1px solid rgba(0, 50, 118, 0.08);
  border-radius: 1.05rem;
  padding: 1rem;
  box-shadow: var(--shadow-card);
}

.content-section-alt {
  background:
    linear-gradient(180deg, rgba(0, 50, 118, 0.02), rgba(0, 50, 118, 0)),
    var(--surface);
}

.section-head {
  max-width: 46rem;
}

.content-section-alt .section-head {
  background: linear-gradient(135deg, var(--navy), var(--navy-soft), var(--navy));
  border-radius: 0.9rem;
  padding: 1rem;
  margin-bottom: 0.75rem;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  max-width: none;
  width: 100%;
}

.content-section .section-kicker {
  color: var(--navy);
}

.eyebrow-dark {
  color: var(--navy);
}

.content-section-alt .section-kicker {
  color: rgba(255, 255, 255, 0.78);
}

.content-section-alt .section-title {
  color: #fff;
  max-width: 26ch;
}

.section-title {
  font-size: clamp(1.45rem, 8vw, 2rem);
  font-weight: 700;
  color: var(--foreground);
  max-width: 18ch;
}

.micro-footer {
  padding: 1.4rem 0 0.2rem;
}

.micro-footer p {
  margin: 0;
  text-align: center;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 500;
}

a:focus-visible {
  outline: 3px solid rgba(245, 196, 0, 0.75);
  outline-offset: 3px;
}

.reveal {
  animation: fade-up 0.55s ease both;
}

.card-grid.reveal {
  animation-delay: 0.1s;
}

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (min-width: 480px) {
  .hero-actions {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .button-link {
    width: auto;
  }
}

@media (min-width: 640px) {
  .site-shell {
    padding: 1.5rem 1.5rem 3rem;
  }

  .hero-surface,
  .content-section {
    padding: 2rem;
  }

  .brand-logo {
    width: min(100%, 17rem);
  }

  .section-logo {
    width: min(100%, 15rem);
  }

  .eyebrow {
    font-size: 0.78rem;
    letter-spacing: 0.12em;
  }

  .section-kicker {
    font-size: 1rem;
    letter-spacing: 0.06em;
  }

  h1 {
    font-size: clamp(2.35rem, 7vw, 4.75rem);
  }

  .hero-text {
    font-size: 1.05rem;
  }

  .hero-disclaimer {
    font-size: 0.82rem;
  }

  .feature-card {
    gap: 0.9rem;
    border-radius: 1.1rem;
    padding: 1.4rem;
  }

  .card-label {
    padding: 0.4rem 0.7rem;
    font-size: 0.75rem;
    letter-spacing: 0.08em;
  }

  .feature-card h2 {
    font-size: clamp(1.65rem, 4vw, 2.35rem);
  }

  .feature-card-compact h2 {
    font-size: clamp(1.35rem, 3vw, 1.75rem);
  }

  .feature-card p {
    font-size: 1rem;
  }

  .section-title {
    font-size: clamp(1.9rem, 4vw, 3rem);
  }
}

@media (min-width: 768px) {
  .site-shell {
    padding: 1.75rem 2rem 3.5rem;
  }

  .hero-section,
  .content-section {
    margin-top: 1.5rem;
  }

  .card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem;
    margin-top: 1.5rem;
  }

  .hero-surface,
  .content-section {
    border-radius: 1.75rem;
    padding: 2.4rem;
  }

  .content-section-alt .section-head {
    padding: 1.6rem;
    margin-bottom: 1.25rem;
  }
}

@media (min-width: 1024px) {
  .content-section-alt .section-head {
    padding: 1.85rem 2rem;
  }
}

@media (min-width: 1024px) {
  .hero-surface {
    padding: 2.75rem;
  }

  .content-section {
    padding: 2.5rem 2.75rem;
  }

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

  .feature-card {
    padding: 1.65rem;
  }

  .feature-card-compact {
    padding: 1.35rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    animation: none;
  }

  .feature-card,
  .button-link {
    transition: none;
  }
}
