:root {
    --bg: #090b10;
    --bg-soft: #0f1219;
    --card: #131720;
    --card-hover: #171c27;
    --text: #f5f7fb;
    --muted: #8f98a8;
    --line: rgba(255,255,255,.08);
    --accent: #4c7dff;
    --accent-soft: rgba(76,125,255,.13);
    --radius: 22px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background:
        radial-gradient(
            circle at 50% -10%,
            rgba(76,125,255,.12),
            transparent 35%
        ),
        var(--bg);
    color: var(--text);
    font-family:
        Inter,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;
    line-height: 1.5;
}

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

.container {
    width: min(1120px, calc(100% - 40px));
    margin: 0 auto;
}


/* HEADER */

.header {
    position: sticky;
    top: 0;
    z-index: 50;

    background: rgba(9,11,16,.82);
    backdrop-filter: blur(18px);

    border-bottom: 1px solid var(--line);
}

.nav {
    min-height: 72px;

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

.logo {
    font-size: 22px;
    font-weight: 800;
    letter-spacing: -1px;
}

.logo span {
    color: var(--accent);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 28px;

    font-size: 14px;
    color: var(--muted);
}

.nav-links a {
    transition: .2s;
}

.nav-links a:hover {
    color: var(--text);
}

.nav-account {
    padding: 10px 16px;

    border: 1px solid var(--line);
    border-radius: 12px;

    color: var(--text) !important;
}


/* BUTTONS */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 48px;
    padding: 0 22px;

    border-radius: 14px;

    font-weight: 650;
    font-size: 15px;

    transition:
        transform .2s,
        background .2s,
        border-color .2s;
}

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

.btn-primary {
    background: var(--accent);
    color: white;
}

.btn-primary:hover {
    background: #5c89ff;
}

.btn-secondary {
    background: rgba(255,255,255,.035);
    border: 1px solid var(--line);
}

.btn-secondary:hover {
    background: rgba(255,255,255,.065);
}


/* HERO */

.hero {
    padding: 110px 0 90px;
}

.hero-inner {
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: 80px;
    align-items: center;
}

.badge,
.small-label {
    display: inline-flex;

    padding: 7px 11px;

    border: 1px solid rgba(76,125,255,.25);
    border-radius: 100px;

    background: var(--accent-soft);
    color: #89a7ff;

    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1px;
}

.hero h1 {
    max-width: 680px;

    margin: 22px 0 20px;

    font-size: clamp(58px, 7vw, 94px);
    line-height: .94;
    letter-spacing: -5px;
}

.hero h1 span {
    color: var(--accent);
}

.hero-text {
    max-width: 570px;

    margin: 0;

    color: var(--muted);
    font-size: 19px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;

    margin-top: 34px;
}

.hero-meta {
    display: flex;
    gap: 18px;

    margin-top: 28px;

    color: var(--muted);
    font-size: 13px;
}


/* HERO CARD */

.hero-card {
    padding: 30px;

    background:
        linear-gradient(
            150deg,
            rgba(76,125,255,.10),
            rgba(255,255,255,.02)
        ),
        var(--card);

    border: 1px solid var(--line);
    border-radius: 30px;

    box-shadow:
        0 40px 100px rgba(0,0,0,.35);
}

.status-row {
    display: flex;
    align-items: center;
    gap: 9px;

    color: var(--muted);
    font-size: 13px;
}

.status-dot {
    width: 8px;
    height: 8px;

    background: #45d483;
    border-radius: 50%;

    box-shadow: 0 0 16px rgba(69,212,131,.8);
}

.connection {
    display: flex;
    align-items: center;
    gap: 18px;

    padding: 50px 0;
}

.connection-icon {
    width: 72px;
    height: 72px;

    display: grid;
    place-items: center;

    border-radius: 20px;

    background: var(--accent);
    color: white;

    font-size: 30px;
    font-weight: 900;

    box-shadow:
        0 14px 45px rgba(76,125,255,.30);
}

.connection-title {
    font-size: 26px;
    font-weight: 750;
}

.connection-subtitle {
    margin-top: 4px;

    color: var(--muted);
    font-size: 14px;
}

.fake-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);

    border-top: 1px solid var(--line);

    padding-top: 22px;
}

.fake-stats div {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.fake-stats span {
    color: var(--muted);
    font-size: 12px;
}

.fake-stats strong {
    font-size: 14px;
}


/* COMMON SECTIONS */

.features,
.platforms,
.tariffs,
.bottom-cta {
    padding: 90px 0;
}

.section-heading {
    max-width: 650px;
    margin-bottom: 40px;
}

.section-heading > span {
    color: #7798ff;

    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1.3px;
}

.section-heading h2 {
    margin: 12px 0 0;

    font-size: clamp(34px, 5vw, 54px);
    line-height: 1.05;
    letter-spacing: -2px;
}


/* FEATURES */

.feature-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}

.feature-card {
    min-height: 245px;
    padding: 24px;

    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius);

    transition:
        transform .2s,
        background .2s;
}

.feature-card:hover {
    transform: translateY(-4px);
    background: var(--card-hover);
}

.feature-icon {
    margin-bottom: 34px;

    font-size: 25px;
}

.feature-card h3 {
    margin: 0 0 10px;

    font-size: 20px;
}

.feature-card p {
    margin: 0;

    color: var(--muted);
    font-size: 14px;
}


/* PLATFORMS */

.platform-list {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 12px;

    margin-bottom: 28px;
}

.platform-list div {
    padding: 22px 15px;

    text-align: center;

    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 16px;

    font-weight: 650;
}

.center {
    text-align: center;
}


/* TARIFFS */

