/* vesklad.ru — лендинг. Токены те же, что в приложении (index.php), светлая тема. */

:root {
    --bg: #EFF1F5;
    --panel: #ffffff;
    --panel2: #F4F6F8;
    --line: #E2E4EB;
    --line2: #C4C9D2;
    --text: #030303;
    --ink: #2C323F;
    --muted: #868C99;
    --accent: #43D6F9;
    --accentHover: #22C9F5;
    --accent2: #E8C45A;
    --ok: #4FB183;
    --warn: #E8C45A;
    --bad: #DE6A5C;
    --wrap: 1240px;
    --pad: 32px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 72px; }

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: clip;
}

a { color: var(--ink); text-decoration: none; }
a:hover { color: var(--text); }
img { max-width: 100%; display: block; }
input, textarea, button, select { font-family: inherit; }

h1, h2, h3 { font-weight: 600; letter-spacing: -1.4px; line-height: 1.05; margin: 0; }
h1 { font-size: 76px; letter-spacing: -2.6px; line-height: 0.98; }
h2 { font-size: 44px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--pad); }
.sec { padding-block: 84px; }
.sec-lg { padding-block: 96px 100px; }
.hr { height: 1px; background: var(--line2); }
.eyebrow {
    font-size: 12.5px; font-weight: 600; letter-spacing: 1.6px;
    text-transform: uppercase; color: var(--muted); margin-bottom: 18px;
}
.lead { font-size: 16.5px; line-height: 1.65; color: var(--ink); text-wrap: pretty; }
.muted { color: var(--muted); }

/* ── кнопки ─────────────────────────────────────────────────────────── */

.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    background: var(--accent); color: var(--text);
    font-size: 16px; font-weight: 500; padding: 16px 26px;
    border: 0; border-radius: 12px; cursor: pointer;
    transition: background .16s ease, border-color .16s ease, transform .16s ease;
}
.btn:hover { background: var(--accentHover); color: var(--text); }
.btn:active { transform: translateY(1px); }
.btn-ghost {
    background: var(--panel); color: var(--ink); border: 1px solid var(--line);
}
.btn-ghost:hover { background: var(--panel); border-color: var(--muted); color: var(--text); }
.btn-sm { font-size: 14px; padding: 11px 20px; border-radius: 10px; }

/* ── шапка ──────────────────────────────────────────────────────────── */

