/* =========================================================
 aipie — внутренние страницы (решения, блог).
 Общие правила скопированы из инлайн-стилей index.html (главная),
 ниже — компоненты, которых на главной нет. Токены — colors_and_type.css.
 ========================================================= */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--aip-surface-1);
  color: var(--aip-ink);
  font-family: var(--font-text);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
a { color: inherit; text-decoration: none; }
img, svg { max-width: 100%; }
h1, h2, h3, p { margin: 0; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--aip-accent); outline-offset: 3px; }

/* ============ Layout ============ */
.wrap { padding-inline: 120px; }
.band { position: relative; padding: 128px 120px; }
.navy { background: var(--aip-navy); color: #fff; }
.alt { background: var(--aip-surface-2); }

/* ============ Type ============ */
.disp { font-family: var(--font-display); font-weight: 300; letter-spacing: -0.035em; line-height: 1.04; }
.num { font-family: var(--font-display); font-weight: 300; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; line-height: 1; white-space: nowrap; }
.h2 { margin-top: 20px; font-size: 60px; max-width: 1120px; text-wrap: balance; }
.h2.md { font-size: 56px; }
.h3 { font-family: var(--font-display); font-weight: 400; letter-spacing: -0.025em; line-height: 1.15; }
.lead { margin-top: 24px; font-size: 19px; line-height: 1.55; color: var(--aip-text-2); max-width: 720px; }
.muted { color: var(--aip-muted); }
.soft { color: rgba(255,255,255,.72); }
.warm { color: var(--aip-warm); }
.small { font-size: 13px; }
.lbl { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--aip-slate); }
.lbl::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--aip-accent); }
.lbl-warm { color: var(--aip-warm); }
.lbl-warm::before { background: var(--aip-warm); }
.nowrap { white-space: nowrap; }
.u { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(28,31,38,.3); }

