/* Лендинг FoxAway. Токены — assets/tokens.css (те же, что у Mini App). Без inline-стилей и внешних ресурсов. */
*, *::before, *::after { box-sizing: border-box; }
:root { --ic-gap: 14px; }   /* QA 09.11: единый отступ значок → текст во всех плашках, кнопках, подписях и строках с значком */

/* ───────── Круг «Цвет» (владелец 09.11): фирменная палитра FoxAway (docs/DESIGN.md «Брендовая палитра») ─────────
   Сайт задает палитру сам (tokens.css копируется из webapp и правится там отдельно): эти значения стоят после tokens.css и важнее его.
   Иерархия на экране: 1) главное действие — одно — оранжевый лиса; 2) важное — синий/бирюза или теплый персиковый фон;
   3) фон и служебное — молочный, песок, дымка. Текст — графит. Контраст текста ≥ 4,5 в обеих темах (axe).
   Правки владельца 09.11 вечером («в половину меньше цветов, не настолько яркое»): мягкие подложки, свечения и пятна фона вдвое тише, тексты оттенков приглушены. */
:root {
  --brand-blue: #0E5D7A; --brand-orange: #FF7A2F; --brand-orange-2: #F26A1F; --brand-milk: #F6EDE1; --brand-graphite: #2A2C2F;
  --brand-teal: #2A9DAD; --brand-sky: #B9DDF2; --brand-peach: #FFD3B0; --brand-sand: #E7D1B7; --brand-smoke: #A3A8AD;
  --brand-orange-ink: #2B1406;                       /* текст на оранжевой кнопке: 5,7 и выше на всем градиенте */
  --brand-orange-text: #96491C;                      /* оранжевый текст на молочном/карточке: ≥ 5,2 */
  --brand-orange-soft: rgba(255, 122, 47, 0.07);
  --brand-orange-glow: rgba(242, 106, 31, 0.25);
  --brand-peach-soft: rgba(255, 179, 128, 0.13); --brand-sky-soft: rgba(120, 186, 226, 0.12);
  --brand-teal-soft: rgba(42, 157, 173, 0.08); --brand-sand-soft: rgba(196, 160, 118, 0.1);
  --brand-teal-text: #2B6870; --brand-sky-text: #315C78; --brand-sand-text: #66533A;
  --cta-bg: linear-gradient(180deg, #FF8A45 0%, var(--brand-orange) 45%, var(--brand-orange-2) 100%);

  --bg: #FCFAF6;                                     /* светлая теплая подложка: молочный, высветленный (владелец 09.11, второй круг: «посветлее фон в светлой теме») */
  --wash-a: #FFC9A0;                                 /* персик, левый верх */
  --wash-b: #B9DDF2;                                 /* небесный, правый низ */
  --wash-c: #E7D1B7;                                 /* песок, правый верх */
  --wash-alpha: 0.24;                                /* пятна фона тише и светлее (было 0.9 → 0.5 → 0.24) */
  --glass: rgba(255, 250, 243, 0.66);
  --glass-hi: rgba(255, 252, 247, 0.82);
  --glass-rim: rgba(255, 255, 255, 0.9);
  --glass-edge: rgba(74, 52, 30, 0.08);
  --card: #FFFBF5;
  --card-2: rgba(74, 52, 30, 0.05);
  --card-3: rgba(74, 52, 30, 0.09);
  --float: rgba(255, 251, 245, 0.92);
  --ink: #2A2C2F;
  --ink-2: #45474B;
  --muted: #55514C;
  --line: rgba(74, 52, 30, 0.1);
  --line-2: rgba(74, 52, 30, 0.17);
  --shadow: 0 1px 2px rgba(74, 52, 30, 0.05), 0 14px 34px -18px rgba(74, 52, 30, 0.24);
  --shadow-lg: 0 2px 6px rgba(74, 52, 30, 0.07), 0 28px 60px -24px rgba(74, 52, 30, 0.36);
  --accent: #0E5D7A;                                 /* основной синий: ссылки, активное, переключатели, важное */
  --accent-hi: #13708F;
  --accent-ink: #FFFFFF;
  --accent-soft: rgba(14, 93, 122, 0.11);
  --accent-text: #0E5D7A;
  --accent-glow: rgba(14, 93, 122, 0.42);
  --sel-ring: var(--accent);
}
:root[data-theme="dark"] {
  --brand-orange-text: #EAA478; --brand-orange-soft: rgba(255, 122, 47, 0.09); --brand-orange-glow: rgba(255, 122, 47, 0.24);
  --brand-peach-soft: rgba(255, 170, 120, 0.065); --brand-sky-soft: rgba(143, 203, 232, 0.065);
  --brand-teal-soft: rgba(58, 178, 194, 0.07); --brand-sand-soft: rgba(214, 186, 150, 0.06);
  --brand-teal-text: #94C6CC; --brand-sky-text: #B0CFE1; --brand-sand-text: #D3C2AC;
  --bg: #1B1916;                                     /* теплый графит, не сине-черный */
  --wash-a: #FF9A5C;
  --wash-b: #5FA9C9;
  --wash-c: #A88660;
  --wash-alpha: 0.11;
  --glass: rgba(40, 36, 32, 0.66);
  --glass-hi: rgba(255, 244, 230, 0.06);
  --glass-rim: rgba(255, 244, 230, 0.1);
  --glass-edge: rgba(255, 244, 230, 0.08);
  --card: #26231F;
  --card-2: rgba(255, 244, 230, 0.05);
  --card-3: rgba(255, 244, 230, 0.1);
  --float: rgba(38, 35, 31, 0.92);
  --ink: #F3ECE2;
  --ink-2: #D8CFC3;
  --muted: #B3AB9F;
  --line: rgba(255, 244, 230, 0.09);
  --line-2: rgba(255, 244, 230, 0.17);
  --accent: #8FCBE8;                                 /* небесный — синий в темной теме */
  --accent-hi: #A8D8EF;
  --accent-ink: #0B2430;
  --accent-soft: rgba(143, 203, 232, 0.15);
  --accent-text: #9ED3EE;
  --accent-glow: rgba(143, 203, 232, 0.4);
  --sel-ring: rgba(143, 203, 232, 0.7);
}
html { background: var(--bg); -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 76px; }
body { margin: 0; min-height: 100vh; background: transparent; 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%); }
:root[data-theme="dark"] body::before {
  background: radial-gradient(95% 55% at 0% 0%, color-mix(in srgb, var(--wash-a) 13%, transparent), transparent 72%),
    radial-gradient(85% 50% at 100% 35%, color-mix(in srgb, var(--wash-c) 9%, transparent), transparent 70%),
    radial-gradient(100% 60% at 20% 100%, color-mix(in srgb, var(--wash-b) 12%, transparent), transparent 72%),
    linear-gradient(180deg, #1F1C18 0%, #1B1916 55%, #1D1A17 100%); }
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: transparent; box-shadow: 0 1px 0 transparent; transition: background-color 0.25s var(--ease), box-shadow 0.25s var(--ease); }   /* 09.11 круг 4: единый фон с приложением — шапка прозрачная поверх общей подложки */
.top.is-stuck { background: color-mix(in srgb, var(--bg) 72%, transparent); -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur); box-shadow: 0 1px 0 var(--line); }   /* прокрутили — матовое стекло (theme.js ставит is-stuck) */
html.lite .top.is-stuck { background: var(--bg); }
.top::before { content: ""; position: absolute; left: 0; right: 0; bottom: 100%; height: 100vh; background: var(--bg); pointer-events: none; }   /* 07.11: над прилипшей шапкой (браузер Telegram, вырез экрана, оттяжка) не просвечивает страница */
.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; }
/* логотип FoxAway: знак + слово + слоган (site/_build.py logo_inner) */
.logo .logo__mark { width: 42px; height: 30px; flex: none; }
.logo__t { display: flex; flex-direction: column; line-height: 1.05; min-width: 0; }
.logo__w { font-weight: 800; font-size: 19px; letter-spacing: 0.04em; }
.logo__s { font-size: 11px; font-weight: 600; letter-spacing: 0.02em; color: var(--muted); margin-top: 2px; }
@media (max-width: 520px) { .logo__s { display: none; } .logo__w { font-size: 18px; letter-spacing: 0.03em; } }
.nav { display: flex; gap: 22px; margin-left: 18px; }
.nav a { color: var(--ink-2); font-weight: 600; font-size: 15px; }
.nav a[aria-current="page"] { color: var(--ink); }                     /* текущий раздел (меню разделов, 15.11) */
.nav a:hover { color: var(--ink); text-decoration: none; }
.top__sp { flex: 1; }
.lang { display: inline-flex; padding: 3px; border-radius: var(--r-pill); background: var(--glass); -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur); box-shadow: inset 0 1px 0 var(--glass-rim), inset 0 0 0 1px var(--glass-edge); }
.lang a { padding: 5px 11px; border-radius: var(--r-pill); 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: var(--ic-gap); 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%), 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: var(--accent); }
.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: var(--ic-gap); 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; }
.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(--accent-text); }

