@import url('fonts.css');

/* главная страница для гостей */
* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    --oz: #005BFF; --oz-soft: #E6EFFF;
    --wb: #CB11AB; --wb-soft: #FBE5F7;
    --ym: #F7A600; --ym-soft: #FFF5DB;
    --chz: #00A86B; --chz-soft: #E0F7ED;
    --a: #2E7BFF; --b: #8B3DFF; --c: #FF4FA3;
    --brand: linear-gradient(120deg, #2E7BFF 0%, #8B3DFF 50%, #FF4FA3 100%);

    --bg: #FFFFFF;
    --bg-soft: #F6F7FC;
    --card: #FFFFFF;
    --line: #E7EAF3;
    --ink: #15132B;
    --mut: #626A7D;
    --sub: #8D93A3;
    --shadow: 0 16px 40px rgba(21, 19, 43, .08);
    --shadow-lg: 0 40px 80px rgba(91, 76, 245, .18);
    --head: rgba(255, 255, 255, .82);
    --glow: .45;
}

[data-theme="dark"] {
    --oz: #4D8DFF; --oz-soft: rgba(77, 141, 255, .15);
    --wb: #E04BC4; --wb-soft: rgba(224, 75, 196, .15);
    --ym: #FBBF24; --ym-soft: rgba(251, 191, 36, .14);
    --chz: #22C08A; --chz-soft: rgba(34, 192, 138, .15);
    --a: #5E8CE8; --b: #8E6BE6; --c: #D97AB4;
    --brand: linear-gradient(120deg, #5E8CE8 0%, #8E6BE6 50%, #D97AB4 100%);

    --bg: #0C0C16;
    --bg-soft: #12121F;
    --card: #171729;
    --line: rgba(255, 255, 255, .09);
    --ink: #EFEFFB;
    --mut: #9A9BB5;
    --sub: #6C6D88;
    --shadow: 0 16px 40px rgba(0, 0, 0, .45);
    --shadow-lg: 0 40px 80px rgba(0, 0, 0, .55);
    --head: rgba(12, 12, 22, .78);
    --glow: .28;
}

html { scroll-behavior: smooth; }
body {
    font-family: 'Golos Text', 'Segoe UI', system-ui, sans-serif;
    background: var(--bg);
    color: var(--ink);
    line-height: 1.6;
    overflow-x: hidden;
    transition: background-color .35s, color .35s;
}
a { color: inherit; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.grad { background: var(--brand); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }

/* ===== фон ===== */
.glow { position: fixed; border-radius: 50%; filter: blur(110px); opacity: var(--glow); z-index: 0; pointer-events: none; }
.glow.g1 { width: 520px; height: 520px; background: var(--a); top: -220px; left: -220px; animation: drift 16s infinite ease-in-out; }
.glow.g2 { width: 460px; height: 460px; background: var(--c); top: 30%; right: -200px; opacity: calc(var(--glow) * .75); animation: drift 19s infinite ease-in-out reverse; }
.glow.g3 { width: 420px; height: 420px; background: var(--b); bottom: 0; left: 25%; opacity: calc(var(--glow) * .5); animation: drift 23s infinite ease-in-out; }
main, header, footer { position: relative; z-index: 1; }
/* блоки первого экрана въезжают сбоку - пока едут, страница не должна сдвигаться вбок на телефоне */
main { overflow-x: clip; }

/* ===== шапка ===== */
header { position: sticky; top: 0; z-index: 50; background: var(--head); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); border-bottom: 1px solid var(--line); }
.head { display: flex; align-items: center; justify-content: space-between; gap: 18px; height: 70px; }
.logo { display: flex; align-items: center; gap: 11px; text-decoration: none; flex: none; }
.logo svg { flex: none; filter: drop-shadow(0 8px 18px rgba(139, 61, 255, .3)); }
.logo-word { display: block; font-size: 21px; font-weight: 800; letter-spacing: -.02em; line-height: 1.05; }
.logo-sub { display: block; margin-top: 2px; }
.logo-word b { background: var(--brand); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.logo-sub { font-size: 10px; color: var(--mut); letter-spacing: .18em; text-transform: uppercase; }
nav { display: flex; gap: 28px; }
nav a { color: var(--mut); text-decoration: none; font-size: 15px; font-weight: 500; transition: color .2s; }
nav a:hover { color: var(--ink); }
.head-acts { display: flex; align-items: center; gap: 10px; }
.theme { width: 42px; height: 42px; border-radius: 12px; border: 1px solid var(--line); background: var(--card); color: var(--ink); cursor: pointer; display: grid; place-items: center; transition: border-color .2s, transform .2s; }
.theme:hover { border-color: var(--b); transform: translateY(-1px); }
.theme .moon { display: none; }
[data-theme="dark"] .theme .sun { display: none; }
[data-theme="dark"] .theme .moon { display: block; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; text-decoration: none; font-weight: 700; font-size: 15px; border-radius: 13px; padding: 14px 26px; transition: transform .2s, box-shadow .2s, border-color .2s, color .2s; white-space: nowrap; }
.btn-main { background: var(--brand); color: #FFFFFF; box-shadow: 0 12px 28px rgba(139, 61, 255, .3); }
.btn-main:hover { transform: translateY(-2px); box-shadow: 0 18px 36px rgba(139, 61, 255, .42); }
.btn-ghost { background: var(--card); color: var(--ink); border: 1.5px solid var(--line); }
.btn-ghost:hover { border-color: var(--b); color: var(--b); transform: translateY(-2px); }
.btn-sm { padding: 10px 18px; font-size: 14px; border-radius: 11px; }

/* ===== первый экран ===== */
.hero { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; padding: 72px 0 56px; }
.tag { display: inline-flex; align-items: center; gap: 9px; background: var(--chz-soft); color: var(--chz); padding: 7px 15px; border-radius: 99px; font-size: 13px; font-weight: 600; margin-bottom: 22px; }
.tag::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--chz); animation: pulse 1.6s infinite; }
.hero h1 { font-size: 54px; line-height: 1.08; font-weight: 800; letter-spacing: -.035em; margin-bottom: 20px; }
.hero p.lead { font-size: 18px; color: var(--mut); max-width: 540px; margin-bottom: 30px; }
.hero-btns { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 24px; }
.ticks { display: flex; gap: 20px; flex-wrap: wrap; font-size: 14px; color: var(--mut); }
.ticks span::before { content: '✓'; color: var(--chz); font-weight: 800; margin-right: 6px; }
.hero-left { animation: in-left .7s ease both; }
.hero-right { animation: in-right .7s ease both; position: relative; }

/* макет окна приложения */
.app { text-align: left; background: var(--card); border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow-lg); overflow: hidden; }
.app-bar { display: flex; align-items: center; gap: 7px; padding: 12px 16px; border-bottom: 1px solid var(--line); background: var(--bg-soft); }
.app-bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--line); }
.app-bar span { margin-left: 8px; font-size: 13px; color: var(--mut); font-weight: 600; }
.app-body { padding: 18px; display: grid; gap: 12px; }
.mp-row { display: flex; align-items: center; gap: 12px; padding: 13px 14px; border-radius: 14px; border: 1px solid var(--line); background: var(--card); transition: transform .25s, border-color .25s; animation: up .6s ease both; }
.mp-row:hover { transform: translateX(4px); }
.mp-row:nth-child(1) { animation-delay: .25s; }
.mp-row:nth-child(2) { animation-delay: .35s; }
.mp-row:nth-child(3) { animation-delay: .45s; }
.mp-row:nth-child(4) { animation-delay: .55s; }
.mp-ic { width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; font-weight: 800; font-size: 13px; flex: none; }
.oz .mp-ic { background: var(--oz-soft); color: var(--oz); }
.wb .mp-ic { background: var(--wb-soft); color: var(--wb); }
.ym .mp-ic { background: var(--ym-soft); color: var(--ym); }
.kz .mp-ic { background: var(--chz-soft); color: var(--chz); }
.oz:hover { border-color: var(--oz); }
.wb:hover { border-color: var(--wb); }
.ym:hover { border-color: var(--ym); }
.kz:hover { border-color: var(--chz); }
.mp-name { font-weight: 700; font-size: 15px; }
.mp-note { font-size: 12.5px; color: var(--mut); }
.mp-val { margin-left: auto; text-align: right; font-weight: 800; font-size: 20px; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.mp-val small { display: block; font-size: 11px; font-weight: 500; color: var(--mut); letter-spacing: 0; }
.app-cap { text-align: center; font-size: 12px; color: var(--sub); margin-top: 12px; }
.float { position: absolute; z-index: 2; background: var(--card); border: 1px solid var(--line); border-radius: 13px; padding: 9px 14px; font-weight: 700; font-size: 13px; display: flex; align-items: center; gap: 8px; box-shadow: var(--shadow); animation: bob 4s infinite ease-in-out; }
.float i { width: 9px; height: 9px; border-radius: 50%; }
.float.f1 { top: -18px; right: 24px; color: var(--chz); }
.float.f1 i { background: var(--chz); }
.float.f2 { bottom: 26px; left: -26px; color: var(--b); animation-delay: 1.4s; }
.float.f2 i { background: var(--b); }

/* ===== лента ===== */
.strip { display: flex; justify-content: center; align-items: center; gap: 52px; flex-wrap: wrap; padding: 26px 0 10px; }
.strip span { font-size: 21px; font-weight: 800; letter-spacing: -.02em; opacity: .65; transition: opacity .2s, transform .2s; }
.strip span:hover { opacity: 1; transform: scale(1.08); }
.strip .oz { color: var(--oz); } .strip .wb { color: var(--wb); } .strip .ym { color: var(--ym); } .strip .kz { color: var(--chz); }

/* ===== секции ===== */
section { padding: 72px 0; }
.sec-head { text-align: center; max-width: 660px; margin: 0 auto 46px; }
.badge { display: inline-block; background: var(--oz-soft); color: var(--oz); padding: 6px 15px; border-radius: 99px; font-size: 11.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 14px; }
.sec-head h2 { font-size: 40px; font-weight: 800; letter-spacing: -.03em; line-height: 1.12; margin-bottom: 12px; }
.sec-head p { color: var(--mut); font-size: 16.5px; }

.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; }
.feat { background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 26px; position: relative; overflow: hidden; transition: transform .3s, box-shadow .3s; }
.feat::before { content: ''; position: absolute; inset: 0 0 auto 0; height: 4px; background: var(--brand); transform: scaleX(0); transform-origin: left; transition: transform .35s; }
.feat:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.feat:hover::before { transform: scaleX(1); }
.feat-ic { width: 52px; height: 52px; border-radius: 15px; display: grid; place-items: center; margin-bottom: 18px; transition: transform .3s; }
.feat:hover .feat-ic { transform: scale(1.08) rotate(-4deg); }
.t-blue { background: var(--oz-soft); color: var(--oz); }
.t-pink { background: var(--wb-soft); color: var(--wb); }
.t-amber { background: var(--ym-soft); color: var(--ym); }
.t-green { background: var(--chz-soft); color: var(--chz); }
.feat h3 { font-size: 18.5px; font-weight: 800; letter-spacing: -.01em; margin-bottom: 8px; }
.feat p { font-size: 14.5px; color: var(--mut); line-height: 1.6; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: step; }
.step { background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 26px; position: relative; }
.step::before { counter-increment: step; content: counter(step); display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--brand); color: #FFFFFF; font-weight: 800; margin-bottom: 16px; }
.step h3 { font-size: 18px; font-weight: 800; margin-bottom: 6px; }
.step p { font-size: 14.5px; color: var(--mut); }


