
:root {
    color-scheme: light;
    --ink: #18322c;
    --muted: #53645f;
    --green: #315b4f;
    --green-dark: #24483e;
    --cream: #f7f3e8;
    --paper: #fffdf8;
    --line: #d8ded8;
    --gold: #e8bb63;
    --shadow: 0 18px 45px rgb(24 50 44 / 0.1);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
    box-sizing: border-box;
}

html {
    background: var(--cream);
    color: var(--ink);
    line-height: 1.6;
}

body {
    margin: 0;
}

a {
    color: var(--green);
    text-underline-offset: 0.18em;
}

a:hover {
    color: var(--green-dark);
}

.skip-link {
    background: var(--paper);
    left: 1rem;
    padding: 0.75rem 1rem;
    position: fixed;
    top: -5rem;
    z-index: 10;
}

.skip-link:focus {
    top: 1rem;
}

.site-header {
    background: rgb(255 253 248 / 0.96);
    border-bottom: 1px solid var(--line);
}

.header-inner,
.footer-inner,
main {
    margin: 0 auto;
    max-width: 72rem;
    padding-left: clamp(1rem, 4vw, 3rem);
    padding-right: clamp(1rem, 4vw, 3rem);
}

.header-inner {
    align-items: center;
    display: flex;
    gap: 2rem;
    justify-content: space-between;
    min-height: 5.5rem;
}

.brand img {
    display: block;
    height: auto;
    width: min(16rem, 58vw);
}

nav ul {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem 1.35rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

nav a {
    font-weight: 700;
    text-decoration: none;
}

main {
    min-height: 62vh;
    padding-bottom: clamp(4rem, 8vw, 7rem);
    padding-top: clamp(3rem, 7vw, 6rem);
}

.hero {
    align-items: center;
    display: grid;
    gap: clamp(2rem, 6vw, 5rem);
    grid-template-columns: minmax(0, 1.35fr) minmax(16rem, 0.65fr);
}

.eyebrow {
    color: var(--green);
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.09em;
    margin: 0 0 0.75rem;
    text-transform: uppercase;
}

h1,
h2,
h3 {
    line-height: 1.18;
}

h1 {
    font-size: clamp(2.35rem, 6vw, 4.75rem);
    letter-spacing: -0.045em;
    margin: 0;
    max-width: 13ch;
}

.page-heading h1 {
    font-size: clamp(2.2rem, 5vw, 4rem);
}

.lead {
    color: var(--muted);
    font-size: clamp(1.1rem, 2vw, 1.3rem);
    max-width: 44rem;
}

.hero-card,
.card,
.notice {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 1.25rem;
    box-shadow: var(--shadow);
}

.hero-card {
    padding: clamp(1.5rem, 4vw, 2.5rem);
}

.hero-mark {
    background: var(--cream);
    border-radius: 50%;
    display: grid;
    margin: 0 auto 1.5rem;
    min-height: 10rem;
    place-items: center;
    width: 10rem;
}

.hero-mark img {
    height: 6rem;
    width: 6rem;
}

.button {
    background: var(--green);
    border-radius: 0.7rem;
    color: white;
    display: inline-block;
    font-weight: 800;
    margin-top: 0.7rem;
    padding: 0.85rem 1.2rem;
    text-decoration: none;
}

.button:hover {
    background: var(--green-dark);
    color: white;
}

.section {
    margin-top: clamp(3.5rem, 7vw, 6rem);
}

.section > h2,
.page-heading + .stack {
    margin-top: 2rem;
}

.section > h2 {
    font-size: clamp(1.75rem, 3vw, 2.4rem);
}

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

.card {
    box-shadow: none;
    padding: 1.4rem;
}

.card h3,
.card h2 {
    margin-top: 0;
}

.card p:last-child {
    margin-bottom: 0;
}

.stack {
    display: grid;
    gap: 1rem;
    max-width: 52rem;
}

.notice {
    border-left: 0.4rem solid var(--gold);
    box-shadow: none;
    margin-top: 2rem;
    max-width: 52rem;
    padding: 1.15rem 1.3rem;
}

.notice p {
    margin: 0;
}

.site-footer {
    background: var(--green);
    color: white;
}

.footer-inner {
    display: grid;
    gap: 2rem;
    grid-template-columns: 1.2fr 1fr 1fr;
    padding-bottom: 2.5rem;
    padding-top: 2.5rem;
}

.site-footer a {
    color: white;
}

.site-footer p {
    margin: 0.25rem 0;
}

.footer-heading {
    font-weight: 800;
}

.footer-bottom {
    border-top: 1px solid rgb(255 255 255 / 0.2);
    grid-column: 1 / -1;
    padding-top: 1.25rem;
}

@media (max-width: 760px) {
    .header-inner {
        align-items: flex-start;
        flex-direction: column;
        gap: 1rem;
        padding-bottom: 1.25rem;
        padding-top: 1.25rem;
    }

    .hero,
    .grid,
    .footer-inner {
        grid-template-columns: 1fr;
    }

    .hero-card {
        max-width: 28rem;
    }

    .footer-bottom {
        grid-column: auto;
    }
}

@media (forced-colors: active) {
    .button,
    .hero-card,
    .card,
    .notice {
        border: 1px solid CanvasText;
    }
}
