/* Nesil Sport — главная страница сайта клуба (nesil.fit).
   Дизайн-система взята со СВОЕГО же сайта Nazarly Digital (его DESIGN.md):
   спокойный минимализм, тёплый белый лист с тёмными «островами», одна
   гарнитура на всё, крупные заголовки средним весом, почти монохром.
   Единственный цвет — зелёный бренда зала: он есть в приложении, и человек
   должен узнать одно и то же место.

   ОТДЕЛЬНЫЙ файл от style.css намеренно: style.css одевает правовые и
   служебные страницы (privacy/terms/account-deletion/download/reception) —
   ссылки на них уходят в App Store и Google Play, и косметика главной не
   должна их задевать. Цена нарушения: отклонённая сборка из-за вёрстки сайта. */

/* Гарнитура собрана из двух семейств по назначению: латиница — Outfit (тот же
   шрифт, что на nazarly.digital), кириллица — Onest (у Outfit кириллицы нет
   вовсе, и русский текст свалился бы на системный Arial). Onest подобран как
   ближайший геометрический гротеск: те же круглые формы и открытые апертуры.
   Файлы лежат рядом, а не тянутся с Google Fonts: провайдер режет внешние
   хосты, и шрифт с чужого домена просто не доехал бы до клиента зала. */
@font-face {
  font-family: 'Nesil Sans';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url('/fonts/outfit-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+2000-206F, U+2192, U+2212, U+2215;
}
@font-face {
  font-family: 'Nesil Sans';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url('/fonts/outfit-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB;
}
@font-face {
  font-family: 'Nesil Sans';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url('/fonts/onest-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Nesil Sans';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url('/fonts/onest-cyrillic-ext.woff2') format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}

:root {
  --ink: #1e1e1e;
  --paper: #f5f5f5;
  --dark-gray: #3a3a3a;
  --light-gray: #efefef;
  --highlight: #9e9d9b;
  --ghost: rgba(255, 255, 255, 0.56);
  /* Зелёный бренда — ровно тот, что в приложении и на иконке. Решение владельца
     27.08.2026: цвет НЕ меняем, но показываем его чаще — подписи-лейблы, акцент
     в заголовке, иконки, галочки, главные кнопки и одна плитка. Тёмно-зелёный
     нужен отдельно: на светлом листе #8bc34a в мелком тексте не добирает
     контраста и читается серо-салатовым. */
  --accent: #8bc34a;
  --accent-ink: #5f8b30;
  --accent-soft: rgba(139, 195, 74, 0.14);
  --pad: 16px;
  --wrap: 1440px;
  --radius-card: 24px;
  --radius-island: 32px;
}

* {
  box-sizing: border-box;
}

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

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family:
    'Nesil Sans',
    Outfit,
    -apple-system,
    BlinkMacSystemFont,
    'Segoe UI',
    system-ui,
    sans-serif;
  font-size: 17px;
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
}

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

@media (min-width: 768px) {
  .wrap {
    padding: 0 48px;
  }
}

/* ─── Типографика ───
   Одна гарнитура, вес 500 на всех крупных заголовках, плотный интерлиньяж и
   отрицательный трекинг. Капс — только у мелких подписей-лейблов и в меню. */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-ink);
  margin: 0 0 20px;
}

.eyebrow::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  flex: none;
}

.h-sec {
  font-size: clamp(2.1rem, 4.6vw, 4rem);
  line-height: 1.05;
  font-weight: 500;
  letter-spacing: -0.03em;
  margin: 0;
}

.lead {
  color: var(--highlight);
  font-size: clamp(1rem, 1.2vw, 1.2rem);
  font-weight: 300;
  max-width: 52ch;
  margin: 20px 0 0;
}

/* Вертикальный ритм: секции дышат, но не расползаются — между тёмным островом
   и следующим заголовком набиралось под 200px пустоты. */
.sec {
  padding: clamp(48px, 5.5vw, 80px) 0;
}

