/* Homepage chrome: pill header + dark footer */

:root {
    --ui-accent: #dd4814;
    --ui-ink: #1a1a1a;
    --ui-muted: #6b7280;
    --ui-line: rgba(0, 0, 0, 0.08);
    --ui-dark: #141414;
    --ui-header-h: 64px;
}

body.index.ui-chrome-demo {
    padding-top: var(--ui-header-h);
}

body.ui-drawer-open {
    overflow: hidden;
}

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

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1030;
    height: var(--ui-header-h);
}

.site-header__bar {
    display: flex;
    align-items: center;
    gap: 16px;
    max-width: 1170px;
    height: 100%;
    margin: 0 auto;
    padding: 0 15px;
}

.site-header__brand {
    font-family: Montserrat, 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-weight: 700;
    font-size: 20px;
    color: var(--ui-ink);
    text-decoration: none;
    letter-spacing: -0.02em;
    flex-shrink: 0;
}

.site-header__brand:hover {
    color: var(--ui-accent);
    text-decoration: none;
}

.site-header__burger {
    display: none;
    margin-left: auto;
    width: 40px;
    height: 40px;
    border: 0;
    background: transparent;
    padding: 10px;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
}

.site-header__burger span {
    display: block;
    height: 2px;
    background: var(--ui-ink);
    border-radius: 2px;
}

.site-header__more {
    position: relative;
}

.site-header__more-btn {
    border: 0;
    background: transparent;
    color: var(--ui-ink);
    font-weight: 600;
    font-size: 13px;
    padding: 8px 10px;
    border-radius: 999px;
}

.site-header__more-btn:hover {
    color: var(--ui-accent);
}

.site-header__more-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 200px;
    background: #fff;
    border: 1px solid var(--ui-line);
    border-radius: 12px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
    padding: 8px;
    z-index: 20;
}

.site-header__more-menu a {
    display: block;
    padding: 8px 12px;
    border-radius: 8px;
    color: var(--ui-ink);
    text-decoration: none;
    font-size: 13px;
}

.site-header__more-menu a:hover {
    background: #f5f5f5;
    color: var(--ui-accent);
}

.site-header__drawer {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    z-index: 1050;
}

.site-header__drawer[hidden] {
    display: none !important;
}

.site-header__drawer-head,
.site-header__drawer-group {
    background: #fff;
}

.site-header__drawer-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    border-bottom: 1px solid var(--ui-line);
    margin-top: var(--ui-header-h);
}

.site-header__drawer-close {
    border: 0;
    background: transparent;
    font-size: 28px;
    line-height: 1;
    color: var(--ui-muted);
}

.site-header__drawer-group {
    padding: 12px 20px 20px;
}

.site-header__drawer-title {
    margin: 12px 0 8px;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--ui-muted);
}

.site-header__drawer-group a {
    display: block;
    padding: 10px 0;
    color: var(--ui-ink);
    text-decoration: none;
    border-bottom: 1px solid var(--ui-line);
    font-weight: 600;
}

.site-header--pill {
    background: #fff;
    border-bottom: 1px solid var(--ui-line);
}

.site-header--pill .site-header__pills {
    display: flex;
    align-items: center;
    gap: 2px;
    margin: 0 auto;
    padding: 4px;
    background: #f3f4f6;
    border-radius: 999px;
}

.site-header--pill .site-header__pill {
    padding: 7px 10px;
    border-radius: 999px;
    color: #374151;
    text-decoration: none;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
}

.site-header--pill .site-header__pill:hover,
.site-header--pill .site-header__pill.is-active {
    background: #fff;
    color: var(--ui-accent);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.site-header--pill .site-header__pill-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: auto;
}

.site-header--pill .site-header__chip-link {
    padding: 7px 12px;
    border-radius: 999px;
    border: 1px solid var(--ui-line);
    color: var(--ui-ink);
    text-decoration: none;
    font-size: 12px;
    font-weight: 700;
}

.site-header--pill .site-header__chip-link:hover {
    border-color: var(--ui-accent);
    color: var(--ui-accent);
}

