* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--color-text);
    font-family: var(--font-main);
    font-size: var(--text-body);
    line-height: 1.65;
    background: var(--color-surface);
}

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

a {
    color: inherit;
    text-decoration: none;
}

p {
    margin: 0 0 18px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    margin: 0;
    line-height: 1.14;
    font-weight: 800;
    letter-spacing: 0;
}

h1 {
    font-size: var(--text-display);
}

h2,
h3,
h4,
h5,
h6 {
    font-size: var(--text-title);
}

small,
.small {
    font-size: var(--text-small);
}

button,
input,
select,
textarea {
    font: inherit;
}

.page-shell {
    width: min(1680px, calc(100% - 48px));
    margin-inline: auto;
}

.section {
    padding: 92px 0;
}

.section-soft {
    background: color-mix(in srgb, var(--color-text) 4%, var(--color-surface));
}

.section-dark {
    color: var(--color-surface);
    background: radial-gradient(circle at 15% 20%, color-mix(in srgb, var(--color-secondary) 42%, transparent), transparent 34%), var(--color-text);
}

.eyebrow {
    margin: 0 0 12px;
    color: var(--color-primary);
    font-size: var(--text-small);
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
}

.section-heading {
    width: min(760px, 100%);
    margin: 0 auto 44px;
    text-align: center;
}

.section-heading h2 {
    font-size: var(--text-display);
}

.section-heading p:not(.eyebrow) {
    color: color-mix(in srgb, var(--color-surface) 76%, transparent);
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: var(--color-surface);
    box-shadow: 0 10px 30px color-mix(in srgb, var(--color-text) 8%, transparent);
}

.top-strip {
    color: var(--color-surface);
    font-size: var(--text-small);
    font-weight: 700;
    background: var(--color-primary);
}