/* Последняя секция перед подвалом свой нижний отступ не держит: у подвала он
   свой, и вместе они давали разрыв в пол-экрана. */
.sec:last-of-type {
  padding-bottom: 0;
}

.sec-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  margin-bottom: clamp(32px, 4vw, 64px);
}

/* Тёмный «остров» — главный приём системы: страница светлая, а ключевые блоки
   вывернуты в уголь. Иерархия строится инверсией, а не цветом. */
.island {
  background: var(--ink);
  color: var(--paper);
  border-radius: var(--radius-island);
  overflow: hidden;
}

.island .lead {
  color: var(--ghost);
}

.island .eyebrow {
  color: var(--accent);
}

/* ─── Кнопки ─── */
.btn-l {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 24px;
  border-radius: 14px;
  font-weight: 500;
  font-size: 1rem;
  text-decoration: none;
  border: 1.5px solid transparent;
  transition:
    background 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease;
  white-space: nowrap;
}

/* Основная кнопка на тёмном — светлая, на светлом — тёмная. Одна и та же
   пара по всему сайту, как в Button.tsx исходной системы. */
.btn-primary {
  background: var(--accent);
  color: #14200a;
}

.btn-primary:hover {
  background: #7cb33d;
}

.btn-dark {
  background: var(--ink);
  color: var(--paper);
}

.btn-dark:hover {
  background: #2e2e2e;
}

.btn-ghost {
  border-color: rgba(58, 58, 58, 0.25);
  color: var(--ink);
}

.btn-ghost:hover {
  background: rgba(58, 58, 58, 0.06);
}

.island .btn-ghost {
  border-color: rgba(245, 245, 245, 0.3);
  color: var(--paper);
}

.island .btn-ghost:hover {
  background: rgba(245, 245, 245, 0.1);
}

/* Ссылки на магазины под кнопкой APK: вторичные (контур), одна primary-кнопка на
   экран остаётся за «Скачать приложение». */
.store-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.store-link {
  display: inline-flex;
  flex-direction: column;
  padding: 9px 16px;
  border-radius: 12px;
  border: 1.5px solid rgba(245, 245, 245, 0.3);
  color: var(--paper);
  text-decoration: none;
  line-height: 1.15;
  transition: background 0.2s ease;
}

.store-link:hover {
  background: rgba(245, 245, 245, 0.1);
}

.store-kicker {
  font-size: 0.72rem;
  opacity: 0.7;
}

.store-note {
  margin-top: 14px;
  font-size: 0.86rem;
  opacity: 0.75;
  max-width: 44ch;
}

.arrow {
  width: 16px;
  height: 16px;
  flex: none;
}

/* ─── Шапка ─── */
.site-head {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(245, 245, 245, 0.86);
  backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid rgba(58, 58, 58, 0.12);
}

.head-bar {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 76px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  font-weight: 600;
  letter-spacing: -0.02em;
  font-size: 1.1rem;
  flex: none;
}

.brand img {
  width: 34px;
  height: 34px;
  border-radius: 10px;
}

.nav {
  display: flex;
  gap: 28px;
  margin-left: auto;
}

.nav a {
  text-decoration: none;
  color: var(--dark-gray);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 0;
  transition: color 0.15s ease;
}

.nav a:hover {
  color: var(--accent-ink);
}

.head-cta {
  padding: 11px 20px;
  font-size: 0.9rem;
}

