body {
  display: flex;
  flex-direction: column;
}

.site-shell {
  width: min(100% - 32px, var(--page-width));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  padding: 18px 0 8px;
  backdrop-filter: blur(14px);
}

.site-header__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(248, 247, 241, 0.82);
  box-shadow: 0 10px 30px rgba(17, 35, 58, 0.08);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand__mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  color: #f8fbff;
  font-weight: 700;
  background: linear-gradient(135deg, #173e72 0%, #275fa5 100%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.15);
}

.brand__copy strong {
  display: block;
  font-size: 0.98rem;
}

.brand__copy span {
  display: block;
  color: var(--text-muted);
  font-size: 0.78rem;
}

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

.page {
  padding-bottom: 72px;
}

.hero {
  position: relative;
  overflow: hidden;
  margin: 20px 0 28px;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 36px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.92), rgba(241, 238, 228, 0.88)),
    linear-gradient(135deg, rgba(21, 76, 138, 0.05), transparent 55%);
  box-shadow: var(--shadow);
}

.hero::after {
  position: absolute;
  right: -60px;
  bottom: -80px;
  width: 240px;
  height: 240px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(21, 76, 138, 0.18), transparent 70%);
  content: "";
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  color: var(--accent);
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero h1,
.hero h2 {
  max-width: 10ch;
  margin-bottom: 16px;
  font-size: clamp(2.3rem, 4vw, 4rem);
  line-height: 1.02;
}

.hero p {
  max-width: 58ch;
  color: var(--text-muted);
  font-family: var(--font-serif);
  font-size: 1.02rem;
  line-height: 1.75;
}

.hero__grid,
.stats-grid,
.section-grid {
  display: grid;
  gap: 18px;
}

.hero__grid {
  grid-template-columns: 1.6fr 1fr;
  align-items: end;
  margin-top: 26px;
}

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

.section {
  margin-top: 24px;
}

.section__head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.section__head h2,
.section__head h3 {
  font-size: 1.35rem;
}

.section__head p {
  max-width: 60ch;
  color: var(--text-muted);
  line-height: 1.6;
}

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

.card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.card-grid--single {
  grid-template-columns: 1fr;
}

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

.panel-stack {
  display: grid;
  gap: 18px;
}

.page-footer {
  margin-top: auto;
  padding: 24px 0 40px;
}

.page-footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  color: var(--text-muted);
  font-size: 0.92rem;
}

.page-title {
  margin: 28px 0 22px;
}

.page-title h1 {
  margin-bottom: 10px;
  font-size: clamp(2rem, 4vw, 3.4rem);
}

.page-title p {
  max-width: 60ch;
  color: var(--text-muted);
  font-family: var(--font-serif);
  line-height: 1.7;
}

@media (max-width: 960px) {
  .hero__grid,
  .section-grid,
  .card-grid,
  .card-grid--triple,
  .stats-grid {
    grid-template-columns: 1fr;
  }

  .site-header__bar,
  .page-footer__inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 640px) {
  .site-shell {
    width: min(100% - 20px, var(--page-width));
  }

  .hero,
  .page-title {
    margin-top: 14px;
  }

  .hero {
    padding: 24px 20px;
    border-radius: 28px;
  }

  .hero h1,
  .hero h2 {
    max-width: none;
  }
}
