.sr-container {
    width: min(var(--sr-container-width), calc(100% - var(--sr-page-gutter)));
    margin-inline: auto;
}

.site-header-wrap.is-sticky {
    position: sticky;
    top: 0;
    z-index: 30;
}

.home .site-header-wrap.has-home-overlay {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    z-index: 30;
}

body.admin-bar.home .site-header-wrap.has-home-overlay {
    top: 32px;
}

.site-header {
    margin-top: var(--sr-header-margin-top);
    margin-bottom: var(--sr-header-margin-bottom);
    color: var(--sr-header-text);
    background: var(--sr-header-bg);
    border-bottom: 1px solid var(--sr-header-border);
    backdrop-filter: blur(var(--sr-header-blur));
}

.home .site-header-wrap.has-home-overlay .site-header {
    color: var(--sr-header-home-text);
    background: transparent;
    border-bottom-color: transparent;
    backdrop-filter: none;
}

body:not(.home) .site-header {
    color: #fff;
    background: var(--sr-blue);
    border-bottom-color: rgba(255, 255, 255, 0.16);
}

body:not(.home) .site-menu__toggle,
body:not(.home) .site-brand small {
    color: rgba(255, 255, 255, 0.9);
}

.site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: var(--sr-header-min-height);
    padding-block: max(var(--sr-header-padding-y), 14px);
    gap: 28px;
}

.site-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-weight: 800;
}

.site-brand small {
    display: block;
    color: var(--sr-muted);
    font-size: 12px;
    font-weight: 600;
}

.site-brand__mark {
    display: grid;
    width: 44px;
    height: 44px;
    place-items: center;
    color: #fff;
    background: linear-gradient(135deg, var(--sr-blue), var(--sr-cyan));
    border-radius: 12px;
    font-weight: 900;
}

.site-brand__logo {
    display: block;
    max-width: 100%;
    height: auto;
}

.site-brand__logo--mobile {
    display: none;
}

.home .site-header-wrap.has-home-overlay .site-brand small {
    color: rgba(255, 255, 255, 0.82);
}

.site-menu {
    position: relative;
    margin-left: auto;
}

.site-menu__toggle {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 46px;
    padding: 0 18px;
    color: var(--sr-header-button-text);
    background: transparent;
    border: 0;
    border-radius: 5px;
    font: inherit;
    font-size: 15px;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
    transition: color 180ms ease, background 180ms ease, border-radius 180ms ease;
}

.site-menu.is-open .site-menu__toggle {
    color: var(--sr-header-menu-text);
    background: var(--sr-header-menu-bg);
    border-radius: var(--sr-header-menu-radius) var(--sr-header-menu-radius) 0 0;
}

.site-menu.is-open .site-menu__icon {
    color: var(--sr-header-menu-text);
}

.site-menu__icon {
    display: grid;
    gap: 5px;
    width: 24px;
    color: var(--sr-header-menu-icon);
}

.site-menu__icon span {
    display: block;
    height: 2px;
    background: currentColor;
    border-radius: 999px;
}

.site-menu__icon span:nth-child(1) {
    width: 24px;
}

.site-menu__icon span:nth-child(2),
.site-menu__icon span:nth-child(3) {
    width: 15px;
    justify-self: end;
}

.site-menu__panel {
    position: absolute;
    top: 100%;
    right: 0;
    z-index: 50;
    width: var(--sr-header-menu-width);
    min-height: 260px;
    padding: var(--sr-header-menu-padding);
    color: var(--sr-header-menu-text);
    background: var(--sr-header-menu-bg);
    border-radius: var(--sr-header-menu-radius) 0 var(--sr-header-menu-radius) var(--sr-header-menu-radius);
    box-shadow: 0 24px 60px rgba(20, 34, 56, 0.18);
}

.site-menu__panel[hidden] {
    display: none;
}

.site-menu__list {
    display: grid;
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
    color: inherit;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.25;
    text-transform: uppercase;
}

.site-menu__list a {
    display: inline-block;
    color: inherit;
    transition: opacity 180ms ease, transform 180ms ease;
}

.site-menu__list a:hover {
    opacity: 0.62;
    transform: translateX(6px);
}

.sr-section {
    padding: 92px 0;
}

.sr-section--soft {
    background: var(--sr-soft);
}

.sr-section--blue {
    color: #fff;
    background: linear-gradient(135deg, var(--sr-blue), var(--sr-cyan));
}

.sr-narrow {
    max-width: 860px;
}

.alignwide {
    width: min(calc(var(--sr-container-width) + 160px), calc(100% - var(--sr-page-gutter)));
    max-width: none;
    margin-inline: auto;
}

.alignfull {
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
}

.site-footer {
    color: var(--sr-footer-text);
    background: var(--sr-footer-bg);
    padding: var(--sr-footer-padding-top) 0 var(--sr-footer-padding-bottom);
}

.site-footer__grid {
    display: grid;
    grid-template-columns: 1.3fr 0.8fr 0.8fr 1fr;
    gap: var(--sr-footer-gap);
}

.site-footer h2 {
    color: var(--sr-footer-title);
    font-size: var(--sr-footer-heading-size);
    font-weight: var(--sr-footer-heading-weight);
    margin: 0 0 18px;
}

.site-footer p {
    color: var(--sr-footer-text);
    font-size: var(--sr-footer-text-size);
    font-weight: var(--sr-footer-text-weight);
}

.site-footer ul {
    display: grid;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.site-footer a {
    color: var(--sr-footer-link);
    font-size: var(--sr-footer-link-size);
    font-weight: var(--sr-footer-link-weight);
}

.site-footer__logo {
    display: block;
    max-width: 100%;
    height: auto;
}

.site-footer__social {
    margin-top: 28px;
}

.site-footer__social div {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.site-footer__social a {
    display: inline-grid;
    width: 38px;
    height: 38px;
    place-items: center;
    color: var(--sr-footer-icon);
    border: 1px solid var(--sr-footer-border);
    border-radius: 5px;
    transition: opacity 180ms ease, transform 180ms ease;
}

.site-footer__social a:hover {
    opacity: 0.72;
    transform: translateY(-2px);
}

.site-footer__social-icon {
    width: 18px;
    height: 18px;
}

.site-footer__bottom {
    margin-top: 48px;
    padding-top: 22px;
    color: var(--sr-footer-text);
    border-top: 1px solid var(--sr-footer-border);
    font-size: var(--sr-footer-text-size);
}
