/* Сайт noxera.ru. Дизайн-система по аудиту Максима (23.10.2026, разделы 3–5):
   монохром — почти чёрный и тёплый светлый, акцент — чёрный, шрифт Onest */
:root {
  --ink: #0E0E10;
  --ink-2: #3A3A40;
  --ink-muted: #6E6E76;
  --paper: #F7F6F2;
  --paper-2: #EFEDE7;
  --white: #FFFFFF;
  --line: rgba(14, 14, 16, .10);
  --line-strong: rgba(14, 14, 16, .18);
  --on-dark: #F2F1EC;
  --on-dark-muted: #A3A3AB;
  --line-dark: rgba(255, 255, 255, .12);
  /* Синий — только внутри макетов интерфейса: так выглядит сама система */
  --blue: #2B5CE0;
  --blue-soft: #EEF3FF;
  --ok: #14833B; --ok-soft: #E3F4E8;
  --warn: #A15C07; --warn-soft: #FCF0D9;
  --err: #C62828; --err-soft: #FDECEC;
  --r-sm: 8px; --r-md: 14px; --r-lg: 24px; --r-xl: 32px;
  --shadow-card: 0 1px 0 rgba(14, 14, 16, .04), 0 24px 48px -24px rgba(14, 14, 16, .18);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --container: 1200px;
  --section-gap: clamp(80px, 12vw, 160px);

  /* Прежние имена — для брифа и макетов */
  --background: var(--paper);
  --surface-subtle: var(--paper-2);
  --border: var(--line);
  --foreground: var(--ink);
  --foreground-secondary: var(--ink-2);
  --foreground-muted: var(--ink-muted);
  --primary: var(--ink);
  --primary-hover: #2A2A2F;
  --primary-subtle: #E8E6DF;
  --radius: 12px;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Onest, system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { margin: 0; font-weight: 650; }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

.wrap { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 16px; }
@media (min-width: 641px) { .wrap { padding: 0 32px; } }

.eyebrow { font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-muted); }
.muted { color: var(--ink-muted); }
.h2 { font-size: clamp(32px, 4vw, 56px); line-height: 1.05; letter-spacing: -.03em; }
.lead-text { font-size: clamp(18px, 1.6vw, 21px); color: var(--ink-2); }

/* Кнопки: один стиль — скруглённые на всю высоту */
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 0 20px; border: 0; border-radius: 999px;
  background: var(--ink); color: var(--white); font: inherit; font-size: 15px; font-weight: 550;
  white-space: nowrap; cursor: pointer; transition: background-color .2s, transform .2s var(--ease-out), border-color .2s;
}
.button:hover { background: var(--primary-hover); }
.button:active { transform: scale(.98); }
.button--large { min-height: 52px; padding: 0 26px; font-size: 16px; }
.button--outline { background: transparent; color: var(--ink); border: 1px solid var(--line-strong); }
.button--outline:hover { background: var(--white); border-color: var(--ink); }
.button--ghost { background: transparent; color: var(--ink-2); }
.button--ghost:hover { background: var(--paper-2); }
.button--light { background: var(--white); color: var(--ink); }
.button--light:hover { background: var(--paper-2); }
.button:disabled { opacity: .55; cursor: default; }
.arrow-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 550; }
.arrow-link span { transition: transform .2s var(--ease-out); }
.arrow-link:hover span { transform: translateX(4px); }

/* Шапка: прозрачная над первым экраном, при прокрутке — фон и размытие (аудит A10) */
.topbar { position: sticky; top: 0; z-index: 10; border-bottom: 1px solid transparent; transition: background-color .25s, border-color .25s, transform .3s var(--ease-out); }
.topbar.is-scrolled { background: rgba(247, 246, 242, .82); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom-color: var(--line); }
.topbar.is-hidden { transform: translateY(-100%); }
.topbar__inner { display: flex; align-items: center; gap: 28px; height: 68px; }
.brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; color: var(--ink); }
.logo { display: block; height: 22px; width: auto; }
.brand__divider { width: 1px; height: 20px; background: var(--line-strong); }
.brand__product { font-size: 14px; color: var(--ink-muted); white-space: nowrap; }
.topbar__nav { display: flex; gap: 26px; font-size: 15px; color: var(--ink-2); white-space: nowrap; }
.topbar__nav a { position: relative; }
.topbar__nav a::after { content: ''; position: absolute; left: 0; right: 0; bottom: -4px; height: 1.5px; background: var(--ink); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease-out); }
.topbar__nav a:hover::after { transform: scaleX(1); }
.topbar__actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }

