:root {
  --bg: #f7f9fc;
  --surface: #ffffff;
  --text: #0b1220;
  --muted: #4b5563;
  --navy: #0b2340;
  --navy-2: #0f3562;
  --accent: #2d6cdf;
  --accent-2: #23b5d3;
  --border: rgba(15, 23, 42, 0.12);
  --shadow-sm: 0 6px 18px rgba(2, 6, 23, 0.08);
  --shadow: 0 16px 44px rgba(2, 6, 23, 0.16);
  --radius: 16px;
  --radius-sm: 12px;

  --container: 1200px;
  --pad-x: clamp(1rem, 3vw, 2rem);

  --font-base: clamp(1rem, 0.35vw + 0.94rem, 1.125rem);
  --font-sm: clamp(0.875rem, 0.2vw + 0.82rem, 1rem);
  --h1: clamp(2rem, 3.5vw + 1rem, 3.25rem);
  --h2: clamp(1.5rem, 2.3vw + 0.9rem, 2.25rem);
  --h3: clamp(1.125rem, 1.2vw + 0.85rem, 1.5rem);

  --space-1: clamp(0.5rem, 0.8vw, 0.75rem);
  --space-2: clamp(0.75rem, 1.2vw, 1rem);
  --space-3: clamp(1rem, 2vw, 1.5rem);
  --space-4: clamp(1.5rem, 3vw, 2.25rem);
  --space-5: clamp(2rem, 4vw, 3rem);
  --space-6: clamp(3rem, 6vw, 4.5rem);

  --header-offset: 112px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-offset);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

body {
  margin: 0;
  color: var(--text);
  background: radial-gradient(1200px 420px at 18% -10%, rgba(45, 108, 223, 0.18), transparent 60%),
    radial-gradient(900px 380px at 86% 0%, rgba(35, 181, 211, 0.12), transparent 55%), var(--bg);
  font-family: system-ui, -apple-system, "Segoe UI Variable Text", "Segoe UI", Roboto, Arial, sans-serif;
  font-size: var(--font-base);
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: inherit;
  text-decoration-thickness: 2px;
  text-underline-offset: 0.18em;
}

:where(a, button, input, textarea, select):focus-visible {
  outline: 3px solid rgba(45, 108, 223, 0.45);
  outline-offset: 3px;
  border-radius: 12px;
}

.container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--pad-x);
}

.skip-link {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.75rem 1rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
  transform: translateY(-200%);
  transition: transform 160ms ease;
  z-index: 2000;
  text-decoration: none;
  font-weight: 700;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1500;
  background: rgba(247, 249, 252, 0.85);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(10px);
}

.topbar {
  background: linear-gradient(90deg, var(--navy), #08162d);
  color: rgba(255, 255, 255, 0.9);
  font-size: var(--font-sm);
}

.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-2);
  padding-block: 0.55rem;
}

.topbar__left {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
}

.topbar__link {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
}

.topbar__link:hover {
  color: #ffffff;
  text-decoration: underline;
}

.topbar__sep {
  opacity: 0.45;
}

.header-main {
  background: rgba(255, 255, 255, 0.82);
}

.header-main__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 0.85rem;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.brand__logo {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
}

.brand__logo img {
  height: 64px;
  width: auto;
  border-radius: 12px;
}

.brand__name {
  font-weight: 850;
  letter-spacing: 0.2px;
  color: var(--navy);
  font-size: clamp(1.2rem, 1vw + 1rem, 1.5rem);
  line-height: 1.1;
}

.brand__tagline {
  color: var(--muted);
  font-size: var(--font-sm);
  border-left: 1px solid var(--border);
  padding-left: 0.65rem;
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
}

.nav-toggle__icon {
  width: 18px;
  height: 12px;
  position: relative;
}

.nav-toggle__icon::before,
.nav-toggle__icon::after,
.nav-toggle__icon > span {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--navy);
  border-radius: 999px;
}

.nav-toggle__icon::before {
  top: 0;
}

.nav-toggle__icon > span {
  top: 5px;
}

.nav-toggle__icon::after {
  bottom: 0;
}

.site-nav__list {
  list-style: none;
  display: flex;
  align-items: center;
  gap: clamp(0.5rem, 1.5vw, 1.25rem);
  padding: 0;
  margin: 0;
}