.burger {
  display: none;
  margin-left: auto;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(58, 58, 58, 0.2);
  border-radius: 14px;
  background: transparent;
  color: var(--ink);
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.burger span,
.burger span::before,
.burger span::after {
  content: '';
  display: block;
  width: 18px;
  height: 1.8px;
  background: currentColor;
  border-radius: 2px;
  position: relative;
}

.burger span::before {
  position: absolute;
  top: -6px;
}

.burger span::after {
  position: absolute;
  top: 6px;
}

/* ─── Первый экран ─── */
.hero {
  padding: 20px 0 0;
}

.hero-island {
  padding: clamp(40px, 5vw, 72px);
}

/* Первый экран — один столбец: фотографии зала нет и не будет, а растянутый на
   две колонки текст с пустотой справа читался бы как недогруженная страница. */
.hero-grid {
  display: grid;
  gap: clamp(32px, 4vw, 64px);
}

/* ЭЛЕМЕНТ СЕТКИ ОБЯЗАН УМЕТЬ СЖИМАТЬСЯ (найдено на телефоне владельца 28.08.2026).
   У элемента grid `min-width` по умолчанию `auto`, то есть колонка не может стать
   уже самого длинного НЕРАЗРЫВНОГО куска текста. В заголовке стоял неразрывный
   пробел («меняются&nbsp;привычки»), на 390px он требовал 364px при колонке в 278 —
   и первый экран выезжал за край: заголовок обрезан, кнопки обрезаны, прокрутки нет
   (её съедает `overflow:hidden` острова). На широком экране всё это невидимо. */
.hero-grid > * {
  min-width: 0;
}

.hero h1 {
  /* Ширина под текущий заголовок: он должен ложиться в две строки с переносом
     по запятой. Меняете текст — проверьте перенос глазами, а не на глаз в коде. */
  max-width: 23ch;
  font-size: clamp(2.5rem, 6vw, 5.2rem);
  line-height: 1.04;
  font-weight: 500;
  letter-spacing: -0.035em;
  margin: 0;
  color: rgba(245, 245, 245, 0.92);
}

/* Акцент внутри заголовка — зелёный бренда: на nazarly.digital здесь стоит
   серый, но у зала есть свой цвет, и первый экран — то место, где его видно. */
.hero h1 em {
  font-style: normal;
  color: var(--accent);
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 36px;
}

.hero-note {
  margin: 24px 0 0;
  color: var(--ghost);
  font-size: 0.92rem;
  font-weight: 300;
}

/* ─── Лента фактов ─── */
.facts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(58, 58, 58, 0.16);
}

.fact {
  padding: 28px 28px 28px 0;
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.fact + .fact {
  border-left: 1px solid rgba(58, 58, 58, 0.16);
  padding-left: 28px;
}

.island .facts {
  /* Иначе верхняя линия ленты прилипает к строке про доступ и читается как её
     подчёркивание. */
  margin-top: clamp(24px, 3vw, 40px);
}

.island .facts,
.island .fact + .fact {
  border-color: rgba(245, 245, 245, 0.14);
}

.island .fact svg {
  color: var(--accent);
}

.island .fact span {
  color: var(--ghost);
}

.fact svg {
  width: 22px;
  height: 22px;
  color: var(--accent-ink);
  flex: none;
  margin-top: 3px;
}

.fact b {
  display: block;
  font-size: 1.02rem;
  font-weight: 500;
  letter-spacing: -0.01em;
}

.fact span {
  color: var(--highlight);
  font-size: 0.9rem;
  font-weight: 300;
  line-height: 1.45;
}

/* ─── Направления ─── */
.cards-6 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.dcard {
  background: #fff;
  border: 1px solid rgba(58, 58, 58, 0.14);
  border-radius: var(--radius-card);
  padding: 30px 28px 32px;
  transition:
    border-color 0.2s ease,
    background 0.2s ease;
}

.dcard:hover {
  border-color: rgba(58, 58, 58, 0.32);
}

/* Одна плитка вывернута в уголь — тот же приём инверсии, что и у островов.
   Ярким цветом её выделять нельзя: цвет в этой системе несёт только бренд. */
.dcard.accent {
  background: var(--accent);
  border-color: var(--accent);
  color: #14200a;
}

.dcard.accent p {
  color: rgba(20, 32, 10, 0.72);
}

.dcard-ico {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: var(--accent-soft);
  color: var(--accent-ink);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
}

.dcard.accent .dcard-ico {
  background: rgba(20, 32, 10, 0.16);
  color: #14200a;
}

.dcard-ico svg {
  width: 22px;
  height: 22px;
}

.dcard h3 {
  margin: 0 0 8px;
  font-size: 1.24rem;
  font-weight: 500;
  letter-spacing: -0.02em;
}

.dcard p {
  margin: 0;
  color: var(--highlight);
  font-size: 0.96rem;
  font-weight: 300;
}

/* ─── Приложение ─── */
.app-island {
  padding: clamp(40px, 5vw, 72px);
}

.app-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(36px, 4vw, 64px);
  align-items: center;
}

