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

@font-face {
    font-family: Nunito;
    src: url("/assets/nunito-latin-ext.woff2") format("woff2");
    font-style: normal;
    font-weight: 400 900;
    font-display: swap;
    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: Nunito;
    src: url("/assets/nunito-latin.woff2") format("woff2");
    font-style: normal;
    font-weight: 400 900;
    font-display: swap;
    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 {
    color-scheme: dark;
    --background: #0d0d0d;
    --panel: #151515;
    --border: #292929;
    --text: #f6f6f6;
    --muted: #b0b0b0;
    --gutter: clamp(16px, 4vw, 60px);
    font-family: Nunito, "Segoe UI", sans-serif;
}

*, *::before, *::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    background: var(--background);
    color: var(--text);
}

a {
    color: inherit;
    text-decoration: none;
}

a:focus-visible, video:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 4px;
}

.shell {
    width: min(1280px, calc(100% - 2 * var(--gutter)));
    margin-inline: auto;
}

.site-header {
    background: #101010;
    border-bottom: 1px solid var(--border);
}

.header-inner {
    min-height: 68px;
    display: flex;
    align-items: center;
    gap: clamp(24px, 5vw, 70px);
}

.wordmark {
    display: inline-flex;
    flex: none;
    align-items: center;
    gap: 8px;
    font-size: 1.65rem;
    line-height: 1;
    font-weight: 900;
    letter-spacing: -.05em;
}

.wordmark img {
    display: block;
    width: 32px;
    height: 32px;
}

.site-header nav {
    display: flex;
    align-items: center;
    gap: clamp(16px, 2.8vw, 36px);
}

.site-header nav a, .support {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 42px;
    color: var(--muted);
    font-size: .94rem;
    font-weight: 750;
}

.site-header nav a:hover, .support:hover {
    color: #fff;
}

.support {
    margin-left: auto;
}

.hero {
    position: relative;
    isolation: isolate;
    display: grid;
    align-items: end;
    min-height: clamp(315px, 17.4vw, 380px);
    padding-block: 36px;
    border-bottom: 1px solid var(--border);
    background: #1d1d1d;
}

.hero-media, .hero-media::after, .hero-video {
    position: absolute;
    inset: 0;
}

.hero-media {
    z-index: -1;
    overflow: hidden;
}

.hero-video {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 48%;
    filter: grayscale(1);
}

