/* TL VPN — стили сайта (светлая тема). Без сборки: файл отдаётся nginx как есть */

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

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

:root {
    --bg: #ffffff;
    --bg-alt: #f8fafc;
    --border: #e2e8f0;
    --border-strong: #cbd5e1;
    --text: #0f172a;
    --text-2: #334155;
    --muted: #475569;
    --muted-2: #64748b;
    --blue: #2563eb;
    --blue-dk: #1d4ed8;
    --blue-lt: #eff6ff;
    --blue-bd: #bfdbfe;
    --amber-lt: #fef3c7;
    --amber-dk: #92400e;
    --green: #16a34a;
    --green-dk: #15803d;
    --green-lt: #f0fdf4;
    --green-bd: #bbf7d0;
    --dark: #0f172a;
    --dark-2: #1e293b;
    --radius: 16px;
    --max-w: 1120px;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--blue-dk); }

img, svg { display: block; }

h1, h2, h3 { margin: 0; }

p { margin: 0; }

:focus-visible { outline: 2px solid #93c5fd; outline-offset: 2px; }

.skip-link {
    position: absolute;
    left: -9999px;
    top: 8px;
    z-index: 100;
    padding: 10px 16px;
    border-radius: 10px;
    background: var(--dark);
    color: #fff;
}
.skip-link:focus { left: 8px; color: #fff; }

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

.muted { color: var(--muted); }

/* ---------- Кнопки ---------- */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 48px;
    padding: 0 22px;
    border: 1px solid transparent;
    border-radius: 12px;
    font: inherit;
    font-size: 16px;
    font-weight: 600;
    line-height: 1;
    white-space: nowrap;
    cursor: pointer;
    transition: background-color .15s, border-color .15s;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-dk); color: #fff; }
.btn-ghost { background: #fff; color: var(--text); border-color: var(--border); }
.btn-ghost:hover { border-color: var(--border-strong); color: var(--text); }
.btn-dark { background: var(--dark); color: #fff; }
.btn-dark:hover { background: var(--dark-2); color: #fff; }
.btn-white { background: #fff; color: var(--text); }
.btn-white:hover { background: var(--blue-lt); color: var(--text); }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: 14px; border-radius: 10px; }
.btn-block { width: 100%; }

/* ---------- Типографика секций ---------- */

.section { padding: 96px 0; }
.section-alt { background: var(--bg-alt); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-body { display: flex; flex-direction: column; gap: 48px; }
.section-head { max-width: 680px; }

.eyebrow {
    margin-bottom: 12px;
    color: var(--blue);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.h2 {
    margin-bottom: 14px;
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -.02em;
}

.lead { color: var(--muted); font-size: 18px; line-height: 1.6; }

/* ---------- Карточки и мелочи ---------- */

.card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
}

.cards { display: flex; flex-wrap: wrap; gap: 20px; }
.cards > * { flex: 1 1 280px; min-width: 0; }
.cards-2 > * { flex-basis: 420px; }
.cards-3 > * { flex-basis: 320px; }
.cards-4 > * { flex-basis: 230px; }
.cards-plans > * { flex-basis: 300px; }

.card-stack { display: flex; flex-direction: column; gap: 12px; }
.card-stack h3 { font-size: 18px; line-height: 1.3; }
.card-stack p { color: var(--muted); line-height: 1.6; }

.ico {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: none;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--blue-lt);
    color: var(--blue);
}
.ico svg { width: 22px; height: 22px; }

.chip {
    display: inline-flex;
    align-items: center;
    height: 24px;
    padding: 0 8px;
    border-radius: 6px;
    background: #f1f5f9;
    color: var(--text-2);
    font-size: 12px;
    font-weight: 600;
}
.chips { display: flex; flex-wrap: wrap; gap: 8px; }

a.chip:hover { background: var(--blue-lt); color: var(--blue-dk); }

.flag {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: none;
    width: 30px;
    height: 30px;
    border-radius: 8px;
    background: var(--blue-lt);
    color: var(--blue-dk);
    font-size: 12px;
    font-weight: 700;
}
.flag-de { background: var(--amber-lt); color: var(--amber-dk); }
.flag-lg { width: 48px; height: 48px; border-radius: 12px; font-size: 15px; font-weight: 800; }

.pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 3px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
}
.pill-blue { background: var(--blue-lt); color: var(--blue-dk); }
.pill-green { background: var(--green-lt); border: 1px solid var(--green-bd); color: var(--green-dk); font-size: 13px; font-weight: 600; }
.pill-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); }

/* ---------- Формы ---------- */

.email-form { display: flex; flex-direction: column; gap: 10px; max-width: 520px; }
.email-form label { color: var(--text-2); font-size: 14px; font-weight: 600; }
.email-form-row { display: flex; flex-wrap: wrap; gap: 10px; }
.email-form-row .input { flex: 1 1 240px; }
.email-form-row .btn { height: 52px; }
.email-form-note { color: var(--muted-2); font-size: 14px; }
.email-form-note a { color: inherit; text-decoration: underline; }

.input {
    min-width: 0;
    height: 52px;
    padding: 0 16px;
    border: 1px solid var(--border-strong);
    border-radius: 12px;
    background: #fff;
    color: var(--text);
    font: inherit;
    font-size: 16px;
}
.input:focus { outline: 2px solid #93c5fd; border-color: var(--blue); }

/* ---------- Шапка ---------- */

.header {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(255, 255, 255, .92);
    border-bottom: 1px solid var(--border);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 68px; }

.brand { display: flex; align-items: center; gap: 10px; color: var(--text); }
.brand:hover { color: var(--text); }
.brand-mark {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: var(--blue);
    color: #fff;
}
.brand-mark svg { width: 20px; height: 20px; }
.brand-name { font-size: 18px; font-weight: 800; letter-spacing: -.01em; }

.nav-links { display: flex; align-items: center; gap: 28px; margin: 0; padding: 0; list-style: none; }
.nav-links a { color: var(--text-2); font-size: 15px; font-weight: 500; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--text); }

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

/* «Войти» в меню — только на телефоне, где кнопка в шапке скрыта */
.nav-login { display: none; }

.nav-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: #fff;
    color: var(--text);
    cursor: pointer;
}
.nav-toggle svg { width: 20px; height: 20px; }