.app-list {
  list-style: none;
  padding: 0;
  margin: 32px 0 36px;
  display: grid;
}

.app-list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 18px 0;
  border-top: 1px solid rgba(245, 245, 245, 0.14);
}

.app-list li:last-child {
  border-bottom: 1px solid rgba(245, 245, 245, 0.14);
}

.app-list svg {
  width: 20px;
  height: 20px;
  color: var(--accent);
  flex: none;
  margin-top: 3px;
}

.app-list b {
  display: block;
  font-weight: 500;
  letter-spacing: -0.01em;
}

.app-list span {
  color: var(--ghost);
  font-size: 0.92rem;
  font-weight: 300;
}

.phones {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  align-items: end;
}

/* Рамка телефона задаёт высоту, а не сам снимок: object-fit обрезал бы экран
   по бокам и съел края интерфейса. Низ уходит под обрез с затуханием. */
.phone {
  position: relative;
  border-radius: 26px;
  border: 1px solid rgba(245, 245, 245, 0.18);
  background: #000;
  padding: 6px 6px 0;
  overflow: hidden;
  height: clamp(300px, 26vw, 400px);
}

.phone::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 90px;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0), #000 88%);
  pointer-events: none;
}

.phone img {
  border-radius: 21px 21px 0 0;
  width: 100%;
  height: auto;
  /* Сдвиг вверх съедает полосу статус-бара чужого телефона на снимке. */
  margin-top: -2.4%;
}

.phone.mid {
  transform: translateY(-24px);
}

.phone-caps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 18px;
  text-align: center;
  color: var(--highlight);
  font-size: 0.84rem;
  font-weight: 300;
}

.phone-caps span:nth-child(2) {
  margin-top: -24px;
}

/* ─── Как начать ───
   Единая плита, а не три отдельные карточки: скруглены только внешние углы
   всей сетки — приём HowItWorks с nazarly.digital. */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid rgba(58, 58, 58, 0.16);
  border-radius: var(--radius-island);
  overflow: hidden;
  background: #fff;
}

.step {
  padding: clamp(28px, 3vw, 40px);
}

.step + .step {
  border-left: 1px solid rgba(58, 58, 58, 0.16);
}

.step-n {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  color: var(--accent-ink);
  margin-bottom: 18px;
}

.step h3 {
  margin: 0 0 10px;
  font-size: 1.3rem;
  font-weight: 500;
  letter-spacing: -0.02em;
}

.step p {
  margin: 0;
  color: var(--highlight);
  font-size: 0.96rem;
  font-weight: 300;
}

/* ─── Абонементы ─── */
.plans {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.plan {
  background: #fff;
  border: 1px solid rgba(58, 58, 58, 0.14);
  border-radius: var(--radius-card);
  padding: 28px 26px 30px;
  display: flex;
  flex-direction: column;
}

.plan h3 {
  margin: 0 0 6px;
  font-size: 1.2rem;
  font-weight: 500;
  letter-spacing: -0.02em;
}

.plan .plan-sub {
  color: var(--highlight);
  font-size: 0.9rem;
  font-weight: 300;
  margin: 0 0 20px;
}

.plan ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
  font-size: 0.94rem;
  font-weight: 300;
  color: var(--dark-gray);
}

