/*
Theme Name: Stravasetup Theme
Theme URI: https://stravasetup.ru
Author: AvgarVPN Team
Description: Тема для stravasetup.ru — доступ к Strava из России.
Version: 1.0.0
Text Domain: stravasetup-theme
*/

@import url('https://fonts.googleapis.com/css2?family=Barlow:ital,wght@0,400;0,500;0,600;0,700;0,800;0,900;1,500&display=swap');

/* ─── Tokens ─────────────────────────────────────────── */
:root {
    --bg:          #0e0e0e;
    --bg2:         #161616;
    --bg3:         #1d1d1d;
    --card:        #1a1a1a;
    --card-ho:     #222222;
    --border:      rgba(255,255,255,0.07);
    --border-hi:   rgba(252,76,2,0.4);
    --text:        #f2f0ed;
    --muted:       #8a8a8a;
    --muted2:      #555;
    --brand:       #FC4C02;
    --brand-dark:  #d93f00;
    --brand-glow:  rgba(252,76,2,0.18);
    --brand-soft:  rgba(252,76,2,0.10);
    --white:       #ffffff;
    --shadow:      0 4px 32px rgba(0,0,0,0.55), 0 1px 0 rgba(255,255,255,0.04) inset;
    --shadow-sm:   0 2px 12px rgba(0,0,0,0.4);
    --radius:      16px;
    --radius-sm:   10px;
    --radius-xs:   6px;
    --max:         1100px;
}

/* ─── Reset & base ───────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: 'Barlow', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 16px;
    line-height: 1.65;
    color: var(--text);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

img { max-width: 100%; height: auto; }
a { text-decoration: none; color: inherit; }

.wrap {
    max-width: var(--max);
    margin: 0 auto;
    padding: 0 24px;
}

/* ─── Header ─────────────────────────────────────────── */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(14,14,14,0.94);
    border-bottom: 1px solid var(--border);
    backdrop-filter: blur(12px);
}

.site-header__inner {
    display: flex;
    align-items: center;
    gap: 32px;
    height: 60px;
}

.site-brand {
    display: flex;
    align-items: center;
    gap: 9px;
    font-weight: 800;
    font-size: 18px;
    letter-spacing: -0.3px;
    color: var(--text);
    transition: color 0.2s;
}
.site-brand:hover { color: var(--brand); }

.site-brand__icon {
    width: 30px;
    height: 30px;
    background: var(--brand);
    border-radius: var(--radius-xs);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.site-header__actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
    margin-left: auto;
}

.site-header__support {
    flex-shrink: 0;
    padding: 8px 14px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
    color: var(--muted);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border);
    white-space: nowrap;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s, border-color 0.15s, color 0.15s;
}

.site-header__support:hover {
    color: var(--text);
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--border-hi);
}

.site-header__cta {
    background: var(--brand);
    color: var(--white);
    font-weight: 700;
    font-size: 14px;
    padding: 8px 20px;
    border-radius: var(--radius-xs);
    transition: background 0.2s, box-shadow 0.2s, transform 0.15s;
    white-space: nowrap;
}
.site-header__cta:hover {
    background: var(--brand-dark);
    box-shadow: 0 4px 16px rgba(252,76,2,0.35);
}
.site-header__cta:active { transform: scale(0.98); }

.site-header__link {
    color: var(--muted);
    font-size: 14px;
    font-weight: 600;
    transition: color .15s;
}
.site-header__link:hover { color: var(--text); }

.site-nav {
    display: flex;
    align-items: center;
    gap: 4px;
    flex: 1;
    min-width: 0;
}

.site-nav a {
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    color: var(--muted);
    white-space: nowrap;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    transition: color 0.15s, background 0.15s;
}

.site-nav a:hover {
    color: var(--text);
    background: rgba(255, 255, 255, 0.06);
}

.site-nav__mobile-extra {
    display: none;
}

.site-nav__toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    background: none;
    border: none;
    padding: 8px;
    min-width: 44px;
    min-height: 44px;
    cursor: pointer;
    flex-shrink: 0;
}

.site-nav__toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: transform 0.2s, opacity 0.2s;
}

.site-header__cta-short {
    display: none;
}

.site-header__cta-long {
    display: inline;
}

/* ─── Hero ───────────────────────────────────────────── */
.hero {
    padding: 80px 0 72px;
    background: var(--bg);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -80px; right: -120px;
    width: 560px; height: 560px;
    background: radial-gradient(circle, rgba(252,76,2,0.12) 0%, transparent 70%);
    pointer-events: none;
}

.hero__inner {
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: 56px;
    align-items: center;
}

.hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: var(--brand-soft);
    border: 1px solid var(--border-hi);
    color: var(--brand);
    font-weight: 700;
    font-size: 12px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 5px 12px;
    border-radius: 100px;
    margin-bottom: 20px;
}

.hero__badge::before {
    content: '';
    width: 6px; height: 6px;
    background: var(--brand);
    border-radius: 50%;
    flex-shrink: 0;
}

.hero h1 {
    margin: 0 0 20px;
    font-size: clamp(30px, 4vw, 52px);
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -1.5px;
    color: var(--text);
}

.hero h1 em {
    font-style: normal;
    color: var(--brand);
}

.hero__lead {
    margin: 0 0 36px;
    font-size: 18px;
    font-weight: 400;
    color: var(--muted);
    max-width: 480px;
}

