/* ==========================================================================
   gimsbot.ru — стили лендинга тренажёра ГИМС
   Чистый CSS, без сборщиков и внешних CDN. Mobile-first (база — 360–390px).
   Порядок: переменные → база → типографика → кнопки → шапка → секции →
            карточки → hero → блоки → футер → адаптив → печать
   ========================================================================== */

/* --- Переменные ---------------------------------------------------------- */
:root {
  --bg: #ffffff;
  --bg-soft: #f4f8fc;
  --card: #ffffff;
  --ink: #0f1f33;
  --ink-2: #46586e;
  --line: #e1e8f1;
  --brand: #0b4f9e;
  --brand-dark: #083d7c;
  --brand-soft: #eaf2fc;
  --teal: #0d9488;
  --teal-soft: #e6f6f3;
  --warn-bg: #fff8ea;
  --warn-line: #f0dcae;
  --warn-ink: #6a5216;
  --radius: 16px;
  --radius-sm: 12px;
  --shadow: 0 1px 2px rgba(15, 31, 51, 0.04), 0 8px 24px rgba(15, 31, 51, 0.06);
  --shadow-lift: 0 2px 4px rgba(15, 31, 51, 0.05), 0 14px 34px rgba(15, 31, 51, 0.1);
  --wrap: 1120px;
  --measure: 66ch;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue",
    Arial, "Noto Sans", sans-serif;
}

/* --- База ---------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 17px/1.62 var(--font);
  overflow-wrap: break-word;
}

img,
svg {
  max-width: 100%;
  height: auto;
}

img {
  display: block;
}

a {
  color: var(--brand);
  text-decoration: none;
}

a:hover,
a:focus-visible {
  text-decoration: underline;
  text-underline-offset: 2px;
}

:focus-visible {
  outline: 3px solid var(--teal);
  outline-offset: 2px;
  border-radius: 4px;
}

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 20px;
}

/* Якоря не заезжают под липкую шапку */
[id] {
  scroll-margin-top: 84px;
}

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: #fff;
  color: var(--brand);
  font-weight: 600;
  padding: 12px 16px;
  border-radius: 0 0 var(--radius-sm) 0;
  z-index: 100;
}

.skip:focus {
  left: 0;
}

/* --- Типографика --------------------------------------------------------- */
h1,
h2,
h3 {
  margin: 0 0 0.5em;
  line-height: 1.18;
  letter-spacing: -0.015em;
}

h1 {
  font-size: clamp(1.85rem, 6.4vw, 2.9rem);
  font-weight: 800;
}

h2 {
  font-size: clamp(1.42rem, 4.4vw, 1.95rem);
  font-weight: 700;
}

h3 {
  font-size: 1.09rem;
  font-weight: 700;
  line-height: 1.3;
}

p {
  margin: 0 0 1em;
  max-width: var(--measure);
}

p:last-child {
  margin-bottom: 0;
}

.lead {
  font-size: clamp(1.02rem, 2.6vw, 1.16rem);
  line-height: 1.6;
  color: var(--ink-2);
}

.muted {
  color: var(--ink-2);
}

.small {
  font-size: 0.9rem;
  line-height: 1.55;
}

.center {
  text-align: center;
}

/* --- Кнопки -------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 52px;
  padding: 13px 26px;
  border: 2px solid transparent;
  border-radius: 14px;
  font: 700 1rem/1.2 var(--font);
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.15s ease, box-shadow 0.15s ease,
    transform 0.15s ease, border-color 0.15s ease;
}

.btn:hover,
.btn:focus-visible {
  text-decoration: none;
}

.btn--primary {
  background: var(--brand);
  color: #fff;
}

.btn--primary:hover,
.btn--primary:focus-visible {
  background: var(--brand-dark);
  transform: translateY(-1px);
}

.btn--light {
  background: #fff;
  color: var(--brand-dark);
  box-shadow: 0 8px 22px rgba(4, 18, 38, 0.28);
}

.btn--light:hover,
.btn--light:focus-visible {
  background: #f2f7ff;
  transform: translateY(-1px);
}

.btn--ghost {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.55);
  color: #fff;
}

.btn--ghost:hover,
.btn--ghost:focus-visible {
  background: rgba(255, 255, 255, 0.18);
}

.btn--outline {
  background: #fff;
  border-color: var(--line);
  color: var(--brand);
}

.btn--outline:hover,
.btn--outline:focus-visible {
  border-color: var(--brand);
}

.btn--block {
  width: 100%;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn-row .btn {
  flex: 1 1 240px;
}

/* Текстовая ссылка-действие (тап-зона ≥48px) */
.link-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 48px;
  padding: 4px 2px;
  font-weight: 700;
  color: var(--brand);
}

