/* ═══════════════════════════════════════════════════════════════
   Отклик v2 — лендинг · дизайн-система
   ═══════════════════════════════════════════════════════════════ */

/* ── шрифты (self-hosted Manrope, variable 500–800) ──────────── */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 500 800;
  font-display: swap;
  src: url('../fonts/manrope-cyrillic-ext.woff2') format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 500 800;
  font-display: swap;
  src: url('../fonts/manrope-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 500 800;
  font-display: swap;
  src: url('../fonts/manrope-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 500 800;
  font-display: swap;
  src: url('../fonts/manrope-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  /* палитра */
  --ink-0: #0E1B24;
  --ink-1: #14212B;
  --ink-2: #1A2830;
  --ink-3: #25343F;
  --accent: #F0A262;
  --accent-deep: #E8923F;
  --accent-hot: #F97316;
  --accent-ink: #C4763A;
  --paper: #FFFFFF;
  --paper-warm: #FAF7F3;
  --paper-tint: #FDF6F0;
  --line: #ECEAE6;
  --text: #1D2B35;
  --text-soft: #5B6B77;
  --text-faint: #93A1AB;
  --ok: #34B37A;
  --warn: #E3A008;
  --danger: #E5484D;

  --radius: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 1px 2px rgba(16, 32, 43, .06), 0 4px 12px rgba(16, 32, 43, .05);
  --shadow-md: 0 4px 8px rgba(16, 32, 43, .06), 0 16px 40px rgba(16, 32, 43, .10);
  --shadow-accent: 0 8px 24px rgba(240, 162, 98, .35);

  --font: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-spring: cubic-bezier(.34, 1.56, .64, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

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

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul, ol { list-style: none; }

::selection { background: rgba(240, 162, 98, .35); }

.container { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: 860px; margin: 0 auto; padding: 0 24px; }

/* ── типографика ─────────────────────────────────────────────── */
h1, h2, h3, h4 { font-weight: 800; letter-spacing: -0.025em; line-height: 1.12; }

.display {
  font-size: clamp(2.4rem, 5.2vw, 4rem);
  font-weight: 800;
}
.h2 { font-size: clamp(1.7rem, 3.2vw, 2.5rem); margin-bottom: 18px; }
.h3 { font-size: 1.25rem; }

.lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--text-soft); line-height: 1.65; }
.on-dark .lead, .lead.on-dark { color: rgba(255,255,255,.62); }

.accent-text { color: var(--accent); }

/* скромная надзаголовок-строчка вместо пилюли */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .78rem; font-weight: 800; letter-spacing: .09em; text-transform: uppercase;
  margin-bottom: 18px;
  color: var(--accent-ink);
}
.on-dark .eyebrow, .cta-band .eyebrow, .hero .eyebrow, .module-hero .eyebrow { color: var(--accent); }
.eyebrow .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--accent);
  animation: pulse-dot 2s infinite;
}
@keyframes pulse-dot {
  0%, 100% { box-shadow: 0 0 0 0 rgba(240,162,98,.55); }
  60% { box-shadow: 0 0 0 7px rgba(240,162,98,0); }
}

/* ── кнопки ──────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 15px 28px; border-radius: 14px;
  font-size: .95rem; font-weight: 700; letter-spacing: -.01em;
  transition: transform .25s var(--ease-out), box-shadow .25s, background .2s, border-color .2s, color .2s;
  white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-deep) 100%);
  color: #fff;
  box-shadow: var(--shadow-accent);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 32px rgba(240, 162, 98, .45); }
.btn-ghost { border: 1.5px solid var(--line); color: var(--text); background: var(--paper); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent-ink); transform: translateY(-2px); }
.on-dark .btn-ghost, .btn-ghost.on-dark {
  border-color: rgba(255,255,255,.18); color: rgba(255,255,255,.85); background: transparent;
}
.on-dark .btn-ghost:hover, .btn-ghost.on-dark:hover { border-color: rgba(255,255,255,.45); color: #fff; }
.btn-sm { padding: 10px 20px; font-size: .87rem; border-radius: 11px; }
.btn .arr { transition: transform .25s var(--ease-out); }
.btn:hover .arr { transform: translateX(3px); }

/* ── шапка ───────────────────────────────────────────────────── */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(20, 33, 43, .82);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255,255,255,.06);
  transition: background .3s;
}
.site-header .container {
  display: flex; align-items: center; justify-content: space-between;
  height: 68px; max-width: 1240px;
}
.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.15rem; color: #fff; letter-spacing: -.02em; }
.logo svg { flex-shrink: 0; }