.hero__actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.hero__tested {
    margin: 16px 0 0;
    font-size: 0.9rem;
    color: var(--muted);
    max-width: 480px;
}

.hero__tested::before {
    content: '✅ ';
}

/* ─── Activity Card mock ─────────────────────────────── */
.activity-card {
    background: var(--card);
    border: 1px solid rgba(252,76,2,0.2);
    border-radius: var(--radius);
    padding: 24px;
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
}

.activity-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--brand), #ff8c4a);
}

.activity-card__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.activity-card__sport {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    font-size: 14px;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.activity-card__sport-icon {
    width: 28px; height: 28px;
    background: var(--brand-soft);
    border-radius: var(--radius-xs);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

.activity-card__status {
    font-size: 12px;
    font-weight: 700;
    color: var(--brand);
    background: var(--brand-soft);
    padding: 3px 10px;
    border-radius: 100px;
}

.activity-card__stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 20px;
}

.activity-stat {
    text-align: center;
}

.activity-stat__value {
    font-size: 28px;
    font-weight: 900;
    color: var(--text);
    line-height: 1;
    letter-spacing: -0.5px;
}

.activity-stat__label {
    font-size: 11px;
    font-weight: 600;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-top: 4px;
}

.activity-card__map {
    height: 80px;
    background: linear-gradient(135deg, #1a1a1a 0%, #222 100%);
    border-radius: var(--radius-sm);
    position: relative;
    overflow: hidden;
    margin-bottom: 16px;
}

.activity-card__map-line {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    padding: 0 20px;
}

.activity-card__map svg {
    width: 100%;
    height: 100%;
}

.activity-card__vpn-notice {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(252,76,2,0.1);
    border: 1px solid rgba(252,76,2,0.25);
    border-radius: var(--radius-sm);
    padding: 10px 14px;
    font-size: 13px;
    font-weight: 600;
    color: var(--brand);
}

.activity-card__vpn-notice--locked {
    background: rgba(255,40,40,0.08);
    border-color: rgba(255,40,40,0.2);
    color: #ff6060;
}

/* ─── Trust strip ────────────────────────────────────── */
.trust-strip {
    background: var(--bg2);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 16px 0;
}

.trust-strip__inner {
    display: flex;
    gap: 40px;
    justify-content: center;
    flex-wrap: wrap;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: var(--muted);
}

.trust-item__icon {
    color: var(--brand);
    font-size: 16px;
}

/* ─── How it works ───────────────────────────────────── */
.section {
    padding: 80px 0;
}

.section--dark { background: var(--bg2); }

.section__label {
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--brand);
    margin-bottom: 12px;
}

.section__title {
    font-size: clamp(26px, 3.5vw, 42px);
    font-weight: 900;
    letter-spacing: -0.8px;
    margin: 0 0 16px;
    color: var(--text);
}

.section__lead {
    font-size: 18px;
    color: var(--muted);
    margin: 0 0 56px;
    max-width: 560px;
}

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

.step {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px 24px;
    transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}

.step:hover {
    border-color: var(--border-hi);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.step__num {
    width: 36px; height: 36px;
    background: var(--brand);
    border-radius: 50%;
    color: var(--white);
    font-size: 15px;
    font-weight: 900;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.step__title {
    font-size: 18px;
    font-weight: 800;
    margin-bottom: 8px;
    color: var(--text);
}

.step__desc { font-size: 15px; color: var(--muted); }

/* ─── Download cards (App Store / Play / APK) ─────────── */
.stv-downloads {
    padding: 56px 0 48px;
}

.stv-downloads__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 8px;
}

.stv-download-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.stv-download-card:hover {
    border-color: rgba(252, 76, 2, 0.35);
    box-shadow: 0 0 24px rgba(252, 76, 2, 0.08);
}

.stv-download-card__icon {
    font-size: 28px;
    line-height: 1;
}

.stv-download-card__title {
    margin: 0;
    font-size: 20px;
    font-weight: 800;
    color: var(--text);
    line-height: 1.25;
}

.stv-download-card__lead {
    margin: 0;
    font-size: 15px;
    color: var(--muted);
    line-height: 1.55;
    flex: 1;
}

.stv-download-card__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.stv-download-card__btn {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 16px;
    font-size: 14px;
}

.stv-download-card__guide,
.stv-download-card__source {
    margin: 0;
    font-size: 14px;
}

.stv-download-card__guide a,
.stv-download-card__source a {
    color: var(--brand);
    font-weight: 700;
}

.stv-download-card__disclaimer {
    margin: 0;
    font-size: 12px;
    color: var(--muted2);
    line-height: 1.45;
}

.stv-download-card--recommended {
    border-color: var(--brand);
    box-shadow: 0 0 32px rgba(252, 76, 2, 0.15);
    order: -1;
}

body[data-stv-device="ios"] .stv-download-card--android,
body[data-stv-device="android"] .stv-download-card--iphone {
    opacity: 0.55;
}

/* ─── Device prompt ──────────────────────────────────── */
.stv-device-prompt {
    margin: 0;
    padding: 12px 0 0;
    border-bottom: 1px solid var(--border);
    background: var(--bg2);
}

.stv-device-prompt__wrap {
    padding-bottom: 12px;
}

.stv-device-prompt__panel {
    display: none;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px 16px;
}

.stv-device-prompt__panel.is-active {
    display: flex;
}

.stv-device-prompt__text {
    margin: 0;
    flex: 1 1 200px;
    font-size: 15px;
    line-height: 1.5;
    color: var(--muted);
    text-align: left;
}

.stv-device-prompt__text strong {
    color: var(--text);
}

.stv-device-prompt__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    flex-shrink: 0;
}

.stv-device-prompt__btn {
    min-height: 44px;
    white-space: nowrap;
}

.stv-device-prompt--compact .stv-device-prompt__text {
    font-size: 14px;
}

/* ─── Pricing ────────────────────────────────────────── */
.plans-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.plan-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px 20px;
    position: relative;
    text-align: center;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.plan-card:hover {
    border-color: rgba(252,76,2,0.35);
    box-shadow: 0 0 24px rgba(252,76,2,0.08);
}

.plan-card--featured {
    border-color: var(--brand);
    box-shadow: 0 0 32px rgba(252,76,2,0.15);
}

.plan-featured-badge {
    position: absolute;
    top: -1px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--brand);
    color: var(--white);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 3px 12px;
    border-radius: 0 0 8px 8px;
}