.link-cta::after {
  content: "→";
  transition: transform 0.15s ease;
}

.link-cta:hover::after {
  transform: translateX(3px);
}

.hero .link-cta {
  color: #fff;
}

/* --- Шапка --------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 64px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  min-width: 0;
  color: #0b2440;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.logo:hover {
  text-decoration: none;
}

.logo__mark {
  width: 32px;
  height: 32px;
  display: block;
  flex: 0 0 auto;
}

.logo b {
  font-size: 1.02rem;
  display: block;
  white-space: nowrap;
}

.logo small {
  display: block;
  font: 400 0.73rem/1.3 var(--font);
  color: var(--ink-2);
  letter-spacing: 0;
}

/* Навигация: на телефоне скрыта в <details>, с 900px — в строке */
.site-nav {
  display: none;
}

.nav-more {
  position: relative;
  flex: 0 0 auto;
}

.nav-more summary {
  display: flex;
  align-items: center;
  min-height: 48px;
  padding: 0 6px;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
}

.nav-more summary::-webkit-details-marker {
  display: none;
}

.nav-burger {
  display: none;
  font-size: 1.2rem;
  line-height: 1;
  color: var(--brand);
}

.nav-more summary::after {
  content: "⌄";
  margin-left: 6px;
  color: var(--brand);
  font-size: 1rem;
}

.nav-more[open] summary::after {
  content: "⌃";
}

/* На телефоне панель привязана к шапке, а не к кнопке — иначе уезжает за экран */
@media (max-width: 899.98px) {
  /* знак не раздувает шапку: 56px вместо 64px на узких экранах */
  .site-header .wrap {
    min-height: 56px;
  }

  .nav-more {
    position: static;
  }

  .nav-panel {
    left: 16px;
    right: 16px;
    top: calc(100% + 4px);
    min-width: 0;
  }
}

.nav-more .nav-panel {
  position: absolute;
  right: 0;
  top: calc(100% + 6px);
  min-width: 232px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lift);
  padding: 8px;
}

.nav-panel a {
  display: flex;
  align-items: center;
  min-height: 48px;
  padding: 0 12px;
  border-radius: 8px;
  color: var(--ink);
  font-weight: 600;
}

.nav-panel a:hover {
  background: var(--brand-soft);
  text-decoration: none;
}

.header-cta {
  min-height: 46px;
  padding: 11px 18px;
  font-size: 0.94rem;
  flex: 0 0 auto;
  white-space: nowrap;
}

/* --- Секции -------------------------------------------------------------- */
.section {
  padding: 52px 0;
}

.section--tight {
  padding: 26px 0;
}

.section--soft {
  background: var(--bg-soft);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-title {
  max-width: 44rem;
  margin-bottom: 26px;
}

.section-title h2 {
  margin-bottom: 0.35em;
}

.section-title p {
  margin: 0;
  color: var(--ink-2);
  font-size: 1.04rem;
}

/* --- Карточки и сетки ---------------------------------------------------- */
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow);
}

.grid {
  display: grid;
  gap: 14px;
  grid-template-columns: 1fr;
}

/* --- Hero ---------------------------------------------------------------- */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: #fff;
  background: #062a4d;
  padding: 40px 0 46px;
}

.hero__media,
.hero__scrim {
  position: absolute;
  inset: 0;
  z-index: -1;
}

.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% 48%;
}

.hero__scrim {
  background:
    linear-gradient(180deg, rgba(4, 18, 38, 0.86) 0%, rgba(4, 18, 38, 0.6) 44%, rgba(4, 18, 38, 0.84) 100%),
    linear-gradient(100deg, rgba(4, 18, 38, 0.86) 0%, rgba(4, 18, 38, 0.34) 64%, rgba(4, 18, 38, 0.12) 100%);
}

.hero > .wrap {
  position: relative;
}

.hero h1 {
  margin-bottom: 0.55em;
  text-shadow: 0 2px 18px rgba(2, 12, 26, 0.35);
}

.hero .lead {
  color: #dce9f8;
  max-width: 54ch;
  margin-bottom: 0;
}

.hero .btn-row {
  margin: 26px 0 0;
}

.hero-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.hero-facts li {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
}

