.skip-link:not(:focus) {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
}
.skip-link:focus {
    position: fixed;
    top: 12px;
    left: 12px;
    z-index: 100;
    padding: 8px 14px;
    border-radius: 8px;
    background: #0c467f;
    color: #fff;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    border-bottom: 1px solid #dce5ed;
    background: rgba(255, 255, 255, .96);
    backdrop-filter: blur(12px);
}
.site-header .nav-wrap, .site-footer .footer-wrap {
    width: min(calc(100% - 36px), 1160px);
    margin-inline: auto;
}
.nav-wrap {
    display: flex;
    align-items: center;
    gap: 6px;
    min-height: 76px;
}
.brand { display: inline-flex; flex: 0 0 auto; align-items: center; }
.brand img { display: block; width: auto; height: 42px; }
.main-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-left: auto; }
.main-nav a, .nav-cta {
    display: inline-block;
    padding: 9px 11px;
    border-radius: 8px;
    color: #33475b;
    font: 700 15px/1.5 Lato, "Segoe UI", Arial, sans-serif;
    text-decoration: none;
}
.main-nav a:hover, .main-nav a[aria-current] { color: #0c467f; background: #eaf4ff; }
.nav-cta { color: #fff; background: #145ea8; white-space: nowrap; }
.nav-cta:hover { color: #fff; background: #0c467f; }
.site-header a:focus-visible { outline: 3px solid #145ea8; outline-offset: 2px; }

.site-footer {
    padding: 54px 0 24px;
    background: #132536;
    color: #aebdca;
    font: 17px/1.65 Lato, "Segoe UI", Arial, sans-serif;
}
.footer-grid { display: grid; grid-template-columns: 1.3fr repeat(3, 1fr); gap: 38px; }
.site-footer .brand { display: flex; width: fit-content; margin-bottom: 15px; }
.site-footer p { max-width: 330px; margin: 0; }
.site-footer h2 { margin: 0 0 9px; color: #fff; font-size: 16px; line-height: 1.3; letter-spacing: normal; }
.footer-links { padding: 0; margin: 0; list-style: none; }
.footer-links li + li { margin-top: 8px; }
.footer-links a { color: #b9c8d5; text-decoration: none; }
.footer-links a:hover { color: #fff; text-decoration: underline; }
.site-footer a:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    margin-top: 38px;
    padding-top: 21px;
    border-top: 1px solid rgba(255, 255, 255, .15);
    font-size: 13px;
}

@media (min-width: 721px) {
    html { scroll-padding-top: 84px; }
}
@media (max-width: 980px) {
    .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
    .site-header { position: static; }
    .nav-wrap { flex-wrap: wrap; justify-content: space-between; gap: 4px; padding-block: 8px 4px; }
    .site-header .brand img { height: 34px; }
    .main-nav { order: 1; width: 100%; margin: 0; gap: 2px; justify-content: space-between; }
    .main-nav a { padding: 7px 4px; }
    .footer-grid { gap: 24px; }
    .site-footer { padding-top: 36px; font-size: 16px; }
    .footer-bottom { flex-direction: column; gap: 4px; margin-top: 28px; }
}
@media (max-width: 540px) {
    .site-header .nav-wrap, .site-footer .footer-wrap { width: calc(100% - 24px); }
    .footer-grid > :first-child, .footer-grid > :last-child { grid-column: 1 / -1; }
}
