.sr-only {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

.site-header {
    display: block;
    height: auto;
    padding: 0;
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, .95);
    border-bottom: 1px solid rgba(220, 229, 239, .8);
    backdrop-filter: blur(18px);
}

.header-inner {
    width: min(1180px, calc(100% - 40px));
    height: 78px;
    margin-inline: auto;
    display: flex;
    align-items: center;
    gap: 28px;
}

.shell {
    width: min(1180px, calc(100% - 40px));
    max-width: none;
    padding-inline: 0;
}

.site-header .brand {
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
    gap: 14px;
    color: #003b73;
    text-decoration: none;
}

.site-header .brand-logo { height: 44px; }
.site-header .brand-product { padding-left: 14px; border-left: 1px solid #c9d7e6; color: #53657d; font-size: 15px; font-weight: 700; }

.site-header .site-nav {
    display: flex;
    align-items: center;
    flex: 0 1 auto;
    gap: 22px;
    margin-left: auto;
}

.site-header .site-nav > a {
    color: #26364a;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
}

.site-header .site-nav > a:hover { color: #004aad; }
.site-header .header-actions { display: flex; align-items: center; flex: 0 0 auto; gap: 12px; }
.site-header .header-actions .button { width: 134px; min-width: 134px; min-height: 44px; padding: 10px 16px; white-space: nowrap; }
.site-header .account form, .mobile-nav-actions form { margin: 0; }
.site-header .button-secondary { border-color: #b8c9dc; background: #fff; color: #003b73; }
.site-header .button-secondary:hover { border-color: #8da6c0; background: #f4f7fb; }
.account-name { display: inline-flex; min-width: 0; max-width: 180px; align-items: center; gap: 8px; color: #42546b; font-size: 14px; text-decoration: none; }
.account-name:hover { color: #004aad; text-decoration: none; }
.account-name > span:last-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.account-avatar { display: grid; width: 32px; height: 32px; flex: 0 0 32px; place-items: center; border-radius: 50%; background: #eaf2ff; color: #004aad; font: 800 13px "Manrope", sans-serif; }
.account-signout { padding: 5px 0; border: 0; background: transparent; color: #53657d; cursor: pointer; font: 600 14px "DM Sans", sans-serif; }
.account-signout:hover { color: #004aad; text-decoration: underline; text-underline-offset: 3px; }
.nav-toggle, .mobile-nav-actions, .mobile-nav-backdrop { display: none; }

.portal-page { width: 100%; }
.portal-page > h1 { max-width: 820px; margin: 12px 0 20px; font-size: clamp(36px, 5vw, 60px); line-height: 1.05; letter-spacing: -.04em; }
.portal-page > .lede { max-width: 760px; }
.docs-layout { grid-template-columns: 230px minmax(0, 1fr); }
.docs-layout article { min-width: 0; }
.docs-layout article > p,
.docs-layout article > section > p,
.docs-layout article > section > ul,
.docs-layout article > section > ol { max-width: 820px; }

.site-footer {
    display: block;
    padding: 70px 0 0;
    border: 0;
    background: #06294c;
    color: #d3dfeb;
    font-size: 16px;
}

.footer-shell { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.footer-grid { display: grid; grid-template-columns: minmax(230px, 1.8fr) repeat(3, minmax(150px, 1fr)); gap: 50px; }
.footer-brand img { display: block; width: auto; height: 42px; }
.footer-intro > p { max-width: 320px; color: #9fb3c8; }
.company-details { margin-top: 28px; color: #9fb3c8; font-size: 13px; line-height: 1.55; }
.company-details > strong { display: block; margin-bottom: 6px; color: #fff; font: 700 14px "Manrope", sans-serif; }
.company-details address { margin: 0; font-style: normal; }
.company-details p { margin: 10px 0 0; color: #9fb3c8; font-size: 13px; }
.footer-column { display: grid; align-content: start; }
.footer-grid nav { display: flex; flex-direction: column; gap: 10px; }
.footer-grid nav strong { margin-bottom: 4px; color: #fff; font-family: "Manrope", sans-serif; }
.footer-grid nav a { display: inline-flex; width: fit-content; color: #b9c9d8; font-size: 14px; text-decoration: none; transition: color .18s ease, transform .18s ease; }
.footer-grid nav a:hover, .footer-grid nav a:focus-visible { color: #fff; text-decoration: none; transform: translateX(4px); }
.footer-grid nav a:focus-visible { border-radius: 3px; outline: 3px solid #75b5ff; outline-offset: 4px; }
.footer-base { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 55px; padding: 25px 0; border-top: 1px solid rgba(255, 255, 255, .13); color: #8fa7bd; font-size: 12px; }
.footer-legal { display: grid; gap: 3px; }
.footer-legal span:last-child { color: #9fb3c8; }
.analytics-preference button { margin: 0; padding: 0; border: 0; background: transparent; color: #d9e7f5; font: inherit; text-decoration: underline; cursor: pointer; }
.analytics-preference button:hover, .analytics-preference button:focus-visible { color: #fff; }
.social-links { display: flex; gap: 9px; margin: 0; }
.social-links a { display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid rgba(255, 255, 255, .22); border-radius: 50%; color: #d7e5f2; transition: color .18s ease, border-color .18s ease, background-color .18s ease; }
.social-links a:hover { color: #fff; border-color: rgba(255, 255, 255, .55); background: rgba(255, 255, 255, .08); }
.social-links svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.social-links a.social-solid svg { fill: currentColor; stroke: none; }
.social-links .social-play { fill: #06294c; }

@media (max-width: 1050px) and (min-width: 801px) {
    .header-inner { gap: 14px; }
    .site-header .site-nav { gap: 14px; }
    .site-header .site-nav > a { font-size: 13px; }
    .site-header .header-actions { gap: 6px; }
    .site-header .header-actions .button { width: 116px; min-width: 116px; min-height: 40px; padding: 8px 11px; font-size: 13px; }
    .account-name { max-width: 32px; }
    .account-name > span:last-child { display: none; }
    .account-signout { font-size: 13px; }
    .footer-grid { gap: 30px; }
}

@media (max-width: 800px) {
    body.nav-open { overflow: hidden; }
    .header-inner, .footer-shell, .shell { width: min(100% - 28px, 700px); }
    .header-inner { height: 66px; gap: 14px; }
    .site-header .brand-logo { height: 40px; }
    .site-header .brand-product { padding-left: 10px; font-size: 13px; }
    .nav-toggle { display: flex; width: 46px; height: 46px; margin-left: auto; border: 0; background: transparent; flex-direction: column; align-items: center; justify-content: center; gap: 5px; }
    .nav-toggle > span:not(.sr-only) { width: 22px; height: 2px; background: #003b73; }
    .site-header .site-nav { display: none; position: absolute; top: 66px; right: 0; left: auto; width: min(430px, calc(100% - 28px)); max-height: calc(100dvh - 66px); margin: 0; overflow: auto; padding: 16px 20px 26px; border-bottom: 1px solid #dce5ef; border-left: 1px solid #dce5ef; border-bottom-left-radius: 16px; background: #fff; box-shadow: -18px 28px 50px rgba(0, 30, 64, .2); align-items: stretch; flex-direction: column; gap: 0; }
    .site-header .site-nav.is-open { display: flex; }
    .site-header .site-nav > a { display: block; padding: 13px 5px; font-size: 17px; }
    .site-header .header-actions { display: none; }
    .mobile-nav-actions { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 10px; margin-top: 14px; padding-top: 18px; border-top: 1px solid #dce5ef; }
    .mobile-nav-actions .button { width: 100%; }
    .mobile-user { grid-column: 1 / -1; overflow: hidden; color: #53657d; text-overflow: ellipsis; white-space: nowrap; }
    .mobile-nav-backdrop { position: fixed; z-index: 90; inset: 66px 0 0; width: 100%; height: auto; padding: 0; border: 0; background: rgba(5, 25, 47, .48); cursor: pointer; backdrop-filter: blur(2px); }
    body.nav-open .mobile-nav-backdrop { display: block; animation: developer-backdrop-in .18s ease-out; }
    .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .footer-intro { grid-column: 1 / -1; }
}

@media (max-width: 540px) {
    .site-header .brand-product { display: none; }
    .mobile-nav-actions { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: minmax(0, 1fr); }
    .footer-intro { grid-column: auto; }
    .footer-base { align-items: flex-start; flex-direction: column; gap: 18px; }
}

@keyframes developer-backdrop-in { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { body.nav-open .mobile-nav-backdrop { animation: none; } }
