/* Лендинг «Есть вылет!» / Ulet. Токены — assets/tokens.css (те же, что у Mini App). Без inline-стилей и внешних ресурсов. */
*, *::before, *::after { box-sizing: border-box; }
html { -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: color-mix(in srgb, var(--bg) 82%, transparent); -webkit-backdrop-filter: blur(16px) saturate(160%); backdrop-filter: blur(16px) saturate(160%); 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, 7vw, 84px) 0 clamp(28px, 5vw, 64px); }
.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, #f23626, #ff8c00); -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(44px, 7vw, 88px) 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; }
.tile { position: relative; display: flex; flex-direction: column; gap: 12px; padding: 22px 18px 18px; border-radius: 24px; overflow: hidden; color: var(--t2-ink); background: var(--t2-bg); box-shadow: inset 0 0 0 1px #d4def0, 0 14px 30px -18px rgba(22, 92, 168, 0.5); }
.tile::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 7px; background: repeating-linear-gradient(115deg, #18a0cd 0 9px, #165ca8 9px 18px); }
.tile[data-cls="1"] { color: #fff; background: var(--t1-bg); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18), 0 18px 34px -18px rgba(220, 36, 30, 0.75); }
.tile[data-cls="1"]::before { background: repeating-linear-gradient(115deg, #ffd60a 0 9px, #ff8c00 9px 18px); }
.tile[data-cls="3"] { color: var(--t3-ink); background: var(--t3-bg); box-shadow: inset 0 0 0 1px #cfc9f0, 0 14px 30px -18px rgba(76, 60, 170, 0.5); }
.tile[data-cls="3"]::before { background: repeating-linear-gradient(115deg, #101c58 0 9px, #4a46a0 9px 18px); }
.tile__h { display: flex; align-items: center; gap: 12px; }
.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; }
.tile__d { font-size: 19px; font-weight: 700; letter-spacing: -0.02em; line-height: 1.15; }
.tile__r { font-size: 13px; opacity: 0.85; }
.tile__p { display: flex; align-items: flex-end; gap: 10px; }
.tile__p b { font-size: 36px; line-height: 1; letter-spacing: -0.03em; }
.disc { display: inline-flex; padding: 3px 10px; border-radius: 10px; font-weight: 700; font-size: 15px; background: var(--t2-chip); color: var(--t2-ink); margin-bottom: 2px; }
.tile[data-cls="1"] .disc { background: #ffd60a; color: #2e1200; }
.tile[data-cls="3"] .disc { background: var(--t3-chip); }
.meter { height: 9px; border-radius: 99px; background: rgba(10, 22, 64, 0.1); overflow: hidden; }
.tile[data-cls="1"] .meter { background: rgba(255, 255, 255, 0.28); }
.meter i { display: block; height: 100%; width: var(--w, 50%); border-radius: inherit; background: linear-gradient(90deg, #18a0cd, #165ca8); }
.tile[data-cls="1"] .meter i { background: linear-gradient(90deg, #ffd60a, #ff8c00); }
.tile[data-cls="3"] .meter i { background: linear-gradient(90deg, #a79af0, #5c46c8); }
.tile__m { font-size: 13px; opacity: 0.9; display: flex; justify-content: space-between; gap: 8px; }
.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; max-width: 820px; }
.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; }
a.tile { text-decoration: none; transition: transform 0.15s; }
a.tile:hover { transform: translateY(-3px); }
a.tile:focus-visible { outline: 3px solid var(--accent, #0e6c84); outline-offset: 3px; }
.tile__b { margin-left: auto; font-size: 20px; line-height: 1; }
