/* Лендинг «Есть вылет!» / Ulet. Токены — assets/tokens.css (те же, что у Mini App). Без inline-стилей и внешних ресурсов. */
*, *::before, *::after { box-sizing: border-box; }
html { background: var(--bg); -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 76px; }
body { margin: 0; min-height: 100vh; background: var(--bg); color: var(--ink); font: var(--fw-medium) 16px/1.55 var(--font); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
body::before { content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(60% 38% at 0% 0%, color-mix(in srgb, var(--wash-a) calc(var(--wash-alpha) * 70%), transparent), transparent 70%),
    radial-gradient(70% 45% at 100% 100%, color-mix(in srgb, var(--wash-b) calc(var(--wash-alpha) * 70%), transparent), transparent 72%),
    radial-gradient(60% 40% at 100% 0%, color-mix(in srgb, var(--wash-c) calc(var(--wash-alpha) * 60%), transparent), transparent 70%); }
img, svg { display: block; max-width: 100%; }
a { color: var(--accent-text); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, p { margin: 0; }
h1 { font-size: clamp(32px, 5.4vw, 56px); line-height: 1.05; letter-spacing: -0.03em; font-weight: 700; }
h2 { font-size: clamp(26px, 3.6vw, 38px); line-height: 1.12; letter-spacing: -0.025em; font-weight: 700; }
h3 { font-size: 19px; line-height: 1.25; font-weight: 600; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 8px; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: fixed; left: 8px; top: -60px; z-index: 100; background: var(--card); padding: 8px 12px; border-radius: 10px; box-shadow: var(--shadow); }
.skip:focus { top: 8px; }
.wrap { width: min(1120px, 100% - 40px); margin-inline: auto; }
.muted { color: var(--muted); }

/* шапка */
.top { position: sticky; top: 0; z-index: 50; background: var(--bg); box-shadow: 0 1px 0 var(--line); border-bottom: 1px solid var(--line); }
.top__in { display: flex; align-items: center; gap: 20px; min-height: 64px; }
.logo { display: flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 700; font-size: 19px; letter-spacing: -0.02em; }
.logo:hover { text-decoration: none; }
.logo img { width: 38px; height: 38px; }
.nav { display: flex; gap: 22px; margin-left: 18px; }
.nav a { color: var(--ink-2); font-weight: 600; font-size: 15px; }
.top__sp { flex: 1; }
.lang { display: inline-flex; padding: 3px; border-radius: 12px; background: var(--card-2); box-shadow: inset 0 0 0 1px var(--line); }
.lang a { padding: 5px 11px; border-radius: 9px; font-weight: 700; font-size: 13px; color: var(--muted); }
.lang a[aria-current="true"] { background: var(--card); color: var(--ink); box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15); }
.lang a:hover { text-decoration: none; }

/* кнопки */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 52px; padding: 0 24px; border-radius: 16px; font-weight: 700; font-size: 16px; color: var(--ink); background: var(--glass); box-shadow: inset 0 1px 0 var(--glass-rim), inset 0 0 0 1px var(--line-2); transition: background 0.15s, box-shadow 0.2s, opacity 0.15s; }
.btn:hover { text-decoration: none; background: var(--card); }
.btn:active { opacity: 0.8; }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn--primary { background: var(--accent); color: var(--accent-ink); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22), 0 12px 24px -12px var(--accent-glow); }
.btn--primary:hover { background: var(--accent-hi); }
.btn--sm { min-height: 42px; padding: 0 16px; font-size: 14px; border-radius: 13px; }