.tariff-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.tariff-card {
    position: relative;

    display: flex;
    flex-direction: column;

    padding: 30px;

    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius);
}

.tariff-card > span {
    color: var(--muted);
}

.tariff-card strong {
    margin-top: 12px;

    font-size: 42px;
    letter-spacing: -2px;
}

.tariff-card p {
    flex-grow: 1;

    color: var(--muted);
    font-size: 14px;
}

.tariff-card .btn {
    margin-top: 18px;
}

.tariff-card.popular {
    border-color: rgba(76,125,255,.55);

    box-shadow:
        0 20px 60px rgba(76,125,255,.09);
}

.popular-label {
    position: absolute;
    top: -13px;
    right: 20px;

    padding: 6px 10px;

    border-radius: 100px;

    background: var(--accent);
    color: white;

    font-size: 11px;
    font-weight: 700;
}

.tariff-more {
    margin-top: 20px;

    text-align: center;
    color: var(--muted);

    font-size: 13px;
}


/* CTA */

.cta-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;

    padding: 45px;

    background:
        linear-gradient(
            120deg,
            rgba(76,125,255,.13),
            rgba(255,255,255,.02)
        );

    border: 1px solid var(--line);
    border-radius: 28px;
}

.cta-box h2 {
    margin: 16px 0 8px;

    font-size: 38px;
    letter-spacing: -1.5px;
}

.cta-box p {
    margin: 0;

    color: var(--muted);
}


/* SIMPLE PAGES */

.simple-page {
    min-height: 65vh;
    padding: 120px 0;
}

.simple-page h1 {
    margin: 18px 0 12px;

    font-size: 56px;
    letter-spacing: -2.5px;
}

.simple-page p {
    max-width: 650px;

    margin-bottom: 30px;

    color: var(--muted);
    font-size: 18px;
}


/* FOOTER */

.footer {
    margin-top: 80px;
    padding: 45px 0;

    border-top: 1px solid var(--line);
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    gap: 30px;
}

.footer p {
    color: var(--muted);
    font-size: 13px;
}

.footer-links {
    display: flex;
    gap: 24px;

    color: var(--muted);
    font-size: 13px;
}


/* MOBILE */