.burger { display: none; width: 44px; height: 44px; padding: 12px 11px; border: 0; border-radius: var(--r-sm); background: transparent; cursor: pointer; }
.burger span { display: block; height: 2px; margin: 4px 0; border-radius: 2px; background: var(--ink); transition: transform .2s, opacity .2s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
.mobile-menu { position: fixed; inset: 68px 0 0; z-index: 9; display: grid; align-content: start; gap: 28px; padding: 24px 16px; background: var(--paper); overflow-y: auto; }
.mobile-menu__nav { display: grid; }
.mobile-menu__nav a { padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 22px; font-weight: 550; letter-spacing: -.01em; animation: menu-in .35s var(--ease-out) both; }
.mobile-menu__nav a:nth-child(2) { animation-delay: .04s; }
.mobile-menu__nav a:nth-child(3) { animation-delay: .08s; }
.mobile-menu__nav a:nth-child(4) { animation-delay: .12s; }
.mobile-menu__actions { display: grid; gap: 12px; }
@keyframes menu-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
body.menu-open { overflow: hidden; }
body.menu-open .topbar { background: var(--paper); }
@media (max-width: 1100px) {
  .topbar__nav, .topbar__login { display: none; }
  .burger { display: block; }
}
@media (max-width: 480px) {
  .brand__divider, .brand__product { display: none; }
  .topbar__inner { gap: 8px; }
  .logo { height: 19px; }
  .topbar__cta { padding: 0 14px; }
}
@media (max-width: 360px) { .topbar__cta { display: none; } }

/* Первый экран */
.hero { padding-top: clamp(40px, 7vw, 88px); text-align: center; }
.announce { display: inline-flex; align-items: center; gap: 10px; padding: 6px 8px 6px 14px; border: 1px solid var(--line); border-radius: 999px; background: var(--white); font-size: 14px; color: var(--ink-2); position: relative; overflow: hidden; max-width: 100%; }
.announce strong { font-weight: 600; color: var(--ink); }
.announce__go { display: inline-grid; place-items: center; flex-shrink: 0; width: 26px; height: 26px; border-radius: 50%; background: var(--ink); color: var(--white); font-size: 14px; transition: transform .2s var(--ease-out); }
.announce:hover .announce__go { transform: translateX(3px); }
.announce::after { content: ''; position: absolute; inset: 0; background: linear-gradient(100deg, transparent 30%, rgba(255,255,255,.9) 50%, transparent 70%); transform: translateX(-100%); animation: shine 6s ease-in-out infinite 2s; pointer-events: none; }
@keyframes shine { 0%, 80% { transform: translateX(-100%); } 100% { transform: translateX(100%); } }
.hero .eyebrow { margin-top: 28px; }
.hero h1 { max-width: 1000px; margin: 14px auto 0; font-size: clamp(40px, 6.2vw, 84px); line-height: 1.02; letter-spacing: -.035em; }
.hero h1 .muted { display: block; }
.hero__lead { max-width: 640px; margin: 24px auto 0; font-size: clamp(18px, 1.6vw, 21px); color: var(--ink-2); }
.hero__actions { display: flex; justify-content: center; gap: 12px; margin-top: 36px; flex-wrap: wrap; }
.hero__stage { margin-top: clamp(40px, 6vw, 72px); perspective: 1400px; }
.hero__stage .invoice-scene { margin-top: 0; transition: transform .4s var(--ease-out); }

/* Клиенты */
.clients { padding-top: clamp(56px, 7vw, 96px); text-align: center; }
.clients__list { display: flex; justify-content: center; align-items: center; gap: clamp(32px, 6vw, 72px); flex-wrap: wrap; margin-top: 20px; color: var(--ink-muted); }
.clients__list svg { height: 34px; width: auto; transition: color .2s; }
.clients__list svg:hover, .clients__name:hover { color: var(--ink); }
.clients__name { font-size: 22px; font-weight: 700; letter-spacing: -.01em; transition: color .2s; }

/* Секции */
.section { padding-top: var(--section-gap); }
.section__head { max-width: 760px; }
.section__head .lead-text { margin-top: 18px; }
.section__head--center { margin: 0 auto; text-align: center; }

.dark { margin-top: var(--section-gap); padding: var(--section-gap) 0; background: var(--ink); color: var(--on-dark); }
.dark .muted, .dark .eyebrow { color: var(--on-dark-muted); }
.dark .lead-text { color: var(--on-dark-muted); }

/* Тёмный блок «как сейчас» */
.pains { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 56px; }
.pain { padding: 28px; border: 1px solid var(--line-dark); border-radius: var(--r-lg); }
.pain__num { font-size: 13px; color: var(--on-dark-muted); }
.pain h3 { margin-top: 32px; font-size: 22px; letter-spacing: -.015em; }
.pain p { margin-top: 10px; color: var(--on-dark-muted); font-size: 16px; }
.scrub-words .word { opacity: .2; transition: opacity .2s linear; }

/* Возможности — сетка разного размера (bento) */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; margin-top: 56px; }
.tile { position: relative; display: grid; align-content: start; gap: 10px; padding: 28px; border-radius: var(--r-lg); background: var(--white); border: 1px solid var(--line); overflow: hidden; transition: transform .3s var(--ease-out), box-shadow .3s; }
.tile::before { content: ''; position: absolute; inset: 0; background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(14,14,16,.06), transparent 60%); opacity: 0; transition: opacity .3s; pointer-events: none; }
.tile:hover { transform: translateY(-4px); box-shadow: var(--shadow-card); }
.tile:hover::before { opacity: 1; }
.tile h3 { font-size: 22px; letter-spacing: -.015em; }
.tile p { color: var(--ink-2); font-size: 16px; }
.tile__visual { margin-top: 12px; }
.tile--wide { grid-column: span 4; }
.tile--tall { grid-column: span 2; grid-row: span 2; }
.tile--third { grid-column: span 2; }
.tile--half { grid-column: span 3; }
.tile__shot { margin-top: 16px; border-radius: var(--r-md); border: 1px solid var(--line); overflow: hidden; }