/* ---------- Первый экран ---------- */

.hero { background: var(--bg-alt); border-bottom: 1px solid var(--border); }
.hero-inner { display: flex; flex-wrap: wrap; align-items: center; gap: 48px; padding-top: 72px; padding-bottom: 72px; }
.hero-text { display: flex; flex: 1 1 480px; flex-direction: column; gap: 22px; min-width: 0; }
.hero-badge {
    align-self: flex-start;
    padding: 6px 12px;
    border: 1px solid var(--blue-bd);
    border-radius: 999px;
    background: var(--blue-lt);
    color: var(--blue-dk);
    font-size: 13px;
    font-weight: 600;
}
.hero-title { font-size: clamp(36px, 5.4vw, 58px); font-weight: 800; line-height: 1.05; letter-spacing: -.03em; }
.hero-text .lead { max-width: 540px; }
.hero-tg { display: inline-flex; align-self: flex-start; align-items: center; gap: 8px; font-size: 15px; font-weight: 600; }
.hero-tg svg { width: 18px; height: 18px; }

.hero-preview { display: flex; flex: 1 1 380px; flex-direction: column; gap: 12px; min-width: 0; }
.hero-preview-caption { color: var(--muted-2); font-size: 13px; text-align: center; }

.sub-card { display: flex; flex-direction: column; gap: 18px; box-shadow: 0 12px 32px rgba(15, 23, 42, .08); }
.sub-card-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.sub-card-title { font-size: 17px; font-weight: 700; }
.sub-card-period { display: flex; flex-direction: column; gap: 8px; }
.sub-card-row { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; }
.sub-card-row-sm { color: var(--muted-2); font-size: 13px; }
.progress { height: 8px; overflow: hidden; border-radius: 99px; background: var(--border); }
.progress > span { display: block; height: 100%; border-radius: 99px; background: var(--blue); }