.hero-facts b {
  display: block;
  font-size: clamp(1.25rem, 4.6vw, 1.5rem);
  line-height: 1.15;
  letter-spacing: -0.01em;
}

.hero-facts span {
  display: block;
  margin-top: 2px;
  font-size: 0.82rem;
  line-height: 1.35;
  color: #c9dcf2;
}

.badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 20px;
  padding: 0;
  list-style: none;
}

.badges li {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 999px;
  padding: 7px 14px;
  font-size: 0.84rem;
  font-weight: 600;
  color: #e8f1fb;
}

/* --- Список с галочками -------------------------------------------------- */
.tick {
  list-style: none;
  margin: 0;
  padding: 0;
}

.tick li {
  position: relative;
  padding-left: 32px;
  margin-bottom: 10px;
  max-width: var(--measure);
}

.tick li:last-child {
  margin-bottom: 0;
}

.tick li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0.18em;
  width: 21px;
  height: 21px;
  border-radius: 50%;
  background: var(--teal-soft);
  color: var(--teal);
  font: 700 0.78rem/21px var(--font);
  text-align: center;
}

/* --- Шаги ---------------------------------------------------------------- */
.steps {
  counter-reset: step;
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
}

.steps li {
  position: relative;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 20px 20px 68px;
  box-shadow: var(--shadow);
}

.steps li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 18px;
  top: 18px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--brand-soft);
  color: var(--brand);
  font: 700 1rem/34px var(--font);
  text-align: center;
}

.steps b {
  display: block;
  margin-bottom: 4px;
  font-size: 1.04rem;
}

.steps p {
  margin: 0;
  color: var(--ink-2);
  font-size: 0.98rem;
}

/* --- Иллюстрация к «Как это работает» ------------------------------------ */
.how-media {
  margin: 24px 0 0;
}

.how-media img {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.how-media figcaption {
  margin-top: 10px;
  font-size: 0.87rem;
  color: var(--ink-2);
}

/* --- Фичи ---------------------------------------------------------------- */
.feature {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow);
}

.feature .ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--brand-soft);
  color: var(--brand);
  margin-bottom: 14px;
}

.feature .ico svg {
  width: 23px;
  height: 23px;
}

.feature h3 {
  margin-bottom: 6px;
}

.feature p {
  margin: 0;
  color: var(--ink-2);
  font-size: 0.98rem;
}

/* --- «Почему удобно в MAX» ------------------------------------------------ */
/* Тот же компонент .feature, что в «Что внутри», но иконки — в бирюзовом
   акценте: блок не сливается с соседней секцией, где иконки синие. */
.why .ico {
  background: var(--teal-soft);
  color: var(--teal);
}

/* --- Демо / выделенный блок --------------------------------------------- */
.highlight {
  background: linear-gradient(180deg, #eef8f6 0%, #eef4fd 100%);
  border: 1px solid #d3e8e4;
  border-radius: var(--radius);
  padding: 24px 22px;
}

.highlight h2 {
  margin-bottom: 0.4em;
}

.highlight .tick {
  margin: 18px 0 22px;
}

/* --- Цена --------------------------------------------------------------- */
.price {
  background: var(--card);
  border: 1px solid var(--line);
  border-top: 4px solid var(--brand);
  border-radius: var(--radius);
  padding: 24px 22px;
  box-shadow: var(--shadow-lift);
}

.price__label {
  display: inline-block;
  background: var(--brand-soft);
  color: var(--brand);
  border-radius: 999px;
  padding: 5px 12px;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.price__value {
  font-size: clamp(2.2rem, 8vw, 2.7rem);
  font-weight: 800;
  line-height: 1.05;
  margin: 14px 0 6px;
  color: #0b2440;
  letter-spacing: -0.02em;
}

.price__value small {
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink-2);
  white-space: nowrap;
}

.price__list {
  list-style: none;
  margin: 16px 0 22px;
  padding: 0;
}

.price__list li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 9px;
  font-size: 0.98rem;
}

.price__list li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 0.62em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--teal);
}

.price-note {
  margin: 10px 0 0;
}

.free-steps {
  display: grid;
  gap: 14px;
}

.free-steps .card h3 {
  margin-bottom: 6px;
}

.free-steps .card p {
  margin: 0;
}

/* --- FAQ ---------------------------------------------------------------- */
.faq {
  display: grid;
  gap: 10px;
}

.faq details {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 4px 16px;
  box-shadow: var(--shadow);
}

