:root {
  --blue: #0060a8;
  --blue-dark: #074f88;
  --ink: #142333;
  --muted: #526477;
  --soft: #f3f7fb;
  --line: #d9e4ee;
  --white: #fff;
  --max: 72rem;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--white); font: 1rem/1.65 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
a { color: var(--blue-dark); text-underline-offset: .18em; }
a:hover { text-decoration-thickness: .14em; }
img { display: block; max-width: 100%; height: auto; }
.shell { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: 1rem; }
.narrow { max-width: 48rem; }
.skip-link { position: absolute; left: -9999px; top: .5rem; z-index: 100; padding: .65rem 1rem; background: #fff; color: #000; }
.skip-link:focus { left: .5rem; }

.site-header { background: var(--blue); color: #fff; border-bottom: 1px solid rgba(255,255,255,.3); }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: .65rem; }
.brand { display: flex; align-items: center; gap: .75rem; color: #fff; font-weight: 750; text-decoration: none; }
.brand img { width: 3.25rem; height: 3.25rem; }
.site-header nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: .25rem .85rem; min-width: 0; }
.site-header nav a { color: #fff; font-size: .91rem; text-decoration: none; padding: .35rem .1rem; }
.site-header nav a[aria-current="page"] { border-bottom: 2px solid #fff; }
.mobile-menu { display: none; position: relative; }
.mobile-menu summary { display: flex; align-items: center; gap: .55rem; padding: .55rem .7rem; border: 1px solid rgba(255,255,255,.7); border-radius: .45rem; color: #fff; font-weight: 700; cursor: pointer; list-style: none; }
.mobile-menu summary::-webkit-details-marker { display: none; }
.menu-icon, .menu-icon::before, .menu-icon::after { display: block; width: 1.25rem; height: 2px; border-radius: 2px; background: #fff; }
.menu-icon { position: relative; }
.menu-icon::before, .menu-icon::after { position: absolute; left: 0; content: ""; }
.menu-icon::before { top: -.4rem; }
.menu-icon::after { top: .4rem; }

.hero { padding: clamp(2rem, 5vw, 4.5rem) 0; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; }
.hero-image { border-radius: 1.1rem; aspect-ratio: 1; object-fit: cover; box-shadow: 0 1rem 2.5rem rgba(20,35,51,.15); }
.eyebrow { color: var(--blue-dark); font-weight: 750; letter-spacing: .03em; }
h1, h2, h3 { line-height: 1.2; }
h1 { margin: .25rem 0 1rem; font-size: clamp(2.2rem, 5vw, 4.1rem); }
h2 { margin-top: 2rem; font-size: clamp(1.5rem, 3vw, 2.15rem); }
h3 { font-size: 1.2rem; }
.lead { color: var(--muted); font-size: 1.15rem; max-width: 42rem; }
.actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.5rem; }
.button { display: inline-block; padding: .72rem 1rem; border: 2px solid var(--blue); border-radius: .55rem; background: var(--blue); color: #fff; font-weight: 750; text-decoration: none; }
.button:hover { background: var(--blue-dark); border-color: var(--blue-dark); }
.button.secondary { background: #fff; color: var(--blue-dark); }

.section { padding: clamp(2rem, 5vw, 4rem) 0; }
.soft { background: var(--soft); border-block: 1px solid var(--line); }
.cards { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 1rem; }
.cards article, aside { padding: 1.25rem; border: 1px solid var(--line); border-radius: .85rem; background: #fff; box-shadow: 0 .35rem 1rem rgba(20,35,51,.06); }
.cards article { display: flex; flex-direction: column; }
.cards article a { margin-top: auto; font-weight: 700; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.callout { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.callout h2 { margin-top: 0; }

.page { padding: clamp(2rem, 6vw, 4.5rem) 0; min-height: 60vh; }
.page h1 { font-size: clamp(2rem, 4vw, 3.15rem); }
.page h2 { margin-top: 2rem; font-size: 1.45rem; }
.breadcrumb { color: var(--muted); font-size: .92rem; }
.page li { margin-block: .45rem; }

.site-footer { padding: 2.25rem 0 1rem; background: #0b2539; color: #eaf3f8; }
.site-footer a { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 2rem; }
.footer-grid p { margin-top: .45rem; }
.copyright { width: 100%; max-width: var(--max); margin: 1.5rem auto 0; padding: 1rem 1rem 0; border-top: 1px solid rgba(255,255,255,.25); color: #c9d9e4; }

:focus-visible { outline: 3px solid #ffbf47; outline-offset: 3px; }

@media (max-width: 56rem) {
  .header-row { align-items: center; flex-direction: row; }
  .site-header .desktop-nav { display: none; }
  .mobile-menu { display: block; margin-left: auto; }
  .mobile-menu nav { position: absolute; z-index: 20; top: calc(100% + .6rem); right: 0; display: grid; width: min(19rem, calc(100vw - 1.3rem)); padding: .65rem; border: 1px solid var(--line); border-radius: .65rem; background: #fff; box-shadow: 0 .8rem 2rem rgba(20,35,51,.22); }
  .mobile-menu nav a { color: var(--ink); padding: .55rem .65rem; border-radius: .35rem; }
  .mobile-menu nav a:hover { background: var(--soft); }
  .mobile-menu nav a[aria-current="page"] { border-bottom: 0; background: var(--soft); font-weight: 700; }
  .hero-grid, .split { grid-template-columns: 1fr; }
  .hero-image { max-height: 28rem; width: 100%; }
  .cards { grid-template-columns: repeat(2, minmax(0,1fr)); }
}

@media (max-width: 38rem) {
  .shell { padding-inline: .65rem; }
  .brand span { font-size: .95rem; }
  .brand { gap: .5rem; }
  .brand img { width: 2.7rem; height: 2.7rem; }
  .cards, .footer-grid { grid-template-columns: 1fr; }
  .callout { align-items: flex-start; flex-direction: column; }
  .button { width: 100%; text-align: center; }
}
