/* ============================================================
   ProEducation — маркетинговый сайт (в стиле SaaS-платформы).
   Загружается ПОВЕРХ app.css (переиспользует токены и .btn/.input).
   Активен только на страницах с <body class="m-page">.
   ============================================================ */

:root {
  --m-accent: var(--accent);            /* #0071e3 — синий */
  --m-accent-2: #ff6a3d;                /* тёплый акцент для хайлайтов */
  --m-ink: #0b1633;                     /* тёмно-синий для тёмных секций */
  --m-ink-2: #16224a;                   /* карточки на тёмном */
  --m-soft: #f4f7fc;                    /* прохладный светлый фон секций */
  --m-line: #e7ecf3;                    /* хайрлайн на светлом */
  --m-shadow: 0 4px 24px rgba(15, 30, 60, .06);
  --m-shadow-lg: 0 24px 60px -24px rgba(15, 30, 60, .28);
  --m-radius: 22px;
  --m-radius-s: 14px;
  --m-maxw: 1120px;
}

/* базовая типографика лендинга */
.m-page { background: #fff; color: var(--text); }
.m-page h1, .m-page h2, .m-page h3, .m-page .m-display {
  font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  letter-spacing: -.02em; text-wrap: balance;
}
.m-page h2 { font-size: clamp(28px, 4vw, 40px); font-weight: 700; line-height: 1.1; }
.m-page h3 { font-size: 20px; font-weight: 600; letter-spacing: -.01em; }

.m-wrap { max-width: var(--m-maxw); margin: 0 auto; padding: 0 24px; }
.m-section { padding: clamp(56px, 9vw, 104px) 0; }
.m-section.soft { background: var(--m-soft); }
.m-section.tight { padding: clamp(40px, 6vw, 72px) 0; }

/* верхний ярлык-«эйброу» */
.m-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
  color: var(--m-accent); margin-bottom: 16px;
}
.m-eyebrow::before { content: ''; width: 18px; height: 2px; border-radius: 2px; background: var(--m-accent-2); }
.m-head { max-width: 720px; margin: 0 auto 44px; text-align: center; }
.m-head p { color: var(--text-2); font-size: 18px; margin-top: 14px; }
.m-head.left { margin-left: 0; text-align: left; }