.site-footer {
    margin-top: 40px;
}

.site-footer__inner {
    max-width: 1170px;
    margin: 0 auto;
    padding: 48px 15px 28px;
}

.site-footer__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 28px;
}

.site-footer__heading {
    margin: 0 0 14px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--ui-ink);
    font-family: Montserrat, 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

.site-footer__list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.site-footer__list li {
    margin: 0 0 8px;
}

.site-footer__list a {
    color: #4b5563;
    text-decoration: none;
    font-size: 14px;
}

.site-footer__list a:hover {
    color: var(--ui-accent);
}

.site-footer__list--years {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 12px;
}

.site-footer__list--years li {
    margin: 0;
}

.site-footer__bottom {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px;
    margin-top: 36px;
    padding-top: 20px;
    border-top: 1px solid var(--ui-line);
}

.site-footer__copy {
    color: var(--ui-muted);
    font-size: 13px;
}

.site-footer__social {
    display: flex;
    gap: 8px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.site-footer__social a {
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: #f3f4f6;
    color: var(--ui-ink);
    text-decoration: none;
}

.site-footer__social a:hover {
    background: var(--ui-accent);
    color: #fff;
}

.site-footer__legal {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 14px;
    list-style: none;
    margin: 0 0 0 auto;
    padding: 0;
}

.site-footer__legal a {
    color: var(--ui-muted);
    font-size: 13px;
    text-decoration: none;
}

.site-footer__legal a:hover {
    color: var(--ui-accent);
}

.site-footer__brand {
    font-family: Montserrat, 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-weight: 700;
    font-size: 18px;
    color: var(--ui-ink);
    text-decoration: none;
}

.site-footer__brand:hover {
    color: var(--ui-accent);
    text-decoration: none;
}

.site-footer--dark {
    background: linear-gradient(180deg, var(--ui-dark) 0%, #0d0d0d 100%);
    color: #fff;
}

.site-footer--dark .site-footer__heading {
    color: rgba(255, 255, 255, 0.92);
}

.site-footer--dark .site-footer__list a,
.site-footer--dark .site-footer__legal a,
.site-footer--dark .site-footer__copy,
.site-footer--dark .site-footer__blurb,
.site-footer--dark .site-footer__more-link {
    color: rgba(255, 255, 255, 0.62);
}

.site-footer--dark .site-footer__list a:hover,
.site-footer--dark .site-footer__legal a:hover,
.site-footer--dark .site-footer__more-link:hover {
    color: #fff;
}

.site-footer__brand--dark {
    color: #fff;
    display: inline-block;
    margin-bottom: 10px;
}

.site-footer__brand--dark:hover {
    color: var(--ui-accent);
}

.site-footer__blurb {
    margin: 0 0 16px;
    font-size: 14px;
    line-height: 1.5;
    max-width: 240px;
}

.site-footer__more-link {
    display: inline-block;
    margin-top: 10px;
    font-weight: 600;
    text-decoration: none;
    font-size: 13px;
}

.site-footer--dark .site-footer__bottom {
    border-top-color: rgba(255, 255, 255, 0.1);
}

.site-footer--dark .site-footer__social--dark a {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
}

.site-footer--dark .site-footer__social--dark a:hover {
    background: var(--ui-accent);
}

@media (max-width: 991px) {
    .site-header--pill {
        background: #111;
        border-bottom-color: rgba(255, 255, 255, 0.08);
    }

    .site-header--pill .site-header__pills,
    .site-header--pill .site-header__pill-actions {
        display: none;
    }

    .site-header--pill .site-header__brand,
    .site-header--pill .site-header__brand:hover,
    .site-header--pill .site-header__brand:focus {
        color: #fff;
    }

    .site-header--pill .site-header__burger {
        display: inline-flex;
    }

    .site-header--pill .site-header__burger span {
        background: #fff;
    }

    .site-footer__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 600px) {
    .site-footer__grid {
        grid-template-columns: 1fr;
    }

    .site-footer__legal {
        margin-left: 0;
    }
}