.plan-name {
    font-size: 14px;
    font-weight: 700;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 12px;
}

.plan-price {
    font-size: 36px;
    font-weight: 900;
    color: var(--text);
    letter-spacing: -1px;
    margin-bottom: 4px;
}

.plan-price small {
    font-size: 16px;
    font-weight: 700;
    color: var(--muted);
}

.plan-old {
    font-size: 13px;
    color: var(--muted2);
    text-decoration: line-through;
    margin-bottom: 12px;
}

.plan-devices {
    font-size: 13px;
    color: var(--muted);
    margin-bottom: 20px;
}

.plan-cta {
    display: block;
    background: var(--brand);
    color: var(--white);
    font-weight: 800;
    font-size: 14px;
    padding: 10px 0;
    border-radius: var(--radius-sm);
    transition: background 0.2s;
}

.plan-cta:hover { background: var(--brand-dark); }

.plan-card--featured .plan-cta {
    box-shadow: 0 4px 16px rgba(252,76,2,0.4);
}

/* ─── Inline checkout on homepage / direct ───────────── */
.stv-home-plans {
    padding: 64px 0;
}

.stv-home-plans__note {
    margin: 24px 0 0;
    text-align: center;
    font-size: 13px;
    color: var(--muted);
}

.stv-home-plans__note a {
    color: var(--brand);
}

.plan-card--checkout {
    text-align: left;
    display: flex;
    flex-direction: column;
}

.plan-card__features {
    list-style: none;
    padding: 0;
    margin: 0 0 16px;
    font-size: 13px;
    color: var(--muted);
    line-height: 1.5;
}

.plan-card__features li {
    margin: 0 0 4px;
}

.plan-card__form {
    max-width: none;
    margin: auto 0 0;
    width: 100%;
}

.plan-card__form .email-form__input {
    padding: 11px 12px;
    font-size: 14px;
    margin-bottom: 10px;
}

.plan-card__form .email-form__consent {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 11px;
    line-height: 1.4;
    margin-bottom: 12px;
}

.plan-card__form .email-form__consent input {
    margin-top: 2px;
    flex-shrink: 0;
}

.plan-card__submit {
    width: 100%;
    padding: 12px 16px;
    font-size: 14px;
    font-weight: 800;
    border: none;
    border-radius: var(--radius-sm);
    background: var(--brand);
    color: var(--white);
    cursor: pointer;
    transition: background 0.2s;
    min-height: 44px;
}

.plan-card__submit:hover {
    background: var(--brand-dark);
}

.plan-card--featured .plan-card__submit {
    box-shadow: 0 4px 16px rgba(252,76,2,0.4);
}

.stv-plans-checkout .plan-devices {
    margin-bottom: 12px;
}

.email-unavailable {
    text-align: center;
    padding: 32px 0;
    color: var(--muted);
}

.email-unavailable p {
    margin: 0 0 16px;
}

/* ─── FAQ ────────────────────────────────────────────── */
.faq-list {
    display: flex;
    flex-direction: column;
    gap: 2px;
    max-width: 760px;
    margin: 0 auto;
}

.faq-item {
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    overflow: hidden;
}

.faq-item__q {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 20px;
    font-weight: 700;
    font-size: 16px;
    cursor: pointer;
    background: var(--card);
    transition: background 0.15s;
    user-select: none;
    list-style: none;
}

.faq-item__q:hover { background: var(--card-ho); }

.faq-item__q::marker, .faq-item__q::-webkit-details-marker { display: none; }

.faq-item__q::after {
    content: '+';
    flex-shrink: 0;
    width: 24px; height: 24px;
    background: var(--brand-soft);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 700;
    color: var(--brand);
    line-height: 1;
    text-align: center;
}

details[open] > .faq-item__q::after { content: '−'; }

.faq-item__a {
    padding: 0 20px 18px;
    font-size: 15px;
    color: var(--muted);
    background: var(--card);
    line-height: 1.7;
}

/* ─── CTA section ────────────────────────────────────── */
.cta-section {
    background: var(--brand);
    padding: 72px 0;
    text-align: center;
}

.cta-section h2 {
    font-size: clamp(28px, 4vw, 44px);
    font-weight: 900;
    color: var(--white);
    margin: 0 0 16px;
    letter-spacing: -0.8px;
}