.main-nav { display: flex; align-items: center; gap: 4px; }
.main-nav > a, .nav-drop > button {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 9px 14px; border-radius: 10px;
  font-size: .9rem; font-weight: 600; color: rgba(255,255,255,.6);
  transition: color .2s, background .2s;
}
.main-nav > a:hover, .main-nav > a.active, .nav-drop > button:hover { color: #fff; background: rgba(255,255,255,.07); }

.nav-drop { position: relative; }
/* панель прижата к кнопке БЕЗ зазора: визуальный отступ — padding-top
   внутри обёртки, поэтому :hover не теряется по пути курсора к панели */
.nav-drop-menu {
  position: absolute; top: 100%; left: 50%; transform: translateX(-50%) translateY(6px);
  padding-top: 10px;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .2s, transform .25s var(--ease-out), visibility .2s;
}
.nav-drop:hover .nav-drop-menu,
.nav-drop.open .nav-drop-menu,
.nav-drop:focus-within .nav-drop-menu {
  opacity: 1; visibility: visible; pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.nav-drop-inner {
  min-width: 300px; padding: 8px;
  background: #fff; border-radius: 18px; box-shadow: var(--shadow-md);
  border: 1px solid var(--line);
}
.nav-drop-menu a {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 12px; border-radius: 12px;
  transition: background .15s;
}
.nav-drop-menu a:hover { background: var(--paper-tint); }
.nav-drop-menu .mi {
  width: 36px; height: 36px; border-radius: 10px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: rgba(240,162,98,.13); color: var(--accent-ink);
}
.nav-drop-menu b { display: block; font-size: .88rem; color: var(--text); letter-spacing: -.01em; }
.nav-drop-menu span { display: block; font-size: .75rem; color: var(--text-faint); line-height: 1.35; }

.header-cta { display: flex; align-items: center; gap: 10px; }

.burger { display: none; flex-direction: column; gap: 5px; padding: 10px; }
.burger span { width: 22px; height: 2px; background: #fff; border-radius: 2px; transition: transform .3s, opacity .3s; }
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav {
  display: none; position: fixed; top: 68px; left: 0; right: 0; z-index: 99;
  background: var(--ink-1); border-bottom: 1px solid rgba(255,255,255,.08);
  padding: 12px 24px 24px; flex-direction: column; gap: 2px;
  max-height: calc(100vh - 68px); overflow-y: auto;
}
.mobile-nav.open { display: flex; }
.mobile-nav a { padding: 12px 10px; color: rgba(255,255,255,.75); font-weight: 600; border-radius: 10px; font-size: .95rem; }
.mobile-nav a:hover { background: rgba(255,255,255,.06); color: #fff; }
.mobile-nav .sub { padding-left: 26px; font-size: .88rem; font-weight: 500; color: rgba(255,255,255,.55); }

/* ── секции ──────────────────────────────────────────────────── */
.section { padding: 96px 0; }
.section-sm { padding: 64px 0; }
/* фон — только у секций; on-dark на тексте/кнопках задаёт лишь цвет */
.section.on-dark { background: linear-gradient(165deg, var(--ink-1) 0%, var(--ink-2) 55%, var(--ink-3) 100%); color: #fff; }
.on-warm { background: var(--paper-warm); }

.section-head { max-width: 680px; margin: 0 auto 56px; text-align: center; }
.section-head.left { margin-left: 0; text-align: left; }

/* ── hero ────────────────────────────────────────────────────── */
.hero {
  position: relative;
  padding: 150px 0 90px;
  background: linear-gradient(165deg, var(--ink-0) 0%, var(--ink-1) 45%, var(--ink-2) 100%);
  color: #fff;
  overflow: hidden;
}
.hero-inner { position: relative; text-align: center; max-width: 880px; margin: 0 auto; }
.hero .display { margin-bottom: 24px; }
.hero .lead { max-width: 640px; margin: 0 auto 36px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-bottom: 20px; }
.hero-note { font-size: .82rem; color: rgba(255,255,255,.4); }

.hero-stats {
  display: flex; justify-content: center; gap: clamp(28px, 6vw, 72px);
  margin-top: 64px; padding-top: 40px;
  border-top: 1px solid rgba(255,255,255,.09);
  position: relative;
}
.hero-stats b { display: block; font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 800; letter-spacing: -.02em; }
.hero-stats span { font-size: .82rem; color: rgba(255,255,255,.45); }

/* ── flow-анимация (сердце главной) ──────────────────────────── */
.flow-wrap { position: relative; margin: 64px auto 0; max-width: 1160px; padding: 0 24px; }
.flow-stage {
  position: relative;
  display: grid;
  grid-template-columns: minmax(280px, 380px) minmax(150px, 1fr) minmax(300px, 420px);
  align-items: center;
  gap: 0;
  min-height: 420px;
}

/* чат слева */
.flow-chat {
  position: relative;
  background: rgba(255,255,255,.055);
  border-radius: 22px;
  backdrop-filter: blur(8px);
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0,0,0,.35);
}
.flow-chat-head {
  display: flex; align-items: center; gap: 10px;
  padding: 13px 16px;
  border-bottom: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.04);
}
.flow-chat-ava {
  width: 32px; height: 32px; border-radius: 10px;
  background: linear-gradient(135deg, #4D6373, #35505E);
  display: flex; align-items: center; justify-content: center;
  font-size: .8rem;
}
.flow-chat-head b { font-size: .84rem; letter-spacing: -.01em; }
.flow-chat-head span { display: block; font-size: .68rem; color: rgba(255,255,255,.38); }
.flow-chat-body { padding: 14px; height: 320px; display: flex; flex-direction: column; justify-content: flex-end; gap: 9px; overflow: hidden; }

.chat-msg {
  max-width: 92%;
  padding: 9px 13px;
  border-radius: 14px 14px 14px 5px;
  background: rgba(255,255,255,.08);
  font-size: .78rem; line-height: 1.45;
  opacity: 0; transform: translateY(14px);
  animation: msg-in .5s var(--ease-out) forwards;
  position: relative;
}
.chat-msg .author { display: block; font-size: .66rem; font-weight: 700; color: var(--accent); margin-bottom: 2px; }
.chat-msg.noise .author { color: rgba(255,255,255,.4); }
.chat-msg.noise { color: rgba(255,255,255,.55); }
.chat-msg.hot {
  border: 1px solid rgba(240,162,98,.4);
  background: rgba(240,162,98,.1);
  box-shadow: 0 0 20px rgba(240,162,98,.12);
}
.chat-msg.fading { animation: msg-out .4s ease forwards; }
@keyframes msg-in { to { opacity: 1; transform: translateY(0); } }
@keyframes msg-out { to { opacity: 0; transform: translateY(-10px); height: 0; margin: 0; padding-top: 0; padding-bottom: 0; } }

.chat-tag {
  display: inline-block; margin-top: 5px;
  font-size: .6rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase;
  padding: 2px 8px; border-radius: 999px;
}
.chat-tag.detected { background: rgba(240,162,98,.25); color: #FFCF9E; }
.chat-tag.skipped { background: rgba(255,255,255,.09); color: rgba(255,255,255,.4); }

/* ядро в центре */
.flow-core {
  position: relative;
  display: flex; align-items: center; justify-content: center;
  min-height: 240px;
}
.flow-core-orb {
  position: relative; z-index: 2;
  width: 96px; height: 96px; border-radius: 28px;
  background: linear-gradient(150deg, #22333F, #16242E);
  border: 1px solid rgba(240,162,98,.35);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 0 50px rgba(240,162,98,.28), inset 0 1px 0 rgba(255,255,255,.12);
}
.flow-core-orb.flash { animation: core-flash .55s ease; }
@keyframes core-flash {
  30% { box-shadow: 0 0 90px rgba(240,162,98,.75), inset 0 1px 0 rgba(255,255,255,.12); transform: scale(1.07); }
}
.flow-ring {
  position: absolute; border-radius: 50%;
  border: 1px solid rgba(240,162,98,.24);
  animation: ring-pulse 3.2s var(--ease-out) infinite;
}
.flow-ring:nth-child(1) { width: 140px; height: 140px; }
.flow-ring:nth-child(2) { width: 140px; height: 140px; animation-delay: 1.05s; }
.flow-ring:nth-child(3) { width: 140px; height: 140px; animation-delay: 2.1s; }
@keyframes ring-pulse {
  0% { transform: scale(.75); opacity: 0; }
  25% { opacity: .8; }
  100% { transform: scale(2.1); opacity: 0; }
}
.flow-core-label {
  position: absolute; bottom: 8px; left: 50%; transform: translateX(-50%);
  font-size: .68rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  color: rgba(255,255,255,.42); white-space: nowrap;
}

/* летящая точка */
.flow-fly {
  position: absolute; z-index: 5;
  width: 14px; height: 14px; border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #FFD9AF, var(--accent) 70%);
  box-shadow: 0 0 14px rgba(240,162,98,.85), 0 0 30px rgba(240,162,98,.4);
  pointer-events: none;
}

/* доска справа */
.flow-board {
  position: relative;
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 30px 80px rgba(0,0,0,.45);
  overflow: hidden;
  color: var(--text);
}
.flow-board-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 13px 16px; border-bottom: 1px solid var(--line);
}
.flow-board-head b { font-size: .84rem; letter-spacing: -.01em; }
.flow-board-head .live {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: .66rem; font-weight: 800; color: var(--ok); text-transform: uppercase; letter-spacing: .05em;
}
.flow-board-head .live::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--ok); animation: pulse-dot 1.8s infinite; }
.flow-board-body { padding: 13px; height: 320px; display: flex; flex-direction: column; gap: 10px; overflow: hidden; }

.ticket-card {
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  padding: 11px 13px;
  box-shadow: var(--shadow-sm);
  opacity: 0; transform: translateX(24px) scale(.96);
  animation: ticket-in .55s var(--ease-spring) forwards;
}
@keyframes ticket-in { to { opacity: 1; transform: translateX(0) scale(1); } }
.ticket-card.fading { animation: ticket-out .35s ease forwards; }
@keyframes ticket-out { to { opacity: 0; transform: translateY(12px); } }
.ticket-top { display: flex; align-items: center; gap: 8px; margin-bottom: 5px; }
.ticket-num { font-size: .66rem; font-weight: 800; color: var(--text-faint); font-variant-numeric: tabular-nums; }
.ticket-chip {
  font-size: .62rem; font-weight: 800; padding: 2px 9px; border-radius: 999px;
  background: rgba(240,162,98,.14); color: var(--accent-ink);
}
.ticket-chip.urgent { background: rgba(229,72,77,.1); color: var(--danger); }
.ticket-text { font-size: .76rem; line-height: 1.4; color: var(--text); margin-bottom: 6px; }
.ticket-meta { display: flex; align-items: center; gap: 10px; font-size: .64rem; color: var(--text-faint); }
.ticket-meta .sla { display: inline-flex; align-items: center; gap: 4px; font-weight: 700; color: var(--ok); }

/* соединительные линии */
.flow-link {
  position: absolute; top: 50%; height: 2px; z-index: 1;
  background: linear-gradient(90deg, transparent, rgba(240,162,98,.35), transparent);
}
.flow-link::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,214,166,.9), transparent);
  background-size: 40% 100%; background-repeat: no-repeat;
  animation: link-run 2.4s linear infinite;
}
@keyframes link-run { from { background-position: -60% 0; } to { background-position: 160% 0; } }

