@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,300..800;1,9..40,300..800&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Funnel+Display:wght@500..800&display=swap');

:root {
    --page: #f7fbff;
    --paper: #ffffff;
    --ink: #102033;
    --muted: #5d6b7a;
    --navy: #0e3a5d;
    --teal: #1ba6a6;
    --teal-dark: #0f7778;
    --gold: #d9a441;
    --line: rgba(16, 32, 51, 0.12);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--ink);
    background:
        linear-gradient(180deg, rgba(247, 251, 255, 0.95), rgba(255, 255, 255, 0.98)),
        url("../img/bg.svg") center top / cover no-repeat fixed;
    font-family: "DM Sans", Arial, sans-serif;
    font-size: 18px;
    line-height: 1.65;
    overflow-x: hidden;
}

a {
    color: inherit;
}

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

.site-header,
main,
.site-footer {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
}

.site-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 24px 0;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--navy);
    font-weight: 800;
    text-decoration: none;
}

.brand-mark {
    display: inline-grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 8px;
    color: #ffffff;
    background: linear-gradient(135deg, var(--teal), var(--navy));
    font-size: 14px;
    letter-spacing: 0;
}

.brand-text {
    font-size: 17px;
}

.top-nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    flex-wrap: wrap;
}

.top-nav a {
    padding: 9px 12px;
    color: var(--muted);
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    border-radius: 8px;
}

.top-nav a:hover {
    color: var(--navy);
    background: rgba(27, 166, 166, 0.09);
}

.hero {
    min-height: 560px;
    padding: 92px 0 76px;
}

.hero-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    max-width: 900px;
    min-height: 390px;
}

.eyebrow,
.section-label,
.panel-kicker {
    margin: 0 0 14px;
    color: var(--teal-dark);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
}

h1,
h2,
h3 {
    margin: 0;
    line-height: 1.08;
}

h1,
h2 {
    font-family: "Funnel Display", Arial, sans-serif;
    letter-spacing: 0;
}

h1 {
    max-width: 850px;
    font-size: 86px;
    color: var(--navy);
}

h2 {
    font-size: 48px;
    color: var(--navy);
}

h3 {
    font-size: 23px;
    color: var(--ink);
}

.hero-lead {
    max-width: 760px;
    margin: 24px 0 0;
    color: var(--muted);
    font-size: 21px;
}

.section {
    padding: 70px 0;
    border-top: 1px solid var(--line);
}

.section-split {
    display: grid;
    grid-template-columns: minmax(260px, 0.75fr) minmax(0, 1fr);
    gap: 44px;
}

.section-copy p,
.archive-note p,
.strip-copy p,
.feature-card p {
    color: var(--muted);
}

.section-copy a {
    color: var(--teal-dark);
    font-weight: 700;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

.section-copy a:hover {
    color: var(--navy);
}

.section-copy p {
    margin: 0 0 18px;
}

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

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

.feature-card {
    min-height: 260px;
    padding: 28px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.82);
}

.feature-number {
    display: block;
    margin-bottom: 34px;
    color: var(--gold);
    font-weight: 800;
    letter-spacing: 0;
}

.feature-card p {
    margin: 16px 0 0;
    font-size: 16px;
}

.archive-note {
    max-width: 860px;
}

.archive-note p {
    margin: 18px 0 0;
}

.site-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    padding: 30px 0 44px;
    color: var(--muted);
    font-size: 15px;
    border-top: 1px solid var(--line);
}

.site-footer p {
    margin: 0;
}

.site-footer a {
    color: var(--navy);
    font-weight: 800;
    text-decoration: none;
}

.site-footer a:hover {
    color: var(--teal-dark);
}

@media (max-width: 900px) {
    .site-header {
        align-items: flex-start;
        flex-direction: column;
    }

    .top-nav {
        justify-content: flex-start;
    }

    .section-split {
        grid-template-columns: 1fr;
    }

    .hero {
        min-height: auto;
        padding: 64px 0 58px;
    }

    h1 {
        font-size: 58px;
    }

    h2 {
        font-size: 36px;
    }

    .feature-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 560px) {
    body {
        font-size: 16px;
    }

    .site-header,
    main,
    .site-footer {
        width: min(100% - 28px, 1180px);
    }

    .brand-text {
        font-size: 15px;
    }

    .top-nav a {
        padding: 8px 9px;
        font-size: 13px;
    }

    h1 {
        font-size: 39px;
    }

    h2 {
        font-size: 30px;
    }

    .hero-lead {
        font-size: 18px;
    }

    .feature-card {
        padding: 24px;
    }
}