.cta-section p {
    font-size: 18px;
    color: rgba(255,255,255,0.8);
    margin: 0 0 36px;
}

/* ─── Buttons ────────────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: inherit;
    font-weight: 800;
    font-size: 15px;
    padding: 14px 28px;
    border-radius: var(--radius-sm);
    border: none;
    cursor: pointer;
    transition: background 0.2s, box-shadow 0.2s, transform 0.1s;
    text-decoration: none;
    line-height: 1;
}

.btn:active { transform: scale(0.98); }

.btn--primary {
    background: var(--brand);
    color: var(--white);
    box-shadow: 0 4px 20px rgba(252,76,2,0.35);
}
.btn--primary:hover {
    background: var(--brand-dark);
    box-shadow: 0 6px 24px rgba(252,76,2,0.4);
}

.btn--white {
    background: var(--white);
    color: var(--brand);
}
.btn--white:hover {
    background: #f0f0f0;
    transform: translateY(-1px);
}

.cta-section .btn--white:hover {
    background: rgba(255,255,255,0.92);
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.btn--outline {
    background: transparent;
    color: var(--text);
    border: 2px solid var(--border-hi);
}
.btn--outline:hover { border-color: var(--brand); color: var(--brand); }

.btn--lg { padding: 16px 36px; font-size: 16px; }

/* ─── Problem cards ──────────────────────────────────── */
.problems-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.problem-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
    display: flex;
    gap: 16px;
    align-items: flex-start;
    transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}

.problem-card:hover {
    border-color: var(--border-hi);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.problem-card__icon {
    font-size: 24px;
    flex-shrink: 0;
    margin-top: 2px;
}

.problem-card__title {
    font-size: 16px;
    font-weight: 800;
    margin-bottom: 6px;
    color: var(--text);
}

.problem-card__desc { font-size: 14px; color: var(--muted); }

/* ─── Footer ─────────────────────────────────────────── */
.site-footer {
    background: var(--bg);
    border-top: 1px solid var(--border);
    padding: 32px 0;
}

.site-footer__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}

.site-footer__brand {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 800;
    font-size: 15px;
}

.site-footer__links {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}

.site-footer__links a {
    font-size: 14px;
    color: var(--muted);
    transition: color 0.2s;
}
.site-footer__links a:hover { color: var(--brand); }

.site-footer__copy {
    font-size: 13px;
    color: var(--muted2);
}

/* ─── Checkout page ──────────────────────────────────── */
.email-hero {
    padding: 60px 0 48px;
    background: var(--bg2);
    border-bottom: 1px solid var(--border);
    text-align: center;
}

.email-hero__title {
    font-size: clamp(26px, 4vw, 42px);
    font-weight: 900;
    letter-spacing: -0.8px;
    margin: 0 0 12px;
}

.email-hero__lead {
    font-size: 16px;
    color: var(--muted);
    margin: 0;
}

.email-plans {
    padding: 56px 0 80px;
}

.email-plans-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-bottom: 32px;
}

.email-plan-tile {
    display: block;
    background: var(--card);
    border: 2px solid var(--border);
    border-radius: var(--radius);
    padding: 20px 16px;
    cursor: pointer;
    position: relative;
    text-align: center;
    transition: border-color 0.2s, background 0.2s, box-shadow 0.2s, transform 0.15s;
}

.email-plan-tile:hover {
    border-color: rgba(252,76,2,0.35);
    background: var(--card-ho);
    transform: translateY(-1px);
}

.email-plan-tile input[type="radio"] { position: absolute; opacity: 0; }
.email-plan-tile input:checked + .plan-badge,
.email-plan-tile:has(input:checked) {
    border-color: var(--brand);
    box-shadow: 0 0 20px rgba(252,76,2,0.15);
    transform: none;
}

.email-plan-tile--featured { background: linear-gradient(160deg, rgba(252,76,2,.06), var(--card)); }

.email-plan-tile ul {
    list-style: none;
    padding: 0;
    margin: 8px 0 0;
    font-size: 0.85rem;
    color: var(--muted);
    text-align: left;
}

.email-plan-tile ul li { margin: 0; }

.email-form {
    max-width: 480px;
    margin: 0 auto;
}

.email-form__field { margin-bottom: 16px; }

.email-form__label {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: var(--muted);
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.email-form__input {
    width: 100%;
    background: var(--card);
    border: 1px solid var(--border-hi);
    border-radius: var(--radius-sm);
    padding: 13px 16px;
    font-family: inherit;
    font-size: 15px;
    color: var(--text);
    outline: none;
    transition: border-color 0.2s;
}
.email-form__input:focus { border-color: var(--brand); }

.email-form__consent {
    font-size: 13px;
    color: var(--muted);
    margin-bottom: 20px;
}

.email-form__consent a { color: var(--brand); }

.email-form__submit {
    width: 100%;
    background: var(--brand);
    color: var(--white);
    border: none;
    font-family: inherit;
    font-weight: 800;
    font-size: 16px;
    padding: 15px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: background 0.2s;
}
.email-form__submit:hover { background: var(--brand-dark); }

.email-success {
    background: rgba(52,211,153,0.1);
    border: 1px solid rgba(52,211,153,0.3);
    border-radius: var(--radius-sm);
    padding: 16px 20px;
    font-size: 15px;
    font-weight: 600;
    color: #34d399;
    text-align: center;
    margin-bottom: 24px;
}

.email-error {
    background: rgba(255,60,60,0.1);
    border: 1px solid rgba(255,60,60,0.3);
    border-radius: var(--radius-sm);
    padding: 14px 20px;
    font-size: 14px;
    color: #ff6060;
    text-align: center;
    margin-bottom: 20px;
}

.plan-badge {
    position: absolute;
    top: -1px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--brand);
    color: var(--white);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 2px 10px;
    border-radius: 0 0 7px 7px;
}