/* телефоны */
.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: var(--accent-ink); background: var(--accent); box-shadow: 0 8px 16px -8px var(--accent-glow); }

/* демо экранов */
.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: var(--ink); background: radial-gradient(70% 90% at 100% 0%, color-mix(in srgb, var(--accent) 16%, transparent), transparent 62%), radial-gradient(120% 80% at 0% 0%, var(--glass-hi), transparent 55%), var(--glass); -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur); box-shadow: inset 0 1px 0 var(--glass-rim), inset 0 0 0 1px var(--glass-edge), var(--shadow); }
.band p { margin: 12px auto 0; max-width: 34em; color: var(--ink-2); }
.band .cta { justify-content: center; }
.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: none; color: var(--accent-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(--accent-text); }
.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); }
.deal__more { margin-top: 6px; 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; } .logo .logo__mark { width: 44px; height: 32px; }
.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); }
/* сезоны по месяцам (site/_seasons.py): календарь-полоска и метки — на страницах «Когда ехать» и в блоке «Сезон» на страницах направлений, виз и «Поводов» */
.se-strip { list-style: none; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 3px; margin: 0; padding: 0; min-width: 0; }
.se-c { display: flex; align-items: center; justify-content: center; min-height: 34px; border-radius: 8px; font-size: 12px; font-weight: 700; }
.se-c span { overflow: hidden; text-overflow: clip; }
.se-high { background: var(--good-soft); color: var(--good-text); }
.se-mid { background: var(--warn-soft); color: var(--warn-text); }
.se-low { background: var(--card-3); color: var(--muted); }
.se-legend { display: flex; flex-wrap: wrap; gap: 8px 14px; margin: 12px 0 0; font-size: 13px; }
.se-k { display: inline-flex; align-items: center; padding: 3px 10px; border-radius: 999px; font-weight: 700; font-size: 13px; white-space: nowrap; }
.se-box { display: grid; gap: 10px; padding: 16px 18px; }
.se-box p { margin: 0; }
@media (max-width: 560px) { .se-c { min-height: 30px; font-size: 10px; border-radius: 6px; } .se-strip { gap: 2px; } }
.se-more { display: inline-flex; align-items: center; min-height: 44px; font-weight: 700; color: var(--accent-text); }
.se-f-h { fill: var(--good); } .se-f-m { fill: var(--warn); } .se-f-l { fill: var(--muted); opacity: 0.6; }
.rt-chart .se-t { font-weight: 600; }
.se-note { margin: 4px 0 0; }

/* ───────── подвал (08.11.2026): один на всех страницах; раньше стили жили в wave.css, и на визах, отчетах и сервисах подвал рассыпался в один столбец ─────────
   десктоп: бренд с кнопкой + 3 колонки ссылок; ниже плитки «Для поездки», города, мелкие реквизиты. Телефон: бренд, две колонки, плитки 2×N. */