.site-nav__list a {
  text-decoration: none;
  color: var(--text);
  font-weight: 650;
  font-size: var(--font-sm);
  padding: 0.5rem 0.5rem;
  border-radius: 10px;
}

.site-nav__list a:hover {
  background: rgba(45, 108, 223, 0.08);
  color: var(--navy);
}

.site-nav__list a.is-active {
  color: var(--navy);
  background: rgba(45, 108, 223, 0.12);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-weight: 750;
  text-decoration: none;
  border-radius: 999px;
  border: 1px solid transparent;
  padding: 0.85rem 1.1rem;
  line-height: 1.1;
  cursor: pointer;
  transition: transform 140ms ease, box-shadow 140ms ease, background 140ms ease, color 140ms ease, border-color 140ms ease;
  user-select: none;
}

.btn--primary {
  background: linear-gradient(180deg, var(--accent), #2458c2);
  color: #fff;
  box-shadow: 0 10px 24px rgba(45, 108, 223, 0.25);
}

.btn--primary:hover {
  background: linear-gradient(180deg, #2f7bff, #234fb0);
  color: #fff;
  transform: translateY(-1px);
}

.btn--secondary {
  background: transparent;
  border-color: rgba(11, 35, 64, 0.25);
  color: var(--navy);
}

.btn--secondary:hover {
  background: rgba(11, 35, 64, 0.06);
  transform: translateY(-1px);
}

.btn--sm {
  padding: 0.55rem 0.85rem;
  font-size: var(--font-sm);
  box-shadow: none;
}

.btn:active {
  transform: translateY(0);
}

.section {
  padding-block: var(--space-6);
}

.section--muted {
  background: linear-gradient(180deg, rgba(11, 35, 64, 0.05), transparent);
  border-top: 1px solid rgba(15, 23, 42, 0.06);
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

.section__header {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
  margin-bottom: var(--space-4);
  max-width: 72ch;
}

.section__header h2 {
  margin: 0;
  font-size: var(--h2);
  line-height: 1.15;
}

.section__header p {
  margin: 0;
  color: var(--muted);
}

h1,
h2,
h3 {
  letter-spacing: -0.02em;
  text-wrap: balance;
}

p {
  text-wrap: pretty;
}

.eyebrow {
  font-size: var(--font-sm);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin: 0 0 var(--space-1);
}

.hero,
.page-hero {
  position: relative;
  color: #fff;
  background: linear-gradient(120deg, rgba(11, 35, 64, 0.92), rgba(6, 16, 33, 0.88)), var(--hero-image);
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.hero::after,
.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(600px 420px at 20% 20%, rgba(45, 108, 223, 0.35), transparent 60%),
    radial-gradient(820px 520px at 85% 15%, rgba(35, 181, 211, 0.22), transparent 60%);
  pointer-events: none;
}

.hero__inner {
  position: relative;
  padding-block: var(--space-6);
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: var(--space-4);
  align-items: center;
}

.hero h1 {
  font-size: var(--h1);
  line-height: 1.05;
  margin: 0 0 var(--space-2);
}

.lead {
  font-size: clamp(1.05rem, 0.5vw + 1rem, 1.25rem);
  color: rgba(255, 255, 255, 0.92);
  margin: 0 0 var(--space-3);
  max-width: 68ch;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-top: var(--space-3);
}

.hero__panel {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  padding: var(--space-3);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(8px);
}

.hero__panel h2 {
  margin: 0 0 var(--space-2);
  font-size: var(--h3);
  line-height: 1.2;
}

.hero__bullets {
  margin: 0;
  padding-left: 1.1rem;
  color: rgba(255, 255, 255, 0.9);
}

.hero__bullets li {
  margin-bottom: 0.5rem;
}

.hero__note {
  font-size: var(--font-sm);
  color: rgba(255, 255, 255, 0.75);
  margin: var(--space-2) 0 0;
}

.page-hero .hero__inner {
  grid-template-columns: 1fr;
  padding-block: var(--space-5);
}

.grid {
  display: grid;
  gap: var(--space-3);
}

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

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

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.card__body {
  padding: var(--space-3);
}

.card__body h3 {
  margin: 0 0 0.5rem;
  font-size: var(--h3);
  line-height: 1.2;
  color: var(--navy);
}

.card__body p {
  margin: 0 0 var(--space-2);
  color: var(--muted);
}

.card__link {
  padding: 0 var(--space-3) var(--space-3);
  margin-top: auto;
}

.card__link a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 750;
  color: var(--accent);
  text-decoration: none;
}

.card__link a:hover {
  text-decoration: underline;
}

.media-card img {
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.list {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--muted);
}

.list li {
  margin-block: 0.45rem;
}

.checklist {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
  color: var(--muted);
}

.checklist li {
  display: grid;
  grid-template-columns: 0.9rem 1fr;
  gap: 0.75rem;
  align-items: start;
}

.checklist li::before {
  content: "";
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 999px;
  margin-top: 0.35rem;
  background: linear-gradient(180deg, var(--accent), var(--accent-2));
  box-shadow: 0 8px 16px rgba(45, 108, 223, 0.25);
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--space-3);
}

.stat {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(15, 23, 42, 0.1);
  border-radius: var(--radius);
  padding: var(--space-3);
  box-shadow: var(--shadow-sm);
}

.stat__num {
  font-size: clamp(1.75rem, 2vw + 1rem, 2.5rem);
  font-weight: 900;
  color: var(--navy);
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.stat__label {
  margin-top: 0.35rem;
  color: var(--muted);
  font-size: var(--font-sm);
}

.two-col {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: var(--space-4);
  align-items: start;
}

.cta-band {
  padding-block: var(--space-5);
  background: linear-gradient(110deg, var(--navy), #0a1833);
  color: #fff;
}

.cta-band__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
}

.cta-band__inner h2 {
  margin: 0;
  font-size: var(--h2);
  line-height: 1.15;
}

.cta-band__inner p {
  margin: 0.35rem 0 0;
  color: rgba(255, 255, 255, 0.85);
  max-width: 70ch;
}

.site-footer {
  background: #071225;
  color: rgba(255, 255, 255, 0.86);
  padding-top: var(--space-5);
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.2fr 0.9fr 0.9fr;
  gap: var(--space-4);
  padding-bottom: var(--space-4);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.footer__title {
  color: #fff;
  font-weight: 850;
  font-size: 1.2rem;
  margin: 0 0 var(--space-2);
}

.footer__text {
  color: rgba(255, 255, 255, 0.78);
  margin: 0 0 var(--space-2);
}

.footer__links,
.footer__contact {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.65rem;
}

.footer__links a,
.footer__contact a {
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
}

.footer__links a:hover,
.footer__contact a:hover {
  color: #fff;
  text-decoration: underline;
}

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: var(--space-3);
  font-size: var(--font-sm);
  color: rgba(255, 255, 255, 0.65);
}

.footer__bottom a {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
}

.footer__bottom a:hover {
  color: #fff;
}

.nav-overlay {
  display: none;
}

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

  .brand__logo img {
    height: 56px;
  }

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

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

  .two-col {
    grid-template-columns: 1fr;
  }

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

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

  body.js .nav-toggle {
    display: inline-flex;
  }

  body.js .site-nav {
    position: fixed;
    top: var(--header-offset);
    right: 0;
    width: min(86vw, 360px);
    height: calc(100vh - var(--header-offset));
    background: var(--surface);
    border-left: 1px solid var(--border);
    box-shadow: var(--shadow);
    transform: translateX(105%);
    transition: transform 180ms ease;
    padding: var(--space-3);
    z-index: 1600;
    overflow: auto;
    -webkit-overflow-scrolling: touch;
  }

  body.js .site-nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 0.25rem;
  }

  body.js .site-nav__list a {
    padding: 0.95rem 0.75rem;
    font-size: 1rem;
  }

  body.js .nav-overlay {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(2, 6, 23, 0.6);
    backdrop-filter: blur(4px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 180ms ease;
    z-index: 1550;
  }

  body.menu-open .site-nav {
    transform: translateX(0);
  }

  body.menu-open .nav-overlay {
    opacity: 1;
    pointer-events: auto;
  }

  body.menu-open {
    overflow: hidden;
  }
}

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

  .brand__tagline {
    display: none;
  }

  .brand__logo img {
    height: 48px;
  }

  .grid--3,
  .grid--2 {
    grid-template-columns: 1fr;
  }

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

  .hero__actions .btn {
    width: 100%;
  }
}