.plan li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.plan li svg {
  width: 16px;
  height: 16px;
  color: var(--accent);
  flex: none;
  margin-top: 5px;
}

.plan-note {
  margin: 28px 0 0;
  color: var(--highlight);
  font-size: 0.96rem;
  font-weight: 300;
}

/* ─── Вопросы ───
   Строки на общем листе с подсветкой при наведении, без «карточек в карточке». */
.faq {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 48px;
}

.faq details {
  border-top: 1px solid rgba(58, 58, 58, 0.16);
}

.faq details:last-child {
  border-bottom: 1px solid rgba(58, 58, 58, 0.16);
}

.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 22px 8px;
  font-weight: 500;
  font-size: 1.06rem;
  letter-spacing: -0.01em;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  transition: background 0.15s ease;
}

.faq summary:hover {
  background: rgba(58, 58, 58, 0.05);
}

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

.faq summary::after {
  content: '+';
  color: var(--accent-ink);
  font-size: 1.5rem;
  font-weight: 300;
  line-height: 1;
  flex: none;
}

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

.faq p {
  margin: 0 8px 24px;
  color: var(--highlight);
  font-size: 0.98rem;
  font-weight: 300;
  max-width: 60ch;
}

/* ─── Призыв прийти ─── */
.cta-island {
  padding: clamp(40px, 5vw, 72px);
}

.cta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 4vw, 64px);
  align-items: center;
}

.contacts {
  display: grid;
}

.contact-row {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 18px 0;
  border-top: 1px solid rgba(245, 245, 245, 0.14);
}

.contact-row:last-child {
  border-bottom: 1px solid rgba(245, 245, 245, 0.14);
}

.contact-row svg {
  width: 20px;
  height: 20px;
  flex: none;
  margin-top: 4px;
  color: var(--highlight);
}

.contact-row b {
  display: block;
  font-size: 0.76rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--highlight);
  font-weight: 500;
}

.contact-row span {
  font-size: 1.06rem;
  font-weight: 400;
}

/* Телефон ссылкой: с телефона это звонок в одно касание, а мышью — обычный текст.
   Подчёркивание только по наведению — постоянное превращает контакт в «ссылку
   куда-то», и по нему перестают звонить, ожидая перехода на страницу. */
.contact-link {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.18s ease;
}
.contact-link:hover {
  border-bottom-color: currentColor;
}

/* Незаполненные данные зала (адрес, телефон, часы) помечены явно, чтобы их
   нельзя было выкатить незамеченными: заглушка, похожая на настоящий адрес,
   уехала бы на прод молча, и люди поехали бы не туда. */
.tbd {
  display: inline-block;
  border: 1px dashed currentColor;
  border-radius: 8px;
  padding: 1px 10px;
  color: var(--highlight);
  font-weight: 300;
  font-size: 0.94rem;
}

/* ─── Подвал ─── */
.site-foot {
  background: var(--ink);
  color: var(--paper);
  border-radius: var(--radius-island) var(--radius-island) 0 0;
  margin-top: clamp(48px, 5.5vw, 80px);
  padding: clamp(48px, 6vw, 80px) 0 0;
  overflow: hidden;
}

.foot-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 32px;
}

.foot-about p {
  color: var(--ghost);
  font-size: 0.95rem;
  font-weight: 300;
  margin: 20px 0 0;
  max-width: 34ch;
}

.site-foot .brand {
  color: var(--paper);
}

.foot-col h4 {
  margin: 0 0 18px;
  font-size: 0.76rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--highlight);
  font-weight: 500;
}

.foot-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.foot-col a {
  color: rgba(245, 245, 245, 0.86);
  text-decoration: none;
  font-size: 0.96rem;
  font-weight: 300;
}

.foot-col a:hover {
  color: var(--accent);
}

.foot-bottom {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid rgba(245, 245, 245, 0.14);
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  color: var(--highlight);
  font-size: 0.88rem;
  font-weight: 300;
}