.mini-calendar { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; margin-top: 8px; font-size: 12px; text-align: center; }
.mini-calendar span { padding: 6px 0; border-radius: 6px; background: var(--paper); color: var(--ink-muted); }
.mini-calendar .is-pay { background: var(--warn-soft); color: var(--warn); font-weight: 600; }
.mini-calendar .is-paid { background: var(--ok-soft); color: var(--ok); font-weight: 600; }
.mini-calendar .is-today { outline: 1.5px solid var(--ink); color: var(--ink); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }

/* Разработка под заказ на главной */
.custom-block { display: grid; grid-template-columns: 1fr 1.05fr; gap: 56px; align-items: center; }
.custom-block > *, .final__grid > *, .bento > * { min-width: 0; }
.custom-block .lead-text { margin-top: 18px; }
.custom-points { display: grid; gap: 10px; margin: 28px 0 0; padding: 0; list-style: none; color: var(--on-dark-muted); }
.custom-points li::before { content: '—  '; color: var(--on-dark); }
.chat-teaser { padding: 20px; border-radius: var(--r-lg); background: #17171A; border: 1px solid var(--line-dark); }
.chat-teaser__head { display: flex; align-items: center; gap: 10px; padding-bottom: 14px; border-bottom: 1px solid var(--line-dark); font-size: 14px; }
.chat-teaser__avatar { width: 30px; height: 30px; border-radius: 50%; border: 6px solid var(--on-dark); animation: breathe 3s ease-in-out infinite; }
@keyframes breathe { 50% { transform: scale(1.06); } }
.chat-teaser__status { color: var(--on-dark-muted); font-size: 12px; }
.chat-teaser__log { display: grid; gap: 10px; align-content: start; min-height: 190px; padding: 16px 0; }
.teaser-bubble { max-width: 86%; padding: 10px 14px; border-radius: 16px; font-size: 15px; line-height: 1.45; }
.teaser-bubble--ai { justify-self: start; background: #232327; border-top-left-radius: 4px; }
.teaser-bubble--me { justify-self: end; background: var(--on-dark); color: var(--ink); border-top-right-radius: 4px; }
.chat-teaser__form { display: flex; gap: 8px; }
.chat-teaser__form input { flex: 1; min-width: 0; height: 48px; padding: 0 16px; border: 1px solid var(--line-dark); border-radius: 999px; background: #232327; color: var(--on-dark); font: inherit; font-size: 16px; }
.chat-teaser__form input::placeholder { color: var(--on-dark-muted); }
.chat-teaser__chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.chip { padding: 7px 12px; border: 1px solid var(--line-dark); border-radius: 999px; background: transparent; color: var(--on-dark); font: inherit; font-size: 13px; cursor: pointer; transition: background-color .2s; }
.chip:hover { background: #232327; }

/* Как это работает */
.flow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 56px; counter-reset: flow; }
.flow__step { padding: 24px; border-radius: var(--r-lg); background: var(--paper-2); }
.flow__step::before { counter-increment: flow; content: counter(flow); display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--ink); color: var(--white); font-size: 14px; font-weight: 600; }
.flow__step h3 { margin-top: 20px; font-size: 19px; letter-spacing: -.01em; }
.flow__step p { margin-top: 8px; font-size: 15px; color: var(--ink-2); }

/* Сравнение */
.compare { margin-top: 48px; border-radius: var(--r-lg); background: var(--white); border: 1px solid var(--line); overflow: hidden; }
.compare__row { display: grid; grid-template-columns: 1.1fr 1fr 1fr; gap: 16px; padding: 18px 24px; border-top: 1px solid var(--line); font-size: 16px; align-items: center; }
.compare__row:first-child { border-top: 0; font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-muted); }
.compare__old { color: var(--ink-muted); }
.compare__new { display: flex; align-items: center; gap: 10px; font-weight: 550; }
.check { width: 20px; height: 20px; flex-shrink: 0; }
.check path { stroke-dasharray: 24; stroke-dashoffset: 24; transition: stroke-dashoffset .6s var(--ease-out); }
.is-visible .check path { stroke-dashoffset: 0; }

/* Тарифы */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 56px; align-items: stretch; }
.plan { display: grid; grid-template-rows: auto auto auto 1fr auto; gap: 14px; padding: 32px; border-radius: var(--r-lg); background: var(--white); border: 1px solid var(--line); }
.plan h3 { font-size: 20px; }
.plan__price { font-size: 40px; font-weight: 650; letter-spacing: -.03em; line-height: 1; }
.plan__price small { font-size: 16px; font-weight: 450; color: var(--ink-muted); letter-spacing: 0; }
.plan__for { color: var(--ink-muted); font-size: 15px; }
.plan ul { display: grid; gap: 10px; align-content: start; margin: 8px 0 0; padding: 0; list-style: none; font-size: 15px; color: var(--ink-2); }
.plan li { display: flex; gap: 10px; }
.plan li::before { content: ''; flex-shrink: 0; width: 6px; height: 6px; margin-top: 9px; border-radius: 50%; background: var(--ink); }
.plan--main { position: relative; background: var(--ink); color: var(--on-dark); border: 0; }
.plan--main .plan__for, .plan--main ul, .plan--main .plan__price small { color: var(--on-dark-muted); }
.plan--main li::before { background: var(--on-dark); }
.plan--main::after { content: ''; position: absolute; inset: -1.5px; border-radius: calc(var(--r-lg) + 1.5px); padding: 1.5px; background: conic-gradient(from var(--angle, 0deg), transparent 60%, rgba(14,14,16,.55), transparent 90%); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; animation: spin 6s linear infinite; pointer-events: none; }
@property --angle { syntax: '<angle>'; inherits: false; initial-value: 0deg; }
@keyframes spin { to { --angle: 360deg; } }
.plan__badge { justify-self: start; padding: 3px 10px; border-radius: 999px; background: var(--on-dark); color: var(--ink); font-size: 12px; font-weight: 600; }
.plans__note { margin-top: 20px; font-size: 14px; color: var(--ink-muted); text-align: center; }