/* ── карточки модулей ────────────────────────────────────────── */
.modules-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}
.module-card {
  position: relative; display: flex; flex-direction: column;
  padding: 30px 28px;
  background: var(--paper);
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  transition: transform .35s var(--ease-out), box-shadow .35s, border-color .3s;
  overflow: hidden;
}
.module-card::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(420px 200px at var(--mx, 50%) var(--my, 0%), rgba(240,162,98,.09), transparent 65%);
  opacity: 0; transition: opacity .35s;
  pointer-events: none;
}
.module-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: rgba(240,162,98,.4); }
.module-card:hover::before { opacity: 1; }
.module-card .mi {
  width: 52px; height: 52px; border-radius: 15px; margin-bottom: 20px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, rgba(240,162,98,.16), rgba(240,162,98,.08));
  color: var(--accent-ink);
  border: 1px solid rgba(240,162,98,.2);
}
.module-card h3 { font-size: 1.12rem; margin-bottom: 10px; }
.module-card p { font-size: .9rem; color: var(--text-soft); line-height: 1.55; flex: 1; }
.module-card .card-link {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 20px; font-size: .87rem; font-weight: 700; color: var(--accent-ink);
}
.module-card .card-link .arr { transition: transform .25s var(--ease-out); }
.module-card:hover .card-link .arr { transform: translateX(4px); }
.module-card.featured { grid-column: span 3; flex-direction: row; align-items: center; gap: 40px; padding: 40px; }
.module-card.featured .mc-body { flex: 1; }
.module-card.featured .mc-visual { flex: 1; min-width: 0; }

