:root {
    --ink: #15233a;
    --muted: #566478;
    --line: #d9e0e8;
    --soft: #f2f6f3;
    --light-green: #b9f45b;
    --green: #1f7a35;
    --green-dark: #17612a;
    --green-soft: #e6f3ea;
    --navy: #0f2b4c;
    --bad: #b42318;
    --sans:
        "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, Roboto,
        "Helvetica Neue", Arial, sans-serif;
    --serif: Georgia, "Times New Roman", serif;
}
*,
*::before,
*::after {
    box-sizing: border-box;
}
html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
}
body {
    margin: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: var(--soft);
    color: var(--ink);
    font-family: var(--sans);
    font-size: 17px;
    line-height: 1.7;
}
button,
input,
select,
textarea {
    font-family: inherit;
}
h1 {
    font-family: var(--sans);
    font-size: clamp(28px, 8.7vw, 46px);
    font-weight: 800;
    line-height: 1.04;
    letter-spacing: -2px;
}
body > main {
    flex: 1;
}
a {
    color: inherit;
}
:focus-visible {
    outline: 3px solid var(--green);
    outline-offset: 2px;
}
.wrap {
    width: 100%;
    max-width: 1152px;
    margin: 0 auto;
    padding: 0 16px;
}
.site-head {
    background: #fff;
    border-bottom: 1px solid var(--line);
}
.head-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: 64px;
    padding-top: 8px;
    padding-bottom: 8px;
}
.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--navy);
    font-size: 20px;
    font-weight: 700;
    text-decoration: none;
}
.brand svg {
    flex: none;
}
.nav-toggle {
    display: none;
    min-height: 40px;
    padding: 6.4px 14.4px;
    color: var(--navy);
    font: inherit;
    font-weight: 600;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 8px;
    cursor: pointer;
}
.site-nav ul {
    display: flex;
    gap: 4px;
    margin: 0;
    padding: 0;
    list-style: none;
}
.site-nav a {
    display: block;
    padding: 8px 14px;
    color: var(--ink);
    font-weight: 500;
    text-decoration: none;
    border-radius: 8px;
}
.site-nav a:hover {
    background: var(--green-soft);
}
.site-nav a[aria-current] {
    color: var(--green-dark);
    background: var(--green-soft);
}
.site-foot {
    /* margin-top: 48px; */
    padding: 40px 0 24px;
    color: #cdd6e2;
    background: var(--navy);
}
.foot-grid {
    display: grid;
    gap: 32px;
}
.foot-brand {
    margin: 0;
    color: #fff;
    font-size: 20px;
    font-weight: 700;
}
.foot-about {
    max-width: 352px;
    margin: 8px 0 0;
    font-size: 15px;
}
.site-foot h2 {
    margin: 0 0 12px;
    color: #fff;
    font-size: 16px;
}
.site-foot ul {
    margin: 0;
    padding: 0;
    list-style: none;
}
.site-foot li + li {
    margin-top: 4px;
}
.site-foot a {
    display: inline-block;
    padding: 3.2px 0;
    color: #cdd6e2;
    text-decoration: none;
}
.site-foot a:hover {
    color: #fff;
    text-decoration: underline;
}
.site-foot :focus-visible {
    outline-color: #fff;
}
.copy {
    margin: 32px 0 0;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.18);
    font-size: 14px;
}
.cookie {
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: 12px;
    z-index: 30;
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 704px;
    margin: 0 auto;
    padding: 16px 20px;
    color: #fff;
    background: var(--navy);
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(15, 43, 76, 0.45);
}
.cookie[hidden] {
    display: none;
}
.cookie p {
    margin: 0;
    font-size: 15px;
}
.cookie a {
    color: #fff;
}
.cookie :focus-visible {
    outline-color: #fff;
}
.cookie-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.cookie-btn {
    flex: 1;
    min-height: 40px;
    padding: 8px 16px;
    font: inherit;
    font-weight: 600;
    border: 1px solid #fff;
    border-radius: 8px;
    cursor: pointer;
}
.cookie-btn.accept {
    color: #fff;
    background: var(--green);
}
.cookie-btn.reject {
    color: #fff;
    background: transparent;
}
.cookie-btn:hover {
    background: #fff;
    color: var(--navy);
}
@media (max-width: 767px) {
    .nav-toggle {
        display: block;
    }
    .site-nav {
        display: none;
        width: 100%;
    }
    .site-nav.open {
        display: block;
    }
    .site-nav ul {
        flex-direction: column;
        padding-bottom: 8px;
    }
}
@media (min-width: 768px) {
    .foot-grid {
        grid-template-columns: 2fr 1fr 1fr;
    }
    .cookie {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }
    .cookie-btn {
        flex: none;
    }
}
@media (min-width: 900px) {
    h1 {
        font-size: clamp(36px, 4vw, 64px);
        letter-spacing: -3px;
    }
}
