* {
    box-sizing: border-box;
    margin: 0;
    padding: 0
}

html,
body {
    height: 100%
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: #f5f6f8;
    color: #1f2933;
    line-height: 1.6
}

img {
    max-width: 100%;
    display: block
}

a {
    text-decoration: none;
    color: #1d4ed8
}

a:hover {
    text-decoration: underline
}

button {
    font-family: inherit;
    border: none;
    background: none
}

body {
    display: flex;
    flex-direction: column
}

.container {
    width: 100%;
    max-width: 1040px;
    margin: 0 auto;
    padding: 0 1.25rem
}

.site-header {
    background: #ffffff;
    border-bottom: 1px solid #e1e4ea;
    position: sticky;
    top: 0;
    z-index: 10
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 56px
}

.logo {
    font-weight: 600;
    font-size: 1.1rem;
    letter-spacing: .03em
}

.site-nav {
    display: flex;
    gap: 1.5rem;
    align-items: center
}

.nav-link {
    font-size: .95rem;
    color: #4b5563;
    padding: .25rem 0;
    border-bottom: 2px solid transparent
}

.nav-link.active,
.nav-link:hover {
    border-bottom-color: #1d4ed8
}

.nav-toggle {
    display: none;
    font-size: .95rem;
    padding: .35rem .75rem;
    border-radius: .375rem;
    border: 1px solid #d0d4dd
}

.banner {
    background: #0f172a;
    color: #f9fafb;
    padding: 2.5rem 0
}

.banner-inner {
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: 2rem;
    align-items: center
}

.banner h1 {
    font-size: 2rem;
    margin-bottom: 1rem
}

.banner p {
    margin-bottom: 1.5rem;
    color: #e5e7eb
}

.button-primary {
    display: inline-block;
    background: #1d4ed8;
    color: #ffffff;
    padding: .7rem 1.4rem;
    border-radius: .5rem;
    font-size: .95rem
}

.button-primary:hover {
    background: #1e40af;
    text-decoration: none
}

.banner-image {
    justify-self: end;
    max-width: 360px
}

.section {
    padding: 2.5rem 0
}

.section-alt {
    background: #ffffff
}

.card-grid {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: repeat(3, minmax(0, 1fr))
}

.card {
    background: #ffffff;
    border-radius: .75rem;
    border: 1px solid #e1e4ea;
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: .5rem;
    min-height: 160px
}

.card h3 {
    font-size: 1.05rem
}

.card p {
    font-size: .9rem;
    color: #4b5563
}

.legal-links {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
    font-size: .9rem
}

.legal-links a {
    color: #111827
}

.site-footer {
    border-top: 1px solid #e1e4ea;
    padding: 1.25rem 0;
    margin-top: auto;
    background: #f9fafb
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: .85rem
}

.footer-links {
    display: flex;
    gap: 1rem
}

.page-layout {
    padding: 1.75rem 0
}

.page-header {
    margin-bottom: 1.5rem
}

.page-kicker {
    font-size: .8rem;
    letter-spacing: .15em;
    text-transform: uppercase;
    color: #6b7280;
    margin-bottom: .25rem
}

.page-title {
    font-size: 1.6rem;
    margin-bottom: .35rem
}

.page-subtitle {
    font-size: .95rem;
    color: #4b5563
}

.page-main {
    display: grid;
    grid-template-columns: 3fr 1fr;
    gap: 2rem;
    align-items: flex-start
}

.page-main-narrow {
    grid-template-columns: 1fr
}

.page-content h2 {
    font-size: 1.15rem;
    margin: 1.5rem 0 .75rem
}

.page-content h3 {
    font-size: 1.02rem;
    margin: 1rem 0 .5rem
}

.page-content p {
    margin-bottom: .75rem;
    font-size: .95rem
}

.page-content ul,
.page-content ol {
    margin: 0 0 .75rem 1.25rem;
    font-size: .95rem
}

.page-content li+li {
    margin-top: .25rem
}

.page-content strong {
    font-weight: 600
}

.page-aside {
    font-size: .85rem;
    color: #4b5563;
    position: sticky;
    top: 72px
}

.page-aside h3 {
    font-size: .9rem;
    margin-bottom: .5rem
}

.page-aside ul {
    list-style: none;
    margin: 0;
    padding: 0
}

.page-aside li+li {
    margin-top: .3rem
}

.page-aside a {
    color: #374151
}

.page-image {
    margin: 1rem 0;
    border-radius: .75rem;
    overflow: hidden;
    border: 1px solid #e1e4ea;
    background: #ffffff
}

.label-pill {
    display: inline-flex;
    align-items: center;
    padding: .1rem .5rem;
    border-radius: 999px;
    background: #e5edff;
    color: #1d4ed8;
    font-size: .75rem;
    margin-right: .35rem
}

.tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: .35rem;
    font-size: .8rem;
    margin-top: .5rem
}

.tag-list span {
    padding: .15rem .55rem;
    border-radius: 999px;
    background: #e5e7eb;
    color: #374151
}

.legal-page .page-main {
    grid-template-columns: 3fr 1.2fr
}

.legal-meta {
    font-size: .8rem;
    color: #6b7280;
    margin-top: .5rem
}

.contact-grid {
    display: grid;
    gap: 1rem;
    font-size: .95rem
}

.contact-row strong {
    display: block;
    margin-bottom: .15rem
}

@media (max-width:960px) {
    .banner-inner {
        grid-template-columns: 1.5fr 1fr
    }

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

    .page-main,
    .legal-page .page-main {
        grid-template-columns: 1fr
    }
}

@media (max-width:720px) {
    .header-inner {
        height: auto;
        flex-wrap: wrap;
        gap: .75rem;
        padding: .5rem 0
    }

    .site-header {
        position: fixed;
        width: 100%;
    }

    .nav-toggle {
        display: inline-block
    }

    body {
        padding-top: 50px;
    }

    .site-nav {
        width: 100%;
        height: 100vh;
        flex-direction: column;
        align-items: flex-start;
        gap: .75rem;
        padding: .5rem 0 1rem;
        display: none
    }

    .site-nav.open {
        display: flex
    }

    .banner {
        padding: 2rem 0
    }

    .banner-inner {
        grid-template-columns: 1fr
    }

    .banner-image {
        max-width: 260px;
        justify-self: center;
        margin-top: 1.25rem
    }

    .card-grid {
        grid-template-columns: 1fr
    }

    .page-layout {
        padding: 1.25rem 0
    }

    .page-main,
    .legal-page .page-main {
        grid-template-columns: 1fr
    }

    .page-aside {
        position: static;
        margin-top: 1.5rem
    }

    .site-footer .footer-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: .5rem
    }

    .page-aside {
        display: none;
    }
}

@media (max-width:480px) {
    body {
        font-size: .95rem
    }

    .banner h1 {
        font-size: 1.5rem
    }

    .button-primary {
        width: 100%;
        text-align: center
    }
}