
/* ───────────────────────────────────────────────────────────────
   Палитра снята пипеткой с экранов самого приложения: индиго-тёмный
   #19192E — его фон, #232338 — карточки, #FDD010 — сокол. Поэтому
   сайт и продукт выглядят одним целым, а не «сайтом про продукт».
   Тема одна, тёмная: приложение светлой не имеет, и витрина
   сознательно живёт в его мире.
   ─────────────────────────────────────────────────────────────── */
:root {
  --ink:      #0D0D18;   /* самый глубокий фон — страница */
  --ground:   #19192E;   /* фон приложения — секции */
  --card:     #232338;   /* карточки */
  --raise:    #353547;   /* волосяные линии, границы */
  --text:     #EFEFF7;   /* белый с уводом в индиго, не чистый */
  --muted:    #9A9AB6;   /* вторичный — тот же увод */
  --accent:   #FDD010;   /* жёлтый сокола */
  --online:   #4ADE80;   /* «в сети» — семантика, не акцент */

  --shell: 1060px;
  --step:  clamp(60px, 7vw, 92px);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }

/* ⚠️ Только padding-INLINE. Раньше здесь стоял шорткат `padding: 0 24px`,
   и он обнулял вертикальные отступы у секций, которые сами несут класс
   .shell («Почему им пользуются», «Вопросы», финальный призыв) — они
   слипались с соседями. Логические свойства ниже разводят оси, чтобы
   .shell и section больше не спорили за один и тот же padding. */
.shell { width: 100%; max-width: var(--shell); margin: 0 auto; padding-inline: 24px; }

/* ── шапка ─────────────────────────────────────────────────── */
.top {
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; padding: 22px 0;
}
.brand { display: flex; align-items: center; gap: 11px; text-decoration: none; }
.brand img { width: 34px; height: 34px; border-radius: 9px; }
.brand b { font-size: 17px; font-weight: 700; letter-spacing: -0.01em; }

.btn {
  display: inline-block; text-decoration: none; text-align: center;
  background: var(--accent); color: #17130A;
  font-weight: 700; letter-spacing: -0.01em;
  border-radius: 12px; padding: 13px 22px;
  transition: transform .15s ease, filter .15s ease;
}
.btn:hover { filter: brightness(1.07); }
.btn:active { transform: translateY(1px); }
.btn--lg { font-size: 18px; padding: 19px 34px; border-radius: 14px; }
.btn--sm { font-size: 15px; padding: 10px 18px; border-radius: 10px; }
:where(a, button):focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 12px; }

/* ── герой ─────────────────────────────────────────────────── */
.hero { padding-block: clamp(30px, 5vw, 56px) clamp(34px, 4.5vw, 52px); }
.hero__grid {
  display: grid; gap: clamp(40px, 6vw, 72px);
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  align-items: center;
}
.eyebrow {
  font-size: 12px; font-weight: 600; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--muted); margin: 0 0 20px;
}
h1 {
  margin: 0;
  font-size: clamp(38px, 6.2vw, 62px);
  line-height: 1.03;
  letter-spacing: -0.035em;
  font-weight: 800;
  text-wrap: balance;
}
h1 em { font-style: normal; color: var(--accent); }
.lede {
  margin: 22px 0 0; max-width: 30em;
  font-size: clamp(17px, 2vw, 19px); color: var(--muted);
}
.cta { margin-top: 34px; display: flex; flex-wrap: wrap; align-items: center; gap: 16px 20px; }
.cta__note { font-size: 14px; color: var(--muted); margin: 0; }

/* Доска локаций — самое узнаваемое, что есть в продукте: реальный
   список стран с задержками, как в приложении. Числа настоящие. */
