@font-face {
    font-family: Manrope;
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url("fonts/manrope-cyrillic-400.woff2") format("woff2");
    unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
    font-family: Manrope;
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url("fonts/manrope-cyrillic-600.woff2") format("woff2");
    unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
    font-family: Manrope;
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url("fonts/manrope-cyrillic-700.woff2") format("woff2");
    unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
    font-family: Manrope;
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url("fonts/manrope-latin-400.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: Manrope;
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url("fonts/manrope-latin-600.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: Manrope;
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url("fonts/manrope-latin-700.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: Spectral;
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url("fonts/spectral-cyrillic-600.woff2") format("woff2");
    unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
    font-family: Spectral;
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url("fonts/spectral-cyrillic-700.woff2") format("woff2");
    unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
    font-family: Spectral;
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url("fonts/spectral-latin-600.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: Spectral;
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url("fonts/spectral-latin-700.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
    --ink: #1a2118;
    --muted: #3e4a3c;
    --paper: #f3efe6;
    --card: rgba(251, 248, 242, 0.86);
    --accent: #1c6b43;
    --accent-deep: #124a2e;
    --route: #e25b2a;
    --line: rgba(26, 33, 24, 0.12);
    --font-display: Spectral, "Iowan Old Style", Palatino, Georgia, serif;
    --font-body: Manrope, "Segoe UI", sans-serif;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    color: var(--ink);
    font-family: var(--font-body);
    background:
        radial-gradient(900px 520px at 100% -8%, rgba(28, 107, 67, 0.16), transparent 55%),
        radial-gradient(640px 420px at -8% 18%, rgba(226, 91, 42, 0.08), transparent 50%),
        var(--paper);
    line-height: 1.55;
}

::selection {
    background: rgba(28, 107, 67, 0.2);
}

a:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 3px;
    border-radius: 4px;
}

.atmosphere {
    pointer-events: none;
    position: fixed;
    inset: 0;
    background-image: url("contours.svg");
    background-size: 320px 320px;
    opacity: 0.09;
    mask-image: radial-gradient(ellipse at center, black 20%, transparent 78%);
}

.top,
main,
footer {
    position: relative;
    z-index: 1;
    width: min(72rem, calc(100% - 2.5rem));
    margin-inline: auto;
}

.top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.15rem 0;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    color: var(--ink);
    font-family: var(--font-display);
    font-size: 1.45rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    text-decoration: none;
}

.brand-mark {
    width: 2rem;
    height: 2rem;
    color: var(--accent);
}

.top-link {
    color: var(--accent-deep);
    font-size: 0.95rem;
    font-weight: 700;
    text-decoration: none;
    border-bottom: 1px solid transparent;
}

.top-link:hover {
    border-bottom-color: var(--accent);
}

.hero {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(16rem, 0.82fr);
    gap: clamp(1.5rem, 4vw, 4rem);
    align-items: center;
    min-height: calc(100vh - 5.25rem);
    padding: 0.5rem 0 3.5rem;
}

.eyebrow {
    margin: 0 0 0.85rem;
    color: var(--accent);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.hero h1 {
    margin: 0 0 1rem;
    max-width: 16ch;
    font-family: var(--font-display);
    font-size: clamp(2.35rem, 4.6vw, 3.7rem);
    font-weight: 600;
    line-height: 1.02;
    letter-spacing: -0.025em;
    text-wrap: balance;
}

.lead {
    margin: 0 0 1.6rem;
    max-width: 36rem;
    color: var(--muted);
    font-size: 1.08rem;
}

.cta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.85rem;
    padding: 0.75rem 1.2rem;
    border-radius: 999px;
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
    transform: translateY(-1px);
}

.btn-primary {
    background: var(--accent);
    color: #f7fbf8;
    box-shadow: 0 12px 28px rgba(28, 107, 67, 0.22);
}

.btn-primary:hover {
    background: var(--accent-deep);
}

.btn-ghost {
    color: var(--accent-deep);
    background: rgba(255, 255, 255, 0.45);
    border: 1px solid var(--line);
}

.sheet {
    position: relative;
    margin: 0;
}

.sheet-back {
    position: absolute;
    inset: 14px -12px -14px 18px;
    border-radius: 1.35rem;
    background: #e4dccb;
    transform: rotate(2.4deg);
}

.sheet-front {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(26, 33, 24, 0.1);
    border-radius: 1.35rem;
    background: #fbf8f2;
    box-shadow: 0 24px 50px rgba(26, 33, 24, 0.12);
}

.sheet-map svg {
    display: block;
    width: 100%;
    height: auto;
}

.route-casing,
.route-line {
    stroke-dasharray: 1;
    stroke-dashoffset: 1;
    animation: draw 1.5s ease 0.25s forwards;
}

.relief {
    padding: 0 1rem;
}

.relief svg {
    display: block;
    width: 100%;
    height: 2.6rem;
}

.sheet figcaption {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 1.1rem;
    align-items: center;
    margin: 0;
    padding: 0.15rem 1rem 0.95rem;
    color: var(--muted);
    font-size: 0.82rem;
    font-weight: 600;
}

.key {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.key-muted {
    margin-left: auto;
    color: rgba(62, 74, 60, 0.75);
    font-weight: 500;
}

.swatch {
    width: 1.15rem;
    height: 0;
    border-top: 3px solid var(--route);
    border-radius: 3px;
}

.swatch-alt {
    border-top-style: dashed;
    border-top-color: var(--accent);
}

.facts {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 1.15rem;
    background: var(--card);
}

.fact {
    padding: 1.35rem 1.3rem 1.45rem;
}

.fact + .fact {
    border-left: 1px solid var(--line);
}

.fact h2,
.card h2,
.kicker {
    font-family: var(--font-display);
}

.fact h2 {
    margin: 0 0 0.35rem;
    font-size: 1.45rem;
    font-weight: 600;
}

.fact p,
.card p {
    margin: 0;
    color: var(--muted);
}

.profiles {
    padding: 2.2rem 0 0.4rem;
}

.kicker {
    margin: 0 0 0.8rem;
    font-size: 1.35rem;
    font-weight: 600;
}

.profiles ul {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.profiles li {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.55rem 0.9rem 0.55rem 0.7rem;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.42);
    font-weight: 700;
}

.profiles svg {
    width: 1.35rem;
    height: 1.35rem;
    color: var(--accent-deep);
}

.cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    padding: 1.5rem 0 1rem;
}

.card {
    padding: 1.4rem 1.35rem 1.5rem;
    border: 1px solid var(--line);
    border-radius: 1.15rem;
    background: var(--card);
}

.card-index {
    margin: 0 0 0.35rem;
    color: var(--accent);
    font-family: var(--font-display);
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.08em;
}

.card h2 {
    margin: 0 0 0.65rem;
    font-size: 1.7rem;
    font-weight: 600;
    text-wrap: balance;
}

.card strong {
    font-weight: 700;
}

.card a {
    color: var(--accent-deep);
}

.card-highlight {
    grid-column: 1 / -1;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1.5rem;
    background:
        linear-gradient(135deg, rgba(28, 107, 67, 0.12), rgba(255, 255, 255, 0.2) 55%),
        var(--card);
}

.card-highlight .btn {
    flex: 0 0 auto;
}

footer {
    padding: 0.5rem 0 2.5rem;
    color: var(--muted);
    font-size: 0.92rem;
}

footer a {
    color: var(--accent-deep);
}

@keyframes draw {
    to {
        stroke-dashoffset: 0;
    }
}

@media (max-width: 860px) {
    .hero,
    .facts,
    .cards {
        grid-template-columns: 1fr;
    }

    .hero {
        min-height: 0;
        padding-top: 1.25rem;
    }

    .hero h1 {
        max-width: none;
    }

    .sheet {
        max-width: 28rem;
    }

    .fact + .fact {
        border-left: 0;
        border-top: 1px solid var(--line);
    }

    .card-highlight {
        flex-direction: column;
        align-items: flex-start;
    }

    .key-muted {
        margin-left: 0;
    }
}

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

    .btn:hover {
        transform: none;
    }

    .route-casing,
    .route-line {
        animation: none;
        stroke-dashoffset: 0;
    }
}
