*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 130px;
}

body {
    margin: 0;
    color: var(--ink);
    background: var(--white);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

h1,h2,h3,h4,p {
    margin: 0;
}

h1,h2,h3,h4 {
    font-family: var(--font-heading);
    line-height: 1.12;
    letter-spacing: -.045em;
    color: var(--navy);
    text-wrap: balance;
}

h1 {
    font-size: clamp(3rem,5.8vw,6.7rem);
    font-weight: 800;
}

h2 {
    font-size: clamp(2.2rem,4vw,4.4rem);
    font-weight: 750;
}

h3 {
    font-size: clamp(1.2rem,1.8vw,1.65rem);
    font-weight: 700;
}

p {
    color: var(--muted);
}

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

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

button {
    cursor: pointer;
}

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

svg {
    flex-shrink: 0;
}

[hidden] {
    display: none !important;
}

:focus-visible {
    outline: 3px solid var(--green-dark);
    outline-offset: 4px;
}

::selection {
    background: var(--green-light);
    color: var(--navy-deep);
}

.container {
    width: min(92%, var(--container));
    margin-inline: auto;
}

.section {
    padding-block: clamp(65px,8vw,135px);
}

.skip-link {
    position: fixed;
    z-index: 99999;
    left: 15px;
    top: -100px;
    padding: 15px 25px;
    color: white;
    background: var(--navy-deep);
    border-radius: 10px;
}

.skip-link:focus {
    top: 15px;
}

@media(max-width: 600px) {
    .container {
        width: 91%;
    }

    h1 {
        font-size: clamp(2.6rem,10vw,3.8rem);
    }
}

@media(prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *, *::before, *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }
}