@font-face {
    font-family: "Manrope";
    font-style: normal;
    font-weight: 200 800;
    font-display: swap;
    src: url("/fonts/manrope-cyrillic.woff2?v=2") 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: 200 800;
    font-display: swap;
    src: url("/fonts/manrope-latin-ext.woff2?v=2") format("woff2");
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
    font-family: "Manrope";
    font-style: normal;
    font-weight: 200 800;
    font-display: swap;
    src: url("/fonts/manrope-latin.woff2?v=2") 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 {
    --bg: #040812;
    --ink: #e4f3ff;
    --muted: #8ea6c4;
    --accent: #4fb0ff;
    --line: rgba(79, 176, 255, 0.28);
    color-scheme: dark;
}

* { box-sizing: border-box; }

html, body {
    margin: 0;
    min-height: 100%;
    background: var(--bg);
    color: var(--ink);
    font-family: Manrope, sans-serif;
}

body {
    min-height: 100vh;
    background:
        radial-gradient(ellipse 70% 60% at 50% 42%, rgba(25, 85, 210, 0.32), transparent 70%),
        var(--bg);
    background-attachment: fixed;
}

body::after {
    content: "";
    position: fixed;
    inset: 0;
    background: var(--bg);
    opacity: 0;
    pointer-events: none;
    animation: emerge 0.7s ease-out;
}

body.is-leaving::after {
    animation: none;
    opacity: 1;
    transition: opacity 0.35s ease-in;
}

@keyframes emerge {
    from { opacity: 1; }
    to { opacity: 0; }
}

.page {
    max-width: 1120px;
    margin: 0 auto;
    padding: 28px max(28px, 6vw) 80px;
}

.topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand {
    font-size: 13px;
    font-weight: 650;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--accent);
    text-decoration: none;
}

.back {
    color: var(--muted);
    text-decoration: none;
    font-size: 15px;
}

.back:hover { color: var(--ink); }

h1 {
    margin: clamp(40px, 9vh, 96px) 0 0;
    font-size: clamp(44px, 6vw, 84px);
    line-height: 1;
    letter-spacing: -0.03em;
    text-shadow: 0 0 28px rgba(47, 147, 255, 0.55);
}

.lead {
    margin: 18px 0 0;
    max-width: 62ch;
    font-size: 19px;
    line-height: 1.45;
    color: var(--muted);
}

.cards {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    margin-top: 44px;
}

.card {
    padding: 26px 26px 28px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: rgba(10, 30, 70, 0.35);
    box-shadow: inset 0 0 40px rgba(47, 147, 255, 0.06);
}

.card h2 {
    margin: 0;
    font-size: 22px;
    letter-spacing: -0.01em;
}

.card p {
    margin: 10px 0 0;
    color: var(--muted);
    line-height: 1.5;
}

@media (max-width: 720px) {
    .cards { grid-template-columns: 1fr; }
}