/* ── фичи-список ─────────────────────────────────────────────── */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.feature-item {
  padding: 26px;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg);
  transition: transform .3s var(--ease-out), box-shadow .3s, border-color .3s;
}
.feature-item:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); border-color: rgba(240,162,98,.35); }
.on-dark .feature-item { background: rgba(255,255,255,.045); border-color: rgba(255,255,255,.09); }
.on-dark .feature-item:hover { border-color: rgba(240,162,98,.4); box-shadow: none; }
.feature-item .fi {
  width: 42px; height: 42px; border-radius: 12px; margin-bottom: 16px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(240,162,98,.13); color: var(--accent-ink);
}
.on-dark .feature-item .fi { color: var(--accent); }
.feature-item h3 { font-size: 1rem; margin-bottom: 7px; }
.feature-item p { font-size: .87rem; color: var(--text-soft); line-height: 1.55; }
.on-dark .feature-item p { color: rgba(255,255,255,.55); }

/* ── чек-лист ────────────────────────────────────────────────── */
.check-list { display: flex; flex-direction: column; gap: 13px; }
.check-list li { display: flex; align-items: flex-start; gap: 11px; font-size: .95rem; color: var(--text-soft); }
.on-dark .check-list li { color: rgba(255,255,255,.68); }
.check-list .ck {
  flex-shrink: 0; width: 21px; height: 21px; margin-top: 2px; border-radius: 7px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(240,162,98,.15); color: var(--accent-ink);
}
.on-dark .check-list .ck { color: var(--accent); }

/* ── split-блоки ─────────────────────────────────────────────── */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 80px); align-items: center; }
.split.rev > .split-visual { order: -1; }