.hdr {
    position: sticky; top: 0; z-index: 40;
    background: rgba(255, 255, 255, .86);
    backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--line);
}
.hdr-in { display: flex; align-items: center; gap: 32px; padding: 14px var(--pad); max-width: var(--wrap); margin: 0 auto; }
.logo { display: flex; align-items: center; gap: 10px; margin-right: auto; color: var(--text); }
.logo-mark {
    width: 30px; height: 30px; border-radius: 9px; background: var(--accent);
    display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 2px; padding: 7px;
    flex: none;
}
.logo-mark i { background: #fff; border-radius: 1px; }
.logo-mark i:nth-child(2), .logo-mark i:nth-child(3) { background: rgba(255, 255, 255, .55); }
.logo-name { font-size: 19px; font-weight: 600; letter-spacing: -.4px; }
.nav { display: flex; align-items: center; gap: 26px; font-size: 14px; color: var(--ink); }
.nav a { position: relative; }
.nav a::after {
    content: ''; position: absolute; left: 0; right: 0; bottom: -5px; height: 1.5px;
    background: var(--accent); transform: scaleX(0); transition: transform .18s ease;
}
.nav a:hover::after { transform: scaleX(1); }
.burger {
    display: none; width: 40px; height: 40px; border: 1px solid var(--line);
    border-radius: 10px; background: var(--panel); cursor: pointer;
    align-items: center; justify-content: center; flex-direction: column; gap: 4px;
}
.burger span { display: block; width: 16px; height: 1.5px; background: var(--ink); }

/* ── герой ──────────────────────────────────────────────────────────── */

.hero { position: relative; overflow: hidden; }
.hero-photo {
    position: absolute; z-index: 0; inset: 0 0 0 auto;
    width: 54vw; height: 100%; object-fit: cover; object-position: 58% 38%;
    mask-image: linear-gradient(to right, transparent 0%, rgba(0, 0, 0, .35) 20%, #000 48%);
    -webkit-mask-image: linear-gradient(to right, transparent 0%, rgba(0, 0, 0, .35) 20%, #000 48%);
}
.hero-in {
    position: relative; z-index: 1;
    padding: 72px var(--pad) 96px;
    display: grid; grid-template-columns: 1fr 1.05fr; gap: 56px; align-items: center;
}
.hero-eyebrow {
    font-size: 13px; font-weight: 600; letter-spacing: 1.6px;
    text-transform: uppercase; color: var(--muted); margin-bottom: 22px;
}
.hero h1 { margin-bottom: 28px; }
.hero-sub {
    border-left: 2px solid var(--accent); padding-left: 18px;
    max-width: 520px; margin-bottom: 36px;
}
.hero-sub p { margin: 0; font-size: 17px; line-height: 1.6; color: var(--ink); text-wrap: pretty; }
.hero-cta { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }

.hero-card-slot { position: relative; padding-top: 230px; width: 100%; max-width: 440px; margin-right: auto; }

/* мини-план склада */
.plan {
    position: relative; z-index: 2;
    background: var(--panel); border: 1px solid var(--line); border-radius: 16px;
    padding: 16px 16px 46px; box-shadow: 0 24px 60px -30px rgba(3, 3, 3, .28);
}
.plan-head { display: flex; align-items: center; gap: 12px; margin-bottom: 13px; }
.plan-title { font-size: 13.5px; font-weight: 600; }
.plan-meta { font-size: 11.5px; color: var(--muted); margin-top: 2px; }
.seg {
    margin-left: auto; display: flex; background: var(--bg);
    border-radius: 8px; padding: 2px; gap: 2px;
}
.seg button {
    border: 0; cursor: pointer; font-size: 11.5px; font-weight: 500;
    padding: 5px 10px; border-radius: 6px; background: transparent; color: var(--muted);
    transition: background .16s ease, color .16s ease;
}
.seg button.on { background: var(--panel); color: var(--text); }
.plan-grid { display: grid; grid-template-columns: 13px repeat(11, 1fr); gap: 3px; align-items: center; }
.plan-grid > div {
    height: 14px; border-radius: 2px; font-size: 9px; font-weight: 600; color: var(--muted);
    display: flex; align-items: center; justify-content: center;
    transition: background .3s ease;
}
.plan-legend {
    display: flex; flex-wrap: wrap; gap: 6px 14px;
    margin-top: 13px; padding-top: 12px; border-top: 1px solid var(--line);
}
.plan-legend div { display: flex; align-items: center; gap: 6px; font-size: 11.5px; color: var(--ink); }
.plan-legend span { width: 9px; height: 9px; border-radius: 2px; flex: none; }

.chip-dark {
    position: absolute; z-index: 3; bottom: -48px; right: 14px;
    background: var(--ink); color: #fff; border-radius: 14px; padding: 14px 18px;
    box-shadow: 0 18px 40px -20px rgba(3, 3, 3, .5);
}
.chip-dark .k { font-size: 11.5px; color: var(--muted); letter-spacing: .4px; }
.chip-dark .v { display: flex; align-items: baseline; gap: 8px; }
.chip-dark .v b { font-size: 26px; font-weight: 600; letter-spacing: -.6px; }
.chip-dark .v i { font-style: normal; font-size: 12.5px; color: var(--accent); }
.chip-accent {
    position: absolute; z-index: 3; top: 202px; left: 14px;
    background: var(--accent); color: var(--text); border-radius: 12px;
    padding: 11px 15px; font-size: 13px; font-weight: 500;
    box-shadow: 0 14px 30px -16px rgba(3, 3, 3, .4);
}

@keyframes vk-pulse { 0%, 100% { opacity: 1; } 50% { opacity: .45; } }

/* ── тёмные секции ──────────────────────────────────────────────────── */

.dark { background: var(--ink); color: #fff; position: relative; overflow: hidden; }
.dark.deep { background: var(--text); }
.dark h2 { color: #fff; }
.grid-lines {
    position: absolute; inset: 0; pointer-events: none;
    background-image:
        linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
    background-size: 44px 26px;
    mask-image: linear-gradient(to bottom, transparent, #000 40%, transparent);
    -webkit-mask-image: linear-gradient(to bottom, transparent, #000 40%, transparent);
}
.glow {
    position: absolute; pointer-events: none;
    top: -140px; right: -80px; width: 460px; height: 460px; border-radius: 50%;
    background: radial-gradient(circle, rgba(67, 214, 249, .16), transparent 66%);
}
.dark-in { position: relative; z-index: 1; }

.problem { display: grid; grid-template-columns: .85fr 1.15fr; gap: 56px; }
.problem img { width: 100%; height: 300px; object-fit: cover; object-position: 55% 40%; border-radius: 18px; }
.problem-list { display: grid; gap: 2px; }
.problem-list li {
    list-style: none; padding: 22px 0; border-top: 1px solid rgba(255, 255, 255, .14);
    display: grid; grid-template-columns: 30px 1fr; gap: 18px;
}
.problem-list li:last-child { border-bottom: 1px solid rgba(255, 255, 255, .14); }
.problem-list ol, .problem-list ul { margin: 0; padding: 0; }
.problem-list b { font-size: 13px; color: var(--muted); font-weight: 400; padding-top: 4px; }
.problem-list p { margin: 0; font-size: 18px; line-height: 1.55; color: var(--bg); text-wrap: pretty; }

/* ── карточки ───────────────────────────────────────────────────────── */

.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.cards-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.card {
    background: var(--panel); border: 1px solid var(--line);
    border-radius: 18px; padding: 28px;
}
.card-num {
    width: 40px; height: 40px; border-radius: 12px; background: var(--accent); color: var(--text);
    display: flex; align-items: center; justify-content: center;
    font-size: 15px; font-weight: 600; margin-bottom: 20px;
}
.card h3 { font-size: 20px; letter-spacing: -.4px; margin-bottom: 10px; }
.card p { margin: 0; font-size: 15.5px; line-height: 1.6; color: var(--ink); text-wrap: pretty; }

.card-dark {
    background: linear-gradient(160deg, #363D4C 0%, #2A303C 58%, rgba(35, 40, 51, .13) 100%), var(--ink);
    border: 1px solid rgba(255, 255, 255, .09); border-radius: 18px; padding: 30px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06);
}
.card-dark h3 { font-size: 19px; letter-spacing: -.4px; margin-bottom: 12px; color: #fff; }
.card-dark p { margin: 0; font-size: 15.5px; line-height: 1.6; color: var(--bg); text-wrap: pretty; }

/* ── демо-витрина ───────────────────────────────────────────────────── */

.demo-head { display: flex; align-items: flex-end; gap: 32px; flex-wrap: wrap; margin-bottom: 40px; }
.demo-head h2 { max-width: 620px; }
.demo-head p { margin: 0; max-width: 420px; }
.demo-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.demo-card {
    background: var(--panel); border: 1px solid var(--line); border-radius: 18px;
    padding: 26px; display: flex; flex-direction: column; gap: 12px;
    color: var(--text); transition: border-color .16s ease, transform .16s ease, box-shadow .16s ease;
}
.demo-card:hover {
    border-color: var(--accent); transform: translateY(-2px);
    box-shadow: 0 18px 44px -30px rgba(3, 3, 3, .45);
}
.demo-ico {
    width: 44px; height: 44px; border-radius: 13px; background: var(--panel2);
    border: 1px solid var(--line); display: flex; align-items: center; justify-content: center;
    font-size: 21px; line-height: 1;
}
.demo-card h3 { font-size: 18px; letter-spacing: -.4px; }
.demo-card p { margin: 0; font-size: 14.5px; line-height: 1.55; color: var(--muted); text-wrap: pretty; }
.demo-card .go {
    margin-top: auto; padding-top: 14px; font-size: 14.5px; font-weight: 500; color: var(--ink);
    display: flex; align-items: center; gap: 7px;
}
.demo-card:hover .go { color: var(--text); }
.demo-note {
    margin-top: 22px; font-size: 14.5px; color: var(--muted);
    display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
}
.demo-note b { font-weight: 500; color: var(--ink); }

/* ── возраст / цвет ─────────────────────────────────────────────────── */

.age-block {
    background: var(--panel); border: 1px solid var(--line); border-radius: 22px;
    padding: 44px; display: grid; grid-template-columns: 1fr 1fr; gap: 52px; align-items: center;
}
.age-block h2 { font-size: 40px; letter-spacing: -1.3px; line-height: 1.06; margin-bottom: 24px; }
.age-block p { margin: 0 0 18px; }
.age-block p:last-child { margin-bottom: 0; }
.age-vis { background: var(--bg); border-radius: 18px; padding: 22px; }
.age-vis .plan-grid { gap: 4px; }
.age-vis .plan-grid > div { height: 17px; border-radius: 3px; font-size: 10px; }
.age-legend { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 18px; }
.age-legend div { display: flex; align-items: center; gap: 7px; font-size: 12.5px; color: var(--ink); }
.age-legend span { width: 11px; height: 11px; border-radius: 3px; flex: none; }

/* ── отчёты ─────────────────────────────────────────────────────────── */

.band { background: var(--panel); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.rep-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.rep {
    background: var(--bg); border: 1px solid var(--line); border-radius: 16px; padding: 24px;
    display: flex; flex-direction: column; gap: 20px; min-height: 150px;
}
.rep.wide { grid-column: span 2; }
.rep.accent { background: var(--accent); border-color: var(--accent); }
.rep-ico {
    width: 40px; height: 40px; border-radius: 12px; background: var(--panel);
    border: 1px solid var(--line); display: flex; align-items: center; justify-content: center;
}
.rep.accent .rep-ico { background: var(--panel); border-color: transparent; }
.rep-txt { margin-top: auto; font-size: 15.5px; line-height: 1.55; color: var(--ink); }
.rep.accent .rep-txt { color: var(--text); font-weight: 500; }

/* ── шаги внедрения ─────────────────────────────────────────────────── */

.steps { position: relative; }
.steps-line { position: absolute; top: 20px; left: 0; right: 0; height: 1px; background: var(--line); }
.steps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; position: relative; }
.step { display: flex; flex-direction: column; gap: 20px; }
.step-dot {
    width: 40px; height: 40px; border-radius: 50%; background: var(--accent); color: var(--text);
    display: flex; align-items: center; justify-content: center; font-size: 15px; font-weight: 600;
    box-shadow: 0 0 0 6px var(--bg); flex: none;
}
.step-body {
    background: var(--panel); border: 1px solid var(--line); border-radius: 18px; padding: 26px; flex: 1;
}
.step-k { font-size: 11.5px; font-weight: 600; letter-spacing: 1.4px; color: var(--muted); margin-bottom: 12px; }
.step-body h3 { font-size: 19px; letter-spacing: -.4px; margin-bottom: 8px; }
.step-body p { margin: 0; font-size: 15.5px; line-height: 1.6; color: var(--muted); text-wrap: pretty; }
.step:last-child .step-dot { background: var(--ink); color: #fff; }
.step:last-child .step-body { background: var(--ink); border-color: var(--ink); color: #fff; }
.step:last-child .step-body h3 { color: #fff; }

/* ── стоимость ──────────────────────────────────────────────────────── */

.price-tabs {
    display: inline-flex; background: var(--line); border-radius: 12px;
    padding: 3px; gap: 3px; margin-bottom: 20px;
}
.price-tabs button {
    border: 0; cursor: pointer; font-size: 15px; font-weight: 500;
    padding: 11px 20px; border-radius: 9px; background: transparent; color: var(--ink);
    transition: background .16s ease, color .16s ease;
}
.price-tabs button.on { background: var(--panel); color: var(--text); }
.price-card {
    background: var(--panel); border: 1px solid var(--line); border-radius: 18px; padding: 32px;
}
.price-card h3 { font-size: 22px; letter-spacing: -.5px; margin-bottom: 12px; }
.price-card p { margin: 0 0 24px; font-size: 16px; line-height: 1.6; color: var(--ink); text-wrap: pretty; }
.price-row {
    border-top: 1px solid var(--line); padding-top: 20px;
    display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap;
}
.price-row .from { font-size: 15px; color: var(--muted); }
.price-row .val { font-size: 32px; font-weight: 600; letter-spacing: -.8px; }
.price-row .note { font-size: 15px; color: var(--muted); }
.price-foot { display: flex; align-items: center; gap: 32px; flex-wrap: wrap; }
.price-foot p { margin: 0; max-width: 620px; }

/* ── вопросы ────────────────────────────────────────────────────────── */

.faq { display: grid; grid-template-columns: .75fr 1.25fr; gap: 56px; }
.faq-item { border-top: 1px solid var(--line); }
.faq-list > .faq-item:last-of-type { border-bottom: 1px solid var(--line); }
.faq-q {
    width: 100%; background: none; border: 0; cursor: pointer; text-align: left;
    padding: 22px 0; display: flex; align-items: center; gap: 20px;
    font-size: 18px; font-weight: 500; color: var(--text); letter-spacing: -.3px;
}
.faq-q span { flex: 1; }
.faq-q i {
    font-style: normal; font-size: 20px; line-height: 1; color: var(--muted);
    flex: none; width: 20px; height: 20px; margin-right: 4px;
    display: flex; align-items: center; justify-content: center;
    transition: transform .28s ease;
}
.faq-item.open .faq-q i { transform: rotate(45deg); }
.faq-a { overflow: hidden; max-height: 0; transition: max-height .28s ease; }
.faq-a p { margin: 0; padding: 0 60px 24px 0; font-size: 16px; line-height: 1.65; color: var(--ink); text-wrap: pretty; }

/* ── форма ──────────────────────────────────────────────────────────── */

.form-sec .grid-lines {
    background-size: 44px 26px;
    mask-image: linear-gradient(to right, #000, transparent 55%);
    -webkit-mask-image: linear-gradient(to right, #000, transparent 55%);
}
.form-sec .glow { top: auto; right: auto; bottom: -200px; left: 20%; width: 620px; height: 480px; border-radius: 0;
    background: radial-gradient(closest-side, rgba(67, 214, 249, .14), transparent); }
.form-in { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.form-in h2 { font-size: 48px; letter-spacing: -1.6px; line-height: 1.03; margin-bottom: 20px; }
.form-in .pitch { margin: 0 0 26px; font-size: 17px; line-height: 1.6; color: var(--muted); max-width: 440px; text-wrap: pretty; }
.form-alt { font-size: 15.5px; color: var(--muted); }
.form-alt a { color: var(--accent); border-bottom: 1px solid rgba(67, 214, 249, .4); }
.form-alt a:hover { color: #fff; }
.form-box { background: var(--panel); border-radius: 20px; padding: 32px; }
.field { display: grid; gap: 7px; margin-bottom: 14px; }
.field label { font-size: 13px; font-weight: 500; color: var(--muted); }
.field input {
    border: 1px solid var(--line); background: var(--panel); border-radius: 11px;
    padding: 13px 15px; font-size: 15.5px; color: var(--text); outline: none;
    transition: border-color .16s ease;
}
.field input:focus { border-color: var(--accent); }
.field input.bad { border-color: var(--bad); }
.form-box .btn { width: 100%; margin-top: 6px; padding: 16px; }
.form-box .agree { margin: 14px 0 0; font-size: 12.5px; line-height: 1.5; color: var(--muted); }
.form-err { margin: 0 0 14px; font-size: 14px; color: var(--bad); display: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form-done { display: none; padding: 40px 0; text-align: center; }
.form-done .tick {
    width: 48px; height: 48px; border-radius: 14px; background: var(--accent); color: var(--text);
    display: flex; align-items: center; justify-content: center; font-size: 22px; margin: 0 auto 18px;
}
.form-done h3 { font-size: 20px; letter-spacing: -.4px; margin-bottom: 8px; }
.form-done p { margin: 0; font-size: 15.5px; color: var(--muted); }
.sent .form-body { display: none; }
.sent .form-done { display: block; }

/* ── подвал ─────────────────────────────────────────────────────────── */

.ftr { background: var(--text); color: var(--muted); }
.ftr-in {
    display: flex; flex-wrap: wrap; align-items: center; gap: 28px;
    padding: 36px var(--pad); font-size: 14.5px;
}
.ftr a { color: var(--muted); }
.ftr a.on { color: #fff; }
.ftr a:hover { color: var(--accent); }
.ftr .cp { margin-left: auto; }

/* ── адаптив ────────────────────────────────────────────────────────── */

@media (max-width: 1100px) {
    h1 { font-size: 58px; letter-spacing: -1.8px; }
    h2 { font-size: 36px; letter-spacing: -1px; }
    .hero-photo { width: 46vw; }
    .hero-in { grid-template-columns: 1fr .9fr; gap: 32px; }
    .hero-card-slot { padding-top: 120px; }
    .chip-accent { top: 92px; }
    .demo-grid { grid-template-columns: repeat(2, 1fr); }
    .rep-grid { grid-template-columns: repeat(2, 1fr); }
    .steps-grid { grid-template-columns: repeat(2, 1fr); row-gap: 32px; }
    .steps-line { display: none; }
    .problem { grid-template-columns: 1fr; gap: 32px; }
    .age-block { grid-template-columns: 1fr; gap: 32px; padding: 32px; }
    .faq { grid-template-columns: 1fr; gap: 24px; }
    .form-in { grid-template-columns: 1fr; gap: 36px; }
    .form-in h2 { font-size: 38px; letter-spacing: -1.1px; }
}

@media (max-width: 860px) {
    .nav { display: none; }
    .nav.open {
        display: flex; flex-direction: column; align-items: stretch; gap: 0;
        position: absolute; top: 100%; left: 0; right: 0;
        background: var(--panel); border-bottom: 1px solid var(--line);
        padding: 8px var(--pad) 16px; font-size: 16px;
    }
    .nav.open a { padding: 13px 0; border-bottom: 1px solid var(--line); }
    .nav.open a::after { display: none; }
    .burger { display: flex; }
    .hdr { position: sticky; }
    .hdr-in { position: relative; gap: 14px; }
    .hdr .btn { display: none; }
}

@media (max-width: 720px) {
    :root { --pad: 20px; }
    h1 { font-size: 40px; letter-spacing: -1.2px; line-height: 1.04; }
    h2 { font-size: 29px; letter-spacing: -.7px; line-height: 1.12; }
    .sec { padding-block: 56px; }
    .sec-lg { padding-block: 60px 64px; }
    .hero-photo {
        position: relative; width: 100%; height: 220px; margin-bottom: 28px;
        mask-image: none; -webkit-mask-image: none; border-radius: 0;
    }
    .hero-in { grid-template-columns: 1fr; padding: 8px var(--pad) 64px; gap: 56px; }
    .hero h1 { margin-bottom: 22px; }
    .hero-cta .btn { flex: 1 1 100%; }
    .hero-card-slot { padding-top: 0; max-width: none; }
    .chip-dark { position: static; margin-top: 14px; display: inline-block; }
    .chip-accent { top: -14px; left: auto; right: 10px; }
    .cards-3, .cards-2, .demo-grid, .rep-grid, .steps-grid { grid-template-columns: 1fr; }
    .rep.wide { grid-column: span 1; }
    .age-block { padding: 22px; }
    .age-block h2 { font-size: 27px; }
    .form-in h2 { font-size: 30px; letter-spacing: -.8px; }
    .form-box { padding: 22px; }
    .faq-q { font-size: 16.5px; }
    .faq-a p { padding-right: 0; }
    .problem img { height: 200px; }
    .problem-list p { font-size: 16px; }
    .price-tabs { display: flex; width: 100%; }
    .price-tabs button { flex: 1; padding: 11px 8px; font-size: 14px; }
    .price-foot .btn { width: 100%; }
    .ftr-in { gap: 14px; }
    .ftr .cp { margin-left: 0; width: 100%; }
}

/* ══ Блог ═══════════════════════════════════════════════════════════════ */

.nav a.on { color: var(--text); font-weight: 500; }
.nav a.on::after { transform: scaleX(1); height: 2px; }

.blog-list { padding: 56px 32px 96px; }
.blog-head { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 32px; margin-bottom: 34px; }
.blog-head > div { flex: 1 1 460px; }
.blog-head h1 { font-size: 92px; line-height: .9; letter-spacing: -3.4px; margin: 0 0 22px; }
.blog-head p { margin: 0; font-size: 17px; line-height: 1.6; color: var(--muted); max-width: 460px; text-wrap: pretty; }
.blog-sub {
    background: var(--panel); border: 1px solid var(--line); border-radius: 12px;
    padding: 14px 20px; font-size: 15px; font-weight: 500;
    display: inline-flex; align-items: center; gap: 10px; white-space: nowrap;
    transition: border-color .16s ease;
}
.blog-sub:hover { border-color: var(--accent); }

.blog-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.btag {
    border: 1px solid var(--line); background: var(--panel); color: var(--ink);
    border-radius: 999px; padding: 9px 16px; font-size: 13.5px; font-weight: 500;
    transition: border-color .16s ease, background .16s ease, color .16s ease;
}
.btag:hover { border-color: var(--muted); color: var(--text); }
.btag.on { background: var(--text); border-color: var(--text); color: #fff; }
.btag.on:hover { color: #fff; }

.blog-top { display: grid; grid-template-columns: 1.55fr 1fr; gap: 16px; margin-bottom: 16px; }

.bfeat {
    position: relative; overflow: hidden; border-radius: 20px; min-height: 380px;
    background: linear-gradient(150deg, #2C323F 0%, #0B0D11 70%);
    display: flex; flex-direction: column; justify-content: flex-end; color: #fff;
}
.bfeat:hover { color: #fff; }
.bfeat-lines {
    position: absolute; inset: 0; pointer-events: none;
    background-image:
        linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
    background-size: 34px 34px;
    mask-image: radial-gradient(120% 100% at 80% 15%, #000, transparent 72%);
    -webkit-mask-image: radial-gradient(120% 100% at 80% 15%, #000, transparent 72%);
}
.bfeat-glow {
    position: absolute; top: 26px; right: 26px; width: 190px; height: 190px; pointer-events: none;
    background: radial-gradient(closest-side, rgba(67, 214, 249, .35), transparent);
}
.bfeat-in { position: relative; padding: 30px; display: block; }
.bfeat-meta { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; font-size: 12.5px; }
.bfeat-meta b { font-weight: 600; letter-spacing: 1.2px; text-transform: uppercase; color: var(--accent); }
.bfeat-meta i { font-style: normal; color: var(--muted); }
.bfeat-title {
    display: block; font-size: 38px; line-height: 1.08; letter-spacing: -1.2px;
    font-weight: 600; max-width: 560px; text-wrap: pretty;
}
.bfeat-go { display: inline-flex; align-items: center; gap: 9px; margin-top: 20px; font-size: 14px; color: var(--bg); }
.bfeat-go span { color: var(--accent); }

.bpromo { background: var(--accent); border-radius: 20px; padding: 30px; display: flex; flex-direction: column; }
.bpromo-k { font-size: 12px; font-weight: 600; letter-spacing: 1.4px; text-transform: uppercase; color: rgba(3, 3, 3, .55); margin-bottom: 16px; }
.bpromo-t { font-size: 26px; line-height: 1.12; letter-spacing: -.8px; font-weight: 600; margin-bottom: 14px; text-wrap: pretty; }
.bpromo p { margin: 0 0 auto; font-size: 15px; line-height: 1.6; color: rgba(3, 3, 3, .72); }
.bpromo-links { display: grid; gap: 0; margin-top: 26px; }
.bpromo-links a {
    border-top: 1px solid rgba(3, 3, 3, .16); padding: 15px 0;
    display: flex; align-items: center; gap: 14px;
    font-size: 14px; font-weight: 500; color: var(--text);
}
.bpromo-links a span { flex: 1; }
.bpromo-links a:hover { opacity: .7; }

.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.bcard {
    border: 1px solid var(--line); background: var(--panel); border-radius: 18px;
    overflow: hidden; display: flex; flex-direction: column; color: var(--text);
    transition: border-color .16s ease, transform .16s ease;
}
.bcard:hover { border-color: var(--accent); transform: translateY(-2px); }
.bcard-cover { position: relative; display: block; height: 168px; }
.bcard-sm .bcard-cover { height: 140px; }
.bcard-cover::after {
    content: ''; position: absolute; inset: 0;
    background-image:
        linear-gradient(rgba(3, 3, 3, .05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(3, 3, 3, .05) 1px, transparent 1px);
    background-size: 26px 26px;
}
.bcard-tag {
    position: absolute; z-index: 1; top: 14px; left: 14px; background: var(--panel);
    border-radius: 8px; padding: 5px 10px; font-size: 11.5px; font-weight: 600; letter-spacing: .4px;
}
.bcard-body { padding: 20px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.bcard-sm .bcard-body { padding: 18px; }
.bcard-title { font-size: 17px; line-height: 1.25; letter-spacing: -.4px; font-weight: 600; text-wrap: pretty; }
.bcard-sm .bcard-title { font-size: 16px; line-height: 1.28; }
.bcard-lead { font-size: 14px; line-height: 1.55; color: var(--muted); text-wrap: pretty; }
.bcard-foot {
    margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line);
    display: flex; align-items: center; font-size: 12.5px; color: var(--muted);
}
.bcard-foot b { margin-left: auto; color: var(--text); font-weight: 500; }

.blog-empty { font-size: 16px; color: var(--muted); }
.blog-empty a { color: var(--accent); }

.blog-pager { display: flex; align-items: center; gap: 12px; margin-top: 34px; }
.bpg { background: var(--panel); border: 1px solid var(--line); border-radius: 11px; padding: 11px 18px; font-size: 14px; color: var(--ink); }
.bpg:hover { border-color: var(--muted); }
.bpg.off { color: var(--line2); pointer-events: none; }
.bpg-nums { margin: 0 auto; display: flex; gap: 6px; }
.bpg-n {
    width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line);
    background: var(--panel); color: var(--text); font-size: 14px; font-weight: 500;
    display: flex; align-items: center; justify-content: center;
}
.bpg-n.on { background: var(--accent); border-color: var(--accent); }

/* ── статья ─────────────────────────────────────────────────────────── */

.blog-post { padding: 24px 32px 96px; }
.bcrumbs { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--muted); margin-bottom: 18px; }
.bcrumbs a { color: var(--muted); }
.bcrumbs a:hover { color: var(--text); }

.bhero {
    position: relative; overflow: hidden; border-radius: 22px; margin-bottom: 26px;
    background: linear-gradient(140deg, #2C323F 0%, #0B0D11 68%);
    padding: 54px 44px;
}
.bhero .bfeat-glow { top: -60px; right: -40px; width: 380px; height: 380px;
    background: radial-gradient(closest-side, rgba(67, 214, 249, .28), transparent); }
.bhero .bfeat-lines { mask-image: radial-gradient(110% 100% at 82% 12%, #000, transparent 70%);
    -webkit-mask-image: radial-gradient(110% 100% at 82% 12%, #000, transparent 70%); }
.bhero-in { position: relative; }
.bhero-tag {
    display: flex; align-items: center; gap: 12px; margin-bottom: 22px;
    font-size: 12px; font-weight: 600; letter-spacing: 1.6px; text-transform: uppercase; color: var(--accent);
}
.bhero-tag span { width: 26px; height: 2px; background: var(--accent); }
.bhero h1 { font-size: 50px; line-height: 1.06; letter-spacing: -1.8px; color: #fff; margin: 0 0 22px; max-width: 760px; text-wrap: pretty; }
.bhero p { margin: 0; font-size: 16.5px; line-height: 1.6; color: var(--bg); max-width: 620px; text-wrap: pretty; }

.bmeta {
    display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
    padding-bottom: 22px; border-bottom: 1px solid var(--line);
    font-size: 13.5px; color: var(--muted);
}
.bmeta b { color: var(--text); font-weight: 500; }

.bbody { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 48px; padding-top: 34px; }
.barticle { max-width: 680px; }
.barticle p { margin: 0 0 20px; font-size: 17px; line-height: 1.7; color: var(--ink); text-wrap: pretty; }
.barticle h2 { font-size: 26px; line-height: 1.2; letter-spacing: -.7px; margin: 34px 0 14px; }
.barticle h3 { font-size: 20px; line-height: 1.3; letter-spacing: -.4px; margin: 26px 0 10px; }
.barticle ul, .barticle ol { margin: 0 0 20px; padding-left: 22px; }
.barticle li { font-size: 17px; line-height: 1.7; color: var(--ink); margin-bottom: 9px; text-wrap: pretty; }
.barticle a { color: var(--text); border-bottom: 1px solid var(--accent); }
.barticle a:hover { background: rgba(67, 214, 249, .14); }
.barticle strong { font-weight: 600; color: var(--text); }
.barticle .callout {
    background: var(--accent); border-radius: 16px; padding: 26px 28px; margin: 28px 0;
    font-size: 19px; line-height: 1.45; font-weight: 500; letter-spacing: -.3px; text-wrap: pretty;
}
.barticle .note {
    background: var(--panel); border: 1px solid var(--line); border-left: 3px solid var(--accent);
    border-radius: 12px; padding: 18px 22px; margin: 26px 0;
}
.barticle .note p { margin: 0; font-size: 15.5px; line-height: 1.6; }
.barticle table { width: 100%; border-collapse: collapse; margin: 26px 0; font-size: 15px; }
.barticle th, .barticle td { text-align: left; padding: 11px 14px; border-bottom: 1px solid var(--line); }
.barticle th { font-weight: 600; background: var(--panel2); }
.barticle .tw { overflow-x: auto; }

.baside { display: flex; flex-direction: column; gap: 14px; position: sticky; top: 88px; align-self: start; }
.bsum { background: #0B0D11; border-radius: 18px; padding: 24px; }
.bsum-k { font-size: 11px; font-weight: 600; letter-spacing: 1.6px; text-transform: uppercase; color: var(--accent); margin-bottom: 16px; }
.bsum-i { display: flex; gap: 11px; font-size: 14px; line-height: 1.5; color: var(--bg); margin-bottom: 13px; }
.bsum-i:last-child { margin-bottom: 0; }
.bsum-i span { color: var(--accent); }
.bcta { background: var(--accent); border-radius: 18px; padding: 24px; }
.bcta-t { font-size: 20px; line-height: 1.2; letter-spacing: -.5px; font-weight: 600; margin-bottom: 10px; text-wrap: pretty; }
.bcta p { margin: 0 0 18px; font-size: 14.5px; line-height: 1.55; color: rgba(3, 3, 3, .72); }
.bcta a {
    display: block; text-align: center; background: var(--text); color: #fff;
    border-radius: 11px; padding: 13px; font-size: 14.5px; font-weight: 500;
}
.bcta a:hover { color: #fff; opacity: .88; }
.bcta a.alt { background: transparent; color: var(--text); margin-top: 8px; padding: 10px; }
.bcta a.alt:hover { color: var(--text); opacity: .7; }

.bnext { margin-top: 72px; padding-top: 34px; border-top: 1px solid var(--line); }
.bnext-head { display: flex; align-items: center; gap: 16px; margin-bottom: 22px; }
.bnext-head h2 { font-size: 30px; letter-spacing: -.9px; }
.bnext-head a { margin-left: auto; font-size: 14px; font-weight: 500; }

.blog-404 { padding: 96px 32px 120px; text-align: center; }
.blog-404 h1 { font-size: 44px; letter-spacing: -1.4px; margin-bottom: 14px; }
.blog-404 p { font-size: 17px; color: var(--muted); margin: 0 0 28px; }

@media (max-width: 1100px) {
    .blog-head h1 { font-size: 64px; letter-spacing: -2.2px; }
    .blog-top { grid-template-columns: 1fr; }
    .bfeat { min-height: 300px; }
    .blog-grid { grid-template-columns: repeat(2, 1fr); }
    .bbody { grid-template-columns: 1fr; gap: 32px; }
    .baside { position: static; flex-direction: row; flex-wrap: wrap; }
    .bsum, .bcta { flex: 1 1 300px; }
    .bhero { padding: 40px 30px; }
    .bhero h1 { font-size: 38px; letter-spacing: -1.2px; }
}

@media (max-width: 720px) {
    .blog-list { padding: 32px 20px 64px; }
    .blog-post { padding: 18px 20px 64px; }
    .blog-head h1 { font-size: 44px; letter-spacing: -1.4px; margin-bottom: 16px; }
    .blog-head { gap: 20px; margin-bottom: 26px; }
    .blog-sub { width: 100%; justify-content: center; }
    .blog-grid { grid-template-columns: 1fr; }
    .bfeat-title { font-size: 26px; letter-spacing: -.8px; }
    .bfeat-in { padding: 22px; }
    .bpromo { padding: 22px; }
    .bpromo-t { font-size: 22px; }
    .bhero { padding: 28px 22px; border-radius: 18px; }
    .bhero h1 { font-size: 29px; letter-spacing: -.8px; }
    .bhero p { font-size: 15.5px; }
    .barticle p, .barticle li { font-size: 16px; }
    .barticle h2 { font-size: 22px; letter-spacing: -.5px; }
    .barticle .callout { font-size: 17px; padding: 20px 22px; }
    .bnext { margin-top: 48px; }
    .bnext-head h2 { font-size: 24px; }
    .blog-pager { gap: 8px; }
    .bpg { padding: 10px 12px; font-size: 13px; }
    .bpg-n { width: 34px; height: 34px; }
    .blog-404 { padding: 56px 20px 80px; }
    .blog-404 h1 { font-size: 30px; }
}