/* кнопки: расширяем .btn из app.css */
.m-btn-lg { font-size: 17px; padding: 15px 30px; border-radius: 980px; }
.btn.m-on-dark { background: #fff; color: var(--m-ink); }
.btn.m-on-dark:hover { background: #eef2f8; }
.btn.ghost.m-on-dark { background: rgba(255,255,255,.12); color: #fff; }
.btn.ghost.m-on-dark:hover { background: rgba(255,255,255,.2); }

/* ============ ШАПКА ============ */
.m-header { position: sticky; top: 0; z-index: 60; background: rgba(255,255,255,.85);
  -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.m-header.scrolled { border-bottom-color: var(--m-line); box-shadow: 0 1px 0 rgba(15,30,60,.03); }
.m-header-in { max-width: var(--m-maxw); margin: 0 auto; padding: 0 24px; height: 64px;
  display: flex; align-items: center; gap: 28px; }
.m-logo { display: inline-flex; align-items: center; gap: 9px; font-family: 'Montserrat', sans-serif;
  font-weight: 700; font-size: 19px; letter-spacing: -.02em; color: var(--m-ink); white-space: nowrap; }
.m-logo .mark { width: 26px; height: 26px; border-radius: 8px;
  background: linear-gradient(135deg, var(--m-accent), #4aa3ff); display: grid; place-items: center;
  color: #fff; font-size: 15px; font-weight: 700; box-shadow: 0 4px 12px rgba(0,113,227,.35); }
.m-logo b { color: var(--m-accent); font-weight: 700; }
.m-nav { display: flex; align-items: center; gap: 26px; margin-left: 8px; }
.m-nav a { color: var(--text); font-size: 15px; font-weight: 500; opacity: .82; transition: opacity .2s, color .2s; white-space: nowrap; }
.m-nav a:hover { opacity: 1; color: var(--m-accent); }
.m-actions { margin-left: auto; display: flex; align-items: center; gap: 14px; }
.m-actions .m-login { color: var(--text); font-weight: 500; font-size: 15px; opacity: .82; }
.m-actions .m-login:hover { opacity: 1; }
.m-burger { display: none; margin-left: auto; width: 40px; height: 40px; border: none; background: transparent;
  cursor: pointer; border-radius: 10px; align-items: center; justify-content: center; }
.m-burger span { display: block; width: 20px; height: 2px; background: var(--m-ink); border-radius: 2px; position: relative; }
.m-burger span::before, .m-burger span::after { content: ''; position: absolute; left: 0; width: 20px; height: 2px; background: var(--m-ink); border-radius: 2px; }
.m-burger span::before { top: -6px; } .m-burger span::after { top: 6px; }

/* ============ HERO ============ */
.m-hero { position: relative; overflow: hidden;
  background:
    radial-gradient(1100px 500px at 78% -10%, rgba(0,113,227,.12), transparent 60%),
    radial-gradient(700px 400px at 8% 0%, rgba(255,106,61,.08), transparent 55%);
  padding: clamp(48px, 8vw, 92px) 0 clamp(56px, 8vw, 96px); }
.m-hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.m-hero h1 { font-family: 'Montserrat', sans-serif; font-weight: 700; letter-spacing: -.03em;
  font-size: clamp(36px, 5.4vw, 60px); line-height: 1.04; margin-bottom: 20px; }
.m-hero h1 .hl { color: var(--m-accent); position: relative; white-space: nowrap; }
.m-hero-lead { font-size: clamp(17px, 2.2vw, 21px); color: var(--text-2); line-height: 1.5; max-width: 540px; margin-bottom: 30px; }
.m-cta-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.m-trust { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 8px 20px; color: var(--text-2); font-size: 14.5px; }
.m-trust span { display: inline-flex; align-items: center; gap: 7px; }
.m-trust span::before { content: '✓'; color: var(--success); font-weight: 700; }

/* макет продукта (браузерное окно из CSS вместо картинки) */
.m-mockup { position: relative; }
.m-window { background: #fff; border: 1px solid var(--m-line); border-radius: 16px; overflow: hidden;
  box-shadow: var(--m-shadow-lg); }
.m-window-bar { display: flex; align-items: center; gap: 7px; padding: 12px 14px; border-bottom: 1px solid var(--m-line); background: #fbfcfe; }
.m-window-bar i { width: 11px; height: 11px; border-radius: 50%; background: #dfe4ec; display: inline-block; }
.m-window-bar i:nth-child(1){ background:#ff5f57 } .m-window-bar i:nth-child(2){ background:#febc2e } .m-window-bar i:nth-child(3){ background:#28c840 }
.m-window-bar .url { margin-left: 10px; font-size: 12px; color: var(--text-2); background: #eef1f6; border-radius: 6px; padding: 4px 12px; }
.m-app { display: grid; grid-template-columns: 74px 1fr; min-height: 300px; }
.m-app-side { background: #f6f8fc; border-right: 1px solid var(--m-line); padding: 16px 0; display: flex; flex-direction: column; gap: 12px; align-items: center; }
.m-app-side i { width: 34px; height: 34px; border-radius: 10px; background: #e5ebf5; }
.m-app-side i.on { background: linear-gradient(135deg, var(--m-accent), #4aa3ff); }
.m-app-main { padding: 18px; display: flex; flex-direction: column; gap: 14px; }
.m-app-row { display: flex; gap: 12px; }
.m-app-kpi { flex: 1; background: #f6f8fc; border-radius: 12px; padding: 12px 14px; }
.m-app-kpi .n { font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: 22px; color: var(--m-ink); letter-spacing: -.02em; }
.m-app-kpi .l { font-size: 11px; color: var(--text-2); margin-top: 2px; }
.m-app-chart { height: 96px; border-radius: 12px; background:
  linear-gradient(180deg, rgba(0,113,227,.14), rgba(0,113,227,0)) ,
  #f6f8fc; position: relative; overflow: hidden; }
.m-app-chart svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.m-app-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.m-app-card { background: #fff; border: 1px solid var(--m-line); border-radius: 10px; padding: 10px; display: flex; gap: 9px; align-items: center; }
.m-app-card .thumb { width: 42px; height: 30px; border-radius: 6px; background: linear-gradient(135deg,#dbe6fb,#eef3fc); }
.m-app-card .bars { flex: 1; display: flex; flex-direction: column; gap: 5px; }
.m-app-card .bars b { height: 6px; border-radius: 3px; background: #e5ebf5; display: block; }
.m-app-card .bars b:last-child { width: 60%; }
.m-badge-float { position: absolute; background: #fff; border: 1px solid var(--m-line); box-shadow: var(--m-shadow);
  border-radius: 14px; padding: 10px 14px; display: flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 600; }
.m-badge-float .ic { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; color: #fff; font-size: 15px; }
.m-badge-float.one { left: -22px; bottom: 42px; } .m-badge-float.one .ic { background: var(--success); }
.m-badge-float.two { right: -18px; top: 30px; } .m-badge-float.two .ic { background: var(--m-accent-2); }

/* ============ ПОЛОСА ЦИФР ============ */
.m-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.m-stat { text-align: center; }
.m-stat .n { font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: clamp(30px, 4vw, 46px);
  letter-spacing: -.03em; color: var(--m-ink); line-height: 1; }
.m-stat .n em { color: var(--m-accent); font-style: normal; }
.m-stat .l { color: var(--text-2); font-size: 15px; margin-top: 8px; }

/* ============ ЛОГОТИПЫ ============ */
.m-logos { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 18px 40px; }
.m-logos .chip { color: var(--text-2); font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: 20px; opacity: .5; letter-spacing: -.01em; }

/* ============ ВОЗМОЖНОСТИ ============ */
.m-feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.m-feature { background: #fff; border: 1px solid var(--m-line); border-radius: var(--m-radius); padding: 26px; transition: transform .25s, box-shadow .25s; }
.m-feature:hover { transform: translateY(-4px); box-shadow: var(--m-shadow); }
.m-feature .ic { width: 48px; height: 48px; border-radius: 13px; display: grid; place-items: center; margin-bottom: 16px;
  background: rgba(0,113,227,.1); color: var(--m-accent); }
.m-feature .ic svg { width: 24px; height: 24px; }
.m-feature h3 { margin-bottom: 8px; }
.m-feature p { color: var(--text-2); font-size: 15.5px; line-height: 1.5; }
.m-feature .soon { display: inline-block; margin-top: 12px; font-size: 12px; font-weight: 600; color: var(--m-accent-2);
  background: rgba(255,106,61,.1); border-radius: 980px; padding: 3px 10px; }

/* ============ КАК ЭТО РАБОТАЕТ ============ */
.m-steps { display: flex; flex-direction: column; gap: clamp(40px, 6vw, 72px); }
.m-step { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.m-step:nth-child(even) .m-step-text { order: 2; }
.m-step-num { display: inline-flex; align-items: center; gap: 10px; font-family: 'Montserrat', sans-serif;
  font-weight: 700; color: var(--m-accent); font-size: 15px; letter-spacing: .02em; margin-bottom: 12px; }
.m-step-num b { width: 30px; height: 30px; border-radius: 9px; background: rgba(0,113,227,.1); display: grid; place-items: center; }
.m-step-text h3 { font-size: clamp(22px, 2.6vw, 28px); margin-bottom: 12px; }
.m-step-text p { color: var(--text-2); font-size: 17px; line-height: 1.55; }
.m-step-visual { background: linear-gradient(160deg, var(--m-soft), #fff); border: 1px solid var(--m-line);
  border-radius: var(--m-radius); min-height: 260px; box-shadow: var(--m-shadow); display: grid; place-items: center; padding: 26px; }
.m-shot { width: 100%; background: #fff; border: 1px solid var(--m-line); border-radius: 14px; overflow: hidden; box-shadow: 0 10px 30px -18px rgba(15,30,60,.3); }
.m-shot-bar { height: 34px; border-bottom: 1px solid var(--m-line); background: #fbfcfe; display: flex; align-items: center; gap: 6px; padding: 0 12px; }
.m-shot-bar i { width: 9px; height: 9px; border-radius: 50%; background: #e0e5ee; }
.m-shot-body { padding: 16px; display: flex; flex-direction: column; gap: 10px; }
.m-line { height: 10px; border-radius: 5px; background: #eef1f7; }
.m-line.w1 { width: 40%; background: #dbe6fb; } .m-line.w2 { width: 85%; } .m-line.w3 { width: 65%; } .m-line.w4 { width: 72%; }
.m-line.tall { height: 34px; border-radius: 8px; }
.m-pillrow { display: flex; gap: 8px; }
.m-pillrow b { height: 26px; border-radius: 8px; background: #eef1f7; display: block; flex: 1; }
.m-pillrow b.on { background: linear-gradient(135deg, var(--m-accent), #4aa3ff); }

/* ============ ОТЗЫВЫ ============ */
.m-tgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.m-quote { background: #fff; border: 1px solid var(--m-line); border-radius: var(--m-radius); padding: 26px; display: flex; flex-direction: column; gap: 16px; }
.m-quote .stars { color: #ffb300; font-size: 15px; letter-spacing: 2px; }
.m-quote p { font-size: 16px; line-height: 1.55; color: var(--text); flex: 1; }
.m-quote .who { display: flex; align-items: center; gap: 12px; }
.m-avatar { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-weight: 700;
  font-family: 'Montserrat', sans-serif; background: linear-gradient(135deg, var(--m-accent), #4aa3ff); }
.m-quote .who b { display: block; font-weight: 600; font-size: 15px; }
.m-quote .who span { color: var(--text-2); font-size: 13.5px; }

/* ============ ТАРИФЫ ============ */
.m-toggle { display: inline-flex; background: var(--m-soft); border: 1px solid var(--m-line); border-radius: 980px; padding: 4px; margin: 0 auto 40px; }
.m-toggle button { border: none; background: transparent; cursor: pointer; font: inherit; font-size: 15px; font-weight: 600;
  color: var(--text-2); padding: 9px 20px; border-radius: 980px; transition: background .2s, color .2s; }
.m-toggle button.on { background: #fff; color: var(--m-ink); box-shadow: var(--m-shadow); }
.m-toggle .save { color: var(--success); font-size: 12px; margin-left: 6px; }
.m-plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: start; }
.m-plan { background: #fff; border: 1px solid var(--m-line); border-radius: var(--m-radius); padding: 30px 26px; position: relative; }
.m-plan.feat { border-color: var(--m-accent); box-shadow: 0 20px 50px -26px rgba(0,113,227,.5); transform: translateY(-6px); }
.m-plan .tag { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--m-accent); color: #fff;
  font-size: 12px; font-weight: 600; padding: 5px 14px; border-radius: 980px; white-space: nowrap; }
.m-plan h3 { font-size: 20px; margin-bottom: 6px; }
.m-plan .desc { color: var(--text-2); font-size: 14px; min-height: 40px; }
.m-price { font-family: 'Montserrat', sans-serif; font-weight: 700; letter-spacing: -.02em; margin: 14px 0 4px; }
.m-price .amt { font-size: 40px; color: var(--m-ink); }
.m-price .per { color: var(--text-2); font-size: 15px; font-weight: 500; }
.m-price .old { color: var(--text-2); font-size: 16px; text-decoration: line-through; margin-right: 8px; opacity: .7; }
.m-plan .btn { width: 100%; margin: 18px 0; }
.m-plan ul { list-style: none; display: flex; flex-direction: column; gap: 11px; }
.m-plan li { display: flex; gap: 10px; font-size: 14.5px; color: var(--text); align-items: flex-start; line-height: 1.45; }
.m-plan li::before { content: '✓'; color: var(--m-accent); font-weight: 700; flex: none; }
.m-plan li.off { color: var(--text-2); } .m-plan li.off::before { content: '–'; color: #c4ccd8; }

/* таблица сравнения */
.m-compare-wrap { overflow-x: auto; border: 1px solid var(--m-line); border-radius: var(--m-radius); }
.m-compare { width: 100%; border-collapse: collapse; min-width: 640px; font-size: 15px; }
.m-compare th, .m-compare td { padding: 15px 18px; text-align: center; border-bottom: 1px solid var(--m-line); }
.m-compare th:first-child, .m-compare td:first-child { text-align: left; color: var(--text); }
.m-compare thead th { font-family: 'Montserrat', sans-serif; font-weight: 700; color: var(--m-ink); background: var(--m-soft); }
.m-compare tbody tr:last-child td { border-bottom: none; }
.m-compare .yes { color: var(--success); font-weight: 700; }
.m-compare .no { color: #c4ccd8; }

/* ============ FAQ ============ */
.m-faq { max-width: 780px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.m-faq details { background: #fff; border: 1px solid var(--m-line); border-radius: var(--m-radius-s); padding: 4px 20px; }
.m-faq summary { cursor: pointer; list-style: none; padding: 18px 0; font-weight: 600; font-size: 17px; display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.m-faq summary::-webkit-details-marker { display: none; }
.m-faq summary::after { content: '+'; color: var(--m-accent); font-size: 24px; font-weight: 400; line-height: 1; transition: transform .2s; }
.m-faq details[open] summary::after { transform: rotate(45deg); }
.m-faq p { padding: 0 0 20px; color: var(--text-2); font-size: 16px; line-height: 1.55; }

/* ============ УНИВЕРСИТЕТ ============ */
.m-uni-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.m-uni-card { border: 1px solid var(--m-line); border-radius: var(--m-radius); overflow: hidden; background: #fff; transition: transform .25s, box-shadow .25s; }
.m-uni-card:hover { transform: translateY(-4px); box-shadow: var(--m-shadow); }
.m-uni-cover { aspect-ratio: 16/9; background: linear-gradient(135deg, var(--m-accent), #4aa3ff); position: relative; display: grid; place-items: center; color: #fff; }
.m-uni-cover.v2 { background: linear-gradient(135deg, #ff8a5b, var(--m-accent-2)); }
.m-uni-cover.v3 { background: linear-gradient(135deg, #7a5cff, #4aa3ff); }
.m-uni-cover .play { width: 54px; height: 54px; border-radius: 50%; background: rgba(255,255,255,.22); display: grid; place-items: center; font-size: 20px; -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.m-uni-body { padding: 20px 22px 24px; }
.m-uni-body .k { font-size: 12.5px; font-weight: 600; color: var(--m-accent); text-transform: uppercase; letter-spacing: .05em; }
.m-uni-body h3 { margin: 8px 0 8px; font-size: 18px; }
.m-uni-body p { color: var(--text-2); font-size: 14.5px; line-height: 1.5; }

/* ============ ТЁМНАЯ CTA-ПОЛОСА ============ */
.m-cta-band { background:
  radial-gradient(700px 300px at 85% 0%, rgba(74,163,255,.22), transparent 60%),
  linear-gradient(135deg, var(--m-ink), #142a5e);
  color: #fff; border-radius: var(--m-radius); padding: clamp(40px, 6vw, 72px); text-align: center; }
.m-cta-band h2 { color: #fff; }
.m-cta-band p { color: rgba(255,255,255,.75); font-size: 18px; margin: 14px auto 28px; max-width: 560px; }

/* ============ ФУТЕР ============ */
.m-footer { background: var(--m-ink); color: rgba(255,255,255,.72); padding: clamp(48px, 6vw, 72px) 0 32px; }
.m-footer-top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.4fr; gap: 36px; }
.m-footer .m-logo { color: #fff; margin-bottom: 14px; }
.m-footer .m-logo b { color: #7db8ff; }
.m-footer-about { color: rgba(255,255,255,.6); font-size: 14.5px; line-height: 1.55; max-width: 300px; }
.m-fcol h4 { font-family: 'Montserrat', sans-serif; font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: rgba(255,255,255,.5); margin-bottom: 16px; font-weight: 600; }
.m-fcol a, .m-fcol div { display: block; color: rgba(255,255,255,.75); font-size: 14.5px; margin-bottom: 11px; transition: color .2s; }
.m-fcol a:hover { color: #fff; }
.m-contact div { color: rgba(255,255,255,.75); }
.m-contact b { color: #fff; font-weight: 600; }
.m-msgr { display: flex; gap: 10px; margin-top: 6px; }
.m-msgr a { width: 38px; height: 38px; border-radius: 10px; background: rgba(255,255,255,.1); display: grid; place-items: center; margin: 0; color: #fff; transition: background .2s; }
.m-msgr a:hover { background: rgba(255,255,255,.2); }
.m-pay { display: flex; gap: 8px; margin-top: 16px; flex-wrap: wrap; }
.m-pay span { font-size: 11px; font-weight: 700; letter-spacing: .04em; color: rgba(255,255,255,.6); border: 1px solid rgba(255,255,255,.18); border-radius: 6px; padding: 4px 9px; }
.m-footer-bottom { margin-top: 40px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.12);
  display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; justify-content: space-between; font-size: 13px; color: rgba(255,255,255,.5); }
.m-footer-bottom a { color: rgba(255,255,255,.6); }
.m-footer-bottom a:hover { color: #fff; }
.m-note { font-size: 12px; color: rgba(255,255,255,.4); margin-top: 14px; line-height: 1.5; }

/* ============ МОДАЛКА ЗАЯВКИ ============ */
.m-modal { position: fixed; inset: 0; z-index: 100; display: none; align-items: center; justify-content: center; padding: 20px;
  background: rgba(11,22,51,.5); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.m-modal.open { display: flex; }
.m-modal-card { background: #fff; border-radius: var(--m-radius); padding: 32px; width: 100%; max-width: 460px; box-shadow: var(--m-shadow-lg); position: relative; }
.m-modal-card h3 { font-size: 24px; margin-bottom: 6px; }
.m-modal-card .sub { color: var(--text-2); margin-bottom: 22px; font-size: 15.5px; }
.m-modal-close { position: absolute; top: 16px; right: 16px; width: 34px; height: 34px; border: none; background: var(--m-soft); border-radius: 50%; cursor: pointer; font-size: 18px; color: var(--text-2); }
.m-modal-close:hover { background: #e9eef6; }
.m-ok { text-align: center; padding: 10px 0; }
.m-ok .ic { width: 60px; height: 60px; border-radius: 50%; background: rgba(52,199,89,.14); color: var(--success); display: grid; place-items: center; font-size: 30px; margin: 0 auto 16px; }

/* ============ cookie ============ */
.m-cookie { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 90; max-width: 560px; margin: 0 auto;
  background: var(--m-ink); color: rgba(255,255,255,.85); border-radius: var(--m-radius-s); padding: 16px 20px;
  display: flex; gap: 16px; align-items: center; box-shadow: var(--m-shadow-lg); font-size: 13.5px; }
.m-cookie a { color: #7db8ff; } .m-cookie .btn { flex: none; }

@media (prefers-reduced-motion: reduce) { .m-page * { transition: none !important; } }

/* ============ АДАПТИВ ============ */
@media (max-width: 900px) {
  .m-hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .m-mockup { max-width: 460px; margin: 0 auto; }
  .m-step, .m-step:nth-child(even) .m-step-text { grid-template-columns: 1fr; order: 0; gap: 24px; }
  .m-feature-grid, .m-tgrid, .m-uni-grid, .m-plans { grid-template-columns: 1fr 1fr; }
  .m-stats { grid-template-columns: 1fr 1fr; gap: 32px 20px; }
  .m-footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }
  .m-plan.feat { transform: none; }
}
@media (max-width: 720px) {
  .m-nav, .m-actions .m-login { display: none; }
  .m-burger { display: inline-flex; }
  .m-header.menu-open + .m-mobile-nav { display: flex; }
}
@media (max-width: 560px) {
  .m-feature-grid, .m-tgrid, .m-uni-grid, .m-plans, .m-footer-top { grid-template-columns: 1fr; }
  .m-stat .n { font-size: 34px; }
  .m-cta-row .btn { width: 100%; }
}

/* мобильное меню (шторка) */
.m-mobile-nav { display: none; position: sticky; top: 64px; z-index: 55; flex-direction: column;
  background: #fff; border-bottom: 1px solid var(--m-line); padding: 12px 24px 20px; gap: 4px; box-shadow: var(--m-shadow); }
.m-mobile-nav a { padding: 12px 0; color: var(--text); font-weight: 500; border-bottom: 1px solid var(--m-line); }
.m-mobile-nav a:last-of-type { border-bottom: none; }
.m-mobile-nav .btn { margin-top: 12px; }