/* мини-мокапы внутри панелей */
.mock-row {
  display: flex; align-items: center; gap: 10px;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.07);
  border-radius: 13px; padding: 11px 14px; margin-bottom: 9px;
  font-size: .8rem;
}
.mock-row .mk-chip { font-size: .62rem; font-weight: 800; padding: 2px 9px; border-radius: 999px; background: rgba(240,162,98,.2); color: #FFCF9E; white-space: nowrap; }
.mock-row .mk-chip.g { background: rgba(52,179,122,.16); color: #7ADBAF; }
.mock-row .mk-chip.r { background: rgba(229,72,77,.16); color: #FF9296; }
.mock-title { font-size: .74rem; font-weight: 800; text-transform: uppercase; letter-spacing: .07em; color: rgba(255,255,255,.35); margin-bottom: 14px; }
.mock-bar { height: 8px; border-radius: 4px; background: rgba(255,255,255,.09); overflow: hidden; margin-bottom: 8px; }
.mock-bar i { display: block; height: 100%; border-radius: 4px; background: linear-gradient(90deg, var(--accent), var(--accent-hot)); }

/* ── аккордеон FAQ ───────────────────────────────────────────── */
.faq-list { display: flex; flex-direction: column; gap: 10px; }
.faq-item {
  background: var(--paper); border: 1px solid var(--line); border-radius: 18px;
  overflow: hidden; transition: border-color .25s, box-shadow .25s;
}
.faq-item:hover { border-color: rgba(240,162,98,.35); }
.faq-item.open { border-color: rgba(240,162,98,.45); box-shadow: var(--shadow-sm); }
.faq-q {
  width: 100%; display: flex; align-items: center; gap: 16px;
  padding: 20px 24px; text-align: left;
  font-size: 1rem; font-weight: 700; color: var(--text); letter-spacing: -.01em;
}
.faq-q .chev { margin-left: auto; flex-shrink: 0; color: var(--text-faint); transition: transform .3s var(--ease-out), color .3s; }
.faq-item.open .chev { transform: rotate(180deg); color: var(--accent-ink); }
/* без JS ответы FAQ развёрнуты; сворачивает их только html.js */
.faq-a { overflow: hidden; }
html.js .faq-a { max-height: 0; transition: max-height .4s var(--ease-out); }
.faq-a-inner { padding: 0 24px 22px; font-size: .93rem; color: var(--text-soft); line-height: 1.65; }

/* ── сетка шагов / инфо-ячеек ────────────────────────────────── */
.tax-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.tax-cell {
  padding: 18px 20px; border-radius: 16px;
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.08);
}
.tax-cell b { display: block; font-size: .92rem; margin-bottom: 4px; }
.tax-cell span { font-size: .78rem; color: rgba(255,255,255,.45); line-height: 1.45; }

/* ── CTA-полоса ──────────────────────────────────────────────── */
.cta-band {
  position: relative; overflow: hidden;
  border-radius: 28px; padding: clamp(48px, 7vw, 88px) clamp(28px, 6vw, 80px);
  background:
    radial-gradient(600px 300px at 85% 10%, rgba(240,162,98,.22), transparent 60%),
    radial-gradient(500px 300px at 10% 100%, rgba(240,162,98,.1), transparent 60%),
    linear-gradient(150deg, var(--ink-1), var(--ink-3));
  color: #fff; text-align: center;
}
.cta-band h2 { font-size: clamp(1.8rem, 3.6vw, 2.7rem); margin-bottom: 16px; }
.cta-band .lead { max-width: 560px; margin: 0 auto 34px; }

/* ── подвал ──────────────────────────────────────────────────── */
.site-footer { background: var(--ink-0); color: rgba(255,255,255,.55); padding: 72px 0 36px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 52px; }
.footer-grid p { font-size: .86rem; line-height: 1.6; color: rgba(255,255,255,.4); margin-top: 16px; max-width: 300px; }
.footer-col h4 { color: #fff; font-size: .82rem; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 18px; }
.footer-col a { display: block; padding: 6px 0; font-size: .89rem; color: rgba(255,255,255,.5); transition: color .2s; }
.footer-col a:hover { color: var(--accent); }
.footer-bottom {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px;
  padding-top: 28px; border-top: 1px solid rgba(255,255,255,.08);
  font-size: .78rem; color: rgba(255,255,255,.32);
}

/* ── хлебные крошки ──────────────────────────────────────────── */
.breadcrumbs { display: flex; align-items: center; gap: 8px; font-size: .82rem; color: rgba(255,255,255,.4); margin-bottom: 26px; }
.breadcrumbs a { color: rgba(255,255,255,.55); transition: color .2s; }
.breadcrumbs a:hover { color: var(--accent); }
.breadcrumbs .sep { color: rgba(255,255,255,.25); }

/* ── страница модуля: hero ───────────────────────────────────── */
.module-hero {
  position: relative; padding: 130px 0 80px; color: #fff; overflow: hidden;
  background:
    radial-gradient(800px 420px at 80% -10%, rgba(240,162,98,.14), transparent 60%),
    linear-gradient(165deg, var(--ink-0) 0%, var(--ink-1) 50%, var(--ink-2) 100%);
}
.module-hero .split { align-items: center; }

/* браузерное окно-мокап */
.browser-mock {
  border-radius: 18px; overflow: hidden;
  background: #fff; color: var(--text);
  box-shadow: 0 30px 80px rgba(0,0,0,.45);
  border: 1px solid rgba(255,255,255,.12);
}
.browser-mock.dark { background: var(--ink-2); color: #fff; }
.browser-bar {
  display: flex; align-items: center; gap: 7px;
  padding: 11px 14px; background: rgba(127,127,127,.07);
  border-bottom: 1px solid rgba(127,127,127,.14);
}
.browser-bar i { width: 10px; height: 10px; border-radius: 50%; background: rgba(127,127,127,.25); }
.browser-bar i:nth-child(1) { background: #F87171; } .browser-bar i:nth-child(2) { background: #FBBF24; } .browser-bar i:nth-child(3) { background: #34D399; }
.browser-bar .url {
  flex: 1; margin-left: 8px; font-size: .68rem; color: var(--text-faint);
  background: rgba(127,127,127,.08); border-radius: 7px; padding: 4px 12px;
}
.browser-body { padding: 18px; }

/* телефонный мокап */
.phone-mock {
  width: min(300px, 100%); margin: 0 auto;
  border-radius: 38px; padding: 12px;
  background: #101C25;
  border: 1px solid rgba(255,255,255,.14);
  box-shadow: 0 30px 80px rgba(0,0,0,.5);
}
.phone-screen { border-radius: 28px; overflow: hidden; background: #fff; color: var(--text); }
.phone-notch { height: 24px; display: flex; justify-content: center; align-items: center; }
.phone-notch i { width: 90px; height: 7px; border-radius: 4px; background: rgba(127,127,127,.2); }

/* ── stat-плитки ─────────────────────────────────────────────── */
.stat-tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.stat-tile {
  padding: 26px 24px; border-radius: var(--radius-lg); text-align: left;
  background: var(--paper); border: 1px solid var(--line);
}
.on-dark .stat-tile { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.09); }
.stat-tile b { display: block; font-size: 2rem; font-weight: 800; letter-spacing: -.03em; color: var(--accent-ink); }
.on-dark .stat-tile b { color: var(--accent); }
.stat-tile span { font-size: .82rem; color: var(--text-soft); }
.on-dark .stat-tile span { color: rgba(255,255,255,.5); }

/* ── чеклист «закон» — ровная сетка карточек ─────────────────── */
.law-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px;
  max-width: 760px;
}
.law-grid li {
  display: flex; align-items: flex-start; gap: 11px;
  padding: 16px 18px; border-radius: 14px;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1);
  font-size: .93rem; color: rgba(255,255,255,.75); line-height: 1.5;
}
.law-grid .ck {
  flex-shrink: 0; width: 21px; height: 21px; margin-top: 1px; border-radius: 7px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(240,162,98,.2); color: var(--accent);
}

/* ── «Узнаёте себя?» — карточки-боли ─────────────────────────── */
.pain-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.pain-card {
  position: relative; overflow: hidden;
  padding: 30px 30px 28px;
  background: var(--paper-warm); border: 1px solid var(--line); border-radius: var(--radius-lg);
  transition: transform .3s var(--ease-out), box-shadow .3s, border-color .3s;
}
.pain-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-sm); border-color: rgba(240,162,98,.4); }
.pain-card .num {
  display: block;
  font-size: 2.6rem; font-weight: 800; line-height: 1;
  color: var(--accent); opacity: .55;
  letter-spacing: -.03em; font-variant-numeric: tabular-nums;
  margin-bottom: 16px;
}
.pain-card h3 { font-size: 1.08rem; line-height: 1.35; margin-bottom: 14px; }
.pain-card p { font-size: .92rem; color: var(--text-soft); line-height: 1.6; }
.pain-card p b { color: var(--accent-ink); }

/* ── «Как подключиться» — 3 связанных шага ───────────────────── */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; counter-reset: step; }
.step-card {
  position: relative;
  padding: 30px 28px;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg);
  transition: transform .3s var(--ease-out), box-shadow .3s, border-color .3s;
}
.step-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-sm); border-color: rgba(240,162,98,.4); }
.step-card .num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 52px; height: 52px; border-radius: 50%; margin-bottom: 18px;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-deep) 100%);
  color: #fff; box-shadow: 0 6px 16px rgba(240,162,98,.35);
  font-size: 1.3rem; font-weight: 800;
}
.step-card h3 { font-size: 1.08rem; margin-bottom: 9px; }
.step-card p { font-size: .92rem; color: var(--text-soft); line-height: 1.6; }
/* соединительная стрелка между шагами (десктоп — горизонтально) */
.step-card:not(:last-child)::after {
  content: ''; position: absolute; z-index: 1;
  top: 56px; right: -30px;
  width: 24px; height: 2px;
  background: repeating-linear-gradient(90deg, var(--accent) 0 5px, transparent 5px 10px);
}
.step-card:not(:last-child)::before {
  content: ''; position: absolute; z-index: 1;
  top: 51.5px; right: -32px;
  width: 8px; height: 8px;
  border-top: 2.5px solid var(--accent); border-right: 2.5px solid var(--accent);
  transform: rotate(45deg); border-radius: 1px;
}