/* ─── Blog / Knowledge Base ──────────────────────────── */

.blog-eyebrow,
.blog-card__eyebrow {
    color: var(--brand);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .09em;
    text-transform: uppercase;
}

.blog-hero,
.article-hero {
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg, var(--bg2) 0%, var(--bg) 100%);
    border-bottom: 1px solid var(--border);
}

.blog-hero::after,
.article-hero::after {
    content: '';
    position: absolute;
    width: 360px;
    height: 360px;
    right: -140px;
    bottom: -220px;
    border: 70px solid var(--brand-soft);
    border-radius: 50%;
    pointer-events: none;
}

.blog-hero__inner {
    position: relative;
    z-index: 1;
    min-height: 320px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 220px;
    align-items: center;
    gap: 40px;
    padding-top: 48px;
    padding-bottom: 48px;
}

.blog-hero h1,
.article-hero h1 {
    max-width: 850px;
    margin: 12px 0 20px;
    font-size: clamp(32px, 5vw, 54px);
    font-weight: 900;
    line-height: 1.04;
    letter-spacing: -.04em;
}

.blog-hero p,
.article-deck {
    max-width: 640px;
    margin: 0;
    color: var(--muted);
    font-size: 17px;
    line-height: 1.7;
}

.blog-hero__status {
    display: grid;
    gap: 6px;
    padding: 20px;
    background: var(--card);
    border: 1px solid var(--border-hi);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
}

.blog-hero__status span { color: var(--muted); font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.blog-hero__status strong { font-size: 26px; letter-spacing: -.04em; }
.blog-hero__status small { color: var(--muted2); line-height: 1.5; font-size: 13px; }

.blog-index { padding: 56px 0 80px; }

.blog-index__head,
.related-section__head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 28px;
}

.blog-index__head h2,
.related-section__head h2,
.editorial-note h2 {
    margin: 0 0 6px;
    font-size: clamp(24px, 3.5vw, 36px);
    font-weight: 900;
    line-height: 1.12;
    letter-spacing: -.03em;
}

.blog-index__head p { margin: 0; color: var(--muted); font-size: 15px; }

.blog-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.blog-card {
    display: flex;
    flex-direction: column;
    min-height: 280px;
    overflow: hidden;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    transition: transform .18s, box-shadow .18s, border-color .18s;
}

.blog-card:hover {
    transform: translateY(-3px);
    border-color: var(--border-hi);
    box-shadow: var(--shadow);
}

.blog-card:hover .blog-card__link {
    text-decoration: underline;
    text-underline-offset: 3px;
}

.blog-card__body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 28px;
}

.blog-card h2 {
    margin: 14px 0 10px;
    font-size: clamp(20px, 2.6vw, 28px);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -.03em;
}

.blog-card p { color: var(--muted); line-height: 1.6; font-size: 14px; }
.blog-card__link { margin-top: auto; padding-top: 14px; color: var(--brand); font-weight: 800; font-size: 14px; }

.blog-card__meta {
    display: flex;
    padding: 12px 28px;
    color: var(--muted2);
    background: var(--bg3);
    border-top: 1px solid var(--border);
    font-size: 12px;
}

.blog-empty {
    grid-column: 1 / -1;
    padding: 44px;
    text-align: center;
    color: var(--muted2);
    background: var(--card);
    border: 1px dashed var(--border);
    border-radius: var(--radius);
}

.editorial-note {
    padding: 56px 0;
    background: var(--bg2);
    border-top: 1px solid var(--border);
}

.editorial-note__inner {
    display: grid;
    grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
    gap: 48px;
    align-items: center;
}

.editorial-note p { color: var(--muted); font-size: 16px; line-height: 1.75; }

/* ─── Article Hero ───────────────────────────────────── */
.article-hero__inner {
    position: relative;
    z-index: 1;
    padding-top: 44px;
    padding-bottom: 52px;
}

.article-hero__cta {
    margin-top: 24px;
}

.article-hero__cta .btn {
    display: inline-flex;
    width: 100%;
    max-width: 360px;
    justify-content: center;
}

.article-breadcrumbs {
    display: flex;
    gap: 9px;
    margin-bottom: 28px;
    color: var(--muted2);
    font-size: 13px;
}

.article-breadcrumbs a:hover { color: var(--text); }

.article-byline {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 18px;
    margin-top: 22px;
    color: var(--muted2);
    font-size: 13px;
}

/* ─── Article Shell ──────────────────────────────────── */
.article-shell {
    display: grid;
    grid-template-columns: 240px minmax(0, 1fr);
    gap: 44px;
    padding: 44px 0 36px;
}

.article-aside { display: flex; flex-direction: column; gap: 18px; }

.article-aside__box {
    position: sticky;
    top: 80px;
    background: var(--card);
    border: 1px solid var(--border-hi);
    border-radius: var(--radius);
    padding: 22px;
}