.board {
  background: var(--ground);
  border: 1px solid var(--raise);
  border-radius: 20px;
  padding: 10px 8px;
  box-shadow: 0 30px 70px -40px #000;
}
.board__head {
  display: flex; align-items: center; gap: 9px;
  padding: 12px 14px 14px;
  font-size: 12px; font-weight: 600; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--muted);
}
.fl { width: 21px; height: 15px; border-radius: 3px; flex: none;
      box-shadow: 0 0 0 1px #ffffff1a; }
.bolt { width: 17px; height: 17px; flex: none; color: var(--accent); }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--online); flex: none; }
.board ul { list-style: none; margin: 0; padding: 0; }
.board li {
  display: flex; align-items: center; gap: 12px;
  padding: 11px 14px; border-radius: 12px;
  font-size: 15px;
}
.board li + li { box-shadow: 0 -1px 0 #ffffff0a; }
.board li span:not(.ms) { flex: 1; }
.board .ms {
  color: var(--muted); font-size: 14px;
  font-variant-numeric: tabular-nums;
}
.board li.is-auto {
  background: var(--card);
  border: 1px solid #FDD01033;
  margin-bottom: 4px;
}
.board li.is-auto span:not(.ms) { font-weight: 600; }
.board li.is-auto .ms { color: var(--accent); }

/* ── секции ────────────────────────────────────────────────── */
section { padding-block: var(--step); }
.band { background: var(--ground); }
h2 {
  margin: 0 0 18px;
  font-size: clamp(27px, 3.6vw, 36px);
  line-height: 1.15; letter-spacing: -0.028em; font-weight: 800;
  text-wrap: balance;
}
.sub { margin: 0 0 clamp(36px, 5vw, 52px); color: var(--muted); max-width: 34em; }

/* ── платформы ──────────────────────────────────────────────
   ЧТОБЫ ВКЛЮЧИТЬ ПЛАТФОРМУ: убрать у её <li> класс is-soon.
   Логотип сам станет цветным, плашка «Скоро» исчезнет. Больше
   ничего править не нужно — все логотипы уже лежат в цвете,
   серыми их делает только фильтр ниже. */
.platforms { padding-block: 0 var(--step); }
.plats { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap;
         gap: 12px; justify-content: center; }
.plat {
  display: flex; align-items: center; gap: 10px;
  background: var(--card); border: 1px solid var(--raise);
  border-radius: 14px; padding: 12px 18px;
  font-size: 15px; font-weight: 600; letter-spacing: -0.01em;
}
a.plat { text-decoration: none; transition: border-color .15s ease, background .15s ease; }
a.plat:hover { border-color: #FDD01066; background: #2A2A42; }
.plat svg { width: 21px; height: 21px; flex: none; }
.plat.is-soon { color: var(--muted); }
.plat.is-soon svg { filter: grayscale(1); opacity: 0.45; }
.plat .soon {
  font-size: 11px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--muted); background: #ffffff10; border-radius: 999px; padding: 3px 9px;
}

/* Экраны приложения. Статус-бары срезаны на этапе подготовки картинок:
   на исходниках было разное время (23:09 / 23:10) и полоса скролла — трио
   рассыпалось на три случайных снимка вместо набора. Низ гасим градиентом,
   чтобы обрезка «на полуслове» читалась как приём, а не как брак. */
.shots { display: grid; gap: 30px; grid-template-columns: repeat(3, 1fr); }
.shot { margin: 0; }
.shot__frame {
  position: relative; overflow: hidden;
  border-radius: 22px; border: 1px solid var(--raise);
  background: var(--ground); line-height: 0;
}
.shot__frame::after {
  content: ""; position: absolute; inset: auto 0 0 0; height: 20%;
  background: linear-gradient(to bottom, #19192E00, var(--ground));
  pointer-events: none;
}
/* height: auto — обязательно. Атрибут height у <img> работает как
   height в пикселях; без сброса ширина ужимается до колонки, а высота
   остаётся исходной — картинку растягивает по вертикали (круг вокруг
   сокола становился овалом). */
.shot img { width: 100%; height: auto; }
.shot figcaption { margin: 18px 2px 0; font-size: 15px; line-height: 1.55; color: var(--muted); }

/* что даёт */
.facts { display: grid; gap: 26px; grid-template-columns: repeat(2, 1fr); }
.fact {
  background: var(--card); border: 1px solid var(--raise);
  border-radius: 18px; padding: 26px 26px 28px;
}
.fact h3 { margin: 0 0 9px; font-size: 18px; letter-spacing: -0.015em; font-weight: 700; }
.fact p { margin: 0; color: var(--muted); font-size: 16px; }

/* тарифы */
.plans { display: grid; gap: 26px; grid-template-columns: repeat(2, 1fr); align-items: start; }
.plan {
  background: var(--card); border: 1px solid var(--raise);
  border-radius: 20px; padding: 30px 28px 32px;
}
.plan--main { border-color: #FDD01055; }
.plan__name { font-size: 16px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text); margin: 0 0 16px; }
.plan__price { font-size: 40px; font-weight: 800; letter-spacing: -0.035em; line-height: 1; font-variant-numeric: tabular-nums; }
.plan__price span { font-size: 17px; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.plan ul { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 11px; }
.plan li { position: relative; padding-left: 26px; color: var(--muted); font-size: 16px; }
.plan li::before {
  content: ""; position: absolute; left: 4px; top: 9px;
  width: 7px; height: 7px; border-radius: 50%; background: var(--accent);
}
.plan--alt li::before { background: var(--raise); }
.longer { margin: 30px 0 0; font-size: 15px; color: var(--muted); }
.longer b { color: var(--text); font-weight: 600; font-variant-numeric: tabular-nums; }

/* вопросы */
.faq-sec h2 { text-align: center; }
.faq { max-width: 44em; margin-inline: auto; display: grid; gap: 2px; }
.faq details {
  background: var(--card); border: 1px solid var(--raise);
  border-radius: 14px; padding: 4px 22px;
}
.faq summary {
  cursor: pointer; list-style: none; padding: 18px 0;
  font-weight: 600; font-size: 17px; letter-spacing: -0.012em;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; color: var(--muted); font-size: 22px; font-weight: 400;
  line-height: 1; flex: none;
}
.faq details[open] summary::after { content: "–"; }
.faq p { margin: 0 0 20px; color: var(--muted); }

/* финальный призыв */
.end { text-align: center; }
.end h2 { margin-bottom: 14px; }
.end .sub { margin-left: auto; margin-right: auto; }

/* подвал */
footer { border-top: 1px solid var(--raise); padding: 34px 0 46px; }
.foot { display: flex; flex-wrap: wrap; gap: 14px 28px; align-items: center; justify-content: space-between; }
.foot nav { display: flex; flex-wrap: wrap; gap: 12px 24px; }
.foot a { color: var(--muted); text-decoration: none; font-size: 15px; }
.foot a:hover { color: var(--text); }
.foot small { color: var(--muted); font-size: 14px; }

/* ── адаптив ───────────────────────────────────────────────── */
@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; }
  .facts, .plans { grid-template-columns: 1fr; }
  .shots { grid-template-columns: 1fr; max-width: 380px; margin-inline: auto; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .top .btn { display: none; }
  .cta { gap: 14px; }
  .cta .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
}


.l-modal{
  border:none; border-radius:18px; padding:28px 26px 24px; width:min(420px,calc(100vw - 32px));
  background:var(--card); color:var(--text); position:relative;
  box-shadow:0 24px 60px rgba(0,0,0,.55);
}
.l-modal::backdrop{ background:rgba(6,6,14,.72); }
.l-modal h3{ margin:0 0 10px; font-size:22px; line-height:1.25; }
.l-modal-sub{ margin:0 0 18px; color:var(--muted); font-size:15px; line-height:1.5; }
.l-modal-note{ margin:14px 0 0; color:var(--muted); font-size:13px; line-height:1.5; }
.l-modal-note a{ color:var(--muted); }
.l-modal input[type=email]{
  width:100%; box-sizing:border-box; background:var(--ground); color:var(--text);
  border:1px solid var(--raise); border-radius:12px; padding:14px 16px;
  font:400 16px/1.2 inherit; outline:none;
}
.l-modal input[type=email]:focus{ border-color:var(--accent); }
.l-modal-send{ width:100%; margin-top:12px; border:none; cursor:pointer; font-size:16px; }
.l-modal-x{
  position:absolute; top:10px; right:12px; background:none; border:none; color:var(--muted);
  font-size:28px; line-height:1; cursor:pointer; padding:4px 8px;
}
.l-modal-x:hover{ color:var(--text); }
.l-modal-err{ margin:10px 0 0; color:#FF6B6B; font-size:14px; line-height:1.45; }
.l-modal-fix{
  margin-top:9px; background:var(--accent); color:#17130A; border:none; border-radius:9px;
  padding:9px 14px; font:700 14px/1 inherit; cursor:pointer;
}
.l-modal-fix:hover{ filter:brightness(.95); }
.l-modal-tick{
  width:48px; height:48px; border-radius:50%; background:rgba(74,222,128,.14); color:var(--online);
  display:flex; align-items:center; justify-content:center; font-size:26px; margin:0 0 14px;
}