.fw { padding: 48px 0 calc(28px + env(safe-area-inset-bottom, 0px)); margin-top: 64px; }
.fw h3 { margin: 0 0 6px; font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.fw ul { list-style: none; margin: 0; padding: 0; }
.fw__top { display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr)); gap: 28px 40px; align-items: start; }
.fw__brand .foot__t { max-width: 24em; margin: 12px 0 18px; font-size: 15px; line-height: 1.5; color: var(--ink-2); }
.fw__cta { gap: var(--ic-gap); }
.fw__cta svg { width: 17px; height: 17px; }
.fw__col ul { display: grid; gap: 0; }
.fw .fw__col li a { display: inline-flex; align-items: center; min-height: 40px; padding: 2px 0; font-size: 15px; line-height: 1.3; color: var(--ink-2); }
.fw .fw__col li a:hover { color: var(--accent-text); text-decoration: none; }
.fw__tripw { margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--line); }
.fw .fw__trip { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 148px), 1fr)); gap: 10px; margin-top: 8px; }   /* .fw .fw__trip: иначе .foot ul { gap: 0 } склеивает плитки (владелец 08.11) */
.fw .fw__trip a { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; height: 100%; min-height: 48px; padding: 12px 14px; border-radius: var(--r-md); color: var(--ink); font-size: 14px; font-weight: 600; line-height: 1.25; background: var(--card-2); box-shadow: inset 0 0 0 1px var(--line); transition: background 0.15s, transform 0.15s; }
.fw .fw__trip a:hover { text-decoration: none; background: var(--card-3); transform: translateY(-1px); }
.fw__i { flex: none; display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: var(--r-sm); color: var(--accent-text); background: var(--card); box-shadow: inset 0 0 0 1px var(--line); }
.fw__i svg { width: 19px; height: 19px; }
.fw .fw__trip a:hover .fw__i { color: var(--accent); }
.fw__cities { margin-top: 26px; }
.fw__cities ul { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.fw .fw__cities li a { display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; border-radius: var(--r-pill); font-size: 14px; font-weight: 600; color: var(--ink-2); background: var(--card-2); box-shadow: inset 0 0 0 1px var(--line); }
.fw .fw__cities li a:hover { text-decoration: none; color: var(--accent-text); }
.fw__legal { margin-top: 30px; padding-top: 18px; border-top: 1px solid var(--line); display: grid; gap: 8px; font-size: 12px; line-height: 1.55; color: var(--muted); }
.fw__legal p { margin: 0; }
.fw__ad { margin: 0; padding: 0; font-size: 11.5px; line-height: 1.6; color: var(--muted); opacity: 0.9; }
.fw__ad:has(> .tp-advertiser-info:empty) { display: none; }
.fw__ad .tp-advertiser-info { display: block; margin: 0; padding: 0; font: inherit; color: inherit; background: none; }
.fw__ad .tp-advertiser-info > div { display: inline; }
.fw__ad .tp-advertiser-info > div + div::before { content: " · "; }
.fw .fw__fine { display: flex; flex-wrap: wrap; align-items: center; gap: 0 6px; margin: 0; padding: 0; border: 0; font-size: 12px; }
.fw .fw__fine a { min-height: 32px; color: var(--ink-2); }
.fw__sep { color: var(--muted); }
@media (max-width: 900px) {
  .fw__top { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .fw__brand { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .fw { padding-top: 36px; margin-top: 48px; }
  .fw__top { grid-template-columns: 1fr 1fr; gap: 22px 18px; }
  .fw__top .fw__col:last-child { grid-column: 1 / -1; }
  .fw__top .fw__col:last-child ul { display: flex; flex-wrap: wrap; gap: 0 22px; }
  .fw__cta { width: 100%; }
  .fw .fw__trip { grid-template-columns: 1fr 1fr; gap: 8px; }
  .fw .fw__trip a { flex-direction: row; align-items: center; gap: var(--ic-gap); padding: 8px 10px 8px 8px; font-size: 13.5px; }
  .fw .fw__fine { flex-direction: column; align-items: flex-start; gap: 2px; }
  .fw__sep { display: none; }
}
@media (max-width: 360px) { .fw .fw__trip { grid-template-columns: 1fr; } }

/* ───────── поиск и фильтр над длинными списками (assets/filter.js, B.fx_bar) ───────── */
[data-fx-i][hidden], [data-fx-g][hidden], .fx[hidden], .fx__reset[hidden], .fx__empty[hidden] { display: none !important; }
.fx { position: sticky; top: 72px; z-index: 5; display: grid; gap: 10px; margin: 0 0 16px; padding: 12px; border-radius: var(--r-xl, 22px); background: var(--glass); -webkit-backdrop-filter: blur(18px) saturate(1.4); backdrop-filter: blur(18px) saturate(1.4); box-shadow: var(--shadow), inset 0 1px 0 var(--glass-rim), inset 0 0 0 1px var(--glass-edge); }
html.lite .fx { -webkit-backdrop-filter: none; backdrop-filter: none; background: var(--card); }
.fx__row { display: flex; gap: 10px; flex-wrap: wrap; }
.fx__q { position: relative; flex: 1 1 260px; display: flex; align-items: center; min-width: 0; }
.fx__q svg { position: absolute; left: 14px; width: 20px; height: 20px; color: var(--muted); pointer-events: none; }
.fx__q input { width: 100%; min-height: 50px; padding: 0 14px 0 44px; border: 0; border-radius: 15px; font: inherit; font-weight: 600; color: var(--ink); background: var(--card); box-shadow: inset 0 0 0 1px var(--line-2); outline: none; -webkit-appearance: none; appearance: none; }
.fx__q input::placeholder { color: var(--muted); font-weight: 500; }
.fx__q input:focus-visible { box-shadow: inset 0 0 0 2px var(--accent); }
.fx__q input::-webkit-search-cancel-button { cursor: pointer; }
.fx__sel { flex: 0 1 260px; min-width: 0; position: relative; }
.fx__sel select { width: 100%; min-height: 50px; padding: 0 40px 0 14px; border: 0; border-radius: 15px; font: inherit; font-weight: 600; color: var(--ink); background: var(--card) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237b8a91' stroke-width='2.2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 12px center / 18px; box-shadow: inset 0 0 0 1px var(--line-2); -webkit-appearance: none; appearance: none; cursor: pointer; }
.fx__sel select:focus-visible { outline: none; box-shadow: inset 0 0 0 2px var(--accent); }
.fx__chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin: 0 -12px; padding: 0 12px 2px; }
.fx__chips::-webkit-scrollbar { display: none; }
.fx__chip { flex: none; display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 14px; border: 0; border-radius: var(--r-pill); font: inherit; font-size: 14px; font-weight: 700; color: var(--ink-2); background: var(--card); box-shadow: inset 0 0 0 1px var(--line-2); cursor: pointer; }
.fx__chip[aria-pressed="true"] { color: var(--accent-ink); background: var(--accent); box-shadow: none; }
.fx__chip:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.fx__foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 22px; padding: 0 4px; }
.fx__n { margin: 0; font-size: 13px; font-weight: 600; color: var(--muted); }
.fx__reset { min-height: 32px; padding: 0 10px; border: 0; border-radius: 10px; font: inherit; font-size: 13px; font-weight: 700; color: var(--accent-text); background: transparent; cursor: pointer; }
.fx__reset:hover { background: var(--card-2); }
.fx__empty { margin: 8px 0 0; padding: 18px; border-radius: var(--r-lg); text-align: center; color: var(--ink-2); background: var(--card-2); }
@media (max-width: 640px) {
  .fx { position: static; padding: 10px; border-radius: 18px; }
  .fx__chips { margin: 0 -10px; padding: 0 10px 2px; }
  .fx__sel { flex-basis: 100%; }
}
.fw .fw__cta, .fw .fw__cta:hover { color: var(--accent-ink); text-decoration: none; }
/* совместимость: страницы, собранные до 08.11.2026 (направления пересобираются ночью), — «Для поездки» и города внутри .fw__top, реквизиты без .fw__legal и без «·» */
.fw__top > .fw__tripw, .fw__top > .fw__cities { grid-column: 1 / -1; }
.fw__top > .fw__tripw { order: 9; margin-top: 6px; }
.fw__top > .fw__cities { order: 10; margin-top: 0; }
.fw > .wrap > .fw__ad { margin-top: 26px; padding-top: 16px; border-top: 1px solid var(--line); }
.fw > .wrap > .fw__cite { margin: 10px 0 0; padding: 0; border: 0; font-size: 12px; color: var(--muted); }
.fw > .wrap > .fw__fine { margin-top: 6px; padding: 0; border: 0; font-size: 12px; color: var(--muted); }
.fw__fine > span:not(.fw__sep) + span:not(.fw__sep)::before { content: "·"; margin-right: 6px; color: var(--muted); }
@media (max-width: 640px) {
  .fw__top > .fw__tripw { order: 0; margin-top: 0; padding-top: 0; border-top: 0; }
  .fw__fine > span:not(.fw__sep) + span:not(.fw__sep)::before { content: none; }
}

/* ───────── Значки вместо эмодзи (владелец 09.11) ─────────
   Рисунки — webapp/js/ui/icons.js (сборка: site/_icons.py; в assets/*.js — маленькие словари IC). Одноцветные в обводку: размер по шрифту, цвет текста (currentColor),
   в акцентных плашках — токены акцента (var(--accent-text)), поэтому светлая и темная тема без отдельных правил. */
.ic { display: inline-block; flex: none; width: 1.1em; height: 1.1em; vertical-align: -0.18em; overflow: visible; }
.ico { color: var(--accent-text); }
.ico .ic { width: 26px; height: 26px; }
.rt-chip .ic, .ss .chip .ic { margin-right: var(--ic-gap); }
.ss .chip .ic { color: var(--accent-text); }
.rt-hub__f .ic { width: 26px; height: 26px; vertical-align: middle; color: var(--accent-text); }
.ss__flag .ic { width: 20px; height: 20px; vertical-align: middle; color: var(--muted); }
.pv-f .ic, .pv-price__l .ic, .pv-bar__l .ic, .rt-visa .ic, .pv-budget .ic { color: var(--accent-text); }
.pv-f--wx .ic, .pv-f--visa .ic { color: inherit; }
.bellv__i { display: inline-flex; color: var(--accent-text); }
.bellv__i .ic { width: 32px; height: 32px; }
.ribbon__i i { display: inline-flex; color: var(--accent-text); }
.chat__b { display: flex; align-items: flex-start; gap: var(--ic-gap); }
.chat__i { display: inline-flex; flex: none; color: var(--accent-text); }
.chat__i .ic { width: 18px; height: 18px; }
.wq__ico, .wq-card__i { color: var(--accent-text); }
.wq__ico .ic { width: 26px; height: 26px; }
.wq-card__i { display: inline-flex; }
.wq-card__i .ic { width: 28px; height: 28px; }
.wv-lvl .ic { align-self: center; }

/* ───────── Подвал 21st (макет «Rounded Top Footer», владелец 09.11) ─────────
   оба подвала (_build.footer и _wave.footer) — внутри стеклянной карточки .foot__card со скругленным верхом и мягким свечением у верхней кромки;
   Telegram — отдельной кнопкой-«пилюлей» .foot__tg; ссылки в две колонки и на телефоне (правило владельца: подвал не в один столбец); © и RU/EN строкой, реквизиты мелко.
   Страницы, собранные раньше (направления пересобираются ночью), без .foot__card выглядят по-старому. */
.foot:has(> .wrap > .foot__card) { margin-top: 56px; padding: 0; border-top: 0; }
.fw:has(> .wrap > .foot__card) { margin-top: 64px; }
.foot__card { position: relative; isolation: isolate; overflow: hidden; padding: clamp(26px, 4vw, 44px) clamp(18px, 4vw, 44px) calc(22px + env(safe-area-inset-bottom, 0px)); border-radius: 30px 30px 0 0;
  background: var(--glass); -webkit-backdrop-filter: blur(18px) saturate(1.4); backdrop-filter: blur(18px) saturate(1.4); box-shadow: inset 0 1px 0 var(--glass-rim), inset 0 0 0 1px var(--glass-edge); }
.foot__card::before { content: ""; position: absolute; z-index: -1; inset: 0 0 auto; height: 170px; pointer-events: none;
  background: radial-gradient(60% 130px at 50% 0%, color-mix(in srgb, var(--accent) 14%, transparent), transparent), radial-gradient(40% 110px at 90% 0%, color-mix(in srgb, var(--wash-b) 30%, transparent), transparent); }
html.lite .foot__card { -webkit-backdrop-filter: none; backdrop-filter: none; background: var(--card); }
.foot__card h3 { margin: 0 0 6px; font-size: 12px; font-weight: 800; letter-spacing: 0.07em; text-transform: uppercase; color: var(--muted); }
.foot__card .foot__in { grid-template-columns: minmax(0, 1.6fr) repeat(2, minmax(0, 1fr)); gap: 22px 40px; align-items: start; }
.foot__card .foot__t { margin: 12px 0 0; max-width: 24em; font-size: 14.5px; line-height: 1.5; color: var(--muted); }
.foot__card .foot__col li a { gap: var(--ic-gap); min-height: 40px; font-size: 14.5px; font-weight: 600; color: var(--ink); }
.foot__card .foot__col li a .ic { width: 15px; height: 15px; color: var(--muted); }
.foot__card a:hover { text-decoration: none; color: var(--accent-text); }
.foot__tg { display: inline-flex; align-items: center; gap: var(--ic-gap); min-height: 44px; margin-top: 16px; padding: 0 18px 0 6px; border-radius: var(--r-pill); font-size: 14.5px; font-weight: 750; color: var(--ink);
  background: var(--glass-hi); box-shadow: var(--shadow), inset 0 0 0 1px var(--glass-edge); transition: transform 0.2s var(--ease); }
.foot__tgi { flex: none; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; color: var(--accent-ink); background: var(--accent); }
.foot__tgi svg { width: 16px; height: 16px; }
.foot__card .foot__tg:hover { transform: translateY(-1px); color: var(--ink); }
.fw .foot__tg.fw__cta, .fw .foot__tg.fw__cta:hover { width: auto; margin-top: 16px; color: var(--ink); }
.foot__meta { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 22px; padding-top: 14px; border-top: 1px solid var(--line); }
.foot__meta p { margin: 0; font-size: 12.5px; font-weight: 650; color: var(--muted); }
.foot__seg { display: inline-flex; padding: 3px; border-radius: var(--r-pill); background: var(--card-2); box-shadow: inset 0 0 0 1px var(--glass-edge); }
.foot__card .foot__seg a { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 34px; padding: 0 10px; border-radius: var(--r-pill); font-size: 12px; font-weight: 700; color: var(--muted); }
.foot__card .foot__seg a[aria-current="true"] { color: var(--ink); background: var(--card); box-shadow: 0 0 0 1px var(--line); }
.foot__req { margin: 10px 0 0; font-size: 11.5px; line-height: 1.55; color: var(--muted); }
.foot__card .foot__req a { color: inherit; text-decoration: underline; }
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .foot__card > * { animation: foot-rise linear both; animation-timeline: view(); animation-range: entry 0% entry 70%; }
  }
}
@keyframes foot-rise { from { opacity: 0; transform: translateY(14px); } }
@media (max-width: 900px) {
  .foot__card .foot__in { grid-template-columns: 1fr 1fr; }
  .foot__card .foot__brand { grid-column: 1 / -1; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
  .fw .foot__card .fw__brand { padding-bottom: 20px; border-bottom: 1px solid var(--line); }
}
@media (max-width: 640px) {
  .foot:has(> .wrap > .foot__card) > .wrap { width: calc(100% - 12px); }
  .foot:has(> .wrap > .foot__card) { margin-top: 44px; }
}

/* ───────── Общие блоки 21st (круг 6, 09.11; тот же язык, что страница /strany/india/) ─────────
   .stat-bento — крупные цифры (21st Stats Bento 25311): первая клетка шире, тон клетки — 8–12% цвета поверх карточки, цифра цветом тона.
   Тоны: --good (зеленый), --warn (желтоватый), --bad (мягкий красный), --accent (бирюза). Без backdrop-filter (облегченный режим, слабые телефоны). */
.stat-bento { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin: 22px 0 6px; }
.stat-bento__c { --tone: var(--accent); --tone-ink: var(--accent-text); display: flex; flex-direction: column; justify-content: space-between; gap: 6px; min-height: 112px; padding: 18px 20px; border-radius: var(--r-xl);
  background: radial-gradient(110% 90% at 100% 0%, color-mix(in srgb, var(--tone) 16%, transparent), transparent 60%), color-mix(in srgb, var(--tone) 7%, var(--card));
  box-shadow: var(--shadow), inset 0 0 0 1px color-mix(in srgb, var(--tone) 16%, transparent); color: var(--ink); }
.stat-bento__c--wide { grid-column: span 2; }
.stat-bento__c b { font-size: clamp(32px, 4.4vw, 48px); line-height: 1; font-weight: 800; letter-spacing: -0.04em; color: var(--tone-ink); font-variant-numeric: tabular-nums; }
.stat-bento__c span { font-size: var(--fs-sm); font-weight: 600; line-height: 1.3; color: var(--ink-2); }
.stat-bento__k { font-size: var(--fs-xs); font-weight: 700; letter-spacing: 0.02em; color: var(--muted); }
.stat-bento__c--muted { --tone: var(--ink-2); --tone-ink: var(--ink); }
/* QA 09.11 (один акцент): клетки --good/--warn/--bad больше не красятся в зеленый, желтый и красный — фон и цифра в тоне бирюзы, смысл несет подпись */
.stat-bento:has(> :nth-child(2):last-child) { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 620px) {
  .stat-bento { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .stat-bento:has(> :nth-child(2):last-child) { grid-template-columns: 1fr; }
  .stat-bento__c { min-height: 0; padding: 14px 16px; }
  .stat-bento__c--wide { grid-column: 1 / -1; }
}



/* QA 09.11: зоны нажатия не меньше 32 px на телефоне без сдвига вёрстки — у строчных ссылок поле растет за счет padding (строку не раздвигает),
   у крошек — min-height с отрицательным полем; значок внутри фразы («[[rocket]] Невероятно») отделен от слова, а не вплотную */
.wv-crumbs a, .pv-crumbs a { display: inline-flex; align-items: center; min-height: 32px; margin-block: -5px; }
.vz-tbl th a, .vz-tbl td a, .chv__more a, .pv-f--vlink a { padding-block: 7px; }
.pv-ph figcaption a { padding-block: 9px; }
.bt p > .ic, .q__a p .ic, .spd__c span > .ic { margin-inline: 0.12em 0.28em; }

/* ───────── Круг «Цвет» (09.11): иерархия ─────────
   Главное действие (кнопка .btn--primary: «Открыть в Telegram», «Запустить лиса», главная кнопка страницы) — оранжевый лиса, темный текст (контраст ≥ 5,7).
   Кнопка в шапке — синяя (важное): на первом экране оранжевая одна — в hero. Остальное — синий и мягкие тона. */
.btn--primary, .hero .btn--primary, .pv-cta .btn--primary { background: var(--cta-bg); color: var(--brand-orange-ink);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35), inset 0 0 0 1px rgba(180, 70, 10, 0.18), 0 14px 26px -14px var(--brand-orange-glow); }
.btn--primary:hover, .hero .btn--primary:hover { background: linear-gradient(180deg, #FF9555 0%, #FF8238 50%, var(--brand-orange) 100%); }
.btn--primary svg, .hero .btn--primary svg { color: inherit; }
.btn--primary.top__cta { background: var(--accent); color: var(--accent-ink); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 10px 20px -12px var(--accent-glow); }
.btn--primary.top__cta:hover { background: var(--accent-hi); }
:root[data-theme="dark"] .btn--primary { box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3), 0 14px 30px -14px var(--brand-orange-glow); }
.hero h1 em { color: var(--accent-text); }
.hero .eyebrow { background: var(--brand-peach-soft); color: var(--brand-sand-text); }
.hero .trust span::before { color: var(--good-text); }

/* крупные цифры (визы, сезоны, индекс): цвет по смыслу — можно зеленый, с оговоркой оранжевый/песок, нельзя приглушенный красный */
.stat-bento__c { --tone: var(--accent); --tone-ink: var(--accent-text); }
.stat-bento__c--good { --tone: var(--good); --tone-ink: var(--good-text); }
.stat-bento__c--warn { --tone: var(--brand-orange); --tone-ink: var(--brand-orange-text); }
.stat-bento__c--bad { --tone: var(--bad); --tone-ink: var(--bad); }
.stat-bento__c--muted { --tone: var(--brand-sand); --tone-ink: var(--ink); }

/* служебное тихо: подвал на песочной подложке, значки дымкой */
.foot__card { background: radial-gradient(80% 120% at 0% 0%, var(--brand-sand-soft), transparent 70%), var(--glass); }
.foot__tgi { color: var(--accent-ink); background: var(--accent); }
.foot__card::before { background: radial-gradient(60% 130px at 50% 0%, color-mix(in srgb, var(--wash-c) 40%, transparent), transparent), radial-gradient(40% 110px at 90% 0%, color-mix(in srgb, var(--wash-a) 30%, transparent), transparent); }

/* Шапка варианта B (превью /nav-b/, владелец 11.11): «Билеты ▾ · Поездка ▾» — прием 21st «Mega Menu Navbar»: стеклянная панель с подсветкой,
   строки «значок — название — пояснение». Открывается наведением и с клавиатуры (:focus-within), без скриптов; на телефоне меню, как и раньше, скрыто. */
.nav--b { gap: 6px; }
.mm { position: relative; }
.mm__b { display: inline-flex; align-items: center; gap: 4px; min-height: 44px; padding: 0 12px; border: 0; border-radius: var(--r-pill); background: transparent; color: var(--ink-2); font: inherit; font-weight: 600; font-size: 15px; cursor: pointer; }
.mm__b:hover, .mm:focus-within .mm__b { background: var(--glass); color: var(--ink); box-shadow: inset 0 1px 0 var(--glass-rim), inset 0 0 0 1px var(--glass-edge); }
.mm__chev { width: 16px; height: 16px; transition: transform 0.2s var(--ease); }
.mm:hover .mm__chev, .mm:focus-within .mm__chev { transform: rotate(180deg); }
.mm__p { position: absolute; top: calc(100% + 6px); left: -8px; z-index: 60; display: grid; grid-template-columns: repeat(2, 272px); gap: 4px; padding: 8px; border-radius: 20px;
  background: color-mix(in srgb, var(--bg) 82%, transparent); -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur); box-shadow: inset 0 1px 0 var(--glass-rim), inset 0 0 0 1px var(--glass-edge), 0 18px 50px -18px rgba(0, 0, 0, 0.35);
  opacity: 0; visibility: hidden; transform: translateY(-4px); transition: opacity 0.18s var(--ease), transform 0.18s var(--ease), visibility 0s linear 0.18s; }
.mm__p::before { content: ""; position: absolute; left: 0; right: 0; top: -8px; height: 8px; }   /* мостик: панель не закрывается, пока курсор идет от кнопки к ней */
.mm:hover .mm__p, .mm:focus-within .mm__p { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.mm__a { display: flex; align-items: flex-start; gap: 12px; padding: 10px 12px; border-radius: 14px; color: var(--ink); }
.mm__a:hover, .mm__a:focus-visible { text-decoration: none; background: color-mix(in srgb, var(--accent) 9%, transparent); }
.mm__a span { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.mm__a b { font-size: 15px; font-weight: 700; }
.mm__a small { color: var(--muted); font-size: 13px; line-height: 1.35; }
.mm__ic { flex: none; width: 36px; height: 36px; padding: 8px; border-radius: 12px; background: color-mix(in srgb, var(--accent) 12%, var(--card)); color: var(--accent); }
.nav--b .mm__a { min-height: 0; }
@media (prefers-reduced-motion: reduce) { .mm__p, .mm__chev { transition: none; } }

/* ───────── Одна главная кнопка и липкая панель (владелец 12.11, макеты Сайт_одна_кнопка_2026-11-12): главная (A/B hero_one) и страницы направлений ─────────
   .btn--one — оранжевая пилюля с бликом по контуру (21st «Glassmorphism CTA», @mengto: конический блик вращается по краю); .btn--glass — стеклянная второстепенная
   с синим контуром; .stbar — липкая панель снизу на телефоне (21st «Sticky Banner», Aceternity, перевернута вниз), появляется, когда главная кнопка ушла за экран. */
.btn--one { position: relative; isolation: isolate; min-height: 58px; padding: 0 28px; border-radius: var(--r-pill); font-size: 17px; white-space: nowrap; }
.btn--one::before { content: ""; position: absolute; inset: -2px; z-index: -1; border-radius: inherit; padding: 2px; pointer-events: none;
  background: conic-gradient(from var(--one-a, 210deg), transparent 0deg, rgba(255, 214, 180, 0.95) 60deg, rgba(42, 157, 173, 0.7) 120deg, transparent 200deg);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; animation: one-spin 6s linear infinite; }
.btn--one, .hero .btn--one { box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4), 0 12px 28px -10px var(--brand-orange-glow), 0 0 0 6px color-mix(in srgb, var(--brand-orange) 10%, transparent); }
@property --one-a { syntax: "<angle>"; inherits: false; initial-value: 210deg; }
@keyframes one-spin { to { --one-a: 570deg; } }
.btn--glass { min-height: 54px; padding: 0 24px; border-radius: var(--r-pill); white-space: nowrap; color: var(--accent-text); background: var(--glass);
  -webkit-backdrop-filter: blur(14px) saturate(1.4); backdrop-filter: blur(14px) saturate(1.4);
  box-shadow: inset 0 1px 0 var(--glass-rim), inset 0 0 0 1.5px color-mix(in srgb, var(--accent) 30%, transparent), 0 8px 22px -14px var(--accent-glow); }
.btn--glass:hover { background: var(--glass-hi); }
.stbar { position: fixed; z-index: 60; left: max(12px, var(--safe-l, 0px)); right: max(12px, var(--safe-r, 0px)); bottom: calc(12px + env(safe-area-inset-bottom, 0px));
  display: flex; align-items: center; gap: 12px; padding: 10px 10px 10px 16px; border-radius: 24px; background: var(--glass);
  -webkit-backdrop-filter: blur(20px) saturate(1.5); backdrop-filter: blur(20px) saturate(1.5); box-shadow: inset 0 1px 0 var(--glass-rim), inset 0 0 0 1px var(--glass-edge), 0 16px 40px -12px rgba(14, 30, 40, 0.35);
  animation: stbar-in 0.3s var(--ease, ease) both; }
.stbar[hidden] { display: none; }
@keyframes stbar-in { from { transform: translateY(110%); opacity: 0; } to { transform: none; opacity: 1; } }
.stbar__t { flex: 1; min-width: 0; font-size: 13.5px; line-height: 1.25; }
.stbar__t b { display: block; font-weight: 800; color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.stbar__t small { display: block; font-weight: 600; color: var(--muted); }
.stbar .btn { flex: none; border-radius: var(--r-pill); }
html.has-stbar body { padding-bottom: 88px; }
@media (min-width: 900px) { .stbar { display: none !important; } html.has-stbar body { padding-bottom: 0; } }
@media (max-width: 899px) { .btn--one { padding: 0 18px; font-size: 16px; white-space: normal; text-align: center; } }
@media (prefers-reduced-motion: reduce) { .btn--one::before, .stbar { animation: none; } }

/* Узкие телефоны (320–380, владелец 12.11: «прокрутки вбок быть не должно нигде»): поля 16 px, шапка «лого · RU/EN · тема» помещается в 320 без сдвига вбок */
@media (max-width: 380px) {
  .wrap { width: calc(100% - 32px); }
  .top__in { gap: 6px; }
  .logo { gap: 6px; font-size: 17px; }
}
h1, h2 { overflow-wrap: break-word; hyphens: auto; }   /* длинное слово заголовка («конфиденциальности») переносится, а не расширяет страницу на 320 */

/* Пометка «Реклама. <рекламодатель>» у партнерских ссылок (38-ФЗ, farepulse/adlabel.py) */
.adl { display: block; margin: 8px 0 0; font-size: 11.5px; line-height: 1.45; color: var(--muted); letter-spacing: 0.01em; }
.hm-chips > .adl, .cg-row > .adl, .cg-app__st > .adl { flex-basis: 100%; margin: 0; }
/* Уведомление о cookie (consent.js): небольшая стеклянная полоса внизу, страницу не закрывает */
.ck { position: fixed; z-index: 60; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom, 0px)); max-width: 640px; margin: 0 auto; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px;
  padding: 12px 14px; border-radius: 18px; background: var(--glass-hi, rgba(255, 255, 255, 0.86)); border: 1px solid var(--glass-edge, rgba(23, 37, 45, 0.08));
  -webkit-backdrop-filter: blur(18px) saturate(1.4); backdrop-filter: blur(18px) saturate(1.4); box-shadow: 0 10px 30px rgba(16, 28, 60, 0.16); }
.ck__t { flex: 1 1 260px; margin: 0; font-size: 13px; line-height: 1.45; color: var(--text); }
.ck__t a { color: inherit; text-decoration: underline; }
.ck__a { display: flex; gap: 8px; flex: 0 0 auto; margin-left: auto; }
.foot__ck { padding: 0; border: 0; background: none; font: inherit; color: inherit; text-decoration: underline; cursor: pointer; }
html.lite .ck { -webkit-backdrop-filter: none; backdrop-filter: none; background: var(--card); }

/* «О нас пишут» / «In the press» (13.11.2026): главная, /about/, /dlya-smi/. Данные — site/_press.json, разметка — _build.press_*.
   Образцы 21st.dev: Logo Cloud Marquee (бесконечная лента с затуханием по краям и паузой при наведении), Pixel Logo Grid (в покое приглушенно, цвет издания — при наведении).
   Логотипы одним нашим тоном (силуэт), свой цвет — при наведении. Рядом с заголовком — счетчик «N публикаций»; подписи с перечислением изданий нет.
   Лента: два одинаковых прохода в .press__track, сдвиг на половину ширины (только transform — дешево и на слабых телефонах). prefers-reduced-motion — обычная сетка, второй проход скрыт.
   Скорость — класс .press__belt--nK (CSP: style-src 'self', style="" нельзя): около 3,4 с на издание. */
.press__top { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin-bottom: 22px; }
.press__top h2 { margin: 0; }
.press__n { display: inline-flex; align-items: center; gap: 5px; min-height: 30px; padding: 0 13px; border-radius: 99px; font-size: 14px; line-height: 1; font-weight: 700; letter-spacing: 0.005em; white-space: nowrap;
  color: var(--accent-text); background: var(--accent-soft); text-decoration: none; transition: background 0.2s ease; }
a.press__n:hover { text-decoration: none; background: color-mix(in srgb, var(--accent-soft) 100%, var(--accent) 9%); }
a.press__n:hover .press__arr { transform: translateX(3px); }
.press__belt { position: relative; overflow: hidden; border-radius: 24px;
  background: radial-gradient(70% 120% at 100% 0%, var(--accent-soft), transparent 60%), radial-gradient(120% 80% at 0% 0%, var(--glass-hi), transparent 55%), var(--glass);
  -webkit-backdrop-filter: blur(18px) saturate(1.4); backdrop-filter: blur(18px) saturate(1.4);
  box-shadow: inset 0 1px 0 var(--glass-rim), inset 0 0 0 1px var(--glass-edge), var(--shadow); }
.press .press__row { list-style: none; margin: 0; padding: 14px 14px; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 4px 6px; }
.press .press__row li { display: flex; margin: 0; }
.press__belt--run .press__track { display: flex; width: max-content; animation: press-run 54s linear infinite; }
.press__belt--run .press__view { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 64px, #000 calc(100% - 64px), transparent 100%); mask-image: linear-gradient(90deg, transparent 0, #000 64px, #000 calc(100% - 64px), transparent 100%); }
.press .press__belt--run .press__row { flex: none; flex-wrap: nowrap; justify-content: flex-start; gap: 0 18px; padding: 14px 9px; }
.press__belt--run:hover .press__track, .press__belt--run:focus-within .press__track, .press__belt--run:active .press__track { animation-play-state: paused; }
.press__belt--n8 .press__track { animation-duration: 28s; }
.press__belt--n12 .press__track { animation-duration: 41s; }
.press__belt--n16 .press__track { animation-duration: 54s; }
.press__belt--n20 .press__track { animation-duration: 68s; }
.press__belt--n24 .press__track { animation-duration: 82s; }
.press__belt--n28 .press__track { animation-duration: 95s; }
.press__belt--n32 .press__track { animation-duration: 109s; }
.press__belt--n36 .press__track { animation-duration: 122s; }
.press__belt--n40 .press__track { animation-duration: 136s; }
@keyframes press-run { to { transform: translate3d(-50%, 0, 0); } }
.press__logo { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 8px; border-radius: 14px; color: var(--ink); text-decoration: none; transition: background 0.2s ease, transform 0.2s ease; }
.press__img { display: block; max-width: none; filter: brightness(0); opacity: 0.6; transition: filter 0.2s ease, opacity 0.2s ease; }
.press__wm { font-size: 19px; line-height: 1; font-weight: 800; letter-spacing: -0.01em; color: var(--ink); opacity: 0.62; white-space: nowrap; transition: color 0.2s ease, opacity 0.2s ease; }
html[data-theme="dark"] .press__img { filter: brightness(0) invert(1); opacity: 0.72; }
html[data-theme="dark"] .press__wm { opacity: 0.74; }
@media (hover: hover) {
  .press__logo:hover { text-decoration: none; transform: translateY(-2px); }
  .press__logo:hover .press__img { filter: none; opacity: 1; }
  .press__logo:hover .press__wm { color: var(--accent-text); opacity: 1; }
  html[data-theme="dark"] .press__logo:hover { background: #fff; }                 /* свои цвета логотипов рассчитаны на светлый фон */
  html[data-theme="dark"] .press__logo:hover .press__img { filter: none; opacity: 1; }
  html[data-theme="dark"] .press__logo:hover .press__wm { color: #0E5D7A; }
}
.press__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 20px; margin-top: 14px; font-size: 15px; line-height: 1.4; }
.press__pick { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 4px 0; color: var(--muted); text-decoration: none; }
.press__pick b { font-weight: 700; color: var(--ink); }
.press__aw { flex: none; width: 17px; height: 17px; margin-right: 7px; color: var(--accent-text); }
.press__cats { display: inline-flex; flex-wrap: wrap; }
.press__cats span { white-space: nowrap; }
.press__cats::before, .press__cats span + span::before { content: "·"; margin: 0 8px; opacity: 0.7; }
.press__pick:hover { text-decoration: none; }
.press__pick:hover b { color: var(--accent-text); }
.press__study { display: inline-flex; align-items: center; gap: 4px; font-weight: 700; color: var(--accent-text); white-space: nowrap; }
.press__study:hover { text-decoration: none; }
.press__arr { transition: transform 0.2s ease; }
.press__study:hover .press__arr { transform: translateX(3px); }
html.lite .press__belt { -webkit-backdrop-filter: none; backdrop-filter: none; background: var(--card); }
.press--doc { margin: 32px 0 8px; }
.press--doc .press__top { margin-bottom: 14px; }
.press--smi .press__top { margin-bottom: 18px; }
/* /dlya-smi/: полный список «кто и когда писал» */
.press__all { margin-top: 22px; }
.press__lh { margin: 0 0 10px; font-size: 17px; font-weight: 700; color: var(--ink); }
.press__days { margin: 0; display: grid; gap: 10px; }
.press__day { display: grid; grid-template-columns: 148px minmax(0, 1fr); gap: 4px 18px; }
.press__day dt { font-weight: 700; color: var(--ink); white-space: nowrap; }
.press__day dd { margin: 0; font-size: 16px; line-height: 1.65; color: var(--ink-2); max-width: 86ch; }
.press__day dd a, .press__also a { font-weight: 600; color: var(--accent-text); }
.press__also { margin: 12px 0 0; font-size: 14.5px; line-height: 1.55; color: var(--muted); max-width: 86ch; }
@media (max-width: 720px) {
  .press__top { margin-bottom: 16px; gap: 6px 10px; }
  .press__n { min-height: 28px; padding: 0 11px; font-size: 13px; }
  .press__belt { border-radius: 20px; }
  .press__belt--run .press__view { -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 30px, #000 calc(100% - 30px), transparent 100%); mask-image: linear-gradient(90deg, transparent 0, #000 30px, #000 calc(100% - 30px), transparent 100%); }
  .press__belt--run .press__img { zoom: 0.88; }
  .press .press__row { padding: 10px 10px; gap: 2px 4px; }
  .press .press__belt--run .press__row { padding: 8px 4px; gap: 0 8px; }
  .press__logo { min-height: 48px; padding: 0 8px; }
  .press__wm { font-size: 17px; }
  .press__foot { font-size: 14.5px; margin-top: 12px; }
  .press__pick { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 1px 0; }
  .press__cats { grid-column: 2; }
  .press__cats::before { content: none; }
  .press__day { grid-template-columns: 1fr; }
  .press__day dd { font-size: 15.5px; }
}
@media (prefers-reduced-motion: reduce) {
  .press__logo, .press__img, .press__wm, .press__arr, .press__n { transition: none; }
  .press__logo:hover { transform: none; }
  .press__belt--run .press__view { -webkit-mask-image: none; mask-image: none; }
  .press__belt--run .press__track { display: block; width: auto; animation: none; }
  .press__belt--run .press__img { zoom: 1; }
  .press .press__belt--run .press__row { flex-wrap: wrap; justify-content: center; gap: 4px 14px; padding: 14px; }
  .press__belt--run .press__row[aria-hidden="true"] { display: none; }
}

/* ───────── нативные блоки «личный мониторинг» (15.11.2026, B.native_block): стекло, подсветка акцентом и лис, обе темы через токены ───────── */
.nb { position: relative; display: flex; gap: 18px; align-items: flex-start; margin: 28px 0 0; padding: clamp(20px, 4vw, 32px); border-radius: 26px; color: var(--ink); overflow: hidden;
  background: radial-gradient(60% 90% at 100% 0%, color-mix(in srgb, var(--accent) 18%, transparent), transparent 64%), radial-gradient(120% 80% at 0% 0%, var(--glass-hi), transparent 55%), var(--glass);
  -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur); box-shadow: inset 0 1px 0 var(--glass-rim), inset 0 0 0 1px var(--glass-edge), var(--shadow); }
.nb::before { content: ""; position: absolute; inset: auto -20% -60% auto; width: 60%; height: 120%; border-radius: 50%; background: radial-gradient(closest-side, color-mix(in srgb, var(--accent) 14%, transparent), transparent); pointer-events: none; }
.nb__fox { flex: none; width: 64px; height: 64px; border-radius: 20px; background: var(--card); box-shadow: 0 10px 24px -12px var(--accent-glow, rgba(14, 93, 122, 0.45)), inset 0 0 0 1px var(--glass-edge); }
.nb__body { position: relative; min-width: 0; }
.nb__body h2 { margin: 0 0 10px; font-size: clamp(19px, 2.4vw, 23px); line-height: 1.25; }
.nb__body p { margin: 0 0 10px; color: var(--ink-2); line-height: 1.55; }
.nb__steps { margin: 0 0 12px; padding: 0; list-style: none; counter-reset: nb; display: grid; gap: 10px; }
.nb__steps li { counter-increment: nb; display: flex; gap: 12px; align-items: flex-start; color: var(--ink-2); line-height: 1.5; }
.nb__steps li::before { content: counter(nb); flex: none; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; font-weight: 800; font-size: 14px; color: var(--accent-ink); background: var(--accent); box-shadow: 0 6px 14px -8px var(--accent-glow, rgba(14, 93, 122, 0.5)); }
.nb__btn { margin-top: 6px; }
.nb--v2 { margin: 28px 0; }
@media (max-width: 560px) { .nb { flex-direction: column; gap: 12px; } .nb__fox { width: 52px; height: 52px; border-radius: 16px; } .nb__btn { width: 100%; } }

/* Плашка «Есть на русском» (17.11.2026, assets/langbar.js): тонкая полоса над страницей, не перекрывает контент; включается флагом сборки LANGBAR. */
.lb { position: relative; z-index: 61; display: flex; align-items: center; justify-content: center; gap: 10px 14px; flex-wrap: wrap; padding: 8px 44px 8px 14px; background: var(--card, #fff); border-bottom: 1px solid var(--glass-edge, rgba(23, 37, 45, 0.08)); font-size: 14px; line-height: 1.3; color: var(--text); }
.lb__t { font-weight: 600; }
.lb__x { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); width: 32px; height: 32px; border: 0; border-radius: 50%; background: none; font: inherit; font-size: 20px; line-height: 1; color: inherit; opacity: 0.6; cursor: pointer; }
.lb__x:hover { opacity: 1; }
