:root {
    color-scheme: light;
    font-family: "DM Sans", sans-serif;
    background: #f3f8fc;
    color: #153247;
}

* {
    box-sizing: border-box;
}

body {
    min-width: 320px;
    min-height: 100vh;
    margin: 0;
    background:
        radial-gradient(ellipse at 5% 5%, rgba(91, 215, 190, 0.16), transparent 34rem),
        radial-gradient(ellipse at 96% 32%, rgba(115, 130, 229, 0.12), transparent 30rem),
        #f3f8fc;
}

a {
    color: inherit;
    text-decoration: none;
}

.sitemap-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: min(1160px, calc(100% - 48px));
    min-height: 88px;
    margin: 0 auto;
    border-bottom: 1px solid rgba(28, 73, 99, 0.12);
}

.sitemap-brand {
    display: grid;
    gap: 3px;
    font-family: "Manrope", sans-serif;
    font-size: 1rem;
    font-weight: 800;
}

.sitemap-brand span {
    color: #647f90;
    font-family: "DM Sans", sans-serif;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.03em;
}

.sitemap-home {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #126b68;
    font-size: 0.9rem;
    font-weight: 800;
}

.sitemap-main {
    width: min(1040px, calc(100% - 48px));
    margin: 0 auto;
    padding: clamp(64px, 10vw, 120px) 0 30px;
}

.sitemap-eyebrow {
    margin: 0 0 14px;
    color: #128078;
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.18em;
}

.sitemap-main h1 {
    margin: 0;
    color: #12334a;
    font-family: "Manrope", sans-serif;
    font-size: clamp(3rem, 8vw, 5.8rem);
    font-weight: 800;
    letter-spacing: -0.075em;
    line-height: 1;
}

.sitemap-main h1 span {
    color: #18a78e;
}

.sitemap-intro {
    max-width: 540px;
    margin: 20px 0 40px;
    color: #587387;
    font-size: clamp(1rem, 2vw, 1.15rem);
    line-height: 1.75;
}

.sitemap-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.sitemap-card {
    display: flex;
    min-width: 0;
    min-height: 104px;
    align-items: center;
    gap: 18px;
    padding: 20px 22px;
    border: 1px solid rgba(36, 92, 119, 0.12);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.84);
    box-shadow: 0 10px 28px rgba(22, 55, 79, 0.06);
    transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.sitemap-card:hover,
.sitemap-card:focus-visible {
    transform: translateY(-3px);
    border-color: rgba(18, 128, 120, 0.42);
    box-shadow: 0 16px 34px rgba(22, 55, 79, 0.12);
}

.sitemap-card--featured {
    border-color: rgba(18, 128, 120, 0.34);
    background: linear-gradient(120deg, #e7faf4, #ffffff 72%);
}

.sitemap-number {
    color: #168778;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.1em;
}

.sitemap-card-copy {
    display: grid;
    min-width: 0;
    gap: 5px;
}

.sitemap-card-copy strong {
    color: #17384e;
    font-family: "Manrope", sans-serif;
    font-size: 1rem;
    font-weight: 800;
}

.sitemap-card-copy small {
    overflow: hidden;
    color: #627c8e;
    font-size: 0.82rem;
    line-height: 1.45;
    text-overflow: ellipsis;
}

.sitemap-arrow {
    margin-left: auto;
    color: #168778;
    font-size: 1.2rem;
    font-weight: 700;
}

.sitemap-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 48px;
    padding: 22px 0;
    border-top: 1px solid rgba(28, 73, 99, 0.12);
    color: #617b8c;
    font-size: 0.78rem;
}

.sitemap-footer__credit {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
}

.sitemap-footer__credit strong {
    color: #28495d;
}

.sitemap-footer a {
    color: #126b68;
    font-weight: 800;
}

:focus-visible {
    outline: 3px solid #18a78e;
    outline-offset: 4px;
}

@media (max-width: 640px) {
    .sitemap-header,
    .sitemap-main {
        width: min(100% - 32px, 480px);
    }

    .sitemap-header {
        min-height: 76px;
    }

    .sitemap-brand {
        font-size: 0.88rem;
    }

    .sitemap-brand span {
        max-width: 210px;
        font-size: 0.64rem;
    }

    .sitemap-home {
        font-size: 0.78rem;
    }

    .sitemap-main {
        padding-top: 64px;
    }

    .sitemap-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 10px;
    }

    .sitemap-card {
        min-height: 88px;
        padding: 16px;
    }

    .sitemap-footer {
        flex-direction: column;
        margin-top: 32px;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
    }
}