@media (max-width: 900px) {

    .nav-links a:not(.nav-account) {
        display: none;
    }

    .hero {
        padding-top: 70px;
    }

    .hero-inner {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .hero h1 {
        letter-spacing: -3px;
    }

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

    .platform-list {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .cta-box {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 560px) {

    .container {
        width: min(100% - 28px, 1120px);
    }

    .nav {
        min-height: 64px;
    }

    .nav-account {
        padding: 8px 11px;
        font-size: 12px;
    }

    .hero {
        padding: 55px 0 60px;
    }

    .hero h1 {
        font-size: 55px;
        letter-spacing: -3px;
    }

    .hero-text {
        font-size: 16px;
    }

    .hero-actions {
        flex-direction: column;
    }

    .hero-actions .btn {
        width: 100%;
    }

    .hero-meta {
        flex-direction: column;
        gap: 7px;
    }

    .hero-card {
        padding: 22px;
    }

    .fake-stats {
        grid-template-columns: 1fr;
        gap: 17px;
    }

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

    .feature-card {
        min-height: auto;
    }

    .platform-list {
        grid-template-columns: 1fr 1fr;
    }

    .features,
    .platforms,
    .tariffs,
    .bottom-cta {
        padding: 60px 0;
    }

    .cta-box {
        padding: 28px;
    }

    .cta-box h2 {
        font-size: 30px;
    }

    .footer-inner {
        flex-direction: column;
    }

    .footer-links {
        flex-direction: column;
        gap: 12px;
    }
}


/* LOCATIONS */

.locations-strip {
    padding: 38px 0 85px;
}

.locations-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 30px;

    margin-bottom: 28px;
}

.locations-label {
    color: #7798ff;

    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.3px;
}

.locations-head h2 {
    margin: 10px 0 0;

    font-size: 34px;
    line-height: 1.05;
    letter-spacing: -1.5px;
}

.locations-note {
    color: var(--muted);
    font-size: 12px;
}

.locations-table {
    border-top: 1px solid var(--line);
}

.location-line {
    min-height: 92px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    border-bottom: 1px solid var(--line);
}

.location-name {
    display: flex;
    align-items: center;
    gap: 18px;
}

.location-flag {
    width: 48px;
    height: 48px;

    display: grid;
    place-items: center;

    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 14px;

    font-size: 24px;
}

.location-name div {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.location-name strong {
    font-size: 16px;
}

.location-name div span {
    color: var(--muted);
    font-size: 12px;
}

.location-state {
    min-width: 90px;

    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;

    text-transform: uppercase;

    font-size: 10px;
    font-weight: 750;
    letter-spacing: 1px;
}

.location-state.online {
    color: #69d493;
}

.location-state.online i {
    width: 7px;
    height: 7px;

    background: #69d493;
    border-radius: 50%;
}

.location-state.soon {
    color: var(--muted);
}


/* уменьшаем пустоту после первого экрана */

.hero {
    padding-bottom: 45px;
}

.features {
    padding-top: 70px;
}


@media (max-width: 600px) {

    .locations-strip {
        padding: 25px 0 60px;
    }

    .locations-head {
        align-items: flex-start;
        flex-direction: column;
    }

    .locations-note {
        display: none;
    }

    .location-line {
        min-height: 82px;
    }

    .location-flag {
        width: 42px;
        height: 42px;
    }

}


/* HERO LOCATION CARDS */

.hero-locations {
    display: flex;
    gap: 14px;

    margin-top: 24px;
}

.hero-location-card {
    width: 215px;
    min-height: 72px;

    display: flex;
    align-items: center;
    gap: 14px;

    padding: 14px 17px;

    background: rgba(255,255,255,.035);

    border: 1px solid var(--line);
    border-radius: 16px;
}

.hero-location-flag {
    width: 40px;
    height: 40px;

    display: grid;
    place-items: center;

    flex: 0 0 auto;

    background: rgba(255,255,255,.035);
    border-radius: 50%;

    font-size: 22px;
}

.hero-location-info {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.hero-location-info strong {
    font-size: 14px;
    font-weight: 650;
}

.hero-location-online,
.hero-location-soon {
    display: flex;
    align-items: center;
    gap: 6px;

    font-size: 11px;
}

.hero-location-online {
    color: #59d889;
}

.hero-location-soon {
    color: var(--muted);
}

.hero-location-online i,
.hero-location-soon i {
    width: 6px;
    height: 6px;

    display: block;

    border-radius: 50%;
}

.hero-location-online i {
    background: #59d889;
}

.hero-location-soon i {
    background: #777f90;
}


/* уменьшаем пустоту между hero и следующим блоком */

.hero {
    padding-bottom: 28px;
}

.features {
    padding-top: 55px;
}


@media (max-width: 560px) {

    .hero-locations {
        flex-direction: column;
    }

    .hero-location-card {
        width: 100%;
    }

}


/* INSTRUCTIONS */

.instructions-hero {
    padding: 105px 0 48px;
}

.instructions-kicker {
    color: #7798ff;

    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.4px;
}

.instructions-hero h1,
.instruction-page h1 {
    margin: 15px 0 18px;

    font-size: clamp(46px, 6vw, 72px);
    line-height: 1;

    letter-spacing: -3px;
}

.instructions-hero p {
    max-width: 610px;

    margin: 0;

    color: var(--muted);

    font-size: 17px;
    line-height: 1.65;
}


.device-picker {
    padding: 20px 0 100px;
}

.device-picker-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;

    border-top: 1px solid var(--line);
}

.device-picker-card {
    min-height: 118px;

    display: grid;
    grid-template-columns: 52px 1fr auto;
    align-items: center;
    gap: 20px;

    padding: 22px;

    border-bottom: 1px solid var(--line);

    transition:
        background .2s,
        transform .2s;
}

.device-picker-card:nth-child(odd) {
    border-right: 1px solid var(--line);
}

.device-picker-card:hover {
    background: rgba(255,255,255,.035);
}

.device-symbol {
    width: 48px;
    height: 48px;

    display: grid;
    place-items: center;

    background: var(--card);

    border: 1px solid var(--line);
    border-radius: 14px;

    font-size: 23px;
}

.device-picker-card div {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.device-picker-card strong {
    font-size: 16px;
}

.device-picker-card small {
    color: var(--muted);
}

.device-arrow {
    color: var(--muted);

    font-size: 20px;
}


.instructions-help {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;

    margin-top: 36px;
    padding: 24px 0;

    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.instructions-help div {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.instructions-help span {
    color: var(--muted);

    font-size: 13px;
}

.instructions-help a {
    color: #7798ff;

    font-size: 13px;
}


.instruction-page {
    min-height: 70vh;

    padding: 95px 0;
}

.instruction-back {
    display: inline-block;

    margin-bottom: 55px;

    color: var(--muted);

    font-size: 13px;
}

.instruction-intro {
    max-width: 620px;

    color: var(--muted);

    font-size: 17px;
    line-height: 1.7;
}

.instruction-placeholder {
    max-width: 720px;

    margin-top: 45px;
    padding: 30px;

    background: var(--card);

    border: 1px solid var(--line);
    border-radius: 18px;

    color: var(--muted);
}


@media (max-width: 700px) {

    .instructions-hero {
        padding-top: 65px;
    }

    .device-picker-grid {
        grid-template-columns: 1fr;
    }

    .device-picker-card:nth-child(odd) {
        border-right: 0;
    }

    .instructions-help {
        align-items: flex-start;
        flex-direction: column;
    }

}


/* ==========================================
   IPHONE GUIDE
   ========================================== */

.guide-head {
    padding: 82px 0 55px;
}

.guide-back {
    display: inline-block;

    margin-bottom: 60px;

    color: var(--muted);
    font-size: 13px;
}

.guide-head-grid {
    display: grid;
    grid-template-columns: 1fr .55fr;
    gap: 90px;
    align-items: end;
}

.guide-head h1 {
    max-width: 720px;

    margin: 15px 0 20px;

    font-size: clamp(52px, 7vw, 82px);
    line-height: .95;
    letter-spacing: -4px;
}

.guide-head p {
    max-width: 600px;

    color: var(--muted);

    font-size: 17px;
    line-height: 1.65;
}

.guide-summary {
    border-top: 1px solid var(--line);
}

.guide-summary > span {
    display: block;

    padding: 16px 0;

    color: var(--muted);

    font-size: 11px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.guide-summary > div {
    min-height: 58px;

    display: flex;
    align-items: center;
    gap: 15px;

    border-top: 1px solid var(--line);

    color: var(--muted);

    font-size: 13px;
}

.guide-summary strong {
    color: #7798ff;

    font-size: 11px;
}


.guide-content {
    padding: 30px 0 120px;
}

.guide-layout {
    display: grid;
    grid-template-columns: 210px 1fr;
    gap: 70px;
}


.guide-nav {
    position: sticky;
    top: 105px;

    height: fit-content;

    display: flex;
    flex-direction: column;

    border-top: 1px solid var(--line);
}

.guide-nav > span {
    padding: 17px 0;

    color: var(--muted);

    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.guide-nav a {
    padding: 11px 0;

    color: var(--muted);

    font-size: 12px;
}

.guide-nav a:hover {
    color: var(--text);
}


.guide-main {
    max-width: 790px;
}


.guide-step {
    display: grid;
    grid-template-columns: 58px 1fr;
    gap: 28px;

    padding: 10px 0 90px;

    border-bottom: 1px solid var(--line);

    margin-bottom: 80px;
}

.step-number {
    color: var(--muted);

    font-size: 11px;
}

.step-label {
    color: #7798ff;

    font-size: 10px;
    font-weight: 800;

    letter-spacing: 1.4px;
}

.step-body h2,
.guide-alternative h2,
.guide-problems h2 {
    margin: 12px 0 20px;

    font-size: clamp(34px, 5vw, 52px);

    line-height: 1.02;
    letter-spacing: -2px;
}

.step-body > p,
.guide-alternative > p {
    max-width: 630px;

    color: var(--muted);

    font-size: 16px;
    line-height: 1.75;
}


.guide-button {
    width: fit-content;
    min-height: 48px;

    display: inline-flex;
    align-items: center;
    gap: 35px;

    margin-top: 20px;
    padding: 0 19px;

    background: #4c7dff;

    border-radius: 12px;

    color: white;

    font-size: 13px;
    font-weight: 650;
}

.guide-button.secondary {
    background: var(--card);

    border: 1px solid var(--line);
}


.guide-note,
.guide-warning {
    margin-top: 25px;
    padding: 18px 20px;

    background: var(--card);

    border: 1px solid var(--line);
    border-radius: 14px;

    color: var(--muted);

    font-size: 13px;
    line-height: 1.65;
}

.guide-note strong,
.guide-warning strong {
    display: block;

    margin-bottom: 4px;

    color: var(--text);
}


.guide-warning {
    border-left: 3px solid #d7a34b;
}


.shot {
    min-height: 280px;

    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 8px;

    margin-top: 32px;
    padding: 30px;

    background:
        linear-gradient(
            145deg,
            rgba(76,125,255,.07),
            rgba(255,255,255,.015)
        ),
        var(--card);

    border: 1px dashed rgba(255,255,255,.15);
    border-radius: 20px;

    color: var(--muted);

    text-align: center;

    font-size: 13px;
}

.shot span {
    color: #7798ff;

    font-size: 10px;
    font-weight: 750;
    letter-spacing: 1px;
}


.path-box {
    margin-top: 28px;

    border-top: 1px solid var(--line);
}

.path-box > div {
    min-height: 58px;

    display: flex;
    align-items: center;
    gap: 18px;

    border-bottom: 1px solid var(--line);

    color: var(--muted);

    font-size: 13px;
}

.path-box strong {
    width: 25px;

    color: #7798ff;

    font-size: 11px;
}


.instruction-list {
    margin-top: 28px;
}

.instruction-list > div {
    display: grid;
    grid-template-columns: 34px 1fr;
    gap: 15px;

    padding: 17px 0;

    border-top: 1px solid var(--line);
}

.instruction-list > div:last-child {
    border-bottom: 1px solid var(--line);
}

.instruction-list b {
    width: 28px;
    height: 28px;

    display: grid;
    place-items: center;

    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 50%;

    color: #7798ff;

    font-size: 10px;
}

.instruction-list p {
    margin: 3px 0 0;

    color: var(--muted);

    font-size: 14px;
    line-height: 1.6;
}


.success-box {
    display: flex;
    align-items: center;
    gap: 17px;

    margin-top: 30px;
    padding: 22px;

    background: rgba(69,212,131,.07);

    border: 1px solid rgba(69,212,131,.22);
    border-radius: 16px;
}

.success-box > span {
    width: 40px;
    height: 40px;

    display: grid;
    place-items: center;

    background: rgba(69,212,131,.14);

    border-radius: 50%;

    color: #69d493;

    font-weight: 800;
}

.success-box p {
    margin: 4px 0 0;

    color: var(--muted);

    font-size: 12px;
}


.guide-alternative {
    padding: 10px 0 90px;

    border-bottom: 1px solid var(--line);

    margin-bottom: 80px;
}

.guide-alternative h3 {
    margin: 65px 0 0;

    font-size: 24px;
    letter-spacing: -1px;
}


.region-box {
    margin-top: 35px;
    padding: 28px;

    background: var(--card);

    border: 1px solid var(--line);
    border-radius: 20px;
}

.region-head {
    display: flex;
    align-items: center;
    gap: 15px;

    margin-bottom: 25px;
}

.region-head > span {
    width: 48px;
    height: 48px;

    display: grid;
    place-items: center;

    background: rgba(255,255,255,.04);
    border-radius: 14px;

    font-size: 25px;
}

.region-head div {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.region-head small {
    color: var(--muted);
}


.guide-problems {
    padding-bottom: 40px;
}

.guide-problems details {
    border-top: 1px solid var(--line);
}

.guide-problems details:last-of-type {
    border-bottom: 1px solid var(--line);
}

.guide-problems summary {
    min-height: 66px;

    display: flex;
    align-items: center;

    cursor: pointer;

    font-size: 14px;
    font-weight: 600;
}

.guide-problems details p {
    max-width: 650px;

    margin: 0;
    padding: 0 0 22px;

    color: var(--muted);

    font-size: 13px;
    line-height: 1.65;
}


@media (max-width: 900px) {

    .guide-head-grid {
        grid-template-columns: 1fr;
        gap: 45px;
    }

    .guide-layout {
        grid-template-columns: 1fr;
    }

    .guide-nav {
        position: static;

        display: none;
    }

}


@media (max-width: 560px) {

    .guide-head {
        padding-top: 55px;
    }

    .guide-back {
        margin-bottom: 40px;
    }

    .guide-head h1 {
        font-size: 52px;
        letter-spacing: -3px;
    }

    .guide-step {
        grid-template-columns: 1fr;
        gap: 15px;

        padding-bottom: 65px;
        margin-bottom: 55px;
    }

    .shot {
        min-height: 210px;
    }

    .region-box {
        padding: 20px;
    }

}


/* =========================================
   JTEAM INSTRUCTION — PURCHASE / ACCESS
   ========================================= */

.access-choice,
.purchase-choice {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;

    margin-top: 30px;
}

.access-card,
.purchase-card {
    display: flex;
    flex-direction: column;

    min-height: 180px;

    padding: 24px;

    background: var(--card);

    border: 1px solid var(--line);
    border-radius: 18px;

    transition:
        transform .2s ease,
        border-color .2s ease,
        background .2s ease;
}

.access-card:hover,
.purchase-card:hover {
    transform: translateY(-2px);

    border-color:
        rgba(119,152,255,.35);
}

.access-card-label {
    margin-bottom: 27px;

    color: #7798ff;

    font-size: 9px;
    font-weight: 800;
    letter-spacing: 1.4px;
}

.access-card strong {
    font-size: 18px;
}

.access-card p {
    margin: 8px 0 20px;

    color: var(--muted);

    font-size: 12px;
    line-height: 1.55;
}

.access-link {
    margin-top: auto;

    color: #7798ff;

    font-size: 12px;
}


.new-user-box {
    margin-top: 45px;
    padding-top: 35px;

    border-top: 1px solid var(--line);
}

.new-user-box h3 {
    margin: 10px 0 0;

    font-size: 27px;
    letter-spacing: -1px;
}

.purchase-card {
    min-height: 150px;
}

.purchase-card > span {
    margin-bottom: 12px;

    font-size: 16px;
    font-weight: 650;
}

.purchase-card strong {
    color: #7798ff;

    font-size: 12px;
}

.purchase-card small {
    margin-top: auto;
    padding-top: 25px;

    color: var(--muted);

    line-height: 1.5;
}

.purchase-card.primary {
    background:
        linear-gradient(
            145deg,
            rgba(76,125,255,.13),
            rgba(76,125,255,.035)
        ),
        var(--card);

    border-color:
        rgba(119,152,255,.25);
}


/* SERVERS */

.server-demo {
    margin: 30px 0;

    border-top: 1px solid var(--line);
}

.server-demo-row {
    min-height: 82px;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;

    border-bottom: 1px solid var(--line);
}

.server-demo-row > div {
    display: flex;
    align-items: center;
    gap: 15px;
}

.server-demo-row > div > div {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.server-demo-row strong {
    font-size: 14px;
}

.server-demo-row small {
    color: var(--muted);
}

.server-flag {
    width: 42px;
    height: 42px;

    display: grid;
    place-items: center;

    background: var(--card);

    border: 1px solid var(--line);
    border-radius: 12px;

    font-size: 21px;
}

.server-online {
    color: #69d493;

    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.server-soon {
    color: var(--muted);

    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}


@media (max-width: 650px) {

    .access-choice,
    .purchase-choice {
        grid-template-columns: 1fr;
    }

    .access-card,
    .purchase-card {
        min-height: 145px;
    }

}

/* tighter transition between instruction steps */
.guide-step {
    padding-bottom: 65px;
    margin-bottom: 60px;
}


/* JTeamVPN brand accent */
.jteam-vpn-accent {
    color: #4f7cff;
}


/* =========================================================
   JTEAMVPN BUY PAGE
   ========================================================= */

.buy-page {
    position: relative;
    min-height: calc(100vh - 70px);

    padding: 90px 0 110px;

    overflow: hidden;

    background:
        radial-gradient(
            circle at 78% 8%,
            rgba(79,124,255,.10),
            transparent 30%
        ),
        radial-gradient(
            circle at 15% 45%,
            rgba(98,73,255,.05),
            transparent 26%
        );
}


/* subtle glow */

.buy-page::before {
    content: "";

    position: absolute;

    width: 480px;
    height: 480px;

    right: -220px;
    top: 160px;

    border-radius: 50%;

    background: rgba(79,124,255,.06);

    filter: blur(110px);

    pointer-events: none;
}


.buy-page .container {
    position: relative;
    z-index: 1;
}


/* BACK */

.buy-page .guide-back {
    display: inline-flex;
    align-items: center;

    margin-bottom: 70px;

    color: var(--muted);

    font-size: 13px;

    transition: color .2s ease;
}

.buy-page .guide-back:hover {
    color: var(--text);
}


/* TITLE */

.buy-page > .container > .instructions-kicker {
    display: block;

    margin-bottom: 17px;
}


.buy-page h1 {
    max-width: 850px;

    margin: 0;

    font-size: clamp(48px, 6vw, 78px);
    line-height: .98;

    letter-spacing: -4px;
}


.buy-lead {
    max-width: 690px;

    margin: 23px 0 0;

    color: var(--muted);

    font-size: 16px;
    line-height: 1.7;
}


/* =========================================================
   TARIFFS
   ========================================================= */

.buy-tariffs {
    display: grid;
    grid-template-columns:
        repeat(5, minmax(0, 1fr));

    gap: 12px;

    margin-top: 55px;
}


.tariff-option {
    position: relative;

    min-height: 155px;

    display: flex;
    align-items: flex-end;

    padding: 22px;

    cursor: pointer;

    background:
        rgba(255,255,255,.025);

    border: 1px solid
        rgba(255,255,255,.09);

    border-radius: 18px;

    transition:
        border-color .22s ease,
        background .22s ease,
        transform .22s ease,
        box-shadow .22s ease;
}


.tariff-option:hover {
    transform: translateY(-3px);

    background:
        rgba(255,255,255,.038);

    border-color:
        rgba(119,152,255,.25);
}


.tariff-option.selected {
    background:
        linear-gradient(
            145deg,
            rgba(79,124,255,.17),
            rgba(79,124,255,.055)
        );

    border-color:
        rgba(102,139,255,.55);

    box-shadow:
        0 14px 45px
        rgba(18,35,85,.22);
}


.tariff-option input {
    position: absolute;

    top: 18px;
    right: 18px;

    width: 17px;
    height: 17px;

    margin: 0;

    accent-color: #5c83ff;
}


.tariff-option > span {
    display: flex;
    flex-direction: column;
    gap: 8px;
}


.tariff-option small {
    color: var(--muted);

    font-size: 12px;
}


.tariff-option strong {
    color: var(--text);

    font-size: 27px;
    line-height: 1;

    letter-spacing: -1px;
}


.tariff-option.selected strong {
    color: #ffffff;
}


/* Recommended month */

.tariff-option.selected::before {
    content: "ПОПУЛЯРНЫЙ";

    position: absolute;

    top: 18px;
    left: 20px;

    color: #7798ff;

    font-size: 8px;
    font-weight: 800;

    letter-spacing: 1.15px;
}


/* =========================================================
   CHECKOUT
   ========================================================= */

.buy-checkout {
    display: grid;
    grid-template-columns:
        .65fr 1.35fr;

    gap: 70px;

    margin-top: 75px;
    padding-top: 55px;

    border-top:
        1px solid var(--line);
}


.buy-checkout h2 {
    margin: 12px 0 0;

    font-size: clamp(31px, 4vw, 46px);
    line-height: 1;

    letter-spacing: -2px;
}


.payment-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;

    gap: 14px;
}


.pay-form {
    margin: 0;
}


.pay-button {
    width: 100%;
    min-height: 122px;

    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-between;

    padding: 23px;

    cursor: pointer;

    color: var(--text);

    background:
        rgba(255,255,255,.025);

    border:
        1px solid rgba(255,255,255,.10);

    border-radius: 18px;

    font-family: inherit;
    text-align: left;

    transition:
        transform .22s ease,
        border-color .22s ease,
        background .22s ease,
        box-shadow .22s ease;
}


.pay-button:hover {
    transform: translateY(-2px);

    border-color:
        rgba(119,152,255,.35);

    background:
        rgba(255,255,255,.04);
}


.pay-button.primary {
    color: #fff;

    background:
        linear-gradient(
            135deg,
            #4f7cff,
            #674cf6
        );

    border-color: transparent;

    box-shadow:
        0 15px 45px
        rgba(75,102,255,.18);
}


.pay-button.primary:hover {
    box-shadow:
        0 18px 55px
        rgba(75,102,255,.28);
}


.pay-button span {
    font-size: 17px;
    font-weight: 700;
}


.pay-button small {
    color: var(--muted);

    font-size: 11px;
}


.pay-button.primary small {
    color: rgba(255,255,255,.72);
}


/* payment info */

.buy-secure {
    grid-column: 2;

    max-width: 620px;

    margin: -38px 0 0;
    padding-top: 22px;

    color: var(--muted);

    border-top:
        1px solid var(--line);

    font-size: 11px;
    line-height: 1.6;
}


/* =========================================================
   MOBILE / TABLET
   ========================================================= */

@media (max-width: 1050px) {

    .buy-tariffs {
        grid-template-columns:
            repeat(3, 1fr);
    }

}


@media (max-width: 800px) {

    .buy-page {
        padding-top: 60px;
    }

    .buy-page .guide-back {
        margin-bottom: 50px;
    }

    .buy-checkout {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .buy-secure {
        grid-column: 1;

        margin-top: 0;
    }

}


@media (max-width: 650px) {

    .buy-page h1 {
        font-size: 48px;

        letter-spacing: -3px;
    }

    .buy-tariffs {
        grid-template-columns:
            1fr 1fr;

        margin-top: 40px;
    }

    .tariff-option {
        min-height: 135px;
    }

    .payment-buttons {
        grid-template-columns: 1fr;
    }

}


@media (max-width: 420px) {

    .buy-tariffs {
        grid-template-columns: 1fr;
    }

    .tariff-option {
        min-height: 105px;
    }

}


/* PAYMENT RESULT */

.payment-result-page {
    min-height: calc(100vh - 70px);
    display: flex;
    align-items: center;
    padding: 80px 0 110px;
    background:
        radial-gradient(circle at 50% 15%, rgba(79,124,255,.10), transparent 34%);
}

.payment-result-card {
    max-width: 760px;
    margin: 0 auto;
    text-align: center;
}

.payment-result-card h1 {
    margin: 16px 0 18px;
    font-size: clamp(44px, 7vw, 72px);
    line-height: .98;
    letter-spacing: -3px;
}

.payment-result-card p {
    max-width: 560px;
    margin: 0 auto;
    color: var(--muted);
    line-height: 1.7;
}

.payment-loader {
    width: 38px;
    height: 38px;
    margin: 34px auto 0;
    border: 3px solid rgba(255,255,255,.08);
    border-top-color: #5c83ff;
    border-radius: 50%;
    animation: jteam-spin .8s linear infinite;
}

@keyframes jteam-spin {
    to { transform: rotate(360deg); }
}

.payment-success-icon {
    width: 66px;
    height: 66px;
    display: grid;
    place-items: center;
    margin: 0 auto 24px;
    border-radius: 50%;
    background: rgba(70,210,130,.10);
    border: 1px solid rgba(70,210,130,.25);
    color: #69d493;
    font-size: 27px;
    font-weight: 800;
}

.subscription-result {
    margin-top: 38px;
    padding: 24px;
    text-align: left;
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 18px;
}

.subscription-result > span {
    display: block;
    margin-bottom: 10px;
    color: var(--muted);
    font-size: 11px;
}

.subscription-result input {
    width: 100%;
    box-sizing: border-box;
    padding: 15px 16px;
    color: var(--text);
    background: rgba(255,255,255,.025);
    border: 1px solid var(--line);
    border-radius: 12px;
    outline: none;
}

.payment-next {
    margin-top: 22px;
}

@media (max-width: 600px) {
    .payment-result-page {
        padding-top: 55px;
    }

    .payment-result-card h1 {
        font-size: 46px;
    }
}


/* CONNECT / DEVICES */

.connect-page {
    min-height: 100vh;
    padding: 90px 0 110px;
}

.connect-head {
    max-width: 720px;
}

.connect-head .payment-success-icon {
    margin: 28px 0 25px;
}

.connect-head h1 {
    margin: 0 0 18px;
    font-size: clamp(52px, 7vw, 78px);
    line-height: .96;
    letter-spacing: -4px;
}

.connect-head > p {
    max-width: 600px;
    color: var(--muted);
    line-height: 1.7;
}

.connect-meta {
    display: flex;
    gap: 35px;
    margin-top: 30px;
    color: var(--muted);
    font-size: 12px;
}

.connect-meta strong {
    margin-left: 7px;
    color: var(--text);
}

.connect-meta .connect-active {
    color: #69d493;
}


.connect-devices {
    margin-top: 75px;
    padding-top: 45px;
    border-top: 1px solid var(--line);
}

.connect-section-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 25px;
}

.connect-section-head h2 {
    margin: 8px 0 0;
    font-size: 36px;
    letter-spacing: -1.5px;
}

.connect-add-soon {
    color: var(--muted);
    font-size: 12px;
}


.connect-device-list {
    border-top: 1px solid var(--line);
}

.connect-device {
    padding: 28px 0;
    border-bottom: 1px solid var(--line);
}

.connect-device-top {
    display: flex;
    align-items: center;
    gap: 18px;
}

.connect-device-number {
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 14px;
    color: #7798ff;
    font-size: 11px;
    font-weight: 800;
}

.connect-device-top > div:last-child {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.connect-device-top strong {
    font-size: 16px;
}

.connect-device-top span {
    color: #69d493;
    font-size: 11px;
}


.connect-subscription {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 12px;
    margin-top: 22px;
    margin-left: 64px;
}

.connect-subscription > span {
    grid-column: 1 / -1;
    color: var(--muted);
    font-size: 10px;
}

.connect-subscription input {
    min-width: 0;
    padding: 14px 15px;
    color: var(--text);
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 12px;
    outline: none;
}

.connect-subscription .guide-button {
    margin: 0;
    border: 0;
    cursor: pointer;
}


.connect-instructions {
    margin-top: 75px;
    padding-top: 45px;
    border-top: 1px solid var(--line);
}

.connect-instructions h2 {
    margin: 10px 0 0;
    font-size: 36px;
    letter-spacing: -1.5px;
}

.connect-secret-note {
    margin-top: 55px;
    color: var(--muted);
    font-size: 10px;
    text-align: center;
}


@media (max-width: 650px) {

    .connect-page {
        padding-top: 55px;
    }

    .connect-head h1 {
        font-size: 50px;
        letter-spacing: -3px;
    }

    .connect-meta {
        flex-direction: column;
        gap: 10px;
    }

    .connect-subscription {
        grid-template-columns: 1fr;
        margin-left: 0;
    }

    .connect-section-head {
        align-items: flex-start;
        flex-direction: column;
    }

}


/* ADD DEVICE */

.add-device {
    position: relative;
}

.add-device summary {
    list-style: none;
    cursor: pointer;

    padding: 11px 16px;

    color: #7798ff;

    background:
        rgba(79,124,255,.07);

    border:
        1px solid rgba(119,152,255,.20);

    border-radius: 12px;

    font-size: 12px;
    font-weight: 650;

    transition:
        background .2s,
        border-color .2s;
}

.add-device summary::-webkit-details-marker {
    display: none;
}

.add-device summary:hover {
    background:
        rgba(79,124,255,.12);

    border-color:
        rgba(119,152,255,.35);
}

.add-device-menu {
    position: absolute;
    z-index: 20;

    top: calc(100% + 10px);
    right: 0;

    width: 300px;

    padding: 8px;

    background: #12141b;

    border: 1px solid var(--line);
    border-radius: 16px;

    box-shadow:
        0 25px 70px
        rgba(0,0,0,.38);
}

.add-device-menu form {
    margin: 0;
}

.add-device-menu button {
    width: 100%;

    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;

    padding: 14px 15px;

    cursor: pointer;

    color: var(--text);

    background: transparent;

    border: 0;
    border-radius: 11px;

    font-family: inherit;
    text-align: left;

    transition: background .18s;
}

.add-device-menu button:hover {
    background:
        rgba(255,255,255,.055);
}

.add-device-menu strong {
    font-size: 13px;
}

.add-device-menu span {
    color: var(--muted);
    font-size: 10px;
}


@media (max-width: 650px) {

    .add-device {
        width: 100%;
    }

    .add-device summary {
        width: 100%;
        box-sizing: border-box;
        text-align: center;
    }

    .add-device-menu {
        position: static;

        width: 100%;
        box-sizing: border-box;

        margin-top: 10px;
    }

}


/* DEVICE MANAGEMENT */

.device-actions {
    display: flex;
    align-items: center;
    gap: 10px;

    margin-top: 18px;
    margin-left: 64px;
}

.device-rename {
    position: relative;
}

.device-rename summary {
    list-style: none;
    cursor: pointer;

    color: var(--muted);
    font-size: 11px;
}

.device-rename summary::-webkit-details-marker {
    display: none;
}

.device-rename form {
    position: absolute;
    z-index: 15;

    top: calc(100% + 9px);
    left: 0;

    display: flex;
    gap: 7px;

    padding: 8px;

    background: #12141b;
    border: 1px solid var(--line);
    border-radius: 12px;

    box-shadow:
        0 18px 50px
        rgba(0,0,0,.35);
}

.device-rename input {
    width: 180px;

    padding: 10px 11px;

    color: var(--text);
    background: var(--card);

    border: 1px solid var(--line);
    border-radius: 9px;

    outline: none;
}

.device-rename button {
    cursor: pointer;

    padding: 10px 12px;

    color: var(--text);
    background: rgba(79,124,255,.15);

    border: 1px solid rgba(119,152,255,.20);
    border-radius: 9px;
}

.device-delete-form {
    margin: 0;
}

.device-delete {
    cursor: pointer;

    padding: 0;

    color: #d46f78;
    background: transparent;

    border: 0;

    font-family: inherit;
    font-size: 11px;
}


@media (max-width: 650px) {

    .device-actions {
        margin-left: 0;
    }

    .device-rename form {
        position: fixed;

        left: 16px;
        right: 16px;
        top: auto;

        width: auto;
    }

    .device-rename input {
        min-width: 0;
        flex: 1;
    }

}


/* DEVICE ACTIONS FIX */

.device-actions {
    display: flex;
    align-items: center;
    gap: 9px;
}

.device-rename {
    position: relative;
    display: flex;
    align-items: center;
}

.device-action-button {
    height: 34px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 0 13px;

    cursor: pointer;

    border-radius: 9px;

    font-family: inherit;
    font-size: 11px;
    font-weight: 650;

    line-height: 1;

    box-sizing: border-box;
}

.device-rename-toggle {
    color: #dce5ff;

    background:
        rgba(79,124,255,.14);

    border:
        1px solid rgba(119,152,255,.30);
}

.device-rename-toggle:hover {
    color: #ffffff;

    background:
        rgba(79,124,255,.23);

    border-color:
        rgba(119,152,255,.48);
}

.device-delete {
    color: #ff9ca5;

    background:
        rgba(212,80,94,.09);

    border:
        1px solid rgba(212,80,94,.20);
}

.device-delete:hover {
    color: #ffc0c5;

    background:
        rgba(212,80,94,.16);

    border-color:
        rgba(212,80,94,.33);
}

.device-rename-form[hidden] {
    display: none !important;
}

.device-rename-form {
    position: absolute;
    z-index: 30;

    top: calc(100% + 9px);
    left: 0;

    display: flex;
    gap: 7px;

    padding: 8px;

    background: #12141b;

    border:
        1px solid var(--line);

    border-radius: 12px;

    box-shadow:
        0 18px 50px
        rgba(0,0,0,.40);
}

.device-rename-form input {
    width: 190px;

    padding: 10px 11px;

    color: var(--text);
    background: var(--card);

    border:
        1px solid var(--line);

    border-radius: 9px;

    outline: none;
}

.device-save-button {
    cursor: pointer;

    padding: 0 13px;

    color: #ffffff;

    background:
        rgba(79,124,255,.28);

    border:
        1px solid rgba(119,152,255,.32);

    border-radius: 9px;
}


@media (max-width: 650px) {

    .device-rename-form {
        position: fixed;

        z-index: 50;

        left: 16px;
        right: 16px;
        bottom: 20px;
        top: auto;

        width: auto;
    }

    .device-rename-form input {
        flex: 1;
        min-width: 0;
        width: auto;
    }

}


/* CONNECT RENEWAL */

.connect-renew {
    margin-top: 75px;
    padding-top: 45px;
    border-top: 1px solid var(--line);
}

.connect-renew h2 {
    margin: 10px 0 0;
    font-size: 36px;
    letter-spacing: -1.5px;
}

.connect-renew-text {
    max-width: 540px;
    margin: 12px 0 24px;
    color: var(--muted);
    line-height: 1.6;
}

.renew-tariffs {
    border-top: 1px solid var(--line);
}

.renew-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;

    padding: 20px 0;

    border-bottom: 1px solid var(--line);
}

.renew-card > div:first-child {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.renew-card strong {
    font-size: 16px;
}

.renew-card span {
    color: #7798ff;
    font-size: 13px;
    font-weight: 700;
}

.renew-methods {
    display: flex;
    gap: 8px;
}

.renew-methods form {
    margin: 0;
}

.renew-methods button {
    min-width: 74px;
    height: 36px;

    cursor: pointer;

    color: #dce5ff;
    background: rgba(79,124,255,.12);

    border: 1px solid rgba(119,152,255,.25);
    border-radius: 10px;

    font-family: inherit;
    font-size: 11px;
    font-weight: 650;
}

.renew-methods button:hover {
    background: rgba(79,124,255,.20);
}


@media (max-width: 650px) {

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

    .renew-methods {
        width: 100%;
    }

    .renew-methods form {
        flex: 1;
    }

    .renew-methods button {
        width: 100%;
    }

}