/* Вопросы и ответы */
.faq { max-width: 860px; margin: 48px auto 0; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 22px 0; font-size: 19px; font-weight: 550; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; flex-shrink: 0; font-size: 26px; font-weight: 300; transition: transform .25s var(--ease-out); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq__answer { padding: 0 0 22px; color: var(--ink-2); max-width: 720px; }
.faq__answer a { text-decoration: underline; }

/* Финальная форма на тёмном */
.final { position: relative; overflow: hidden; margin-bottom: 0; }
.final__grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 64px; position: relative; }
.final__bg { position: absolute; right: -6%; bottom: -10%; width: 70%; color: var(--white); opacity: .04; pointer-events: none; }
.final__next { display: grid; gap: 18px; margin: 32px 0 0; padding: 0; list-style: none; counter-reset: next; }
.final__next li { display: grid; grid-template-columns: 32px 1fr; gap: 14px; color: var(--on-dark-muted); }
.final__next li::before { counter-increment: next; content: counter(next); display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--line-dark); color: var(--on-dark); font-size: 14px; }
.final__next strong { display: block; color: var(--on-dark); font-weight: 550; }

.lead { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; scroll-margin-top: 90px; }
.field { display: grid; gap: 6px; }
.field--wide { grid-column: 1 / -1; }
.field label { font-size: 14px; font-weight: 550; }
.field__optional { color: var(--ink-muted); font-weight: 400; }
.field input, .field textarea {
  width: 100%; min-height: 48px; padding: 12px 14px; border: 1px solid var(--line-strong); border-radius: var(--r-md);
  background: var(--white); font: inherit; font-size: 16px; color: var(--ink); resize: vertical; transition: border-color .2s, box-shadow .2s;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(14,14,16,.10); }