.server-list { margin: 0; padding: 0; list-style: none; border: 1px solid var(--border); border-radius: 12px; }
.server-list li { display: flex; align-items: center; gap: 12px; padding: 12px 14px; }
.server-list li + li { border-top: 1px solid var(--border); }
.server-list .name { flex: 1; font-size: 14px; font-weight: 500; }

/* ---------- Полоса доверия ---------- */

.trust { border-bottom: 1px solid var(--border); }
.trust-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 20px 40px; margin: 0 auto; padding-top: 26px; padding-bottom: 26px; list-style: none; }
.trust-item { display: flex; flex: 1 1 220px; align-items: center; gap: 12px; font-size: 15px; font-weight: 600; line-height: 1.4; }
.trust-item small { display: block; color: var(--muted-2); font-size: 15px; font-weight: 400; }

/* ---------- Шаги ---------- */

.step-num {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--blue);
    color: #fff;
    font-weight: 700;
}
.steps { margin: 0; padding: 0; list-style: none; }
.steps .card-stack { gap: 14px; }
.steps h3 { font-size: 20px; }

/* ---------- Серверы ---------- */

.location { display: flex; flex-direction: column; gap: 18px; }
.location-head { display: flex; align-items: center; gap: 14px; }
.location-head h3 { font-size: 22px; }
.location-modes { display: flex; flex-direction: column; gap: 10px; margin: 0; }
.location-mode { display: flex; flex-wrap: wrap; gap: 4px 12px; padding: 14px; border-radius: 12px; background: var(--bg-alt); }
.location-mode dt { min-width: 112px; font-weight: 600; }
.location-mode dd { margin: 0; color: var(--muted); }

/* ---------- Тарифы ---------- */

.pricing-body { gap: 32px; }