.hero-media::after {
    content: "";
    background:
        linear-gradient(90deg, #0d0d0de8, #0d0d0da6 34%, transparent 79%),
        linear-gradient(0deg, #0d0d0de0, transparent 75%);
}

.hero-copy p {
    margin: 0 0 6px;
    color: #ddd;
    font-size: clamp(.93rem, 1.25vw, 1.14rem);
    font-weight: 750;
}

.hero h1 {
    margin: 0;
    font-size: clamp(2.6rem, 5.65vw, 6rem);
    font-weight: 900;
    letter-spacing: -.064em;
    line-height: 1;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 23px;
}

.button {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    padding: 9px 16px;
    border: 1px solid transparent;
    border-radius: 9px;
    background: #f6f6f6;
    color: #151515;
    font-weight: 850;
    line-height: 1.3;
}

.button:hover {
    background: #d7d7d7;
}

.button-outline {
    border-color: #7a7a7a;
    background: #1414148c;
    color: #f6f6f6;
}

.button-outline:hover {
    background: #333;
}

.section {
    padding-top: 50px;
}

.section h2 {
    margin: 0 0 17px;
    font-size: clamp(1.6rem, 2.7vw, 2.35rem);
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -.045em;
}

.price-card {
    margin: 0;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: var(--panel);
}

.prices-section {
    display: grid;
    grid-template-columns: minmax(160px, 1fr) minmax(0, 3.5fr);
    gap: 18px clamp(24px, 4vw, 64px);
}

.prices-heading h2 {
    margin-bottom: 7px;
}

.prices-heading p, .referral-note {
    margin: 0;
    color: var(--muted);
    font-size: .94rem;
}

.price-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.price-card {
    padding: clamp(11px, 1.55vw, 21px);
}

.price-card h3 {
    margin: 0;
    color: var(--muted);
    font-size: .95rem;
    font-weight: 750;
}

.price-card p {
    margin: 12px 0 0;
    font-size: clamp(1.64rem, 3vw, 2.55rem);
    font-weight: 900;
    letter-spacing: -.055em;
    line-height: 1;
}

.price-card p span {
    color: var(--muted);
    font-size: .62em;
    letter-spacing: 0;
}

.referral-note {
    grid-column: 2;
}

.site-footer {
    margin-top: 62px;
    border-top: 1px solid var(--border);
    background: #101010;
}

.footer-inner {
    min-height: 68px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    color: var(--muted);
    font-size: .88rem;
}

.footer-inner .wordmark {
    font-size: 1.15rem;
}

.footer-inner a:hover {
    color: #fff;
}

@media (max-width: 740px) {
    .header-inner {
        gap: 16px;
    }

    .site-header .wordmark {
        font-size: 1.35rem;
    }

    .wordmark img {
        width: 26px;
        height: 26px;
    }

    .prices-section {
        grid-template-columns: minmax(0, 1fr);
    }

    .referral-note {
        grid-column: 1;
    }
}

@media (max-width: 540px) {
    .header-inner {
        min-height: 62px;
        gap: 12px;
    }

    .site-header nav {
        margin-left: auto;
        gap: 12px;
    }

    .site-header nav a, .support {
        font-size: .86rem;
    }

    .support {
        margin-left: 0;
    }

    .hero {
        min-height: 320px;
        padding-bottom: 27px;
    }

    .hero h1 {
        font-size: clamp(2.2rem, 9.5vw, 3.4rem);
    }

    .hero-media::after {
        background: linear-gradient(0deg, #0d0d0df0 4%, #0d0d0da0 51%, #0d0d0d12 90%);
    }

    .hero-actions {
        margin-top: 17px;
    }

    .section {
        padding-top: 36px;
    }

    .price-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .site-footer {
        margin-top: 42px;
    }
}

.account-links {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 16px;
}

.site-header .language-switch {
    display: flex;
    flex: none;
    align-items: center;
    gap: 5px;
    color: #777;
}

.site-header .language-switch a { font-size: .76rem; min-height: 36px; color: #999; }
.site-header .language-switch a[aria-current="true"] { color: #fff; }

@media (max-width: 540px) {
    .site-header .language-switch { grid-area: auto; margin: 0; gap: 3px; }
    .site-header .language-switch a { font-size: .73rem; min-height: 34px; }
}

.account-links .button {
    min-height: 38px;
    padding-block: 7px;
    white-space: nowrap;
}

.account-secondary {
    display: inline-block;
    padding: 0;
    border: 0;
    background: none;
    color: #d0d0d0;
    font: inherit;
    font-weight: 750;
    text-align: left;
    cursor: pointer;
}

.account-secondary:hover {
    color: #fff;
    text-decoration: underline;
}

.hero-versions {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 10px 0 0;
    padding: 0;
    list-style: none;
}

.hero-versions li {
    border: 1px solid #ffffff4d;
    border-radius: 999px;
    background: #121212b3;
    padding: 3px 10px;
    color: #f4f4f4;
    font-size: .84rem;
    font-weight: 800;
}

@media (max-width: 740px) {
    .account-links {
        gap: 12px;
    }
}

@media (max-width: 540px) {
    .site-header .header-inner {
        display: grid;
        grid-template-columns: auto 1fr;
        gap: 0 10px;
        padding-top: 5px;
    }

    .site-header nav {
        grid-row: 2;
        grid-column: 1 / -1;
        margin-left: 0;
    }

    .site-header nav a {
        min-height: 32px;
    }

    .account-links {
        grid-row: 1;
        grid-column: 2;
        gap: 9px;
        font-size: .82rem;
    }

    .account-links .button {
        min-height: 34px;
        padding-inline: 9px;
    }
}

@media (max-width: 360px) {
    .site-header .wordmark {
        gap: 5px;
        font-size: 1.2rem;
    }

    .site-header .wordmark img {
        width: 22px;
        height: 22px;
    }

    .account-links {
        gap: 7px;
    }
}

@media (prefers-reduced-motion: no-preference) {
    html {
        scroll-behavior: smooth;
    }

    .button, .site-header nav a {
        transition: background-color 170ms ease, border-color 170ms ease, color 170ms ease;
    }
}

.reseller-card {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px 24px;
    margin-top: 16px;
    padding: clamp(16px, 2.6vw, 26px);
    border: 1px solid var(--border);
    border-radius: 14px;
    background: var(--panel);
}

.reseller-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.official-payment + .reseller-card { margin-top: 12px; }

.reseller-card h2 {
    margin: 0 0 5px;
    font-size: 1.3rem;
    font-weight: 900;
}

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

.reseller-card .reseller-activation {
    margin-top: 9px;
}

.reseller-activation a {
    color: var(--text);
    text-underline-offset: 3px;
    text-decoration: underline;
}