.faq { max-width: 780px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 0 22px; transition: border-color .2s; }
.faq details[open] { border-color: var(--b); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 0; font-weight: 700; font-size: 16px; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-size: 22px; line-height: 1; color: var(--b); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--mut); padding: 0 0 18px; font-size: 15px; }

.cta { padding: 0 0 80px; }
.cta-box { background: linear-gradient(135deg, #15132B 0%, #2E7BFF 45%, #8B3DFF 75%, #FF4FA3 100%); border-radius: 28px; padding: 64px 32px; text-align: center; color: #FFFFFF; position: relative; overflow: hidden; box-shadow: var(--shadow-lg); }
.cta-box::before, .cta-box::after { content: ''; position: absolute; border-radius: 50%; background: rgba(255, 255, 255, .09); }
.cta-box::before { width: 380px; height: 380px; top: -150px; right: -90px; animation: bob 6s infinite ease-in-out; }
.cta-box::after { width: 280px; height: 280px; bottom: -120px; left: -70px; animation: bob 8s infinite ease-in-out reverse; }
.cta-box h2 { font-size: 36px; font-weight: 800; letter-spacing: -.025em; margin-bottom: 10px; position: relative; z-index: 1; }
.cta-box p { opacity: .9; font-size: 17px; margin-bottom: 28px; position: relative; z-index: 1; }
.cta-box .btn { position: relative; z-index: 1; background: #FFFFFF; color: #3B2BD9; }
.cta-box .btn:hover { transform: translateY(-2px) scale(1.02); box-shadow: 0 18px 36px rgba(0, 0, 0, .28); }

footer { background: var(--bg-soft); border-top: 1px solid var(--line); padding: 40px 0 28px; color: var(--mut); font-size: 14px; }
.foot { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 18px; padding-bottom: 22px; border-bottom: 1px solid var(--line); margin-bottom: 18px; }
.foot-links { display: flex; gap: 22px; flex-wrap: wrap; }
.foot-links a { text-decoration: none; color: var(--mut); }
.foot-links a:hover { color: var(--ink); }
.copy { text-align: center; font-size: 13px; color: var(--sub); }
.copy a { color: inherit; }


/* ===== тарифы ===== */
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 18px; align-items: stretch; }
.plans-1 { max-width: 420px; margin: 0 auto; }
.plans-2 { max-width: 820px; margin: 0 auto; }
.plan { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: 22px; padding: 28px 26px; display: flex; flex-direction: column; gap: 14px; transition: transform .3s, box-shadow .3s; }
.plan:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.plan.hl { border: 2px solid transparent; background: linear-gradient(var(--card), var(--card)) padding-box, var(--brand) border-box; box-shadow: var(--shadow-lg); }
.plan-flag { position: absolute; top: -13px; left: 26px; background: var(--brand); color: #FFFFFF; font-size: 12px; font-weight: 700; padding: 4px 12px; border-radius: 99px; }
.plan h3 { font-size: 20px; font-weight: 800; letter-spacing: -.01em; }
.plan-note { font-size: 14px; color: var(--mut); margin-top: -8px; }
.plan-price { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.plan-price b { font-size: 40px; font-weight: 800; letter-spacing: -.03em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.plan-price b.text { font-size: 26px; }
.plan-price span { color: var(--mut); font-size: 15px; }
.plan ul { list-style: none; display: grid; gap: 9px; flex: 1; align-content: start; }
.plan li { font-size: 14.5px; padding-left: 26px; position: relative; }
.plan li::before { content: '✓'; position: absolute; left: 0; top: 0; width: 18px; height: 18px; border-radius: 50%; background: var(--chz-soft); color: var(--chz); font-size: 11px; font-weight: 800; display: grid; place-items: center; margin-top: 2px; }
.plan .btn { width: 100%; }

/* ===== контакты ===== */
.contacts { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 14px; max-width: 980px; margin: 0 auto; }
.contact { display: flex; align-items: center; gap: 14px; background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 18px 20px; text-decoration: none; color: var(--ink); font-weight: 600; overflow-wrap: anywhere; transition: transform .2s, border-color .2s; }
a.contact:hover { transform: translateY(-3px); border-color: var(--b); }
.contact small { display: block; font-size: 12.5px; font-weight: 500; color: var(--mut); }
.contact-ic { width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; flex: none; }
.contacts-hours { text-align: center; color: var(--mut); margin-top: 16px; font-size: 14.5px; }
.plans-terms { text-align: center; color: var(--mut); margin: 18px auto 0; font-size: 14px; max-width: 720px; line-height: 1.5; }
.plans-terms a { color: inherit; }

.preview-bar { position: relative; z-index: 60; background: #15132B; color: #FFFFFF; text-align: center; font-size: 13px; padding: 8px 16px; }
.preview-bar a { color: #FFC400; }

/* ===== статьи ===== */
.art-wrap { padding-top: 28px; padding-bottom: 70px; }
nav.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 13.5px; color: var(--mut); margin-bottom: 18px; }
nav.crumbs a { font-size: 13.5px; text-decoration: none; color: var(--mut); }
nav.crumbs a:hover { color: var(--ink); }
nav.crumbs span:last-child { color: var(--ink); }
.art-h1 { font-size: 40px; font-weight: 800; letter-spacing: -.025em; line-height: 1.15; margin-bottom: 12px; }
.art-lead { font-size: 17px; color: var(--mut); max-width: 720px; margin-bottom: 32px; }
.art-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 330px), 1fr)); gap: 16px; }
.art-card { display: flex; flex-direction: column; gap: 10px; background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 24px; text-decoration: none; color: var(--ink); transition: transform .25s, box-shadow .25s, border-color .25s; }
.art-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--b); }
.art-card h2, .art-card h3 { font-size: 19px; font-weight: 800; line-height: 1.3; letter-spacing: -.01em; }
.art-card p { font-size: 14.5px; color: var(--mut); flex: 1; }
.art-meta { font-size: 13px; color: var(--sub); }
.art { max-width: 780px; }
.art > .art-meta { margin-bottom: 26px; }
nav.art-toc { display: block; background: var(--bg-soft); border: 1px solid var(--line); border-radius: 16px; padding: 18px 22px; margin-bottom: 30px; }
nav.art-toc b { display: block; margin-bottom: 8px; }
nav.art-toc ol { padding-left: 20px; display: grid; gap: 4px; }
nav.art-toc a { color: var(--ink); font-size: 15px; }
.art-body { font-size: 17px; line-height: 1.75; }
.art-body h2 { font-size: 26px; font-weight: 800; letter-spacing: -.015em; line-height: 1.25; margin: 38px 0 14px; scroll-margin-top: 90px; }
.art-body h3 { font-size: 20px; font-weight: 800; margin: 28px 0 10px; scroll-margin-top: 90px; }
.art-body p { margin-bottom: 16px; }
.art-body ul, .art-body ol { margin: 0 0 18px; padding-left: 24px; display: grid; gap: 8px; }
.art-body a { color: var(--b); text-underline-offset: 3px; }
.art-body strong { font-weight: 700; }
.art-note { background: var(--chz-soft); border-left: 4px solid var(--chz); border-radius: 0 14px 14px 0; padding: 14px 18px; margin: 0 0 18px; }
.art-cta { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; max-width: 780px; margin: 40px 0; padding: 24px 26px; border-radius: 20px; background: var(--card); border: 2px solid transparent; background: linear-gradient(var(--card), var(--card)) padding-box, var(--brand) border-box; box-shadow: var(--shadow); }
.art-cta b { display: block; font-size: 17px; margin-bottom: 4px; }
.art-cta span { color: var(--mut); font-size: 14.5px; }
.art-related h2 { font-size: 24px; font-weight: 800; margin-bottom: 16px; }
.art-teasers { margin-top: 10px; }
@media (max-width: 640px) {
    .art-h1 { font-size: 28px; }
    .art-body { font-size: 16px; }
    .art-body h2 { font-size: 22px; }
    .art-cta .btn { width: 100%; }
}

