/* Shared visual language for the 19 subpages. Page-specific layouts follow. */
.subpage {
  --navy: #102747;
  --navy-2: #24496b;
  --navy-3: #0b203c;
  --blue: #285f9e;
  --ink: #10213e;
  --bg: #fcfaf7;
  --cloud: #fcfaf7;
  --muted: #536174;
  --line: #dce3e9;
  --r: 16px;
  --r-lg: 24px;
  background: var(--bg);
  color: var(--ink);
}
.subpage .wrap { max-width: 1360px; }
.subpage .wrap.narrow { max-width: 960px; }
.subpage .site-header { position: relative; background: var(--navy); }
.subpage .brand strong { font-size: 22px; font-weight: 650; letter-spacing: -.035em; }
.subpage .brand small { margin-top: 3px; color: #c5d7e8; }
.subpage .brand-mark { width: 42px; height: 42px; }
.subpage .nav-desktop a { padding-inline: 10px; }
.subpage :is(h1,h2,h3) { letter-spacing: -.035em; }
.subpage h1 { font-size: clamp(34px, 4.2vw, 56px); font-weight: 720; line-height: 1.1; }
.subpage h2 { font-weight: 680; }
.subpage .page-head { padding: 48px 0 28px; }
.subpage .lead { color: #3e5369; }
.subpage .kicker { font-size: 12px; letter-spacing: .1em; }
.subpage .button { min-height: 48px; padding: 12px 22px; border-radius: 16px; line-height: 1.3; }
.subpage button.button { border: 1px solid transparent; cursor: pointer; }
.subpage .button.primary:hover { background: #1e4c82; }
.subpage .chip { border-radius: 999px; min-height: 44px; }
.subpage input[type='search'] { border-radius: 16px; background-color: white; padding-right: 48px; }
.subpage .section.tinted { background: #f3f6f8; }
.subpage .site-footer { background: var(--navy); }
.subpage .footer-inner { gap: 32px; padding-block: 40px; }
.subpage .footer-inner h2 { font-weight: 600; letter-spacing: .06em; }
.subpage .footer-legal { padding-block: 20px; }
.subpage [id] { scroll-margin-top: 24px; }
.subpage :is(.table-wrap,.charts,.detail-layout,.check-layout) { min-width: 0; }
.subpage img { max-width: 100%; }
.subpage main [hidden] { display: none !important; }
@media (min-width: 901px) and (max-width: 1150px) {
  .subpage .brand strong { font-size: 18px; }
  .subpage .nav-desktop a { padding-inline: 7px; font-size: 13px; }
}
@media (max-width: 680px) {
  .subpage .page-head { padding-top: 32px; }
  .subpage .section { padding-block: 40px; }
  .subpage .section.compact { padding-block: 24px; }
  .subpage .footer-inner { grid-template-columns: 1fr 1fr; gap: 28px 20px; }
  .subpage .footer-brand-col { grid-column: 1 / -1; }
  .subpage .footer-inner > div:last-child { grid-column: 1 / -1; }
  .subpage .footer-legal { font-size: 12px; }
}
@media (max-width: 540px) {
  .subpage .brand strong { font-size: 18px; }
  .subpage .brand small { font-size: 11px; }
  .subpage .brand-mark { width: 32px; height: 32px; }
  .subpage .header-inner { gap: 12px; }
  .subpage .nav-mobile summary { padding-inline: 10px; }
  .subpage h1 { overflow-wrap: anywhere; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .subpage * { transition: none; animation: none; }
}
@media print {
  .subpage { background: #fff; }
  .subpage .section.compact { padding: 0; }
}

/* Eight navigation entries: use the accessible menu before they become crowded. */
@media (max-width:1180px) { .subpage .nav-desktop { display:none; } .subpage .nav-mobile { display:block; } }
@media(max-width:540px){.subpage .footer-inner{grid-template-columns:1fr;gap:30px}.subpage .footer-brand-col{grid-column:auto}}