/* ============ Icons ============ */
.ic { display: block; flex: none; fill: currentColor; width: 1em; height: 1em; }
.c-wa { color: #25D366; } .c-tg { color: #2AABEE; } .c-max { color: #7B61FF; }
.c-vk { color: #0077FF; } .c-avito { color: #00AAFF; } .c-ig { color: #E1306C; }

/* ============ Buttons ============ */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; white-space: nowrap; padding: 18px 28px; border-radius: 10px; font: 500 16px/1.2 var(--font-text); border: 0; cursor: pointer; transition: opacity .15s, background-color .15s; }
.btn:hover { opacity: .88; }
.btn-ink { background: var(--aip-ink); color: #fff; }
.btn-white { background: #fff; color: var(--aip-ink); }
.btn-line { border: 1px solid #CDD1DA; color: var(--aip-ink); background: transparent; }
.btn-glass { border: 1px solid rgba(255,255,255,.55); background: rgba(255,255,255,.10); color: #fff; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.btn-lg { padding: 20px 34px; font-size: 17px; }
.btn-block { width: 100%; padding: 20px; }
.btn[disabled] { opacity: .7; cursor: default; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ============ Shared UI pieces (em-based: scale with the parent font) ============ */
.card { background: #fff; border: 1px solid var(--aip-line); border-radius: 18px; }
.ui { background: #fff; border: 1px solid var(--aip-line); border-radius: 20px; box-shadow: var(--shadow-ui); overflow: hidden; }
.av { font-size: .8125em; width: 2.77em; height: 2.77em; border-radius: 50%; flex: none; display: flex; align-items: center; justify-content: center; font-weight: 600; background: #E8ECF7; color: var(--aip-navy); position: relative; }
.av .badge { position: absolute; right: -3px; bottom: -3px; background: #fff; border-radius: 50%; padding: 1px; font-size: 1.08em; }
.bub { max-width: 78%; padding: .8em 1.07em; font-size: .9375em; line-height: 1.45; }
.bub-in { align-self: flex-start; background: #F1F3F7; border-radius: 16px 16px 16px 4px; }
.bub-out { align-self: flex-end; background: var(--aip-navy); color: #fff; border-radius: 16px 16px 4px 16px; }
.bub .t { font-size: .73em; opacity: .55; margin-left: 6px; white-space: nowrap; }
.chip { display: inline-flex; align-items: center; gap: .57em; padding: .57em 1em; border-radius: 999px; border: 1px solid var(--aip-line); background: #fff; font-size: .875em; line-height: 1.3; white-space: nowrap; }
.chip .ic { font-size: 1.43em; }
.chip-on { background: var(--aip-ink); border-color: var(--aip-ink); color: #fff; }
.chip-dark { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.16); color: #fff; font-size: 13px; padding: 6px 12px; white-space: normal; }
.chip-dark .ic { font-size: 14px; }
.chip .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--aip-accent); flex: none; }
.chip-dark .dot { width: 6px; height: 6px; background: #7FB0FF; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.tag { display: inline-block; padding: .33em .83em; border-radius: 999px; font-size: .75em; font-weight: 500; background: var(--aip-accent-50); color: var(--aip-accent); white-space: nowrap; }
.hdr { position: relative; z-index: 3; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 28px 64px 0; }
.logo { display: flex; align-items: center; gap: 10px; }
.logo .ic { width: 30px; height: 29px; }
.logo-word { font-family: var(--font-display); font-weight: 600; font-size: 24px; letter-spacing: -.01em; line-height: 1; }
.nav { display: flex; align-items: center; gap: 30px; font-size: 15px; }
.nav a:not(.btn):hover { opacity: .75; }
.nav .btn { padding: 11px 18px; font-size: 15px; }
.nav-toggle { display: none; width: 44px; height: 44px; border-radius: 10px; border: 1px solid rgba(255,255,255,.4); background: rgba(12,16,28,.35); color: #fff; cursor: pointer; align-items: center; justify-content: center; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after { display: block; width: 18px; height: 2px; background: currentColor; border-radius: 1px; position: relative; transition: transform .2s; }
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; }
.nav-toggle span::before { top: -6px; } .nav-toggle span::after { top: 6px; }
.hdr.open .nav-toggle span { background: transparent; }
.hdr.open .nav-toggle span::before { transform: translateY(6px) rotate(45deg); }
.hdr.open .nav-toggle span::after { transform: translateY(-6px) rotate(-45deg); }
.tg-msg { background: #fff; border-radius: 18px; box-shadow: 0 30px 60px -30px rgba(27,39,71,.3); padding: 22px 24px 18px; display: flex; gap: 14px; }
.tg-msg > .av { font-size: 13px; width: 42px; height: 42px; background: var(--aip-navy); }
.tg-msg > .av .ic { width: 20px; height: 19px; color: #fff; }
.tg-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.tg-head b { font-weight: 600; color: var(--aip-accent); }
.tg-text { margin-top: 6px; white-space: pre-line; font-size: 15px; line-height: 1.62; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.phone { width: 300px; height: 600px; border-radius: 36px; background: var(--aip-panel); padding: 10px; box-shadow: var(--shadow-phone); font-size: 13px; }
.phone-lg { width: 340px; height: 640px; }
.screen { height: 100%; border-radius: 27px; overflow: hidden; display: flex; flex-direction: column; }
.scr-head { display: flex; align-items: center; gap: 10px; padding: 30px 14px 12px; font-size: 13px; background: #fff; }
.scr-head .ic { font-size: 22px; }
.scr-head b { font-weight: 600; }
.scr-head .muted { margin-left: auto; font-size: 11px; }
.scr-chat { flex: 1; display: flex; flex-direction: column; justify-content: flex-end; gap: 8px; padding: 12px 10px; }
.phone .bub { font-size: 13px; line-height: 1.42; padding: 9px 12px; max-width: 86%; }
.phone .bub-in { background: #fff; color: var(--aip-ink); }
.scr-input { margin: 0 10px 12px; height: 36px; border-radius: 18px; background: #fff; display: flex; align-items: center; padding: 0 14px; font-size: 12px; color: var(--aip-muted); }
.sys { align-self: center; text-align: center; font-size: 11px; padding: 5px 10px; border-radius: 8px; background: rgba(255,255,255,.75); color: var(--aip-text-2); }
.ph-cap { margin-top: 20px; font-size: 15px; }
.pts { display: flex; flex-direction: column; gap: 22px; margin-top: 44px; max-width: 760px; }
.pt { display: flex; gap: 16px; align-items: flex-start; font-size: 17px; line-height: 1.5; color: var(--aip-text-2); }
.pt::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--aip-accent); flex: none; margin-top: 9px; }
.pt b { color: var(--aip-ink); font-weight: 600; }
.faq-list { border-top: 1px solid var(--aip-line-2); }
.faq-list details { border-bottom: 1px solid var(--aip-line-2); padding: 28px 0; }
.faq-list summary { list-style: none; display: flex; justify-content: space-between; gap: 24px; align-items: center; cursor: pointer; font-family: var(--font-display); font-weight: 400; font-size: 22px; letter-spacing: -.02em; line-height: 1.3; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; font-family: var(--font-text); font-size: 26px; color: var(--aip-slate); font-weight: 300; line-height: 1; flex: none; }
.faq-list details[open] summary::after { content: "−"; }
.faq-list details p { margin-top: 14px; color: var(--aip-text-2); max-width: 640px; font-size: 17px; }
.end { position: relative; min-height: 380px; overflow: hidden; color: #fff; display: flex; align-items: center; padding: 64px 120px; gap: 80px; }
.end-img, .end-shade { position: absolute; inset: 0; width: 100%; height: 100%; }
.end-img { object-fit: cover; object-position: center 50%; }
.end-shade { background: linear-gradient(90deg, rgba(8,12,28,.62) 0%, rgba(8,12,28,.30) 45%, rgba(8,12,28,.20) 60%, rgba(8,12,28,.50) 100%); }
.end h2 { position: relative; font-size: 60px; flex: 0 0 560px; }
.end-body { position: relative; display: flex; flex-direction: column; gap: 24px; max-width: 520px; }
.end-body p { font-size: 18px; line-height: 1.5; color: rgba(255,255,255,.92); }
.footer { padding: 80px 120px 48px; display: grid; grid-template-columns: 1fr 1.4fr; gap: 64px; }
.footer-l { display: flex; flex-direction: column; justify-content: space-between; gap: 40px; }
.footer-l .logo { align-self: flex-start; gap: 12px; }
.footer-l .logo .ic { width: 34px; height: 33px; color: var(--aip-accent); }
.footer-l .logo-word { font-size: 28px; }
.copy { font-size: 13px; color: var(--aip-muted); line-height: 1.6; }
.footer-r { display: flex; flex-direction: column; gap: 44px; min-width: 0; }
.tg-big-cap { font-size: 15px; color: var(--aip-slate); }
.tg-big { display: inline-flex; align-items: center; gap: 16px; align-self: flex-start; margin-top: 10px; }
.tg-big .circle { width: 56px; height: 56px; border-radius: 50%; background: var(--aip-ink); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 26px; flex: none; }
.tg-big .disp { font-size: 60px; letter-spacing: -.03em; line-height: 1; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 10px; text-decoration-color: rgba(28,31,38,.25); }
.tg-big .arr { font-size: 28px; color: var(--aip-slate); }
.flinks { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 24px; font-size: 15px; line-height: 1.4; }
.flinks nav { display: flex; flex-direction: column; gap: 12px; }
.flinks nav > span { color: var(--aip-slate); }
.flinks a:hover { color: var(--aip-accent); }

/* ============ Внутренние страницы: шапка-полоса ============ */
.phero { position: relative; overflow: hidden; background: var(--aip-navy); color: #fff; }
.phero .glow { position: absolute; border-radius: 50%; pointer-events: none; right: -180px; top: -220px; width: 640px; height: 640px; background: radial-gradient(circle, rgba(242,178,102,.18), rgba(242,178,102,0) 70%); }
.phero-body { position: relative; z-index: 1; padding: 64px 120px 104px; }
.phero h1 { margin-top: 22px; font-size: 64px; max-width: 1080px; text-wrap: balance; }
.phero .lead { color: rgba(255,255,255,.82); max-width: 820px; font-size: 20px; }
.phero .btn-row { margin-top: 36px; }
.phero-note { margin-top: 18px; font-size: 14px; color: rgba(255,255,255,.66); }
.crumbs { display: flex; flex-wrap: wrap; gap: 6px 10px; font-size: 14px; color: rgba(255,255,255,.6); }
.crumbs a { color: rgba(255,255,255,.82); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(255,255,255,.3); }
.crumbs span[aria-hidden] { opacity: .5; }
.art-meta { margin-top: 20px; font-size: 14px; color: rgba(255,255,255,.62); }
.nav a[aria-current="page"] { color: var(--aip-warm); }

/* ============ Секции ============ */
.sec { padding: 112px 120px; }
.sec.alt { background: var(--aip-surface-2); }
.sec.navy { background: var(--aip-navy); color: #fff; }
.sec .h2 { font-size: 48px; max-width: 980px; }
.sec .lead { max-width: 780px; }
.txt { max-width: 780px; }
.txt p, .txt ul, .txt ol { margin-top: 18px; font-size: 18px; line-height: 1.6; color: var(--aip-text-2); }
.txt ul, .txt ol { padding-left: 22px; }
.txt li + li { margin-top: 8px; }
.txt b, .txt strong { color: var(--aip-ink); font-weight: 600; }
.navy .txt p, .navy .txt li { color: rgba(255,255,255,.78); }
.navy .txt b { color: #fff; }
.txt a, .prose a, .lnk { color: var(--aip-accent); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(30,79,224,.35); }
.navy .txt a { color: #9DBBFF; }

/* Карточки возможностей */
.feats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 56px; }
.feats.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.feat { padding: 28px 28px 30px; }
.feat .h3 { font-size: 21px; }
.feat p { margin-top: 12px; font-size: 16px; line-height: 1.55; color: var(--aip-text-2); }
.navy .feat { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.12); }
.navy .feat p { color: rgba(255,255,255,.72); }

/* Как это работает */
.howto { list-style: none; padding: 0; margin: 56px 0 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; counter-reset: st; }
.howto li { counter-increment: st; background: #fff; border: 1px solid var(--aip-line); border-radius: 18px; padding: 26px 24px 28px; }
.howto li::before { content: counter(st); display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 10px; background: var(--aip-accent-50); color: var(--aip-accent); font-weight: 600; }
.howto b { display: block; margin-top: 18px; font-family: var(--font-display); font-weight: 400; font-size: 19px; letter-spacing: -.02em; line-height: 1.25; }
.howto p { margin-top: 10px; font-size: 15px; line-height: 1.55; color: var(--aip-text-2); }

/* Доказательство: отчёт + цифры */
.proof2 { display: grid; grid-template-columns: minmax(0, 560px) minmax(0, 1fr); gap: 72px; margin-top: 56px; align-items: start; }
.figs > div { padding: 28px 0; border-bottom: 1px solid var(--aip-line-2); }
.figs > div:first-child { padding-top: 0; }
.figs > div:last-child { border-bottom: 0; }
.figs .num { font-size: 56px; }
.figs p { margin-top: 12px; font-size: 17px; color: var(--aip-text-2); }
.cap { margin-top: 14px; font-size: 13px; color: var(--aip-muted); }

/* Пример переписки */
.demo { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 72px; align-items: center; }
.phone { height: auto; min-height: 520px; }
.phone .screen { min-height: 500px; }

/* Таблица сравнения */
.tbl-wrap { margin-top: 48px; overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--aip-line); border-radius: 18px; background: #fff; }
.tbl { width: 100%; min-width: 720px; border-collapse: collapse; font-size: 15px; line-height: 1.45; }
.tbl th, .tbl td { padding: 16px 18px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--aip-line-soft); }
.tbl thead th { font-weight: 600; background: var(--aip-surface-1); }
.tbl tbody th { font-weight: 500; width: 24%; }
.tbl tr:last-child th, .tbl tr:last-child td { border-bottom: 0; }
.tbl td.us { background: #F5F8FF; }

/* Перелинковка */
.rel { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 40px; }
.rel a { display: flex; flex-direction: column; gap: 10px; padding: 24px; background: #fff; border: 1px solid var(--aip-line); border-radius: 18px; transition: border-color .15s; }
.rel a:hover { border-color: var(--aip-accent); }
.rel b { font-family: var(--font-display); font-weight: 400; font-size: 19px; letter-spacing: -.02em; line-height: 1.25; }
.rel span { font-size: 15px; line-height: 1.5; color: var(--aip-text-2); }
.rel em { margin-top: auto; font-style: normal; font-size: 14px; color: var(--aip-accent); }

/* FAQ на внутренних страницах */
.faq2 { display: grid; grid-template-columns: 400px minmax(0, 1fr); gap: 72px; }
.faq2 .h2 { font-size: 40px; }

/* Плашка CTA */
.cta2 { position: relative; overflow: hidden; border-radius: 28px; background: var(--aip-panel); color: #fff; padding: 64px 72px; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 48px; align-items: center; }
.cta2 .glow { position: absolute; border-radius: 50%; pointer-events: none; right: -140px; top: -180px; width: 520px; height: 520px; background: radial-gradient(circle, rgba(242,178,102,.22), rgba(242,178,102,0) 70%); }
.cta2 > :not(.glow) { position: relative; }
.cta2 .h2 { font-size: 44px; margin-top: 16px; }
.cta2 p { margin-top: 16px; font-size: 18px; line-height: 1.5; color: rgba(255,255,255,.78); max-width: 640px; }
.cta2 .btn-row { flex-direction: column; align-items: stretch; }

/* ============ Статьи ============ */
.art { display: grid; grid-template-columns: minmax(0, 760px) 300px; gap: 80px; padding: 88px 120px 112px; align-items: start; }
.toc { position: sticky; top: 24px; padding: 24px; font-size: 15px; line-height: 1.4; }
.toc b { display: block; font-weight: 600; margin-bottom: 12px; }
.toc ol { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 8px; color: var(--aip-text-2); }
.toc a:hover { color: var(--aip-accent); }
.toc .btn { margin-top: 22px; width: 100%; padding: 14px 18px; font-size: 15px; }
.prose { font-size: 18px; line-height: 1.65; color: #2F3340; }
.prose > * + * { margin-top: 20px; }
.prose h2 { margin-top: 56px; font-family: var(--font-display); font-weight: 400; font-size: 32px; letter-spacing: -.03em; line-height: 1.15; color: var(--aip-ink); scroll-margin-top: 24px; }
.prose h3 { margin-top: 36px; font-family: var(--font-display); font-weight: 400; font-size: 22px; letter-spacing: -.02em; line-height: 1.25; color: var(--aip-ink); }
.prose h2 + *, .prose h3 + * { margin-top: 14px; }
.prose ul, .prose ol { padding-left: 24px; }
.prose li + li { margin-top: 8px; }
.prose b, .prose strong { font-weight: 600; color: var(--aip-ink); }
.prose .lede { font-size: 21px; line-height: 1.55; color: var(--aip-ink); }
.tpl { background: #fff; border: 1px solid var(--aip-line); border-radius: 18px; padding: 20px 22px; }
.tpl small { display: block; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--aip-slate); margin-bottom: 10px; }
.tpl .bub { max-width: 100%; font-size: 16px; }
.tpl .bub + .bub { margin-top: 8px; }
.tpl .chatline { display: flex; flex-direction: column; gap: 8px; }
.tpl p { margin-top: 12px; font-size: 15px; color: var(--aip-text-2); }
.note { border-left: 3px solid var(--aip-warm); background: #FFF8EE; border-radius: 0 12px 12px 0; padding: 16px 20px; font-size: 16px; }
.prose .tbl-wrap { margin-top: 24px; }
.prose .tbl { font-size: 15px; min-width: 560px; }
.art-cta { margin-top: 64px; padding: 36px; background: var(--aip-navy); color: #fff; border-radius: 22px; }
.art-cta .h3 { font-size: 26px; }
.art-cta p { margin-top: 12px; color: rgba(255,255,255,.78); font-size: 17px; line-height: 1.55; }
.art-cta .btn-row { margin-top: 24px; }
.prose .art-cta h2 { margin-top: 0; color: #fff; font-size: 26px; }
.prose a.btn { text-decoration: none; }
.prose a.btn-white { color: var(--aip-ink); }
.prose a.btn-glass { color: #fff; }

/* Блог: список */
.posts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 8px; }
.post { display: flex; flex-direction: column; gap: 12px; padding: 30px 30px 28px; background: #fff; border: 1px solid var(--aip-line); border-radius: 18px; transition: border-color .15s; }
.post:hover { border-color: var(--aip-accent); }
.post .tag { align-self: flex-start; }
.post b { font-family: var(--font-display); font-weight: 400; font-size: 24px; letter-spacing: -.025em; line-height: 1.2; }
.post span { font-size: 16px; line-height: 1.55; color: var(--aip-text-2); }
.post em { margin-top: auto; padding-top: 6px; font-style: normal; font-size: 14px; color: var(--aip-muted); }

/* ============ ≤1280 ============ */
@media (max-width: 1280px) {
  .wrap { padding-inline: 64px; }
  .band, .sec { padding: 96px 64px; }
  .hdr { padding: 24px 40px 0; }
  .nav { gap: 22px; }
  .phero-body { padding-inline: 64px; }
  .phero h1 { font-size: 56px; }
  .art { padding-inline: 64px; gap: 56px; grid-template-columns: minmax(0, 1fr) 280px; }
  .faq2 { grid-template-columns: 340px minmax(0, 1fr); gap: 56px; }
  .end { padding-inline: 64px; gap: 56px; }
  .end h2 { flex-basis: auto; font-size: 52px; }
  .footer { padding-inline: 64px; }
}

/* ============ ≤1160: меню в бургер ============ */
@media (max-width: 1160px) {
  .nav-toggle { display: inline-flex; }
  .nav { display: none; position: absolute; top: calc(100% + 12px); left: 24px; right: 24px; z-index: 5; flex-direction: column; align-items: stretch; gap: 0; padding: 10px; border-radius: 16px; background: rgba(14,19,34,.96); border: 1px solid rgba(255,255,255,.14); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); box-shadow: 0 20px 40px -10px rgba(0,0,0,.5); }
  .hdr.open .nav { display: flex; }
  .nav a:not(.btn) { padding: 13px 14px; border-radius: 10px; font-size: 16px; }
  .nav a:not(.btn):hover { background: rgba(255,255,255,.08); opacity: 1; }
  .nav .btn { margin-top: 8px; padding: 15px 18px; font-size: 16px; }
}

/* ============ ≤1080 ============ */
@media (max-width: 1080px) {
  .wrap { padding-inline: 48px; }
  .band, .sec { padding: 88px 48px; }
  .phero-body { padding: 56px 48px 88px; }
  .phero h1 { font-size: 48px; }
  .sec .h2 { font-size: 40px; }
  .feats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .howto { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .proof2, .demo { grid-template-columns: 1fr; gap: 48px; }
  .demo .phone { margin-inline: auto; }
  .rel { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .faq2 { grid-template-columns: 1fr; gap: 36px; }
  .cta2 { grid-template-columns: 1fr; padding: 48px; }
  .cta2 .btn-row { flex-direction: row; }
  .art { grid-template-columns: minmax(0, 1fr); padding: 64px 48px 96px; gap: 40px; }
  .toc { position: static; order: -1; }
  .end { flex-direction: column; align-items: flex-start; justify-content: center; padding: 72px 48px; gap: 28px; }
  .end h2 { font-size: 48px; }
  .footer { grid-template-columns: 1fr; gap: 48px; padding: 64px 48px 40px; }
  .footer-l { flex-direction: row; align-items: center; flex-wrap: wrap; }
  .tg-big .disp { font-size: 48px; }
}

/* ============ ≤760: телефон ============ */
@media (max-width: 760px) {
  .wrap { padding-inline: 20px; }
  .band, .sec { padding: 64px 20px; }
  .hdr { padding: 16px 20px 0; }
  .nav { left: 12px; right: 12px; }
  .logo-word { font-size: 22px; }
  .phero-body { padding: 40px 20px 64px; }
  .phero h1 { font-size: 32px; letter-spacing: -.03em; line-height: 1.1; margin-top: 18px; }
  .phero .lead { font-size: 17px; }
  .phero .btn-row { flex-direction: column; align-items: stretch; }
  .crumbs { font-size: 13px; }
  .h2, .sec .h2, .faq2 .h2 { font-size: 28px; letter-spacing: -.03em; line-height: 1.12; }
  .lead { font-size: 17px; margin-top: 18px; }
  .lbl { font-size: 12px; letter-spacing: .12em; }
  .txt p, .txt ul, .txt ol { font-size: 16px; }
  .feats, .feats.two, .howto, .rel, .posts { grid-template-columns: 1fr; margin-top: 36px; }
  .feat { padding: 22px 20px 24px; }
  .figs .num { font-size: 40px; }
  .tg-msg { padding: 16px 14px 14px; gap: 10px; border-radius: 16px; }
  .tg-msg > .av { width: 34px; height: 34px; }
  .tg-text { font-size: 13.5px; line-height: 1.55; }
  .phone { width: 100%; max-width: 300px; }
  .faq-list details { padding: 22px 0; }
  .faq-list summary { font-size: 18px; gap: 16px; }
  .faq-list details p { font-size: 16px; margin-top: 10px; }
  .cta2 { padding: 36px 20px; border-radius: 22px; }
  .cta2 .h2 { font-size: 28px; }
  .cta2 p { font-size: 16px; }
  .cta2 .btn-row { flex-direction: column; }
  .art { padding: 40px 20px 72px; }
  .prose { font-size: 17px; }
  .prose .lede { font-size: 19px; }
  .prose h2 { font-size: 26px; margin-top: 44px; }
  .prose h3 { font-size: 20px; }
  .art-cta { padding: 28px 20px; }
  .art-cta .btn-row { flex-direction: column; align-items: stretch; }
  .post { padding: 24px 20px; }
  .post b { font-size: 21px; }
  .end { padding: 64px 20px; min-height: 380px; }
  .end h2 { font-size: 38px; }
  .end-body p { font-size: 16px; }
  .end .btn-row { flex-direction: column; align-items: stretch; width: 100%; }
  .footer { padding: 56px 20px 40px; gap: 40px; }
  .tg-big { gap: 12px; }
  .tg-big .circle { width: 44px; height: 44px; font-size: 20px; }
  .tg-big .disp { font-size: 34px; text-underline-offset: 7px; }
  .tg-big .arr { font-size: 22px; }
  .flinks { grid-template-columns: 1fr 1fr; gap: 32px 20px; }
}

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