.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 56px;
  padding: 8px 0;
  cursor: pointer;
  font-weight: 700;
  font-size: 1.02rem;
  line-height: 1.35;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--brand-soft);
  color: var(--brand);
  font-size: 1.1rem;
  line-height: 28px;
  text-align: center;
}

.faq details[open] summary::after {
  content: "–";
}

.faq details p {
  margin: 0 0 16px;
  color: var(--ink-2);
  font-size: 0.99rem;
}

/* --- Дисклеймер --------------------------------------------------------- */
.disclaimer {
  background: var(--warn-bg);
  border: 1px solid var(--warn-line);
  border-left: 4px solid #e0b74a;
  border-radius: var(--radius-sm);
  padding: 18px;
  color: var(--warn-ink);
}

.disclaimer p {
  font-size: 0.96rem;
}

.how-cta {
  margin-top: 18px;
}

.how-cta h3 {
  margin-bottom: 6px;
}

.how-cta .btn {
  margin-top: 16px;
}

/* --- Блок «Открыть в MAX» (QR) ----------------------------------------- */
.max-open {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 20px;
  box-shadow: var(--shadow);
  text-align: center;
  max-width: 460px;
  margin-inline: auto;
}

.max-open h2 {
  margin: 0 0 14px;
  font-size: clamp(1.2rem, 4.6vw, 1.5rem);
}

.max-open__qr {
  display: block;
  width: auto;
  max-width: 220px;   /* мобильная вёрстка: QR не шире 220px */
  height: auto;
  margin: 0 auto 14px;
  padding: 8px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}

.max-open__hint {
  margin: 0 0 10px;
  color: var(--ink-2);
}

.max-open__link {
  margin: 0;
}

.max-open__link a {
  overflow-wrap: anywhere;
  word-break: break-word;
}

.max-open--compact {
  margin-top: 20px;
  padding: 18px 14px;
  background: var(--bg-soft);
  box-shadow: none;
}

.max-open--compact .max-open__qr {
  margin-bottom: 10px;
}

.max-open--compact .max-open__hint {
  font-size: 0.94rem;
}

.max-open--compact .max-open__link a {
  font-size: 0.9rem;
}

/* --- Контент внутренних страниц ----------------------------------------- */
.doc {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 20px;
  box-shadow: var(--shadow);
  max-width: 74ch;
  margin-inline: auto;
}

.doc h2 {
  margin-top: 1.7em;
  font-size: 1.22rem;
}

.doc h2:first-of-type {
  margin-top: 0.4em;
}

.doc h3 {
  margin-top: 1.3em;
  font-size: 1.03rem;
}

.doc p,
.doc li {
  font-size: 1rem;
}

.doc ol,
.doc ul {
  padding-left: 1.25em;
}

.doc li {
  margin-bottom: 0.45em;
}

.doc li:last-child {
  margin-bottom: 0;
}

.doc > *:last-child {
  margin-bottom: 0;
}

.page-head {
  background: linear-gradient(150deg, #062a4d 0%, #0b4f9e 100%);
  color: #fff;
  padding: 26px 0 30px;
}

.page-head h1 {
  margin: 0;
  font-size: clamp(1.5rem, 5vw, 1.95rem);
}

.page-head p {
  margin: 10px 0 0;
  color: #d7e6f7;
  font-size: 1rem;
}

.breadcrumbs {
  font-size: 0.86rem;
  margin-bottom: 12px;
}

.breadcrumbs ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0;
  padding: 0;
}

.breadcrumbs li + li::before {
  content: "/";
  margin-right: 6px;
  color: #9dbde0;
}

.breadcrumbs a {
  color: #d3e4f7;
}