.article-aside__box strong { display: block; margin-bottom: 6px; font-size: 15px; }
.article-aside__box p { color: var(--muted); font-size: 13px; line-height: 1.6; margin: 0 0 14px; }

.article-aside__trust {
    display: flex;
    flex-direction: column;
    gap: 6px;
    color: var(--muted2);
    font-size: 12px;
}

.article-aside__trust span::before { content: '✓ '; color: var(--brand); }

.article-main { min-width: 0; }

.article-answer {
    background: var(--brand-soft);
    border: 1px solid var(--border-hi);
    border-radius: var(--radius-sm);
    padding: 18px 22px;
    margin-bottom: 28px;
}

.article-answer strong {
    display: block;
    color: var(--text);
    margin-bottom: 8px;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: .06em;
}

.article-answer p { color: var(--muted); font-size: 15px; line-height: 1.7; margin: 0; }

.article-content { color: var(--muted); }
.article-content h2, .article-content h3 { color: var(--text); margin-top: 2em; margin-bottom: 0.6em; letter-spacing: -.02em; }
.article-content ul, .article-content ol { padding-left: 22px; }
.article-content li { margin-bottom: 7px; }
.article-content a { color: var(--brand); font-weight: 600; }
.article-content a:hover { text-decoration: underline; }
.article-content strong { color: var(--text); }

.article-disclaimer {
    margin-top: 36px;
    padding: 16px 20px;
    background: var(--bg3);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 13px;
    line-height: 1.7;
    color: var(--muted2);
}

.article-disclaimer strong { color: var(--muted); }

.article-cta {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 28px;
    align-items: center;
    margin-top: 36px;
    padding: 32px;
    background: var(--brand);
    border-radius: var(--radius);
    color: #fff;
}

.article-cta h2 { margin: 10px 0 12px; font-size: clamp(18px, 2.5vw, 26px); font-weight: 800; letter-spacing: -.03em; }
.article-cta p { color: rgba(255,255,255,0.82); font-size: 15px; line-height: 1.6; margin: 0; }

.article-cta .btn--white {
    background: #fff;
    color: var(--brand);
    font-weight: 700;
    white-space: nowrap;
    padding: 12px 24px;
    border-radius: var(--radius-xs);
}

.article-cta .btn--white:hover {
    background: rgba(255,255,255,0.9);
    transform: translateY(-1px);
}

/* ─── Referral (Плати по миру) ───────────────────────── */
.referral-section {
    padding: 72px 0;
    background: #1a1a2e;
    text-align: center;
}

.referral-section__inner {
    max-width: 900px;
    margin: 0 auto;
}

.referral-section__badge {
    display: inline-block;
    background: rgba(252,76,2,.12);
    color: #FC4C02;
    padding: 6px 16px;
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    margin-bottom: 24px;
}

.referral-section h2 {
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    font-weight: 800;
    color: #e8e6e3;
    margin: 0 0 16px;
}

.referral-section__lead {
    font-size: 1.05rem;
    color: #94a3b8;
    line-height: 1.7;
    margin: 0 auto 40px;
    max-width: 650px;
}

.referral-section__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 40px;
    text-align: left;
}

.referral-section__card {
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 12px;
    padding: 24px 20px;
    transition: border-color 0.2s, transform 0.2s, background 0.2s;
}

.referral-section__card:hover {
    border-color: rgba(252,76,2,0.35);
    background: rgba(255,255,255,.06);
    transform: translateY(-2px);
}