.top-strip__inner {
    min-height: 34px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.main-nav__inner {
    min-height: 68px;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 20px;
}

.brand img {
    width: 72px;
    height: 72px;
    object-fit: contain;
}

.nav-links {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 24px;
    color: var(--color-text);
    font-size: var(--text-small);
    font-weight: 800;
    text-transform: uppercase;
}

.nav-links a {
    padding: 20px 0;
}

.nav-links a:hover {
    color: var(--color-primary);
}

.nav-cta,
.btn-primary,
.btn-secondary {
    display: inline-flex;
    min-height: 42px;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-Button);
    padding: 0 18px;
    font-size: var(--text-small);
    font-weight: 800;
    text-transform: uppercase;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.nav-cta,
.btn-primary {
    color: var(--color-surface);
    background: var(--color-primary);
    box-shadow: 0 12px 28px color-mix(in srgb, var(--color-primary) 26%, transparent);
}

.btn-secondary {
    color: var(--color-surface);
    border: 1px solid color-mix(in srgb, var(--color-surface) 56%, transparent);
    background: color-mix(in srgb, var(--color-surface) 8%, transparent);
}

.nav-cta:hover,
.btn-primary:hover,
.btn-secondary:hover {
    color: var(--color-surface);
    transform: translateY(-2px);
}

.nav-toggle,
.nav-toggle-label {
    display: none;
}

.site-footer {
    color: var(--color-surface);
    background: var(--color-text);
}

.site-footer__inner {
    display: grid;
    grid-template-columns: 1.1fr .85fr 1fr 1.35fr 1fr;
    gap: 32px;
    padding: 48px 0;
}

.site-footer__brand {
    display: grid;
    grid-template-columns: 72px 1fr;
    gap: 16px;
    align-items: center;
}

.site-footer__logo {
    display: grid;
    width: 72px;
    height: 72px;
    place-items: center;
    border-radius: var(--radius-Panel);
    background: var(--color-surface);
    overflow: hidden;
}

.site-footer__logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.site-footer h2,
.site-footer h3,
.site-footer p {
    margin: 0;
}

.site-footer h2 {
    font-size: var(--text-title);
}

.site-footer h3 {
    margin-bottom: 14px;
    color: var(--color-primary);
    font-size: var(--text-body);
    text-transform: uppercase;
}

.site-footer p,
.site-footer__list,
.site-footer__links,
.site-footer__social {
    color: color-mix(in srgb, var(--color-surface) 82%, transparent);
}

.site-footer__list,
.site-footer__links {
    display: grid;
    gap: 10px;
}

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

.site-footer__list li,
.site-footer__links a,
.site-footer__social a {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    line-height: 1.4;
}

.site-footer__links a,
.site-footer__social a {
    transition: color .18s ease, transform .18s ease;
}

.site-footer__links a:hover,
.site-footer__social a:hover {
    color: var(--color-primary);
    transform: translateY(-1px);
}

.site-footer svg {
    flex: 0 0 auto;
    width: 20px;
    height: 20px;
    fill: currentColor;
}

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

.site-footer__social a {
    min-height: 38px;
    border: 1px solid color-mix(in srgb, var(--color-surface) 18%, transparent);
    border-radius: var(--radius-Button);
    padding: 0 14px;
    background: color-mix(in srgb, var(--color-surface) 7%, transparent);
}

.site-footer__bottom {
    padding: 18px 0 24px;
    border-top: 1px solid color-mix(in srgb, var(--color-surface) 14%, transparent);
    color: color-mix(in srgb, var(--color-surface) 68%, transparent);
    font-size: var(--text-small);
}


@media (max-width: 1080px) {
    .main-nav__inner {
        grid-template-columns: auto auto auto;
    }

    .nav-links {
        gap: 14px;
        font-size: var(--text-small);
    }

    .site-footer__inner {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 820px) {
    :root {
        --text-small: 11px;
        --text-body: 13px;
        --text-title: 18px;
        --text-display: 32px;
        --radius-Panel: 28px;
    }

    .page-shell {
        width: min(100% - 24px, 720px);
    }

    .section {
        padding: 52px 0;
    }

    .section-heading h2 {
        font-size: var(--text-display);
    }

    .top-strip {
        display: none;
    }

    .main-nav__inner {
        min-height: 58px;
        grid-template-columns: auto auto;
    }

    .brand img {
        width: 56px;
        height: 56px;
    }

    .nav-toggle-label {
        display: grid;
        justify-self: end;
        gap: 5px;
        width: 44px;
        height: 44px;
        place-content: center;
        border: 1px solid color-mix(in srgb, var(--color-text) 12%, var(--color-surface));
        border-radius: var(--radius-Button);
        cursor: pointer;
    }

    .nav-toggle-label span {
        display: block;
        width: 20px;
        height: 2px;
        background: var(--color-text);
    }

    .nav-links,
    .nav-cta {
        display: none;
    }

    .nav-toggle:checked ~ .nav-links {
        position: absolute;
        left: auto;
        right: 12px;
        top: 58px;
        display: grid;
        width: min(220px, calc(100vw - 24px));
        gap: 0;
        justify-items: stretch;
        padding: 8px;
        border: 1px solid color-mix(in srgb, var(--color-text) 12%, var(--color-surface));
        border-radius: var(--radius-Panel);
        background: var(--color-surface);
        box-shadow: 0 22px 60px color-mix(in srgb, var(--color-text) 12%, transparent);
    }

    .nav-toggle:checked ~ .nav-links a {
        padding: 10px 12px;
        border-bottom: 1px solid color-mix(in srgb, var(--color-text) 12%, var(--color-surface));
        text-align: left;
    }

    .nav-toggle:checked ~ .nav-links a:last-child {
        border-bottom: 0;
    }

    .site-footer__inner {
        gap: 24px;
        padding: 36px 0;
    }
}

@media (max-width: 560px) {
    :root {
        --text-small: 10px;
        --text-body: 12px;
        --text-title: 17px;
        --text-display: 28px;
        --radius-Panel: 20px;
    }

    body {
        font-size: var(--text-body);
        line-height: 1.55;
    }

    .section-heading {
        margin-bottom: 24px;
        text-align: left;
    }

    .section-heading h2 {
        font-size: var(--text-display);
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
        min-height: 40px;
        padding: 0 16px;
    }

    .site-footer__inner {
        grid-template-columns: 1fr;
    }

    .site-footer__brand {
        grid-template-columns: 56px 1fr;
    }

    .site-footer__logo {
        width: 56px;
        height: 56px;
    }

    .site-footer__social a {
        min-height: 36px;
    }
}