.req-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.req-list li {
  display: flex;
  flex-wrap: wrap;
  gap: 2px 10px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.req-list li:last-child {
  border-bottom: 0;
}

.req-list strong {
  flex: 0 0 168px;
  color: var(--ink-2);
  font-weight: 600;
}

/* --- Плейсхолдер -------------------------------------------------------- */
.ph {
  border-bottom: 1px dashed #9db3cc;
  overflow-wrap: anywhere;
}

/* --- Футер -------------------------------------------------------------- */
.site-footer {
  background: #08243f;
  color: #b7cbe1;
  padding: 34px 0 38px;
  margin-top: 0;
  font-size: 0.94rem;
}

.site-footer p {
  max-width: 46ch;
}

.site-footer a {
  color: #dbe8f7;
}

.footer-grid {
  display: grid;
  gap: 26px;
  grid-template-columns: 1fr;
}

.footer-grid h3 {
  color: #fff;
  font-size: 0.95rem;
  margin: 0 0 12px;
}

/* Знак в футере — рядом с названием, тот же файл, что в шапке */
.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.footer-brand h3 {
  margin: 0;
}

.footer-brand__mark {
  width: 24px;
  height: 24px;
  display: block;
  flex: 0 0 auto;
}

.footer-grid ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-grid li {
  margin-bottom: 4px;
}

.footer-grid a {
  display: inline-block;
  padding: 6px 0;
  min-height: 32px;
}

.footer-req {
  color: #9cb4cd;
  line-height: 1.75;
}

.footer-bottom {
  border-top: 1px solid #1b3a5a;
  margin-top: 26px;
  padding-top: 18px;
  color: #94acca;
  font-size: 0.87rem;
}

.footer-bottom p + p {
  margin-top: 8px;
}

/* --- Адаптив ------------------------------------------------------------ */
@media (min-width: 560px) {
  .grid--2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .grid--3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-facts {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .free-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .wrap {
    padding: 0 24px;
  }
}

@media (min-width: 900px) {
  body {
    font-size: 18px;
  }

  [id] {
    scroll-margin-top: 96px;
  }

  .section {
    padding: 84px 0;
  }

  .section--tight {
    padding: 40px 0;
  }

  .section-title {
    margin-bottom: 34px;
  }

  .site-nav {
    display: flex;
    gap: 24px;
    font-size: 0.96rem;
    font-weight: 600;
    margin-left: auto;
    margin-right: 6px;
  }

  .site-nav a {
    display: inline-flex;
    align-items: center;
    min-height: 48px;
    color: var(--ink);
  }

  .site-nav a:hover {
    color: var(--brand);
  }

  .nav-more {
    display: none;
  }

  .grid--3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .grid--4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .grid {
    gap: 18px;
  }

  .how {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 44px;
    align-items: start;
  }

  .how-media {
    margin: 0;
    position: sticky;
    top: 96px;
  }

  .split {
    display: grid;
    grid-template-columns: 1.02fr 0.98fr;
    gap: 30px;
    align-items: start;
  }

  .footer-grid {
    grid-template-columns: 1.2fr 1fr 1.3fr;
    gap: 34px;
  }

  .doc {
    padding: 30px 34px;
  }

  .page-head {
    padding: 38px 0 42px;
  }

  .hero {
    padding: 96px 0 104px;
  }

  .hero__scrim {
    background:
      linear-gradient(92deg, rgba(4, 18, 38, 0.9) 0%, rgba(4, 18, 38, 0.62) 46%, rgba(4, 18, 38, 0.26) 100%),
      linear-gradient(180deg, rgba(4, 18, 38, 0.3) 0%, rgba(4, 18, 38, 0.22) 100%);
  }
}

@media (min-width: 1200px) {
  .hero {
    padding: 112px 0 120px;
  }
}

/* --- Узкие телефоны (360px и меньше) ------------------------------------ */
@media (max-width: 460px) {
  .logo__mark {
    width: 28px;
    height: 28px;
  }

  .logo b {
    font-size: 0.98rem;
  }

  .nav-more summary {
    padding: 0 6px;
    font-size: 0.95rem;
  }

  .nav-more summary::after {
    content: none;
  }

  .nav-label {
    display: none;
  }

  .nav-burger {
    display: inline-block;
  }

  .header-cta {
    min-height: 44px;
    padding: 10px 12px;
    font-size: 0.88rem;
  }
}

@media (max-width: 380px) {
  .wrap {
    padding: 0 16px;
  }

  .logo small {
    display: none;
  }

  .logo b {
    font-size: 0.94rem;
  }

  .card,
  .feature,
  .steps li,
  .highlight,
  .price {
    padding-left: 18px;
    padding-right: 18px;
  }

  .steps li {
    padding-left: 60px;
  }

  .btn {
    padding: 13px 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  * {
    transition: none !important;
  }
}

/* --- Печать ------------------------------------------------------------- */
@media print {
  .site-header,
  .btn,
  .site-footer,
  .hero__media {
    display: none;
  }

  body {
    background: #fff;
    font-size: 12pt;
  }

  .hero {
    color: #000;
    background: #fff;
    padding: 0 0 16pt;
  }

  .hero__scrim {
    display: none;
  }

  .hero .lead,
  .doc,
  .card {
    color: #000;
  }

  .doc,
  .card {
    box-shadow: none;
    border-color: #999;
  }
}