/* ===== анимации ===== */
@keyframes drift { 0%, 100% { transform: translate(0, 0) scale(1); } 50% { transform: translate(60px, 40px) scale(1.1); } }
@keyframes in-left { from { opacity: 0; transform: translateX(-36px); } to { opacity: 1; transform: none; } }
@keyframes in-right { from { opacity: 0; transform: translateX(36px); } to { opacity: 1; transform: none; } }
@keyframes up { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes pulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: .45; transform: scale(1.4); } }

/* ===== адаптив ===== */
@media (max-width: 1024px) {
    .hero h1 { font-size: 44px; }
    .sec-head h2 { font-size: 34px; }
    nav { gap: 20px; }
}
@media (max-width: 900px) {
    nav { display: none; }
    .hero { grid-template-columns: 1fr; gap: 48px; text-align: center; padding: 48px 0 36px; }
    .hero p.lead { margin-left: auto; margin-right: auto; }
    .hero-btns, .ticks { justify-content: center; }
    .float.f2 { left: 0; }
    .steps { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
    .wrap { padding: 0 16px; }
    .head { height: 62px; gap: 10px; }
    .logo-sub { display: none; }
    .logo-word { font-size: 18px; }
    .head-acts { gap: 6px; }
    .head-acts .btn-sm { padding: 8px 12px; font-size: 13.5px; border-radius: 10px; }
    .logo svg { width: 36px; height: 36px; }
    .theme { width: 38px; height: 38px; }
    .hero h1 { font-size: 32px; }
    .hero p.lead { font-size: 15.5px; }
    .hero-btns { flex-direction: column; }
    .hero-btns .btn { width: 100%; }
    .ticks { gap: 12px; font-size: 13px; }
    .float { font-size: 11.5px; padding: 7px 11px; }
    .float.f1 { right: 8px; }
    .float.f2 { display: none; }
    .mp-val { font-size: 17px; }
    .strip { gap: 22px; }
    .strip span { font-size: 16px; }
    section { padding: 52px 0; }
    .sec-head { margin-bottom: 32px; }
    .sec-head h2 { font-size: 26px; }
    .sec-head p { font-size: 15px; }
    .grid { grid-template-columns: 1fr; }
    .cta-box { padding: 44px 20px; border-radius: 22px; }
    .cta-box h2 { font-size: 24px; }
    .cta-box p { font-size: 15px; }
    .cta-box .btn { width: 100%; }
    .foot { flex-direction: column; text-align: center; }
    .foot-links { justify-content: center; }
}
/* узкие телефоны: в шапке только значок логотипа, иначе «Войти» и «Начать» не помещаются */
@media (max-width: 349px) {
    .logo-word { display: none; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; }
    html { scroll-behavior: auto; }
}
