/* Shared site shell. Page-specific styles remain in each document. */
:root {
    --shell-ink: #172033;
    --shell-muted: #5d687a;
    --shell-line: #dbe3ee;
    --shell-blue: #1d4ed8;
    --shell-blue-dark: #153eaa;
    --shell-paper: #ffffff;
}
*, *::before, *::after { box-sizing: border-box; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, .97);
    border-bottom: 1px solid var(--shell-line);
    box-shadow: 0 4px 16px rgba(23, 32, 51, .07);
}
.site-nav {
    max-width: 1180px;
    min-height: 72px;
    margin: 0 auto;
    padding: 14px 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}
.site-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--shell-ink);
    font-size: 1.2rem;
    font-weight: 800;
    text-decoration: none;
    white-space: nowrap;
}
.site-brand-mark { width: 32px; height: 32px; color: var(--shell-blue); flex: 0 0 auto; }
.site-desktop-nav { display: flex; align-items: center; gap: 24px; }
.site-nav-link, .site-tools-toggle {
    color: #344054;
    font: inherit;
    font-size: .95rem;
    font-weight: 650;
    text-decoration: none;
}
.site-nav-link:hover, .site-nav-link:focus-visible, .site-tools-toggle:hover, .site-tools-toggle:focus-visible { color: var(--shell-blue); }
.site-nav-link[aria-current="page"] { color: var(--shell-blue); }
.site-tools { position: relative; }
.site-tools-toggle {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 8px 0;
    border: 0;
    background: transparent;
    cursor: pointer;
}
.site-tools-toggle svg { width: 16px; height: 16px; }
.site-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    left: -16px;
    display: none;
    width: 280px;
    padding: 8px;
    background: var(--shell-paper);
    border: 1px solid var(--shell-line);
    border-radius: 8px;
    box-shadow: 0 16px 32px rgba(23, 32, 51, .14);
}
.site-dropdown.is-open, .site-dropdown.active { display: grid; }
.site-dropdown a { padding: 11px 12px; color: #344054; font-size: .9rem; text-decoration: none; border-radius: 5px; }
.site-dropdown a:hover, .site-dropdown a:focus-visible, .site-dropdown a[aria-current="page"] { color: var(--shell-blue); background: #eef4ff; }
.site-menu-button {
    display: none;
    width: 42px;
    height: 42px;
    padding: 8px;
    color: var(--shell-ink);
    border: 1px solid var(--shell-line);
    border-radius: 7px;
    background: var(--shell-paper);
    cursor: pointer;
}
.site-menu-button svg { width: 24px; height: 24px; }
.site-mobile-nav { display: none; }
.site-mobile-nav.is-open { display: grid; gap: 2px; padding: 12px 0 16px; }
.site-mobile-nav a, .site-mobile-nav button { padding: 10px 12px; color: #344054; font: inherit; font-size: .95rem; text-align: left; text-decoration: none; border: 0; border-radius: 5px; background: transparent; }
.site-mobile-nav a:hover, .site-mobile-nav a:focus-visible, .site-mobile-nav a[aria-current="page"] { color: var(--shell-blue); background: #eef4ff; }
.site-mobile-tools { display: grid; gap: 2px; margin: 2px 0 4px 12px; }
.site-mobile-tools a { font-size: .88rem; }
.site-footer { margin-top: 48px; color: #dbe3ee; background: #172033; }
.site-footer-inner { max-width: 1180px; margin: 0 auto; padding: 48px 28px 24px; }
.site-footer-grid { display: grid; grid-template-columns: 1.25fr 1fr 1fr 1.25fr; gap: 34px; }
.site-footer h2 { margin: 0 0 14px; color: #fff; font-size: 1rem; }
.site-footer p { margin: 0 0 14px; color: #b8c4d4; font-size: .9rem; line-height: 1.65; }
.site-footer a { color: #e9eff8; text-decoration: none; }
.site-footer a:hover, .site-footer a:focus-visible { color: #93c5fd; text-decoration: underline; }
.site-footer ul { display: grid; gap: 9px; margin: 0; padding: 0; list-style: none; font-size: .9rem; }
.site-newsletter { display: flex; gap: 8px; }
.site-newsletter input { min-width: 0; flex: 1; padding: 10px 11px; color: var(--shell-ink); border: 1px solid #9aa8bb; border-radius: 5px; background: #fff; }
.site-newsletter button { padding: 10px 14px; color: #fff; font: inherit; font-weight: 700; border: 0; border-radius: 5px; background: var(--shell-blue); cursor: pointer; }
.site-newsletter button:hover, .site-newsletter button:focus-visible { background: var(--shell-blue-dark); }
.site-footer-bottom { margin-top: 34px; padding-top: 18px; color: #aab7c9; font-size: .82rem; border-top: 1px solid #344054; }
:focus-visible { outline: 3px solid #93c5fd; outline-offset: 3px; }
@media (max-width: 820px) {
    .site-nav { padding: 12px 20px; }
    .site-desktop-nav { display: none; }
    .site-menu-button { display: inline-flex; align-items: center; justify-content: center; }
    .site-footer-inner { padding: 38px 20px 22px; }
    .site-footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
    .site-brand { font-size: 1.05rem; }
    .site-brand-mark { width: 28px; height: 28px; }
    .site-footer-grid { grid-template-columns: 1fr; gap: 26px; }
    .site-newsletter { align-items: stretch; flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