/* ── статьи ──────────────────────────────────────────────────── */
.articles-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.article-card {
  display: flex; flex-direction: column;
  padding: 30px 28px;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg);
  transition: transform .3s var(--ease-out), border-color .3s, box-shadow .3s;
}
.article-card:hover { transform: translateY(-4px); border-color: rgba(240,162,98,.4); box-shadow: var(--shadow-sm); }
.article-card .meta { font-size: .78rem; color: var(--text-faint); margin-bottom: 12px; }
.article-card h2, .article-card h3 { font-size: 1.15rem; line-height: 1.3; margin-bottom: 10px; }
.article-card p { font-size: .9rem; color: var(--text-soft); line-height: 1.6; flex: 1; }
.article-card .card-link {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 18px; font-size: .87rem; font-weight: 700; color: var(--accent-ink);
}
.article-body { padding: 60px 0 48px; }
/* колонка лонгрида ~720px для максимальной читабельности */
.article-body .container-narrow { max-width: 768px; }
.article-body .article-lead {
  font-size: clamp(1.12rem, 1.8vw, 1.28rem); color: var(--text);
  line-height: 1.7; font-weight: 600; letter-spacing: -.01em;
  margin-bottom: 36px;
}
.article-content h2 {
  position: relative;
  font-size: 1.5rem; margin: 52px 0 18px; padding-left: 18px;
  scroll-margin-top: 90px;
}
.article-content h2::before {
  content: ''; position: absolute; left: 0; top: .14em; bottom: .12em;
  width: 4px; border-radius: 3px;
  background: linear-gradient(180deg, var(--accent), var(--accent-deep));
}
.article-content h3 { font-size: 1.14rem; margin: 32px 0 12px; }
.article-content p { font-size: 1rem; color: var(--text-soft); line-height: 1.7; margin-bottom: 16px; }
.article-content p b { color: var(--text); }
.article-content ul, .article-content ol { margin: 0 0 20px; padding-left: 4px; }
.article-content ul li, .article-content ol li {
  position: relative; padding-left: 24px; margin-bottom: 10px;
  font-size: 1rem; color: var(--text-soft); line-height: 1.7;
}
.article-content ul li::before {
  content: ''; position: absolute; left: 2px; top: .66em;
  width: 7px; height: 7px; border-radius: 50%; background: var(--accent);
}
.article-content ol { counter-reset: oli; }
.article-content ol li { counter-increment: oli; padding-left: 30px; }
.article-content ol li::before {
  content: counter(oli) '.'; position: absolute; left: 0; top: 0;
  font-weight: 800; color: var(--accent-ink);
}
.article-content .note {
  background: var(--paper-tint); border: 1px solid rgba(240,162,98,.25); border-radius: 14px;
  padding: 18px 22px; margin: 24px 0; font-size: .95rem; color: var(--text-soft); line-height: 1.7;
}
/* ключевая врезка-цитата */
.article-content blockquote {
  margin: 30px 0; padding: 22px 26px;
  background: var(--paper-warm);
  border-left: 4px solid var(--accent);
  border-radius: 4px 16px 16px 4px;
  font-size: 1.08rem; font-weight: 700; line-height: 1.55;
  color: var(--text); letter-spacing: -.01em;
}
.article-content blockquote p { margin: 0; font-size: inherit; color: inherit; line-height: inherit; }
.article-content a { color: var(--accent-ink); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.article-cta {
  margin: 52px 0 0; padding: 36px 36px 34px;
  background:
    radial-gradient(420px 200px at 90% 0%, rgba(240,162,98,.18), transparent 60%),
    linear-gradient(150deg, var(--ink-1), var(--ink-3));
  border: 1px solid rgba(240,162,98,.25); border-radius: var(--radius-lg);
  color: #fff;
}
.article-cta h2 { font-size: 1.3rem; margin: 0 0 10px; color: #fff; }
.article-cta p { font-size: .95rem; color: rgba(255,255,255,.65); line-height: 1.7; margin-bottom: 22px; }
.article-related { padding: 24px 0 88px; }
.article-related h2 { font-size: 1.25rem; margin-bottom: 20px; }
.article-related .articles-grid { grid-template-columns: repeat(3, 1fr); }
.article-related .article-card { padding: 22px; }
.article-related .article-card h3 { font-size: .98rem; }

/* ── модальное окно заявки ───────────────────────────────────── */
.lead-modal {
  position: fixed; inset: 0; z-index: 200;
  display: none; align-items: center; justify-content: center;
  padding: 20px;
}
.lead-modal.open { display: flex; }
.lead-modal-backdrop {
  position: absolute; inset: 0;
  background: rgba(14, 27, 36, .66);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.lead-modal-box {
  position: relative; z-index: 1;
  width: 100%; max-width: 480px; max-height: calc(100vh - 40px);
  overflow-y: auto;
  background: var(--paper); border-radius: 22px;
  padding: 34px 32px 30px;
  box-shadow: var(--shadow-md);
  animation: lead-in .35s var(--ease-out);
}
@keyframes lead-in { from { opacity: 0; transform: translateY(18px) scale(.98); } }
.lead-modal-close {
  position: absolute; top: 16px; right: 16px;
  width: 34px; height: 34px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: var(--text-faint); background: var(--paper-warm);
  transition: color .2s, background .2s;
}
.lead-modal-close:hover { color: var(--text); background: var(--line); }
.lead-modal-box h3 { font-size: 1.35rem; margin-bottom: 6px; }
.lead-modal-box .sub { font-size: .9rem; color: var(--text-soft); margin-bottom: 22px; }
.lead-field { margin-bottom: 14px; }
.lead-field label { display: block; font-size: .8rem; font-weight: 700; color: var(--text-soft); margin-bottom: 6px; }
.lead-field input, .lead-field textarea {
  width: 100%; padding: 12px 14px;
  border: 1.5px solid var(--line); border-radius: 12px;
  font-family: var(--font); font-size: .93rem; color: var(--text);
  background: var(--paper); outline: none;
  transition: border-color .2s, box-shadow .2s;
}
.lead-field input:focus, .lead-field textarea:focus {
  border-color: var(--accent); box-shadow: 0 0 0 3px rgba(240,162,98,.16);
}
.lead-field textarea { resize: vertical; min-height: 76px; }
.lead-consent {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: .8rem; color: var(--text-soft); line-height: 1.5;
  margin: 16px 0 18px; cursor: pointer;
}
.lead-consent input { margin-top: 3px; width: 15px; height: 15px; accent-color: var(--accent-deep); flex-shrink: 0; cursor: pointer; }
.lead-consent a { color: var(--accent-ink); font-weight: 700; text-decoration: underline; text-underline-offset: 2px; }
.lead-error {
  display: none; margin-bottom: 14px;
  padding: 11px 14px; border-radius: 12px;
  background: rgba(229,72,77,.08); border: 1px solid rgba(229,72,77,.25);
  color: var(--danger); font-size: .85rem;
}
.lead-error.show { display: block; }
.lead-success { text-align: center; padding: 26px 6px 14px; }
.lead-success .ok-icon {
  width: 58px; height: 58px; margin: 0 auto 18px; border-radius: 18px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(52,179,122,.12); color: var(--ok);
}
.lead-success h3 { margin-bottom: 8px; }
.lead-success p { font-size: .92rem; color: var(--text-soft); }
body.lead-open { overflow: hidden; }

/* ── cookie-баннер ───────────────────────────────────────────── */
.cookie-bar {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 150;
  margin: 0 auto; max-width: 640px;
  display: none; align-items: center; gap: 16px;
  padding: 14px 18px; border-radius: 16px;
  background: var(--ink-2); color: rgba(255,255,255,.78);
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 16px 48px rgba(0,0,0,.35);
  font-size: .82rem; line-height: 1.5;
}
.cookie-bar.show { display: flex; }
.cookie-bar a { color: var(--accent); font-weight: 700; text-decoration: underline; text-underline-offset: 2px; }
.cookie-bar button {
  flex-shrink: 0; padding: 9px 20px; border-radius: 10px;
  background: linear-gradient(135deg, var(--accent), var(--accent-deep));
  color: #fff; font-weight: 700; font-size: .84rem;
}
@media (max-width: 620px) {
  .cookie-bar { flex-direction: column; align-items: stretch; text-align: left; }
}

/* ── юридические страницы ────────────────────────────────────── */
.legal-hero { padding: 120px 0 48px; color: #fff; background: linear-gradient(165deg, var(--ink-0) 0%, var(--ink-1) 60%, var(--ink-2) 100%); }
.legal-hero h1 { font-size: clamp(1.6rem, 3.4vw, 2.4rem); max-width: 760px; }
.legal-hero .meta { margin-top: 14px; font-size: .86rem; color: rgba(255,255,255,.45); }
.legal-body { padding: 56px 0 88px; }
.legal-toc {
  background: var(--paper-warm); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 24px 28px; margin-bottom: 44px;
}
.legal-toc b { display: block; font-size: .8rem; text-transform: uppercase; letter-spacing: .07em; color: var(--text-faint); margin-bottom: 12px; }
.legal-toc ol { list-style: none; counter-reset: toc; columns: 2; column-gap: 32px; }
.legal-toc li { counter-increment: toc; break-inside: avoid; }
.legal-toc a {
  display: block; padding: 5px 0; font-size: .9rem; font-weight: 600; color: var(--text-soft);
  transition: color .2s;
}
.legal-toc a::before { content: counter(toc) '. '; color: var(--accent-ink); font-weight: 800; }
.legal-toc a:hover { color: var(--accent-ink); }
.legal-content h2 { font-size: 1.3rem; margin: 44px 0 16px; scroll-margin-top: 90px; }
.legal-content h2:first-child { margin-top: 0; }
.legal-content p { font-size: .94rem; color: var(--text-soft); line-height: 1.7; margin-bottom: 12px; }
.legal-content p b { color: var(--text); }
.legal-content ul { margin: 0 0 14px; padding-left: 4px; }
.legal-content ul li {
  position: relative; padding-left: 20px; margin-bottom: 7px;
  font-size: .94rem; color: var(--text-soft); line-height: 1.65;
}
.legal-content ul li::before {
  content: ''; position: absolute; left: 2px; top: .62em;
  width: 6px; height: 6px; border-radius: 50%; background: var(--accent);
}
.legal-content .tbl-wrap { overflow-x: auto; margin: 0 0 16px; border: 1px solid var(--line); border-radius: 14px; }
.legal-content table { width: 100%; border-collapse: collapse; font-size: .88rem; }
.legal-content th, .legal-content td { padding: 11px 16px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.legal-content tr:last-child td { border-bottom: none; }
.legal-content th { background: var(--paper-warm); font-size: .78rem; text-transform: uppercase; letter-spacing: .05em; color: var(--text-faint); }
.legal-content td:first-child { font-weight: 700; color: var(--text); white-space: nowrap; }
.legal-content .note {
  background: var(--paper-tint); border: 1px solid rgba(240,162,98,.25); border-radius: 14px;
  padding: 16px 20px; margin: 18px 0; font-size: .9rem; color: var(--text-soft); line-height: 1.65;
}
@media (max-width: 720px) {
  .legal-toc ol { columns: 1; }
  .legal-content td:first-child { white-space: normal; }
}

/* ── ссылки в footer-bottom ──────────────────────────────────── */
.footer-bottom a { color: rgba(255,255,255,.45); transition: color .2s; }
.footer-bottom a:hover { color: var(--accent); }
.footer-legal { display: flex; flex-wrap: wrap; gap: 6px 16px; }

/* ── reveal-анимации удалены ─────────────────────────────────────
   Классы .reveal в разметке инертны: контент никогда не скрывается. */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* ── адаптив ─────────────────────────────────────────────────── */
@media (max-width: 1080px) {
  .flow-stage { grid-template-columns: 1fr; gap: 26px; max-width: 480px; margin: 0 auto; }
  .flow-core { min-height: 150px; }
  .flow-link { display: none; }
  .modules-grid { grid-template-columns: repeat(2, 1fr); }
  .module-card.featured { grid-column: span 2; flex-direction: column; align-items: stretch; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-tiles { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .tax-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .main-nav, .header-cta .btn-ghost { display: none; }
  .burger { display: flex; }
  .split { grid-template-columns: 1fr; }
  .split.rev > .split-visual { order: 0; }
  .section { padding: 68px 0; }
  .hero { padding: 120px 0 64px; }
  .pain-grid, .steps { grid-template-columns: 1fr; }
  .steps { gap: 34px; max-width: 480px; margin: 0 auto; }
  /* соединительная стрелка между шагами (мобиль — вертикально) */
  .step-card:not(:last-child)::after {
    top: auto; bottom: -28px; right: auto; left: 54px;
    width: 2px; height: 20px;
    background: repeating-linear-gradient(180deg, var(--accent) 0 5px, transparent 5px 10px);
  }
  .step-card:not(:last-child)::before {
    top: auto; bottom: -30px; right: auto; left: 49.5px;
    transform: rotate(135deg);
  }
}
@media (max-width: 620px) {
  .modules-grid, .feature-grid, .feature-grid.cols-2, .tax-grid, .law-grid,
  .articles-grid, .article-related .articles-grid { grid-template-columns: 1fr; }
  .module-card.featured { grid-column: span 1; }
  .hero-stats { flex-wrap: wrap; gap: 24px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .stat-tiles { grid-template-columns: 1fr 1fr; }
}

/* Реквизиты компании в футере */
.footer-req { margin-top: 18px; font-size: .82rem; line-height: 1.55; color: rgba(255,255,255,.45); }
.footer-req p { margin: 0 0 4px; }
.footer-req-name { color: rgba(255,255,255,.7); font-weight: 600; }
.footer-req a { color: rgba(255,255,255,.55); }
.footer-req a:hover { color: #F0A262; }

/* ═══ Сайдбар входа/регистрации (как v1: панель справа) ═══════════════ */
.auth-drawer {
  position: fixed; inset: 0; z-index: 220;
  display: none;
}
.auth-drawer.open { display: block; }
.auth-drawer-backdrop {
  position: absolute; inset: 0;
  background: rgba(14, 27, 36, .55);
  backdrop-filter: blur(2px);
  animation: auth-fade .25s ease-out;
}
.auth-drawer-panel {
  position: absolute; top: 0; right: 0; bottom: 0;
  width: min(440px, 100vw);
  background: var(--paper);
  box-shadow: -18px 0 60px rgba(14, 27, 36, .28);
  border-radius: 22px 0 0 22px;
  padding: 30px 32px;
  overflow-y: auto;
  animation: auth-slide .3s var(--ease-out);
  display: flex; flex-direction: column;
}
@keyframes auth-fade { from { opacity: 0; } }
@keyframes auth-slide { from { transform: translateX(60px); opacity: 0; } }
@media (max-width: 480px) {
  .auth-drawer-panel { border-radius: 0; padding: 24px 20px; }
}
.auth-drawer-close {
  position: absolute; top: 18px; right: 18px;
  width: 36px; height: 36px; border: none; cursor: pointer;
  border-radius: 10px; background: transparent; color: var(--text-soft);
  font-size: 20px; line-height: 1;
  transition: background .2s, color .2s;
}
.auth-drawer-close:hover { background: rgba(14,27,36,.06); color: var(--text); }
.auth-drawer-logo { display: flex; align-items: center; gap: 10px; margin-bottom: 22px; font-weight: 800; font-size: 1.05rem; color: var(--ink-3); }
.auth-tabs {
  display: grid; grid-template-columns: 1fr 1fr; gap: 6px;
  background: rgba(14,27,36,.05); border-radius: 12px; padding: 5px;
  margin-bottom: 22px;
}
.auth-tabs button {
  border: none; cursor: pointer; border-radius: 9px;
  padding: 10px 0; font-family: var(--font); font-size: .9rem; font-weight: 700;
  color: var(--text-soft); background: transparent;
  transition: background .2s, color .2s, box-shadow .2s;
}
.auth-tabs button.active { background: var(--paper); color: var(--text); box-shadow: 0 2px 8px rgba(14,27,36,.08); }
.auth-view h3 { font-size: 1.3rem; margin-bottom: 4px; }
.auth-view .sub { font-size: .88rem; color: var(--text-soft); margin-bottom: 20px; }
.auth-error {
  display: none;
  background: rgba(220, 68, 68, .08); border: 1px solid rgba(220, 68, 68, .25);
  color: #C0392B; border-radius: 12px; padding: 10px 12px;
  font-size: .85rem; margin-bottom: 14px;
}
.auth-error.show { display: block; }
.auth-ok {
  display: none;
  background: rgba(60, 184, 121, .1); border: 1px solid rgba(60, 184, 121, .3);
  color: #1E8E5A; border-radius: 12px; padding: 10px 12px;
  font-size: .85rem; margin-bottom: 14px;
}
.auth-ok.show { display: block; }
.auth-submit { width: 100%; justify-content: center; margin-top: 4px; }
.auth-submit[disabled] { opacity: .6; cursor: default; transform: none !important; }
.auth-links { margin-top: 16px; font-size: .85rem; color: var(--text-soft); text-align: center; }
.auth-links a, .auth-links button {
  color: var(--accent-ink); font-weight: 700; text-decoration: none;
  border: none; background: none; cursor: pointer; font-family: var(--font); font-size: .85rem;
}
.auth-links a:hover, .auth-links button:hover { text-decoration: underline; }
.auth-code-input {
  letter-spacing: 10px; text-align: center; font-size: 1.4rem !important; font-weight: 800;
}
.auth-hint { font-size: .8rem; color: var(--text-soft); margin-top: 10px; line-height: 1.5; }

/* Инлайн-ссылки в сообщениях сайдбара (войти/восстановить/повторить код) */
.auth-inline-link {
  border: none; background: none; padding: 0; cursor: pointer;
  color: var(--accent-ink); font-weight: 700; font-family: var(--font); font-size: inherit;
  text-decoration: underline;
}
.auth-inline-link:hover { color: var(--accent-deep); }
.auth-inline-link[disabled] { opacity: .5; cursor: default; }