.foot-bottom a {
  color: var(--highlight);
  text-decoration: none;
  margin-left: 20px;
}

.foot-bottom a:hover {
  color: var(--paper);
}

/* Крупная подпись во всю ширину подвала — приём с nazarly.digital: имя дома
   работает как знак, а не как текст, поэтому и набрано почти фоном. */
.watermark {
  margin: clamp(24px, 4vw, 56px) 0 -1.5vw;
  font-size: 15vw;
  line-height: 0.8;
  font-weight: 600;
  letter-spacing: -0.04em;
  color: rgba(58, 58, 58, 0.55);
  text-align: center;
  user-select: none;
  white-space: nowrap;
}

/* ─── Появление при прокрутке ─── */
.rise {
  opacity: 0;
  transform: translateY(16px);
  transition:
    opacity 0.5s ease,
    transform 0.5s ease;
}

.rise.seen {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .rise {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ─── Планшет ─── */
@media (max-width: 980px) {
  .app-grid,
  .cta-grid {
    grid-template-columns: 1fr;
  }

  .cards-6,
  .plans {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .fact:nth-child(odd) {
    padding-left: 0;
    border-left: 0;
  }

  .fact:nth-child(n + 3) {
    border-top: 1px solid rgba(58, 58, 58, 0.16);
  }

  .steps {
    grid-template-columns: 1fr;
  }

  .step + .step {
    border-left: 0;
    border-top: 1px solid rgba(58, 58, 58, 0.16);
  }

  .foot-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* ─── Телефон ─── */
@media (max-width: 720px) {
  .nav,
  .head-cta {
    display: none;
  }

  .burger {
    display: flex;
  }

  /* Меню раскрывается прямо в шапке, в общем потоке: отдельный экран-оверлей
     ради четырёх ссылок — лишний слой, из которого ещё надо выйти. */
  .site-head.open .head-bar {
    flex-wrap: wrap;
    height: auto;
    padding-bottom: 20px;
  }

  .site-head.open .nav {
    display: grid;
    order: 3;
    width: 100%;
    margin: 4px 0 0;
    gap: 0;
  }

  .site-head.open .nav a {
    padding: 14px 0;
    font-size: 0.86rem;
    border-top: 1px solid rgba(58, 58, 58, 0.14);
  }

  .site-head.open .head-cta {
    display: inline-flex;
    order: 4;
    width: 100%;
    margin-top: 14px;
  }

  .cards-6,
  .plans,
  .faq {
    grid-template-columns: 1fr;
  }

  .facts {
    grid-template-columns: 1fr;
  }

  .fact {
    padding: 22px 0;
    border-left: 0 !important;
    padding-left: 0 !important;
  }

  .fact + .fact {
    border-top: 1px solid rgba(58, 58, 58, 0.16);
  }

  /* Третий снимок уходит: на 360px три телефона превращаются в марки. */
  .phones,
  .phone-caps {
    grid-template-columns: repeat(2, 1fr);
  }

  .phones > :nth-child(3),
  .phone-caps > :nth-child(3) {
    display: none;
  }

  .phone.mid,
  .phone-caps span:nth-child(2) {
    transform: none;
    margin-top: 0;
  }

  .hero-actions .btn-l {
    flex: 1 1 100%;
  }

  /* Первый экран на телефоне (28.08.2026). Поля в 40px съедали пятую часть узкого
     экрана, а заголовок в 2.5rem не влезал неразрывным куском. `break-word` — не
     красота, а страховка: на 320px он даст некрасивый перенос вместо обрезанного
     слова, и это ровно тот случай, когда некрасиво лучше, чем не видно. */
  .hero-island {
    padding: 30px 20px 26px;
  }

  .hero h1 {
    max-width: none;
    font-size: clamp(1.85rem, 8vw, 2.5rem);
    overflow-wrap: break-word;
  }

  .hero .lead {
    max-width: none;
  }

  .foot-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .watermark {
    font-size: 17vw;
  }
}
