/*
  Страницы о приложении: лэндинг (/about/), политика (/privacy/),
  условия (/terms/), удаление аккаунта (/delete-account/).

  Нужны Google Play: магазин требует сайт, адрес политики и адрес, где
  человек без приложения может удалить аккаунт. Сайт пассажира (/) —
  само приложение в браузере, рассказывать о себе ему некогда, поэтому
  рассказ отдельно и статикой: без модулей, без API, без карты.

  Вид — сайта (app.css): те же токены, тот же Inter, зелёный только на
  действии и на шапке. И то же правило лёгкости: ни размытия, ни анимаций
  появления, ни CDN — человек открывает это по ссылке из магазина
  на мобильном интернете.

  Иллюстрация телефона — разметка, а не картинка: 3 КБ вместо снимка
  на 200, резкая на любом экране и сама становится тёмной ночью.
  Цвета мест на схеме — те же, что в приложении: синий мужчина,
  розовая женщина, серое «места нет». Пол — заливка, никогда не рамка.
*/
@font-face {
  font-family: "Inter UGUR"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("/vendor/inter/inter-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;
}
@font-face {
  font-family: "Inter UGUR"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("/vendor/inter/inter-tk.woff2") format("woff2");
  unicode-range: U+0147-0148, U+015E-015F, U+017D-017E;
}
@font-face {
  font-family: "Inter UGUR"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("/vendor/inter/inter-cyrillic.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

:root {
  --brand: #4CAF50;
  --primary: #3A863D;       /* зелёный текст на белом — 4.5:1 */
  --bg: #F2F2F7;
  --surface: #FFFFFF;
  --text: #000000;
  --hint: #6C6C70;
  --line: #E3E3E8;
  --field: #EEEEF0;
  --tonal: rgba(76, 175, 80, .14);
  --price: #DB5F00;
  --seat-male: #3390EC;
  --seat-female: #E0619A;
  --seat-blocked: #B0B4BA;
  --dark-band: #10170F;
  --font: -apple-system, BlinkMacSystemFont, "Inter UGUR", Roboto, system-ui, "Segoe UI", Arial, sans-serif;
  --col: 1080px;
  --r: 20px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --primary: #4CAF50;
    --bg: #000000;
    --surface: #1C1C1E;
    --text: #FFFFFF;
    --hint: #98989F;
    --line: #38383A;
    --field: #2C2C2E;
    --tonal: rgba(76, 175, 80, .18);
    --price: #FF8A3D;
    --dark-band: #0C110B;
    color-scheme: dark;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 17px/1.55 var(--font); -webkit-font-smoothing: antialiased;
}
a { color: var(--primary); }
a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 3px solid rgba(76, 175, 80, .55); outline-offset: 2px; border-radius: 8px;
}
h1, h2, h3 { line-height: 1.15; letter-spacing: -.02em; margin: 0; text-wrap: balance; }
p { margin: 0; }
.wrap { max-width: var(--col); margin: 0 auto; padding: 0 20px; }

/* Язык: оба текста в разметке, виден один (info.js). Без скрипта — оба,
   туркменский первым: ничего не теряется. */
html[data-lang="tk"] body [lang="ru"],
html[data-lang="ru"] body [lang="tk"] { display: none !important; }

/* ── Шапка ─────────────────────────────────────────── */
.top {
  position: sticky; top: 0; z-index: 10;
  background: var(--brand); color: #fff;
}
.top .wrap { display: flex; align-items: center; gap: 12px; height: 60px; }
.logo { display: inline-flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font-weight: 800; font-size: 22px; letter-spacing: -.02em; }
.logo svg { width: 112px; height: 30px; display: block; } /* надпись UGUR, 28.11 */
.top nav { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.top nav a.link { color: #fff; text-decoration: none; font-weight: 600; font-size: 15px; padding: 8px 12px; border-radius: 10px; }
.top nav a.link:hover { background: rgba(255,255,255,.16); }
.lang { display: inline-flex; background: rgba(0,0,0,.14); border-radius: 10px; padding: 3px; margin-left: 6px; }
.lang button, .lang a {
  border: 0; background: none; color: #fff; font: 700 13px var(--font);
  min-width: 40px; height: 32px; border-radius: 8px; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center; text-decoration: none;
}
.lang button[aria-pressed="true"], .lang a[aria-pressed="true"] { background: #fff; color: #2E6B31; }
@media (max-width: 720px) { .top nav a.link { display: none; } }

/* ── Кнопки ───────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 56px; padding: 0 24px; border-radius: 14px;
  font: 700 17px var(--font); text-decoration: none; cursor: pointer; border: 0;
  transition: transform .12s, filter .12s;
}
.btn:active { transform: scale(.98); }
.btn-play { background: #000; color: #fff; }
.btn-play svg { width: 26px; height: 26px; }
.btn-play small { display: block; font-size: 11px; font-weight: 600; opacity: .8; line-height: 1; text-transform: uppercase; letter-spacing: .04em; }
.btn-play b { display: block; font-size: 19px; line-height: 1.15; }
.btn-play span { text-align: left; }
.btn-light { background: #fff; color: #2E6B31; }
.btn-green { background: var(--brand); color: #fff; }
.btn:hover { filter: brightness(1.06); }
.btns { display: flex; flex-wrap: wrap; gap: 12px; }

/* ── Герой ────────────────────────────────────────── */
.hero {
  padding: 0;
  background: url("/img/hero.webp") center bottom / cover no-repeat, var(--brand);
  color: #fff; position: relative; overflow: hidden;
}
/* Затемнение сверху: белый текст на светлом небе картинки иначе 2:1. */
.hero::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(36, 92, 39, .82) 0%, rgba(46, 107, 49, .55) 55%, rgba(46, 107, 49, .25) 100%);
}
.hero .wrap { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; padding-top: 32px; padding-bottom: 40px; }
.hero h1 { font-size: clamp(36px, 6vw, 60px); font-weight: 850; }
.hero .lead { font-size: clamp(18px, 2.2vw, 21px); margin: 18px 0 30px; max-width: 34ch; color: rgba(255,255,255,.95); }
.hero .note { margin-top: 18px; font-size: 14px; color: rgba(255,255,255,.88); }
.hero .note a { color: #fff; font-weight: 600; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.chip { font-size: 14px; font-weight: 600; background: rgba(0,0,0,.18); border-radius: 999px; padding: 6px 12px; }
@media (max-width: 860px) {
  .hero .wrap { grid-template-columns: 1fr; padding-top: 24px; padding-bottom: 32px; gap: 28px; }
}

/* ── Телефон: путь пассажира анимацией ───────────────
   Кадры перерисованы с настоящих экранов приложения (снимки
   map_home_snapshot_test): карта, лист снизу, серые поля, зелёная
   главная кнопка, радар. Строки — из приложения слово в слово.

   Лёгкость: двигаются только transform и opacity, без размытия;
   сцены переключает about/demo.js, и он же ставит всё на паузу, пока
   телефон не на экране или вкладка свёрнута. «Уменьшить движение» —
   один неподвижный кадр с предложением, шаги переключаются нажатием.
   Экран телефона светлый и в тёмной теме: это картинка приложения. */
.card { background: var(--surface); border-radius: 16px; padding: 12px 14px; }
.route { display: flex; align-items: center; gap: 8px; font-weight: 700; }
.route i { flex: 1; height: 2px; background: repeating-linear-gradient(90deg, var(--hint) 0 5px, transparent 5px 9px); opacity: .5; }
.muted { color: var(--hint); font-size: 13px; }

.demo { justify-self: center; display: grid; justify-items: center; gap: 14px; }
.phone {
  zoom: var(--z, 1); width: 306px; background: #0E0E0F; border-radius: 50px; padding: 8px;
  box-shadow: 0 0 0 1.5px #3A3A3C inset, 0 40px 80px -20px rgba(0,0,0,.45), 0 12px 30px rgba(0,0,0,.18);
}
.scr {
  --g: #4CAF50; --gt: #3A863D; --fld: #F0F0F2; --tx: #000; --hn: #6C6C70; --or: #E65C00;
  position: relative; width: 290px; height: 606px; border-radius: 42px; overflow: hidden;
  background: #EEF1E8; color: var(--tx); font-size: 13px; line-height: 1.3;
  -webkit-user-select: none; user-select: none;
}
.scr svg { display: block; }
/* Карта страны: границы, Каспий, трассы (символ #tmmap, собран из
   js/outline.js). На первом кадре карта отъехала вверх и мельче — между
   карточкой маршрута и листом виден Ашхабад; дальше она приближается. */
.world { position: absolute; inset: 0; transform-origin: 97px 225px; transition: transform 1.1s cubic-bezier(.3, .7, .2, 1); }
.scr[data-s="1"]:not(.pick) .world { transform: translateY(-62px) scale(.8); }
.scr.pick .world { transform: translateY(36px); }
.mapsvg { position: absolute; left: -60px; top: -80px; width: 410px; height: 760px; }
.city { position: absolute; display: flex; align-items: center; gap: 5px; transform: translate(-5px, -50%); font-weight: 600; font-size: 12px; transition: opacity .4s; }
.city.left { flex-direction: row-reverse; transform: translate(calc(-100% + 5px), -50%); }
.scr:not([data-s="1"]) .city.from { opacity: 0; }
.city i { width: 10px; height: 10px; border-radius: 50%; background: var(--gt); box-shadow: 0 0 0 2.5px #fff; flex: none; }
.city span { background: #fff; border-radius: 7px; padding: 2px 7px; }
.city.to span { color: var(--gt); font-weight: 700; transition: color .3s; }
.city.to i { width: 13px; height: 13px; background: #fff; box-shadow: 0 0 0 4px var(--gt); transition: background .3s, box-shadow .3s; }
.scr.pick .city.to span { color: var(--tx); font-weight: 600; }
.scr.pick .city.to i { width: 10px; height: 10px; background: var(--gt); box-shadow: 0 0 0 2.5px #fff; }
/* Подсказка стартового экрана — пузырь рядом с меню, как в приложении. */
.ask {
  position: absolute; left: 66px; right: 10px; top: 42px; background: #fff; border-radius: 16px;
  box-shadow: 0 0 0 1.5px rgba(0,0,0,.06); padding: 7px 11px; font-size: 11px; line-height: 1.35;
  transition: opacity .35s, transform .35s;
}
.scr:not(.pick) .ask { opacity: 0; transform: translateY(-8px); }
/* Лист стартового экрана: «Откуда / Куда». */
.ft { margin-top: 10px; background: var(--fld); border-radius: 16px; padding: 10px 12px; display: grid; grid-template-columns: 14px 1fr 22px; gap: 4px 12px; align-items: center; }
.ft .dot { width: 12px; height: 12px; border-radius: 50%; background: var(--g); }
.ft .dot.ring { background: #fff; box-shadow: inset 0 0 0 3.5px var(--gt); }
.ft small { display: block; color: var(--hn); font-size: 10.5px; }
.ft b { font-size: 15px; }
.ft b.q { color: var(--hn); }
.ft .sw2 { grid-row: 1 / 3; grid-column: 3; color: var(--gt); }
.ft > div:nth-of-type(1) { padding-bottom: 7px; border-bottom: 1px solid #E2E2E6; }
.ft .to-row { border-radius: 8px; transition: background .15s; }
.ft .to-row.pressed { background: #E2E2E6; }
/* Лист выбора города — как showCityPicker: заголовок, поиск, «Крупные
   города», список. Выезжает поверх затемнённой карты. */
.scrim { position: absolute; inset: 0; background: rgba(0,0,0,.42); opacity: 0; transition: opacity .35s; pointer-events: none; }
.scr.cities .scrim { opacity: 1; }
.sh-city { top: 92px; padding: 16px 0 0; }
.scr.cities .sh-city { transform: none; }
.cpk-h { display: flex; justify-content: space-between; align-items: center; padding: 4px 16px 10px; }
.cpk-h b { font-size: 18px; }
.srch { margin: 0 14px; background: var(--fld); border-radius: 12px; padding: 9px 12px; display: flex; gap: 8px; align-items: center; color: var(--hn); font-size: 13.5px; }
.sec { padding: 14px 16px 4px; color: var(--gt); font-size: 11px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.crow { display: flex; align-items: center; gap: 14px; padding: 9px 16px; font-size: 15px; transition: background .15s; }
.crow svg { color: var(--hn); }
.crow.pressed { background: #ECECEF; }
.line { position: absolute; inset: 0; pointer-events: none; }
.line path { stroke: var(--gt); stroke-width: 4; stroke-linecap: round; fill: none; stroke-dasharray: 120; stroke-dashoffset: 120; transition: stroke-dashoffset 1.1s var(--ease, ease) .2s; }
.scr:not(.pick) .line path { stroke-dashoffset: 0; }
.radar { position: absolute; width: 0; height: 0; }
.radar i {
  position: absolute; left: -95px; top: -95px; width: 190px; height: 190px; border-radius: 50%;
  background: rgba(76, 175, 80, .16); border: 1.5px solid rgba(58, 134, 61, .35);
  transform: scale(.15); opacity: 0;
}
.scr[data-s="2"] .radar i { animation: ring 2.7s cubic-bezier(.2, .6, .3, 1) infinite; }
.scr[data-s="2"] .radar i:nth-child(2) { animation-delay: .9s; }
.scr[data-s="2"] .radar i:nth-child(3) { animation-delay: 1.8s; }
@keyframes ring { 0% { transform: scale(.15); opacity: 0; } 15% { opacity: 1; } 100% { transform: scale(1); opacity: 0; } }
.me { position: absolute; width: 16px; height: 16px; margin: -8px 0 0 -8px; border-radius: 50%; background: var(--g); box-shadow: 0 0 0 3px #fff, 0 0 0 9px rgba(76,175,80,.25); opacity: 0; transition: opacity .4s; }
.scr:not([data-s="1"]) .me { opacity: 1; }

/* Кнопка меню и карточка маршрута поверх карты. */
.menu { position: absolute; left: 12px; top: 40px; width: 46px; height: 46px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 3px rgba(0,0,0,.12); display: grid; place-items: center; transition: opacity .4s, transform .5s var(--ease, ease); }
.menu b { position: absolute; right: 2px; top: 1px; width: 11px; height: 11px; border-radius: 50%; background: #E53935; }
.scr[data-s="1"]:not(.pick) .menu { opacity: 0; transform: scale(.8); }
.where {
  position: absolute; left: 8px; right: 8px; top: 34px; background: #fff; border-radius: 20px;
  box-shadow: 0 0 0 3px rgba(0,0,0,.12); padding: 10px 10px 10px 12px;
  display: grid; grid-template-columns: 18px 1fr 34px; gap: 6px 8px; align-items: center;
  transition: transform .6s var(--ease, ease), opacity .4s;
}
.scr:not([data-s="1"]) .where, .scr.pick .where { transform: translateY(-140%); opacity: 0; }
.where .f { background: var(--fld); border-radius: 11px; padding: 8px 10px; font-weight: 700; font-size: 14px; display: flex; justify-content: space-between; }
.where .f::after { content: ""; width: 6px; height: 6px; border-right: 2px solid var(--hn); border-bottom: 2px solid var(--hn); transform: rotate(45deg); margin: 3px 2px 0 0; }
.where .sw { grid-row: 1 / 3; grid-column: 3; width: 32px; height: 32px; border-radius: 50%; background: var(--fld); display: grid; place-items: center; }

/* Листы снизу. Три листа: форма, заявка (с предложением), поездка. */
.sheet {
  position: absolute; left: 0; right: 0; bottom: 0; background: #fff; border-radius: 22px 22px 0 0;
  box-shadow: 0 -1px 0 rgba(0,0,0,.06), 0 -8px 24px rgba(0,0,0,.08); padding: 18px 12px 18px;
  transform: translateY(105%); transition: transform .75s cubic-bezier(.2, .85, .25, 1);
}
.sheet::before { content: ""; position: absolute; left: 50%; top: 7px; width: 34px; height: 4px; margin-left: -17px; border-radius: 2px; background: #DADADE; }
.scr.pick .sh-start,
.scr[data-s="1"]:not(.pick) .sh-form,
.scr[data-s="2"] .sh-req, .scr[data-s="3"] .sh-req,
.scr[data-s="4"] .sh-trip { transform: none; }
/* Пока предложения нет, лист заявки опущен на высоту карточки. */
.scr[data-s="2"] .sh-req { transform: translateY(var(--offer-h, 178px)); }

.seg { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.seg div { background: var(--fld); border-radius: 14px; padding: 7px 4px 8px; display: grid; justify-items: center; gap: 2px; font-size: 13px; }
.seg .on { background: #E3F2E2; font-weight: 700; color: var(--tx); }
.seg .on svg { color: var(--gt); }
.fld { background: var(--fld); border-radius: 14px; padding: 10px 12px; display: flex; align-items: center; gap: 9px; font-weight: 600; font-size: 14px; margin-top: 8px; }
.fld svg { color: var(--hn); flex: none; }
.row { display: grid; grid-template-columns: 1.35fr 1fr; gap: 8px; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.row .fld, .row2 .fld { margin-top: 8px; justify-content: center; }
.cnt { margin-left: auto; display: flex; align-items: center; gap: 7px; }
.cnt i { width: 19px; height: 19px; border-radius: 50%; border: 1.5px solid var(--hn); display: grid; place-items: center; font-style: normal; font-size: 14px; line-height: 1; color: var(--hn); font-weight: 400; }
.cnt i.plus { border-color: var(--tx); color: var(--tx); }
.cnt b { min-width: 9px; text-align: center; display: inline-block; }
.cnt b.bump { animation: bump .45s cubic-bezier(.3, 1.6, .5, 1); }
@keyframes bump { 0% { transform: translateY(6px); opacity: 0; } 100% { transform: none; opacity: 1; } }
.hint { display: flex; gap: 8px; color: var(--hn); font-size: 11.5px; margin: 10px 2px 0; }
.hint svg { flex: none; margin-top: 1px; }
.go {
  margin-top: 12px; background: var(--g); color: #fff; border-radius: 14px; height: 44px;
  display: flex; align-items: center; justify-content: center; gap: 8px; font-weight: 700; font-size: 16px;
  transition: transform .15s, filter .15s;
}
.go.w { background: #fff; color: var(--tx); }
.small { text-align: center; color: var(--hn); font-size: 11px; margin-top: 7px; }
.pressed { transform: scale(.95); filter: brightness(.9); }

.dch { display: flex; gap: 8px; }
.chp { display: inline-flex; align-items: center; gap: 6px; border-radius: 999px; padding: 6px 12px; background: var(--fld); font-weight: 700; font-size: 13px; }
.chp.on { background: var(--g); color: #fff; }
.ttl { font-size: 20px; font-weight: 800; letter-spacing: -.01em; margin: 12px 2px 8px; }
.bar { height: 4px; border-radius: 2px; background: #DDEFDC; overflow: hidden; }
.bar i { display: block; height: 100%; background: var(--gt); transform-origin: left; transform: scaleX(.05); }
.scr[data-s="2"] .bar i, .scr[data-s="3"] .bar i { transform: scaleX(.92); transition: transform 7s linear; }
.wait { margin-top: 10px; background: var(--fld); border-radius: 16px; padding: 10px; display: grid; grid-template-columns: 38px 1fr auto; gap: 10px; align-items: center; }
.wait .car { width: 34px; height: 34px; border-radius: 50%; background: var(--g); color: #fff; display: grid; place-items: center; box-shadow: 0 0 0 4px #D6EBD4; }
.wait b { display: block; font-size: 13.5px; }
.wait small { color: var(--hn); font-size: 11px; display: block; }
.wait .tm { font-variant-numeric: tabular-nums; color: var(--hn); font-weight: 700; font-size: 14px; }
.wait .t2 { display: none; }
.scr[data-s="3"] .wait .t1 { display: none; }
.scr[data-s="3"] .wait .t2 { display: block; }

.offer { margin-top: 10px; transition: opacity .5s .25s, transform .7s cubic-bezier(.2, .85, .25, 1) .15s; }
.scr[data-s="2"] .offer { opacity: 0; transform: translateY(40px); }
.offer h4 { margin: 0 2px 8px; font-size: 13.5px; }
.oc { background: var(--fld); border-radius: 16px; padding: 10px; }
.oc .otop { display: grid; grid-template-columns: 30px 1fr 54px; gap: 8px; align-items: center; }
.ava { width: 30px; height: 30px; border-radius: 50%; background: #fff; display: grid; place-items: center; font-weight: 700; color: var(--hn); font-size: 13px; }
.oc .nm { font-weight: 800; font-size: 13.5px; display: flex; align-items: center; gap: 4px; }
.oc .nm svg { color: var(--gt); }
.oc .sub { color: var(--hn); font-size: 11px; }
.oc .pic { width: 54px; height: 40px; border-radius: 10px; background: #E4E4E8; display: grid; place-items: center; position: relative; }
.oc .pic em { position: absolute; right: -2px; bottom: -4px; background: #6C6C70; color: #fff; font: 700 9.5px var(--font); font-style: normal; border-radius: 6px; padding: 1px 5px; }
.oc .when { font-weight: 700; font-size: 13px; margin-top: 6px; }
.oc .mid { display: flex; justify-content: space-between; align-items: baseline; margin-top: 4px; }
.oc .door { display: inline-flex; align-items: center; gap: 4px; color: var(--gt); font-weight: 700; font-size: 12px; }
.oc .pr { color: var(--or); font-weight: 800; font-size: 21px; }
.oc .pr small { font-size: 11px; }
.oc .btn2 { display: grid; grid-template-columns: 1fr 1.6fr; gap: 8px; margin-top: 8px; }
.oc .btn2 .go { margin: 0; height: 38px; font-size: 14px; border-radius: 12px; }

.ok { display: flex; align-items: center; gap: 8px; }
.ok .chk { width: 24px; height: 24px; border-radius: 50%; background: var(--g); color: #fff; display: grid; place-items: center; transform: scale(0); transition: transform .5s cubic-bezier(.3, 1.6, .5, 1) .45s; }
.scr[data-s="4"] .ok .chk { transform: scale(1); }
.trip p { margin: 0 2px; font-size: 12.5px; line-height: 1.45; }
.plate { display: flex; align-items: center; gap: 8px; margin: 8px 2px 0; font-weight: 700; font-size: 13.5px; }
.plate span { border: 1.5px solid #000; border-radius: 6px; padding: 1px 6px; font-size: 12px; letter-spacing: .06em; }
.acts { display: flex; justify-content: space-around; margin-top: 14px; text-align: center; font-size: 11.5px; font-weight: 600; }
.acts div { display: grid; justify-items: center; gap: 5px; }
.acts i { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--fld); }
.acts .call { background: var(--g); color: #fff; }
.scr[data-s="4"] .acts .call { animation: callpulse 1.6s ease-out .9s 2; }
@keyframes callpulse { 0% { box-shadow: 0 0 0 0 rgba(76,175,80,.5); } 100% { box-shadow: 0 0 0 16px rgba(76,175,80,0); } }

/* Палец: плывёт к кнопке и нажимает.
   Сдвиг — у самого .tap, нажатие — только у кружка внутри (::before).
   Раньше нажатие было `scale` на .tap: браузер применяет его ПОВЕРХ
   сдвига, и вместе с кружком сжималось расстояние до кнопки — палец
   на миг отъезжал к углу экрана и возвращался. */
.tap {
  position: absolute; left: 0; top: 0; width: 34px; height: 34px; margin: -17px 0 0 -17px;
  opacity: 0; pointer-events: none; z-index: 5;
  transition: transform .65s cubic-bezier(.45, 0, .2, 1), opacity .3s;
}
.tap.on { opacity: 1; }
.tap::before {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  background: rgba(20, 20, 20, .22); border: 2px solid rgba(255,255,255,.9);
}
.tap::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid rgba(76,175,80,.8); opacity: 0; }
.tap.press::before { animation: press .45s ease-out; }
.tap.press::after { animation: ripple .6s ease-out; }
@keyframes press { 50% { transform: scale(.78); } }
@keyframes ripple { 0% { transform: scale(1); opacity: 1; } 100% { transform: scale(2.2); opacity: 0; } }

/* Шаги под телефоном — как полоски историй. */
.steps-bar { width: calc(306px * var(--z, 1)); }
.sbars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.sbars button { height: 22px; padding: 9px 0; border: 0; background: none; cursor: pointer; }
.sbars button i { display: block; height: 4px; border-radius: 2px; background: rgba(255,255,255,.35); overflow: hidden; }
.sbars button i::after { content: ""; display: block; height: 100%; background: #fff; transform: scaleX(0); transform-origin: left; }
.sbars button.done i::after { transform: scaleX(1); }
.sbars button.cur i::after { animation: fill var(--d, 4s) linear forwards; }
.demo.paused .sbars button.cur i::after, .demo.still .sbars button.cur i::after { animation: none; transform: scaleX(1); }
@keyframes fill { to { transform: scaleX(1); } }
.cap { position: relative; min-height: 62px; margin-top: 2px; color: #fff; line-height: 1.3; }
.cap div { position: absolute; inset: 0; opacity: 0; transform: translateY(6px); transition: opacity .4s, transform .4s; }
.cap div.cur { opacity: 1; transform: none; }
.cap b { display: block; font-size: 17px; margin-bottom: 2px; }
.cap span { display: block; font-size: 14px; color: rgba(255,255,255,.9); }
.demo.paused .scr *, .demo.paused .scr *::before, .demo.paused .scr *::after { animation-play-state: paused !important; }
@media (prefers-reduced-motion: reduce) {
  .scr *, .scr *::before, .scr *::after, .sheet, .tap { transition: none !important; animation: none !important; }
}
@media (max-width: 860px) { .demo { margin-bottom: 8px; } }

/* ── Разделы ──────────────────────────────────────── */
section { padding: 88px 0; }
.eyebrow { color: var(--primary); font-weight: 700; font-size: 15px; letter-spacing: .02em; margin-bottom: 10px; }
.sec-h { font-size: clamp(30px, 4.4vw, 44px); font-weight: 800; max-width: 22ch; }
.sec-lead { color: var(--hint); font-size: 19px; margin-top: 14px; max-width: 52ch; }
.hero + section { padding-top: 88px; }
@media (max-width: 860px) { section { padding: 64px 0; } .hero + section { padding-top: 64px; } }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 40px; counter-reset: s; }
.step { background: var(--surface); border-radius: var(--r); padding: 26px; }
.step .n {
  width: 40px; height: 40px; border-radius: 12px; background: var(--brand); color: #fff;
  display: grid; place-items: center; font-weight: 800; font-size: 18px; margin-bottom: 18px;
}
.step h3 { font-size: 21px; margin-bottom: 8px; }
.step p { color: var(--hint); font-size: 16px; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; gap: 32px; } }
.ticks { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 14px; }
.ticks li { display: grid; grid-template-columns: 26px 1fr; gap: 10px; font-size: 17px; }
.ticks svg { width: 22px; height: 22px; color: var(--primary); margin-top: 2px; }

/* Схема салона — как в приложении. */
.cabin { background: var(--surface); border-radius: 28px; padding: 22px; max-width: 360px; justify-self: center; width: 100%; }
.cabin-top { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 16px; }
.cabin-top b { font-size: 17px; }
.seats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.seat {
  aspect-ratio: 1 / .9; border-radius: 14px; display: grid; place-items: center;
  font-weight: 800; font-size: 18px; background: var(--field); color: var(--text);
}
.seat.drv { background: transparent; border: 2px dashed var(--line); color: var(--hint); font-size: 12px; font-weight: 600; }
.seat.m { background: var(--seat-male); color: #fff; }
.seat.f { background: var(--seat-female); color: #fff; }
.seat.x { background: var(--seat-blocked); color: #fff; }
.seat.free { box-shadow: inset 0 0 0 2px var(--line); background: var(--surface); }
.legend { display: flex; flex-wrap: wrap; gap: 12px 16px; margin-top: 16px; font-size: 13px; color: var(--hint); }
.legend span { display: inline-flex; align-items: center; gap: 6px; }
.legend i { width: 14px; height: 14px; border-radius: 4px; display: inline-block; }

.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 40px; }
@media (max-width: 860px) { .grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .grid { grid-template-columns: 1fr; } }
.feat { background: var(--surface); border-radius: var(--r); padding: 24px; }
.ico { width: 48px; height: 48px; border-radius: 14px; background: var(--tonal); color: var(--primary); display: grid; place-items: center; margin-bottom: 16px; }
.ico svg { width: 26px; height: 26px; }
.feat h3 { font-size: 19px; margin-bottom: 6px; }
.feat p { color: var(--hint); font-size: 16px; }

/* Водителям — тёмная полоса: другая аудитория, другой тон. */
.drivers { background: var(--dark-band); color: #fff; }
.drivers .eyebrow { color: #7BD47F; }
.drivers .sec-lead { color: rgba(255,255,255,.75); }
.drivers .ticks svg { color: #7BD47F; }
.drivers .card { background: #1E271D; color: #fff; }
.drivers .muted { color: rgba(255,255,255,.65); }
.drivers .route i { background: repeating-linear-gradient(90deg, rgba(255,255,255,.6) 0 5px, transparent 5px 9px); }
.notif { display: grid; grid-template-columns: 36px 1fr; gap: 12px; align-items: start; }
.notif .ic { width: 36px; height: 36px; border-radius: 10px; background: var(--brand); display: grid; place-items: center; }
.notif .ic svg { width: 20px; height: 20px; }
.stack { display: grid; gap: 12px; max-width: 380px; justify-self: center; width: 100%; }

/* Вопросы */
.faq { margin-top: 36px; display: grid; gap: 10px; max-width: 820px; }
.faq details { background: var(--surface); border-radius: 16px; }
.faq summary {
  list-style: none; cursor: pointer; padding: 18px 52px 18px 20px; font-weight: 700; font-size: 17px; position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 22px; top: 50%; width: 10px; height: 10px; margin-top: -7px;
  border-right: 2.5px solid var(--hint); border-bottom: 2.5px solid var(--hint); transform: rotate(45deg);
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq details p { padding: 0 20px 20px; color: var(--hint); }

.cta { background: var(--brand); color: #fff; border-radius: 28px; padding: 48px; display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center; }
.cta h2 { font-size: clamp(28px, 4vw, 40px); font-weight: 800; }
.cta p { margin-top: 10px; color: rgba(255,255,255,.92); }
@media (max-width: 760px) { .cta { grid-template-columns: 1fr; padding: 32px 24px; } }

/* ── Подвал ───────────────────────────────────────── */
footer { padding: 40px 0 56px; border-top: 1px solid var(--line); font-size: 15px; color: var(--hint); }
footer .wrap { display: flex; flex-wrap: wrap; gap: 16px 32px; justify-content: space-between; }
footer nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
footer a { color: var(--text); text-decoration: none; }
footer a:hover { text-decoration: underline; }
footer .spell { flex-basis: 100%; margin: 0; font-size: 14px; }

/* ── Текстовые страницы (политика, условия, удаление) ─ */
.doc { max-width: 760px; margin: 0 auto; padding: 48px 20px 72px; }
.doc h1 { font-size: clamp(30px, 5vw, 40px); font-weight: 800; }
.doc .date { color: var(--hint); margin-top: 10px; font-size: 15px; }
.doc h2 { font-size: 22px; margin: 40px 0 12px; }
.doc p, .doc li { font-size: 17px; }
.doc p + p { margin-top: 12px; }
.doc ul, .doc ol { padding-left: 22px; margin: 12px 0; }
.doc li + li { margin-top: 8px; }
.doc .box { background: var(--surface); border-radius: 18px; padding: 20px 22px; margin: 22px 0; }
.doc .box.green { background: var(--tonal); }
.doc table { width: 100%; border-collapse: collapse; margin: 14px 0; font-size: 15px; background: var(--surface); border-radius: 14px; overflow: hidden; }
.doc th, .doc td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.doc th { font-size: 13px; color: var(--hint); font-weight: 700; }
.doc tr:last-child td { border-bottom: 0; }
@media (max-width: 560px) {
  .doc table, .doc tbody, .doc tr, .doc td { display: block; }
  .doc thead { display: none; }
  .doc td { border: 0; padding: 4px 16px; }
  .doc td:first-child { padding-top: 14px; font-weight: 700; }
  .doc tr { border-bottom: 1px solid var(--line); padding-bottom: 10px; }
}

/* Страницы направлений (`/asgabat-mary/`, `/ugurlar/` — 03.11, для поиска).
   Собираются `deploy/seo-routes.mjs`; вид — тот же лендинг. */
.hero.way .wrap { grid-template-columns: 1fr; }
.hero.way .lead { max-width: 46ch; margin-bottom: 22px; }
.hero.way .chips { margin-bottom: 26px; }
.ways { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 10px; }
.ways a { background: var(--surface); color: inherit; text-decoration: none; font-weight: 600; padding: 12px 16px; border-radius: 14px; }
.ways a:hover { filter: brightness(.97); }
.ways + .sec-h { margin-top: 48px; }
.sec-h + .ways { margin-top: 20px; }

/* Огромная главная кнопка (владелец, 04.11): «Ugur saýla» на лендинге,
   «Bildiriş goý» на страницах направлений. Во всю ширину колонки — палец
   не промахнётся, и это первое, что видно после заголовка. */
.btn-huge { display: flex; width: 100%; max-width: 460px; min-height: 76px; justify-content: center; font-size: 24px; font-weight: 800; border-radius: 20px; margin-bottom: 14px; }
.hero.way.has-demo .wrap { grid-template-columns: 1.1fr .9fr; }
@media (max-width: 860px) { .hero.way.has-demo .wrap { grid-template-columns: 1fr; } }

/* Слоган лендинга — одной строкой (владелец, 04.11: «не переноси, не дели»).
   Размер — от ширины колонки: --k ≈ ширина строки в em, своя у tk и ru.
   Сначала по окну (старые WebView без container-запросов), потом по колонке. */
.hero .wrap > div:first-child { container-type: inline-size; }
.hero h1.slogan { white-space: nowrap; font-size: min(60px, calc((100vw - 48px) / var(--k))); font-size: min(60px, calc(100cqw / var(--k))); }