/* hero */
.hero { padding: clamp(36px, 6vw, 76px) 0 clamp(28px, 5vw, 60px); margin: 14px clamp(10px, 2.2vw, 30px) 0; border-radius: clamp(26px, 3vw, 40px); color: #fff;
  background: radial-gradient(60% 80% at 100% 0%, rgba(76, 192, 214, 0.34), transparent 62%), radial-gradient(50% 70% at 0% 100%, rgba(255, 140, 0, 0.2), transparent 60%), linear-gradient(155deg, #11536a, #0a2330 72%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14), 0 40px 80px -40px rgba(8, 36, 48, 0.9); }
.hero h1 { color: #fff; }
.hero .lead { color: rgba(255, 255, 255, 0.86); }
.hero .eyebrow { background: rgba(255, 255, 255, 0.14); color: #fff; }
.hero .trust { color: rgba(255, 255, 255, 0.82); }
.hero .trust span::before { color: #8df0bb; }
.hero .btn:not(.btn--primary) { background: rgba(255, 255, 255, 0.14); color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.25); }
.hero .btn--primary { background: #fff; color: #0a2c39; box-shadow: 0 14px 28px -14px rgba(0, 0, 0, 0.6); }
.hero .btn--primary svg { color: #0e6c84; }
.hero .hero__route path { stroke: #fff; }
.hero__in { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(24px, 5vw, 64px); align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 99px; background: var(--accent-soft); color: var(--accent-text); font-weight: 700; font-size: 13px; margin-bottom: 18px; }
.hero h1 em { font-style: normal; background: linear-gradient(120deg, #ffd60a, #ff9a3c); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { margin-top: 18px; font-size: clamp(17px, 2vw, 20px); color: var(--ink-2); max-width: 34em; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.trust { margin-top: 20px; display: flex; flex-wrap: wrap; gap: 8px 18px; color: var(--muted); font-size: 14px; font-weight: 600; }
.trust span::before { content: "✓ "; color: var(--good); }

/* телефоны */
.phones { position: relative; min-height: 520px; display: grid; place-items: center; }
.phone { position: relative; width: min(270px, 62vw); aspect-ratio: 390 / 844; border-radius: 38px; padding: 9px; background: #0d1214; box-shadow: 0 40px 70px -30px rgba(10, 18, 48, 0.55), 0 0 0 1px rgba(255, 255, 255, 0.12) inset; }
.phone img { width: 100%; height: 100%; border-radius: 30px; object-fit: cover; object-position: top; }
.phone--b { position: absolute; right: 0; bottom: -10px; width: min(210px, 48vw); transform: rotate(5deg); z-index: 2; }
.phone--a { transform: rotate(-3deg); margin-right: 18%; }

/* секции */
.sec { padding: clamp(36px, 5.5vw, 72px) 0; }
.sec__head { max-width: 640px; margin-bottom: 36px; }
.sec__head p { margin-top: 12px; color: var(--ink-2); font-size: 18px; }
.grid4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.card { background: radial-gradient(120% 80% at 0% 0%, var(--glass-hi), transparent 55%), var(--glass); border-radius: 22px; box-shadow: inset 0 1px 0 var(--glass-rim), inset 0 0 0 1px var(--glass-edge), var(--shadow); padding: 24px; }
.card p { margin-top: 8px; color: var(--ink-2); font-size: 15px; }
.ico { width: 48px; height: 48px; border-radius: 15px; display: grid; place-items: center; font-size: 26px; background: var(--accent-soft); margin-bottom: 14px; }

/* живой блок находок */
.deals { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.flag { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; font-size: 28px; background: #fff; flex: none; font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif; }
.note { margin-top: 18px; font-size: 14px; color: var(--muted); }

/* шаги */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; counter-reset: s; }
.step { position: relative; padding: 28px 24px 24px; }
.step::before { counter-increment: s; content: counter(s); position: absolute; top: -16px; left: 22px; width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; font-weight: 700; color: #fff; background: linear-gradient(135deg, #f23626, #ff8c00); box-shadow: 0 8px 16px -8px #f23626; }

/* демо экранов */
.shots { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.shots .phone { width: 100%; transform: none; }
.shots figcaption { margin-top: 12px; text-align: center; font-weight: 600; font-size: 14px; color: var(--ink-2); }
.shots figure { margin: 0; }

/* FAQ */
.faq { display: grid; gap: 10px; }
.faqw { display: grid; gap: 28px 56px; }
.faqw .sec__head { margin-bottom: 0; }
.faqw .cta { margin-top: 20px; }
@media (min-width: 960px) { .faqw { grid-template-columns: 340px minmax(0, 1fr); align-items: start; } .faqw .sec__head { position: sticky; top: 96px; } }
.faq details { border-radius: 18px; background: var(--glass); box-shadow: inset 0 0 0 1px var(--glass-edge), var(--shadow); padding: 0 20px; }
.faq summary { cursor: pointer; list-style: none; padding: 18px 0; font-weight: 700; font-size: 17px; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 24px; line-height: 1; color: var(--accent-text); transition: transform 0.2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 18px; color: var(--ink-2); }

/* призыв и подвал */
.band { margin: 20px 0 0; padding: clamp(30px, 5vw, 56px); border-radius: 30px; text-align: center; color: #fff; background: linear-gradient(135deg, #14245e, #0a1230 70%); box-shadow: 0 30px 60px -30px rgba(10, 18, 48, 0.8); }
.band p { margin: 12px auto 0; max-width: 34em; opacity: 0.88; }
.band .cta { justify-content: center; }
.band .btn { color: #0a1640; background: #fff; }
.band .btn--primary { background: #ffd60a; color: #2e1200; box-shadow: none; }
.foot { padding: 48px 0 40px; margin-top: 56px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
.foot__in { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 28px; }
.foot h3 { font-size: 14px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--ink-2); margin-bottom: 10px; }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; }
.foot a { color: var(--ink-2); }
.foot__fine { margin-top: 28px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 13px; }

/* текстовые страницы */
.doc { padding: clamp(34px, 6vw, 72px) 0; max-width: 780px; }
.doc h1 { font-size: clamp(30px, 4.4vw, 44px); margin-bottom: 8px; }
.doc .upd { color: var(--muted); font-size: 14px; margin-bottom: 28px; }
.doc h2 { font-size: 22px; margin: 30px 0 10px; letter-spacing: -0.02em; }
.doc p, .doc li { color: var(--ink-2); }
.doc p + p { margin-top: 12px; }
.doc ul { padding-left: 22px; display: grid; gap: 7px; margin: 10px 0 0; }
.doc .card { margin-top: 20px; }

@media (max-width: 900px) {
  .nav { display: none; }
  .hero__in { grid-template-columns: 1fr; }
  .phones { min-height: 460px; }
  .grid4 { grid-template-columns: repeat(2, 1fr); }
  .deals, .steps { grid-template-columns: 1fr; gap: 26px; }
  .shots { grid-template-columns: repeat(2, 1fr); }
  .foot__in { grid-template-columns: 1fr 1fr; }
  .top__cta { display: none; }
}
@media (max-width: 520px) {
  .grid4 { grid-template-columns: 1fr; }
  .foot__in { grid-template-columns: 1fr; }
  .cta .btn { width: 100%; }
  .phone--a { margin-right: 22%; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }

.foot__t { margin-top: 12px; max-width: 28em; }

/* декор hero и лента направлений */
.hero { position: relative; overflow: hidden; }
.hero__route { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 0; }
.hero__in { position: relative; z-index: 1; }
.dest { padding: 8px 0 4px; }
.dest__t { max-width: 100%; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.dest__t > span { display: block; text-align: center; font-size: 14px; font-weight: 600; color: var(--ink-2); margin-bottom: 14px; padding: 0 16px; }
.dest__row { display: flex; gap: 12px; width: max-content; animation: dest-run 48s linear infinite; padding: 4px 0 18px; }
.dest__c { display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px 10px 12px; border-radius: 99px; background: var(--glass); box-shadow: inset 0 0 0 1px var(--glass-edge), var(--shadow); font-weight: 700; font-size: 16px; white-space: nowrap; }
.dest__c i { font-style: normal; font-size: 22px; line-height: 1; }
@keyframes dest-run { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .dest__row { animation: none; flex-wrap: wrap; width: auto; justify-content: center; } .dest__row .dest__c:nth-child(n+13) { display: none; } }
.foot__fine a { text-decoration: underline; }

/* макеты iPhone: готовые картинки целиком (рамка, статус-бар и тень уже внутри) */
.phones .pair { width: min(540px, 100%); height: auto; filter: drop-shadow(0 30px 40px rgba(0, 0, 0, 0.25)); }
.phones { min-height: 0; }
.shots .ph { width: 100%; height: auto; display: block; }
.shots .ph-d { display: none; }
:root[data-theme="dark"] .shots .ph-l { display: none; }
:root[data-theme="dark"] .shots .ph-d { display: block; }

/* 🚀 верхний уровень: ракета взлетает, пламя мерцает, звёзды на плитке; при prefers-reduced-motion без движения */
  background: radial-gradient(ellipse at 50% 20%, #fff7c2 0 25%, #ffb02e 55%, rgba(255, 90, 30, 0) 80%); animation: rk-flame 3.6s linear infinite, rk-flick 0.14s linear infinite alternate; }
@keyframes rk-lift { 0%, 58%, 100% { transform: translate(0, 0) rotate(0); } 66% { transform: translate(1px, -1px) rotate(-3deg); } 76% { transform: translate(-1px, -4px) rotate(3deg); } 88% { transform: translate(0, -7px) rotate(0); } 94% { transform: translate(0, -2px); } }
@keyframes rk-flame { 0%, 60% { opacity: 0; } 66%, 90% { opacity: 1; } 96%, 100% { opacity: 0; } }
@keyframes rk-flick { from { transform: scale(1, 0.8); } to { transform: scale(0.8, 1.25); } }
  background: radial-gradient(1.6px 1.6px at 8% 30%, #fff, transparent), radial-gradient(1.2px 1.2px at 40% 80%, #fff, transparent), radial-gradient(2px 2px at 62% 18%, #ffe9a8, transparent), radial-gradient(1.4px 1.4px at 90% 60%, #fff, transparent);
  animation: rk-twinkle 2.6s ease-in-out infinite; }
@keyframes rk-twinkle { 0%, 100% { opacity: 0.25; } 50% { opacity: 1; } }

/* картинки с width/height в разметке всегда сохраняют пропорции (иначе при max-width высота остаётся по атрибуту и макет «сплющивается») */
img[width][height] { height: auto; }
.phones { min-height: 0; }
.phones .pair { display: block; width: min(540px, 100%); height: auto; aspect-ratio: 1920 / 2020; margin: 0 auto; }
.shots .ph { aspect-ratio: 1040 / 2052; }
.hero__in > * { min-width: 0; }
@media (max-width: 900px) {
  .hero { padding-top: 28px; }
  .hero__route { opacity: 0.6; }
  .phones { margin-top: 8px; }
}


/* ───────── v3 (2026-11-02): светлый воздушный стиль в духе Kinlo, билеты как главный герой ───────── */
.hero { margin: 0; padding: clamp(28px, 5vw, 76px) 0 clamp(16px, 3vw, 40px); background: none; box-shadow: none; color: inherit; border-radius: 0; overflow: visible; }
.hero h1 { color: var(--ink); font-size: clamp(34px, 4.6vw, 56px); line-height: 1.06; letter-spacing: -0.035em; }
.hero h1 em { background: linear-gradient(120deg, #0e6c84, #2a5be0); -webkit-background-clip: text; background-clip: text; color: transparent; }
:root[data-theme="dark"] .hero h1 em { background: linear-gradient(120deg, #4cc0d6, #8da8ff); -webkit-background-clip: text; background-clip: text; }
.hero .lead { color: var(--ink-2); }
.hero .eyebrow { background: var(--accent-soft); color: var(--accent-text); }
.hero .trust { color: var(--muted); }
.hero .trust span::before { color: var(--good); }
.hero .btn:not(.btn--primary) { background: var(--glass); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line-2); }
.hero .btn--primary { background: var(--accent); color: var(--accent-ink); box-shadow: 0 14px 28px -14px var(--accent-glow); }
.hero .btn--primary svg { color: inherit; }
.hero__in { grid-template-columns: 1.02fr 0.98fr; }
.phones { display: grid; place-items: center; }
.phones .pair { width: min(580px, 100%); }
.grid4, .shots { display: none; }
.cities { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 26px; }
.cty { padding: 9px 16px; border-radius: 99px; font: 700 14px/1 var(--font); color: var(--ink-2); background: var(--glass); box-shadow: inset 0 0 0 1px var(--glass-edge); cursor: pointer; transition: background 0.15s, color 0.15s, transform 0.2s; }
.cty:hover { transform: translateY(-1px); }
.cty[aria-checked="true"] { background: var(--accent); color: var(--accent-ink); box-shadow: 0 10px 20px -12px var(--accent-glow); }
.cty:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.deals { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 24px; }
.deal { margin: 0; }
.deal .tkw { display: block; }
.deal__f { margin-top: 8px; padding-left: 6px; font-size: 13px; font-weight: 600; color: var(--muted); }
.live__empty { padding: 28px; text-align: center; border-radius: 22px; background: var(--glass); box-shadow: inset 0 0 0 1px var(--glass-edge); color: var(--ink-2); font-weight: 600; }
.steps { grid-template-columns: repeat(3, 1fr); gap: 20px; }
.step { position: relative; padding: 26px 24px 24px; border-radius: 24px; background: var(--glass); box-shadow: inset 0 1px 0 var(--glass-rim), inset 0 0 0 1px var(--glass-edge), var(--shadow); }
.step__n { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 14px; background: var(--accent); color: var(--accent-ink); font-weight: 800; font-size: 18px; margin-bottom: 14px; }
.step h3 { font-size: 20px; letter-spacing: -0.02em; }
.step p { margin-top: 8px; color: var(--ink-2); font-size: 15px; }
@media (max-width: 900px) {
  .hero__in { grid-template-columns: 1fr; }
  .deals { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .cities { flex-wrap: nowrap; overflow-x: auto; margin-inline: -20px; padding: 2px 20px 6px; scrollbar-width: none; }
  .cities::-webkit-scrollbar { display: none; }
  .cty { flex: none; }
}
@media (prefers-reduced-motion: reduce) { .cty { transition: none; } }
.cty { border: 0; }
.pair-d { display: none !important; }
:root[data-theme="dark"] .pair-l { display: none !important; }
:root[data-theme="dark"] .pair-d { display: block !important; }
.deal__f { display: inline-block; margin-top: 10px; padding: 4px 12px; border-radius: 99px; background: var(--glass); color: var(--ink); font-size: 13px; font-weight: 700; box-shadow: inset 0 0 0 1px var(--line-2); }

a.tkw, a.tkw * { text-decoration: none !important; }
a.tkw .tk__base s { text-decoration: line-through !important; }
.deal a, .deal a:hover, .deal a:active { text-decoration: none; }
.live__empty { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.live__empty[hidden] { display: none; }
.live__empty p { margin: 0; max-width: 34em; }

/* iOS Safari зумит страницу при фокусе в поле со шрифтом меньше 16px — поля не меньше 16px */
input:not([type="range"]):not([type="checkbox"]):not([type="radio"]):not([type="file"]):not([type="hidden"]), select, textarea { font-size: max(16px, 1em) !important; }
/* тап-цели не меньше 44px по высоте */
.cty { min-height: 44px; display: inline-flex; align-items: center; }
.lang { padding: 2px; }
.lang a { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; min-width: 44px; padding: 0 12px; }
.nav a, .foot li a { display: inline-flex; align-items: center; min-height: 44px; }
.foot ul { gap: 0; }
.csearch__res li { min-height: 44px; }
.csearch__res li small.st { color: var(--accent); font-weight: 600; margin-left: 8px; }
.btn--sm { min-height: 44px; }
.logo { min-height: 44px; }
.logo img { width: 44px; height: 44px; }
.foot__fine a { display: inline-flex; align-items: center; min-height: 44px; }
.skip { min-height: 44px; display: inline-flex; align-items: center; }
.live__more { margin: 28px 0 14px; font-size: 20px; font-weight: 700; color: var(--ink-2); }