.field [aria-invalid="true"] { border-color: var(--err); }
.field__error { font-size: 13px; color: var(--err); }
.field__error:empty { display: none; }
.consent { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; font-weight: 400; color: var(--ink-2); cursor: pointer; }
.consent input { width: 18px; height: 18px; min-height: 0; padding: 0; margin: 3px 0 0; flex-shrink: 0; accent-color: var(--ink); }
.consent a, .policy a { text-decoration: underline; }
.lead__trap { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.lead__footer { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.lead__status { font-size: 14px; color: var(--ink-2); }
.lead--sent .lead__status { color: var(--ok); font-weight: 550; }
.dark .lead { padding: 28px; border-radius: var(--r-lg); background: var(--paper); color: var(--ink); }

/* Полоса «Разработка под заказ» */
.custom { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 28px 32px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--white); transition: border-color .2s; }
.custom:hover { border-color: var(--ink); }
.custom__text { display: grid; gap: 6px; }
.custom__text strong { font-size: 20px; }
.custom__text span { color: var(--ink-2); }

/* Подвал */
.footer { padding: 56px 0 40px; border-top: 1px solid var(--line); }
.footer__inner { display: grid; grid-template-columns: 1.4fr 1fr; gap: 24px 48px; font-size: 15px; color: var(--ink-2); }
.footer__brand { display: grid; gap: 14px; align-content: start; color: var(--ink); }
.footer__brand .logo { height: 26px; }
.footer__brand p { color: var(--ink-2); max-width: 360px; }
.footer__links { display: grid; gap: 10px; align-content: start; }
.footer__links a:hover { color: var(--ink); }
.footer__muted { grid-column: 1 / -1; color: var(--ink-muted); font-size: 14px; }

/* Страница политики */
.policy { max-width: 760px; padding-top: 48px; padding-bottom: 80px; }
.policy h1 { font-size: clamp(32px, 4vw, 44px); line-height: 1.1; letter-spacing: -.02em; }
.policy h2 { margin-top: 36px; font-size: 21px; }
.policy p, .policy li { margin-top: 12px; color: var(--ink-2); }
.policy ul { padding-left: 20px; }

/* Плашка согласия на Метрику */
.cookie { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 20; display: flex; align-items: center; gap: 16px; max-width: 680px; margin: 0 auto; padding: 16px 18px; border-radius: var(--r-md); background: var(--ink); color: var(--on-dark); box-shadow: 0 20px 40px -12px rgba(0,0,0,.4); font-size: 14px; }
.cookie p { flex: 1; color: var(--on-dark-muted); }
.cookie a { color: var(--on-dark); text-decoration: underline; }
.cookie__actions { display: flex; gap: 8px; flex-shrink: 0; }
.cookie .button { min-height: 40px; padding: 0 16px; font-size: 14px; }
.cookie .button--light:hover { background: var(--paper-2); }
.cookie .button--outline { color: var(--on-dark); border-color: var(--line-dark); }
.cookie .button--outline:hover { background: transparent; border-color: var(--on-dark); }

/* Появление при прокрутке (аудит A4) */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s var(--ease-out), transform .7s var(--ease-out); }
.reveal.is-visible { opacity: 1; transform: none; }