.notice {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px;
    padding: 18px 20px;
    border: 1px solid var(--blue-bd);
    border-radius: 14px;
    background: var(--blue-lt);
}
.notice .ico { background: #fff; }
.notice p { flex: 1 1 420px; color: #1e3a8a; font-size: 15px; line-height: 1.55; }

.plan { position: relative; display: flex; flex-direction: column; gap: 16px; }
.plan-name { font-weight: 600; }
.plan-price { font-size: 40px; font-weight: 800; letter-spacing: -.02em; line-height: 1.1; }
.plan-price small { color: var(--muted); font-size: 16px; font-weight: 400; letter-spacing: 0; }
.plan-desc { flex: 1; color: var(--muted); font-size: 14px; line-height: 1.55; }
.plan-saving { color: var(--green-dk); font-weight: 600; }
.plan-trial { border-color: var(--green-bd); }
.plan-trial .plan-name { color: var(--green-dk); }
.plan-popular { border: 2px solid var(--blue); }
.plan-popular .pill {
    position: absolute;
    top: -13px;
    left: 22px;
    background: var(--blue);
    color: #fff;
}

/* ---------- Продление ---------- */

.renew-inner { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 40px; }
.renew-text { display: flex; flex: 1 1 560px; flex-direction: column; gap: 28px; min-width: 0; }

.timeline { display: flex; flex-direction: column; margin: 0; padding: 0; list-style: none; }
.timeline li { display: flex; gap: 16px; }
.timeline li + li { padding-top: 22px; }
.timeline-num {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: none;
    width: 34px;
    height: 34px;
    border: 2px solid var(--blue);
    border-radius: 50%;
    color: var(--blue);
    font-weight: 700;
}
.timeline-done { border-color: var(--green); background: var(--green); color: #fff; }
.timeline-done svg { width: 18px; height: 18px; }
.timeline h3 { font-size: 17px; line-height: 1.5; }
.timeline p { color: var(--muted); line-height: 1.6; }

.cabinet-card {
    display: flex;
    flex: 1 1 360px;
    flex-direction: column;
    gap: 16px;
    min-width: 0;
    padding: 28px;
    border-color: var(--dark);
    background: var(--dark);
    color: #fff;
}
.cabinet-card .ico { background: var(--dark-2); color: #93c5fd; }
.cabinet-card h3 { font-size: 22px; }
.cabinet-card p { color: #cbd5e1; line-height: 1.6; }
.check-list { display: flex; flex-direction: column; gap: 10px; margin: 0; padding: 0; list-style: none; color: #e2e8f0; font-size: 15px; }
.check-list li { display: flex; gap: 10px; }
.check-list svg { width: 18px; height: 18px; flex: none; margin-top: 2px; color: #4ade80; }

/* ---------- Приложения ---------- */

.app-card { display: flex; flex-direction: column; gap: 14px; }
.app-card-head { display: flex; align-items: center; gap: 12px; }
.app-card h3 { font-size: 20px; }
.guides-nav { display: flex; flex-direction: column; gap: 14px; }
.guides-nav h3 { font-size: 17px; }

/* ---------- FAQ ---------- */

.faq-inner { display: flex; flex-wrap: wrap; gap: 48px; }
.faq-head { flex: 1 1 300px; min-width: 0; }
.faq-list { display: flex; flex: 2 1 560px; flex-direction: column; min-width: 0; border-top: 1px solid var(--border); }
.faq-item { padding: 20px 0; border-bottom: 1px solid var(--border); }
.faq-item summary {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    font-size: 17px;
    font-weight: 600;
    list-style: none;
    cursor: pointer;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
    content: '+';
    flex: none;
    color: var(--blue);
    font-size: 22px;
    line-height: 1;
    transition: transform .15s;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { margin-top: 12px; color: var(--muted); line-height: 1.65; }

/* ---------- Финальный призыв ---------- */

.cta-section { padding: 0 0 96px; }
.cta-box {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    padding: clamp(32px, 5vw, 56px);
    border-radius: 24px;
    background: var(--blue);
    color: #fff;
}
.cta-text { flex: 1 1 380px; min-width: 0; }
.cta-text h2 { margin-bottom: 10px; font-size: clamp(28px, 4vw, 38px); font-weight: 800; line-height: 1.15; letter-spacing: -.02em; }
.cta-text p { color: #dbeafe; font-size: 17px; line-height: 1.6; }
.cta-box .email-form { flex: 1 1 400px; min-width: 0; }
.cta-box .email-form label, .cta-box .email-form-note { color: #dbeafe; }
.cta-box .input { border-color: #fff; }

/* ---------- Текстовые страницы ---------- */

.doc { max-width: 760px; padding: 64px 20px 96px; }
.doc h1 { margin-bottom: 8px; font-size: clamp(30px, 4vw, 40px); font-weight: 800; line-height: 1.15; letter-spacing: -.02em; }
.doc-updated { margin-bottom: 40px; color: var(--muted-2); font-size: 14px; }
.doc h2 { margin: 36px 0 12px; font-size: 22px; line-height: 1.3; }
.doc p, .doc li { color: var(--text-2); line-height: 1.7; }
.doc p + p { margin-top: 12px; }
.doc ul { margin: 12px 0 0; padding-left: 22px; }
.doc li + li { margin-top: 6px; }

.breadcrumbs { margin: 0 0 24px; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 8px; color: var(--muted-2); font-size: 14px; }
.breadcrumbs li + li::before { content: '/'; margin-right: 8px; }
.breadcrumbs a { color: var(--muted-2); }
.breadcrumbs a:hover { color: var(--text); }

/* ---------- Подвал ---------- */

.footer { border-top: 1px solid var(--border); background: var(--bg-alt); }
.footer-top { display: flex; flex-wrap: wrap; gap: 40px; padding-top: 56px; padding-bottom: 32px; }
.footer-brand { display: flex; flex: 2 1 280px; flex-direction: column; gap: 14px; min-width: 0; }
.footer-brand p { max-width: 320px; color: var(--muted); font-size: 14px; line-height: 1.6; }
.footer-col { display: flex; flex: 1 1 150px; flex-direction: column; gap: 10px; font-size: 14px; }
.footer-col h2 { color: var(--text); font-size: 14px; font-weight: 700; }
.footer-col ul { display: flex; flex-direction: column; gap: 10px; margin: 0; padding: 0; list-style: none; }
.footer-col a { color: var(--muted); }
.footer-col a:hover { color: var(--text); }
.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 12px 24px;
    padding-top: 20px;
    padding-bottom: 28px;
    border-top: 1px solid var(--border);
    color: var(--muted-2);
    font-size: 13px;
}
.footer-bottom nav { display: flex; gap: 20px; }
.footer-bottom a { color: var(--muted-2); }
.footer-bottom a:hover { color: var(--text); }

/* ---------- Адаптив ---------- */

@media (max-width: 860px) {
    .nav-toggle { display: inline-flex; }
    .nav {
        display: none;
        position: absolute;
        top: 68px;
        left: 0;
        right: 0;
        padding: 8px 20px 20px;
        border-bottom: 1px solid var(--border);
        background: #fff;
        box-shadow: 0 12px 24px rgba(15, 23, 42, .08);
    }
    .nav.is-open { display: block; }
    .nav-links { flex-direction: column; align-items: stretch; gap: 0; }
    .nav-links a { display: block; padding: 12px 0; font-size: 17px; }
    .hide-sm { display: none; }
    .section { padding: 64px 0; }
    .hero-inner { padding-top: 48px; padding-bottom: 48px; }
}

@media (max-width: 420px) {
    .header-actions .btn-ghost { display: none; }
    .nav-login { display: block; border-top: 1px solid var(--border); }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    * { transition: none !important; }
}

/* ---------- Вход и кабинет ---------- */

.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.auth { display: flex; justify-content: center; padding: 72px 20px 96px; background: var(--bg-alt); }
.auth-card { display: flex; flex-direction: column; gap: 20px; width: 100%; max-width: 460px; padding: 32px; box-shadow: 0 12px 32px rgba(15, 23, 42, .06); }
.auth-card h1 { font-size: 28px; font-weight: 800; line-height: 1.2; letter-spacing: -.02em; }
.auth-card .email-form { max-width: none; }
.auth-card .email-form-row .input { flex-basis: 100%; }
.auth-card .email-form-row .btn { width: 100%; }
.auth-alt { color: var(--muted); font-size: 15px; }
.auth-points { display: flex; flex-direction: column; gap: 8px; margin: 0; padding: 0; list-style: none; color: var(--text-2); font-size: 15px; }
.auth-points li { display: flex; gap: 10px; }
.auth-points svg { width: 18px; height: 18px; flex: none; margin-top: 3px; color: var(--green); }

.code-input { width: 100%; font-size: 28px; font-weight: 700; letter-spacing: .4em; text-align: center; font-variant-numeric: tabular-nums; }

.field-error { color: #b91c1c; font-size: 14px; }

.alert { padding: 14px 16px; border-radius: 12px; font-size: 15px; line-height: 1.55; }
.alert-info { border: 1px solid var(--blue-bd); background: var(--blue-lt); color: #1e3a8a; }
.alert-success { border: 1px solid var(--green-bd); background: var(--green-lt); color: #14532d; }

.link-button { padding: 0; border: 0; background: none; color: var(--blue); font: inherit; font-weight: 600; cursor: pointer; }
.link-button:hover { color: var(--blue-dk); }

.cabinet { padding: 48px 0 96px; background: var(--bg-alt); min-height: 60vh; }
.cabinet-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 24px; }
.cabinet-head h1 { font-size: clamp(26px, 4vw, 34px); font-weight: 800; letter-spacing: -.02em; }
.cabinet-head p { color: var(--muted); }
.cabinet-grid { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 20px; }
.cabinet-main { display: flex; flex: 1 1 560px; flex-direction: column; gap: 20px; min-width: 0; }
.cabinet-side { display: flex; flex: 1 1 300px; flex-direction: column; gap: 20px; min-width: 0; }

.sub-status { display: flex; flex-wrap: wrap; gap: 16px 32px; }
.sub-stat { display: flex; flex-direction: column; gap: 2px; }
.sub-stat span { color: var(--muted-2); font-size: 13px; }
.sub-stat strong { font-size: 18px; }

.sub-link { display: flex; flex-wrap: wrap; gap: 20px; align-items: flex-start; }
.sub-link-qr { flex: none; width: 160px; height: 160px; padding: 8px; border: 1px solid var(--border); border-radius: 12px; background: #fff; }
.sub-link-qr img { width: 100%; height: 100%; }
.sub-link-body { display: flex; flex: 1 1 260px; flex-direction: column; gap: 12px; min-width: 0; }
.copy-field { display: flex; gap: 8px; }
.copy-field .input { flex: 1; height: 44px; font-family: Menlo, Consolas, monospace; font-size: 13px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 10px; }

.renew-card { display: flex; flex-direction: column; gap: 14px; border: 2px solid var(--dark); }
.renew-card h2 { font-size: 20px; }
.renew-card p { color: var(--muted); line-height: 1.6; }

.card-title { margin-bottom: 4px; font-size: 18px; font-weight: 700; }
.pill-gray { background: #f1f5f9; color: var(--text-2); font-size: 13px; font-weight: 600; }

/* ---------- Блог ---------- */

.blog-hero { padding: 56px 0 40px; background: var(--bg-alt); border-bottom: 1px solid var(--border); }
.blog-title { margin-bottom: 12px; font-size: clamp(32px, 5vw, 48px); font-weight: 800; line-height: 1.1; letter-spacing: -.03em; }
.blog-cats { margin-top: 24px; }
.blog-cats .chip { height: 36px; padding: 0 14px; font-size: 14px; }
.blog-section { padding: 64px 0; }

.blog-card { position: relative; display: flex; flex-direction: column; gap: 10px; transition: border-color .15s, box-shadow .15s; }
.blog-card:hover { border-color: var(--border-strong); box-shadow: 0 8px 24px rgba(15, 23, 42, .06); }
.blog-card h3 { font-size: 18px; line-height: 1.35; }
.blog-card h3 a { color: var(--text); }
/* Вся карточка кликабельна, но ссылка в разметке одна — на заголовке */
.blog-card h3 a::after { content: ''; position: absolute; inset: 0; }
.blog-card p { flex: 1; color: var(--muted); font-size: 15px; line-height: 1.55; }
.blog-card-cat { align-self: flex-start; color: var(--blue); font-size: 13px; font-weight: 600; }
.blog-card-meta { color: var(--muted-2); font-size: 13px; }

.article { max-width: 760px; padding-top: 40px; padding-bottom: 72px; }
.article-head { display: flex; flex-direction: column; gap: 14px; margin-bottom: 36px; padding-bottom: 28px; border-bottom: 1px solid var(--border); }
.article-head h1 { font-size: clamp(30px, 4.6vw, 44px); font-weight: 800; line-height: 1.12; letter-spacing: -.025em; }
.article-meta { color: var(--muted-2); font-size: 14px; }

.prose { color: var(--text-2); font-size: 17px; line-height: 1.75; }
.prose > * + * { margin-top: 18px; }
.prose h2 { margin-top: 40px; color: var(--text); font-size: 24px; line-height: 1.3; letter-spacing: -.01em; }
.prose h3 { margin-top: 28px; color: var(--text); font-size: 19px; }
.prose ul, .prose ol { padding-left: 24px; }
.prose li + li { margin-top: 8px; }
.prose li::marker { color: var(--blue); font-weight: 600; }
.prose a { text-decoration: underline; text-decoration-color: var(--blue-bd); text-underline-offset: 3px; }
.prose a:hover { text-decoration-color: currentColor; }
.prose strong { color: var(--text); }
.prose table { display: block; width: 100%; overflow-x: auto; border-collapse: collapse; font-size: 15px; line-height: 1.5; }
.prose th, .prose td { padding: 10px 14px; border: 1px solid var(--border); text-align: left; vertical-align: top; }
.prose th { background: var(--bg-alt); color: var(--text); font-weight: 600; }
.prose td:first-child { color: var(--text); font-weight: 500; }
.callout { padding: 16px 18px; border: 1px solid var(--blue-bd); border-radius: 12px; background: var(--blue-lt); color: #1e3a8a; font-size: 16px; }

.article-cta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-top: 48px;
    padding: 28px;
    border-radius: 20px;
    background: var(--blue);
    color: #fff;
}
.article-cta > div { flex: 1 1 360px; }
.article-cta h2 { margin-bottom: 6px; font-size: 22px; }
.article-cta p { color: #dbeafe; font-size: 15px; line-height: 1.55; }