.referral-section__card-icon {
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.referral-section__card h3 {
    font-size: 1rem;
    font-weight: 700;
    color: #e8e6e3;
    margin: 0 0 6px;
}

.referral-section__card p {
    font-size: 0.88rem;
    color: #94a3b8;
    line-height: 1.55;
    margin: 0;
}

.referral-section__cta {
    display: inline-block;
    padding: 16px 40px;
    background: linear-gradient(135deg, #FC4C02, #9c27b0);
    color: #fff;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    box-shadow: 0 4px 20px rgba(252,76,2,.35);
    transition: transform 0.2s, box-shadow 0.2s, filter 0.2s;
}

.referral-section__cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(252,76,2,.45);
    filter: brightness(1.05);
}

.referral-section__note {
    margin: 16px 0 0;
    font-size: 0.82rem;
    color: #94a3b8;
}

.email-form__consent a:hover { text-decoration: underline; }

.article-aside__box .btn--primary { width: 100%; justify-content: center; }

/* ─── Related ────────────────────────────────────────── */
.related-section {
    padding: 44px 0 56px;
    border-top: 1px solid var(--border);
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.related-card {
    display: block;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 22px;
    transition: border-color .15s, transform .15s;
}

.related-card:hover {
    border-color: var(--border-hi);
    transform: translateY(-2px);
}

.related-card span {
    display: block;
    color: var(--brand);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.related-card strong {
    display: block;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.35;
    margin-bottom: 6px;
}

.related-card p { color: var(--muted); font-size: 13px; line-height: 1.55; margin: 0; }

/* ─── Responsive ─────────────────────────────────────── */
@media (max-width: 860px) {
    .hero__inner { grid-template-columns: 1fr; }
    .activity-card { display: none; }
    .stv-downloads__grid { grid-template-columns: 1fr; }
    .plans-grid { grid-template-columns: repeat(2, 1fr); }
    .stv-plans-checkout { grid-template-columns: repeat(2, 1fr); }
    .email-plans-grid { grid-template-columns: repeat(2, 1fr); }
    .steps { grid-template-columns: 1fr; }
    .problems-grid { grid-template-columns: 1fr; }
    .blog-hero__inner { grid-template-columns: 1fr; min-height: auto; }
    .article-shell { grid-template-columns: 1fr; }
    .blog-grid { grid-template-columns: 1fr; }
    .related-grid { grid-template-columns: 1fr; }
    .editorial-note__inner { grid-template-columns: 1fr; }
    .article-cta { grid-template-columns: 1fr; }
    .referral-section__grid { grid-template-columns: 1fr; }
    .blog-index__head {
        flex-direction: column;
        align-items: flex-start;
    }
    .trust-strip__inner {
        gap: 16px 24px;
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        justify-content: stretch;
    }
}

@media (max-width: 680px) {
    .site-nav__toggle { display: flex; }

    .site-nav {
        position: fixed;
        top: 56px;
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 12px 16px 20px;
        background: rgba(14, 14, 14, 0.97);
        backdrop-filter: blur(12px);
        border-bottom: 1px solid var(--border);
        transform: translateY(-110%);
        opacity: 0;
        pointer-events: none;
        transition: transform 0.25s, opacity 0.25s;
        z-index: 99;
    }

    .site-nav.open {
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto;
    }

    .site-nav a {
        padding: 12px 14px;
        font-size: 16px;
        white-space: normal;
    }

    .site-nav__mobile-extra {
        display: flex;
    }

    .site-header__inner {
        gap: 10px;
        height: auto;
        min-height: 56px;
        padding: 8px 0;
        flex-wrap: nowrap;
    }

    .site-header__support {
        display: none;
    }

    .site-header__actions {
        margin-left: auto;
        gap: 8px;
    }

    .site-header__cta-short {
        display: inline;
    }

    .site-header__cta-long {
        display: none;
    }

    .site-header__cta {
        font-size: 12px;
        padding: 8px 12px;
        min-height: 44px;
        display: inline-flex;
        align-items: center;
    }

    .site-brand { font-size: 16px; }

    .plans-grid,
    .stv-plans-checkout,
    .email-plans-grid {
        grid-template-columns: 1fr;
    }

    .stv-download-card__actions {
        flex-direction: column;
    }

    .stv-download-card__btn {
        width: 100%;
    }

    .plan-card__form .email-form__consent {
        font-size: 12px;
    }

    .plan-card__form .email-form__consent span {
        word-break: break-word;
    }

    .faq-item__q {
        min-height: 44px;
        display: flex;
        align-items: center;
    }

    .stv-device-prompt__panel.is-active {
        flex-direction: column;
        align-items: stretch;
    }

    .stv-device-prompt__actions {
        width: 100%;
    }

    .stv-device-prompt__btn {
        flex: 1 1 100%;
        width: 100%;
        justify-content: center;
    }

    .section__lead {
        font-size: 16px;
        margin-bottom: 32px;
    }

    .site-footer__inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .site-footer__links {
        gap: 14px 18px;
    }
}

@media (max-width: 520px) {
    .hero { padding: 56px 0 48px; }
    .hero__actions { flex-direction: column; }
    .hero__actions .btn { width: 100%; }
    .trust-strip__inner {
        grid-template-columns: 1fr;
        flex-direction: column;
        gap: 14px;
    }
    .section { padding: 56px 0; }
    .referral-section__cta {
        display: block;
        width: 100%;
        padding: 14px 20px;
        font-size: 1rem;
    }
}

@media (max-width: 390px) {
    .wrap {
        padding: 0 16px;
    }

    .site-header__cta {
        font-size: 11px;
        padding: 8px 10px;
    }

    .plan-card--checkout {
        padding: 20px 16px;
    }

    .stv-download-card {
        padding: 20px 16px;
    }

    .l4-trial__inner {
        padding: 24px 16px;
    }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    .blog-card:hover,
    .problem-card:hover,
    .step:hover,
    .related-card:hover,
    .referral-section__card:hover,
    .email-plan-tile:hover {
        transform: none;
    }
}

.btn:focus-visible,
.site-header__cta:focus-visible,
.site-header__support:focus-visible,
.site-nav a:focus-visible,
.site-nav__toggle:focus-visible,
.site-header__link:focus-visible,
.site-brand:focus-visible,
.plan-cta:focus-visible,
.email-form__submit:focus-visible,
.email-form__input:focus-visible,
.faq-item__q:focus-visible,
.referral-section__cta:focus-visible {
    outline: 2px solid var(--brand);
    outline-offset: 2px;
}

/* ─── Free trial (homepage + /free-trial/) ─────────── */
.l4-trial {
  margin: 0 0 48px;
  padding: 36px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.l4-trial__inner {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius, 16px);
  padding: 32px 28px 28px;
  text-align: center;
}

.l4-trial__badge {
  display: inline-block;
  background: var(--brand);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .03em;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: 100px;
  margin-bottom: 16px;
}

.l4-trial__title {
  font-size: 24px;
  font-weight: 800;
  color: var(--text);
  margin: 0 0 12px;
  line-height: 1.3;
}

.l4-trial__lead {
  font-size: 15px;
  color: var(--muted);
  max-width: 560px;
  margin: 0 auto 24px;
  line-height: 1.6;
}

.l4-trial__row {
  display: flex;
  gap: 10px;
  max-width: 520px;
  margin: 0 auto;
}

.l4-trial__input {
  flex: 1;
  padding: 13px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm, 10px);
  font-size: 16px;
  font-family: inherit;
  background: var(--bg3, var(--bg2));
  color: var(--text);
  transition: border-color .15s, box-shadow .15s;
  min-width: 0;
}

.l4-trial__input:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px var(--brand-glow, rgba(252, 76, 2, 0.25));
}

.l4-trial__input:user-invalid {
  border-color: #ef4444;
}

.l4-trial__btn {
  flex-shrink: 0;
  padding: 13px 24px;
  background: linear-gradient(135deg, var(--brand), var(--brand, #0f172a));
  color: #fff;
  border: none;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  transition: filter .15s, transform .1s;
  white-space: nowrap;
}

.l4-trial__btn:hover { filter: brightness(1.05); }
.l4-trial__btn:active { transform: scale(0.97); }
.l4-trial__btn:disabled {
  opacity: .6;
  cursor: not-allowed;
  transform: none;
}

.l4-trial__note {
  font-size: 13px;
  color: var(--muted, #64748b);
  margin: 10px auto 0;
  min-height: 18px;
  max-width: 520px;
  transition: color .2s;
}

.l4-trial__note--success { color: #6ee7b7; }
.l4-trial__note--error { color: #fca5a5; }

.l4-trial__more {
  margin: 16px 0 0;
  font-size: 14px;
}

.l4-trial__more a {
  color: var(--brand);
  font-weight: 600;
}

.l4-trial-page {
  max-width: 960px;
  margin: 0 auto;
  padding: 32px 24px 64px;
}

.l4-trial-page__hero {
  text-align: center;
  margin-bottom: 48px;
}

.l4-trial-page__badge {
  display: inline-block;
  background: var(--brand);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .03em;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: 100px;
  margin-bottom: 16px;
}

.l4-trial-page__title {
  font-size: clamp(26px, 4vw, 36px);
  font-weight: 800;
  margin: 0 0 12px;
  line-height: 1.2;
}

.l4-trial-page__lead {
  font-size: 16px;
  color: var(--muted);
  max-width: 560px;
  margin: 0 auto 28px;
  line-height: 1.6;
}

.l4-trial-page__form-wrap {
  max-width: 520px;
  margin: 0 auto 24px;
}

.l4-trial-page__features {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.l4-trial-page__feature {
  font-size: 13px;
  font-weight: 600;
  color: var(--brand);
  background: var(--brand-soft, rgba(252, 76, 2, 0.12));
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 6px 14px;
}

.l4-trial-page__how,
.l4-trial-page__faq,
.l4-trial-page__cta {
  margin-top: 48px;
}

.l4-trial-page__how h2,
.l4-trial-page__faq h2,
.l4-trial-page__cta h2 {
  text-align: center;
  font-size: 22px;
  margin: 0 0 24px;
}

.l4-trial-page__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.l4-trial-page__step {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 20px;
  box-shadow: var(--shadow-sm);
}

.l4-trial-page__num {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}

.l4-trial-page__step h3 {
  margin: 0 0 8px;
  font-size: 16px;
}

.l4-trial-page__step p {
  margin: 0;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.5;
}

.l4-trial-page__faq-item {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 20px;
  margin-bottom: 10px;
}

.l4-trial-page__faq-item summary {
  cursor: pointer;
  font-weight: 600;
}

.l4-trial-page__faq-item p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.l4-trial-page__faq-item a {
  color: var(--brand);
}

.l4-trial-page__cta {
  text-align: center;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius, 16px);
  padding: 32px 24px;
}

.l4-trial-page__cta p {
  color: var(--muted);
  margin: 0 0 20px;
}

.l4-trial-page__cta-btn {
  display: inline-block;
  padding: 14px 28px;
  background: linear-gradient(135deg, var(--brand), var(--brand, #0f172a));
  color: #fff;
  font-weight: 700;
  border-radius: 12px;
}

.l4-trial-page__cta-btn:hover {
  filter: brightness(1.05);
}

@media (max-width: 768px) {
  .l4-trial-page__grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .l4-trial__row {
    flex-direction: column;
  }
  .l4-trial__btn {
    width: 100%;
    padding: 14px;
  }
  .l4-trial__title { font-size: 20px; }
}

/* Кнопка перехода на портал оплаты (форма оплаты уехала на avgstart.ru). */
.l4-buy { max-width: 420px; margin: 24px auto 0; text-align: center; }
.l4-buy__btn {
  display: block;
  width: 100%;
  padding: 16px 24px;
  border-radius: 12px;
  background: var(--c-brand, var(--brand, #0058be));
  color: #fff;
  font-size: 17px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(0, 0, 0, .18);
}
.l4-buy__btn:hover { filter: brightness(1.08); }
.l4-buy__btn:active { transform: scale(.99); }
.l4-buy__note { margin: 10px 0 0; font-size: 13px; color: var(--muted, #6b7280); }

/* Плитка-переключатель: радио скрыто, кликается вся карточка. */
.plan-card { cursor: pointer; }
.plan-card__radio { position: absolute; opacity: 0; pointer-events: none; }
.plan-card:has(.plan-card__radio:checked) {
  outline: 2px solid var(--c-brand, var(--brand, #0058be));
  outline-offset: 2px;
}