@media (max-width: 1024px) {
  .bento { grid-template-columns: repeat(2, 1fr); }
  .tile--wide, .tile--tall, .tile--third, .tile--half { grid-column: span 2; grid-row: auto; }
  .flow { grid-template-columns: repeat(2, 1fr); }
  .plans { grid-template-columns: 1fr; max-width: 560px; margin-left: auto; margin-right: auto; }
  .custom-block, .final__grid { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .pains, .flow { grid-template-columns: 1fr; }
  .pain h3 { margin-top: 20px; }
  .tile { padding: 22px; }
  .compare__row { grid-template-columns: 1fr; gap: 6px; padding: 16px 18px; }
  .compare__row:first-child { display: none; }
  .compare__row > :first-child { font-weight: 600; }
  .compare__old::before { content: 'Сейчас: '; }
  .lead { grid-template-columns: 1fr; }
  .dark .lead { padding: 20px; }
  .hero__actions .button { width: 100%; }
  .lead .button { width: 100%; }
  .custom { flex-direction: column; align-items: stretch; padding: 20px; }
  .footer__inner { grid-template-columns: 1fr; }
  .cookie { flex-direction: column; align-items: stretch; }
  .cookie__actions .button { flex: 1; }
  .announce { font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .announce::after, .plan--main::after, .chat-teaser__avatar, .mobile-menu__nav a { animation: none; }
  .scrub-words .word { opacity: 1; }
  .check path { stroke-dashoffset: 0; transition: none; }
  .tile, .button, .topbar { transition: none; }
}

/* Настоящие скриншоты системы вкладками (Максим: «скриншоты системы зачем убрал?») */
.screens { margin-top: 48px; }
.screens__tabs { display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; }
.screens__tab { min-height: 40px; padding: 0 16px; border: 1px solid var(--line-strong); border-radius: 999px; background: transparent; color: var(--ink-2); font: inherit; font-size: 15px; cursor: pointer; transition: background-color .2s, color .2s; }
.screens__tab[aria-selected="true"] { background: var(--ink); border-color: var(--ink); color: var(--white); }
.screens__frame { margin-top: 24px; padding: 12px; border-radius: var(--r-lg); background: var(--paper-2); border: 1px solid var(--line); }
.screens__panel img { width: 100%; border-radius: var(--r-md); border: 1px solid var(--line); box-shadow: var(--shadow-card); }
.screens__panel--phones { display: flex; justify-content: center; gap: clamp(12px, 4vw, 48px); margin: 0; padding: clamp(8px, 2vw, 24px) 0; }
.screens__panel--phones img { width: min(300px, 44%); border: 6px solid var(--ink); border-radius: clamp(20px, 4vw, 36px); box-shadow: 0 24px 48px -20px rgba(14,14,16,.35); }
.screens__caption { margin-top: 14px; text-align: center; font-size: 15px; color: var(--ink-muted); }
@media (max-width: 640px) { .screens__frame { padding: 6px; } .screens__tab { font-size: 14px; padding: 0 12px; } }
