/* Verbatta — сайт. 13.11.2026, решения хозяина:
   — первый экран «Тишина и стекло»: стеклянный микрофон, звуковая волна, карточки итога;
   — дальше iPhone листает экраны приложения при прокрутке (как у Apple), живые фото из Flow ниже;
   — светлая и тёмная версии: по теме устройства, переключатель в шапке;
   — никаких подчёркиваний и линий под словами: главное выделяется цветом;
   — анимация «дорогая»: переливающийся фон, наклон микрофона за курсором, печать карточек,
     слова заголовков проявляются, кнопки тянутся к курсору. При «уменьшить движение» — всё сразу.
   Цвета и шрифт — БРЕНДБУК.md, курсива нет. */

/* Основные файлы — латиница без диакритики и кириллица; *-ext — диакритика (é ü ñ ł ğ…), казахские буквы, ₸ ₴.
   Браузер берёт *-ext только на страницах, где такие знаки есть (unicode-range). Сборка: content/fonts. */
@font-face { font-family: "Tilda Sans"; font-weight: 300; font-display: swap; src: url("/fonts/TildaSans-Light.woff2?v=7eea04bc") format("woff2"); unicode-range: U+0020-007E, U+00A0, U+00A3, U+00A5, U+00A7, U+00A9, U+00AB, U+00AE, U+00B0-00B1, U+00B6-00B7, U+00BB, U+00D7, U+00F7, U+0401, U+0404, U+0406-0407, U+0410-044F, U+0451, U+0454, U+0456-0457, U+0490-0491, U+2009, U+2013-2014, U+2018-201A, U+201C-201E, U+2020-2022, U+2026, U+202F-2030, U+20AC, U+20BD, U+2116, U+2122, U+2248, U+2260, U+2264-2265; }
@font-face { font-family: "Tilda Sans"; font-weight: 300; font-display: swap; src: url("/fonts/TildaSans-Light-ext.woff2?v=7eea04bc") format("woff2"); unicode-range: U+00A1-00A2, U+00A4, U+00A6, U+00A8, U+00AA, U+00AC-00AD, U+00AF, U+00B2-00B5, U+00B8-00BA, U+00BC-00D6, U+00D8-00F6, U+00F8-0131, U+0134-0137, U+0139-0148, U+014A-017E, U+018F, U+01DD, U+0218-021B, U+0237, U+0259, U+02BC, U+02C6-02C7, U+02D8-02DD, U+0300-0304, U+0306-0308, U+030A-030C, U+0312, U+0326-0328, U+0335, U+03BC, U+03C0, U+0400, U+0402-0403, U+0405, U+0408-040C, U+040E-040F, U+0450, U+0452-0453, U+0455, U+0458-045F, U+0462-0463, U+0472-0475, U+0492-0493, U+0496-049B, U+04A0-04A3, U+04AA-04AB, U+04AE-04B3, U+04B6-04B7, U+04BA-04BB, U+04C0, U+04CF-04D1, U+04D6-04D9, U+04DC-04DF, U+04E2-04E9, U+04EE-04EF, U+04F2-04F5, U+1E80-1E85, U+1E9E, U+1EF2-1EF3, U+2000-2008, U+200A-200D, U+2039-203A, U+2044, U+20B4, U+20B8, U+2120, U+2126, U+2153-2154, U+215B-215E, U+2206, U+2212, U+221E, U+25CA, U+FB00-FB04; }
@font-face { font-family: "Tilda Sans"; font-weight: 400; font-display: swap; src: url("/fonts/TildaSans-Regular.woff2?v=7eea04bc") format("woff2"); unicode-range: U+0020-007E, U+00A0, U+00A3, U+00A5, U+00A7, U+00A9, U+00AB, U+00AE, U+00B0-00B1, U+00B6-00B7, U+00BB, U+00D7, U+00F7, U+0401, U+0404, U+0406-0407, U+0410-044F, U+0451, U+0454, U+0456-0457, U+0490-0491, U+2009, U+2013-2014, U+2018-201A, U+201C-201E, U+2020-2022, U+2026, U+202F-2030, U+20AC, U+20BD, U+2116, U+2122, U+2248, U+2260, U+2264-2265; }
@font-face { font-family: "Tilda Sans"; font-weight: 400; font-display: swap; src: url("/fonts/TildaSans-Regular-ext.woff2?v=7eea04bc") format("woff2"); unicode-range: U+00A1-00A2, U+00A4, U+00A6, U+00A8, U+00AA, U+00AC-00AD, U+00AF, U+00B2-00B5, U+00B8-00BA, U+00BC-00D6, U+00D8-00F6, U+00F8-0131, U+0134-0137, U+0139-0148, U+014A-017E, U+018F, U+01DD, U+0218-021B, U+0237, U+0259, U+02BC, U+02C6-02C7, U+02D8-02DD, U+0300-0304, U+0306-0308, U+030A-030C, U+0312, U+0326-0328, U+0335, U+03BC, U+03C0, U+0400, U+0402-0403, U+0405, U+0408-040C, U+040E-040F, U+0450, U+0452-0453, U+0455, U+0458-045F, U+0462-0463, U+0472-0475, U+0492-0493, U+0496-049B, U+04A0-04A3, U+04AA-04AB, U+04AE-04B3, U+04B6-04B7, U+04BA-04BB, U+04C0, U+04CF-04D1, U+04D6-04D9, U+04DC-04DF, U+04E2-04E9, U+04EE-04EF, U+04F2-04F5, U+1E80-1E85, U+1E9E, U+1EF2-1EF3, U+2000-2008, U+200A-200D, U+2039-203A, U+2044, U+20B4, U+20B8, U+2120, U+2126, U+2153-2154, U+215B-215E, U+2206, U+2212, U+221E, U+25CA, U+FB00-FB04; }
@font-face { font-family: "Tilda Sans"; font-weight: 500; font-display: swap; src: url("/fonts/TildaSans-Medium.woff2?v=7eea04bc") format("woff2"); unicode-range: U+0020-007E, U+00A0, U+00A3, U+00A5, U+00A7, U+00A9, U+00AB, U+00AE, U+00B0-00B1, U+00B6-00B7, U+00BB, U+00D7, U+00F7, U+0401, U+0404, U+0406-0407, U+0410-044F, U+0451, U+0454, U+0456-0457, U+0490-0491, U+2009, U+2013-2014, U+2018-201A, U+201C-201E, U+2020-2022, U+2026, U+202F-2030, U+20AC, U+20BD, U+2116, U+2122, U+2248, U+2260, U+2264-2265; }
@font-face { font-family: "Tilda Sans"; font-weight: 500; font-display: swap; src: url("/fonts/TildaSans-Medium-ext.woff2?v=7eea04bc") format("woff2"); unicode-range: U+00A1-00A2, U+00A4, U+00A6, U+00A8, U+00AA, U+00AC-00AD, U+00AF, U+00B2-00B5, U+00B8-00BA, U+00BC-00D6, U+00D8-00F6, U+00F8-0131, U+0134-0137, U+0139-0148, U+014A-017E, U+018F, U+01DD, U+0218-021B, U+0237, U+0259, U+02BC, U+02C6-02C7, U+02D8-02DD, U+0300-0304, U+0306-0308, U+030A-030C, U+0312, U+0326-0328, U+0335, U+03BC, U+03C0, U+0400, U+0402-0403, U+0405, U+0408-040C, U+040E-040F, U+0450, U+0452-0453, U+0455, U+0458-045F, U+0462-0463, U+0472-0475, U+0492-0493, U+0496-049B, U+04A0-04A3, U+04AA-04AB, U+04AE-04B3, U+04B6-04B7, U+04BA-04BB, U+04C0, U+04CF-04D1, U+04D6-04D9, U+04DC-04DF, U+04E2-04E9, U+04EE-04EF, U+04F2-04F5, U+1E80-1E85, U+1E9E, U+1EF2-1EF3, U+2000-2008, U+200A-200D, U+2039-203A, U+2044, U+20B4, U+20B8, U+2120, U+2126, U+2153-2154, U+215B-215E, U+2206, U+2212, U+221E, U+25CA, U+FB00-FB04; }
@font-face { font-family: "Tilda Sans"; font-weight: 600; font-display: swap; src: url("/fonts/TildaSans-Semibold.woff2?v=7eea04bc") format("woff2"); unicode-range: U+0020-007E, U+00A0, U+00A3, U+00A5, U+00A7, U+00A9, U+00AB, U+00AE, U+00B0-00B1, U+00B6-00B7, U+00BB, U+00D7, U+00F7, U+0401, U+0404, U+0406-0407, U+0410-044F, U+0451, U+0454, U+0456-0457, U+0490-0491, U+2009, U+2013-2014, U+2018-201A, U+201C-201E, U+2020-2022, U+2026, U+202F-2030, U+20AC, U+20BD, U+2116, U+2122, U+2248, U+2260, U+2264-2265; }
@font-face { font-family: "Tilda Sans"; font-weight: 600; font-display: swap; src: url("/fonts/TildaSans-Semibold-ext.woff2?v=7eea04bc") format("woff2"); unicode-range: U+00A1-00A2, U+00A4, U+00A6, U+00A8, U+00AA, U+00AC-00AD, U+00AF, U+00B2-00B5, U+00B8-00BA, U+00BC-00D6, U+00D8-00F6, U+00F8-0131, U+0134-0137, U+0139-0148, U+014A-017E, U+018F, U+01DD, U+0218-021B, U+0237, U+0259, U+02BC, U+02C6-02C7, U+02D8-02DD, U+0300-0304, U+0306-0308, U+030A-030C, U+0312, U+0326-0328, U+0335, U+03BC, U+03C0, U+0400, U+0402-0403, U+0405, U+0408-040C, U+040E-040F, U+0450, U+0452-0453, U+0455, U+0458-045F, U+0462-0463, U+0472-0475, U+0492-0493, U+0496-049B, U+04A0-04A3, U+04AA-04AB, U+04AE-04B3, U+04B6-04B7, U+04BA-04BB, U+04C0, U+04CF-04D1, U+04D6-04D9, U+04DC-04DF, U+04E2-04E9, U+04EE-04EF, U+04F2-04F5, U+1E80-1E85, U+1E9E, U+1EF2-1EF3, U+2000-2008, U+200A-200D, U+2039-203A, U+2044, U+20B4, U+20B8, U+2120, U+2126, U+2153-2154, U+215B-215E, U+2206, U+2212, U+221E, U+25CA, U+FB00-FB04; }
@font-face { font-family: "Tilda Sans"; font-weight: 700; font-display: swap; src: url("/fonts/TildaSans-Bold.woff2?v=7eea04bc") format("woff2"); unicode-range: U+0020-007E, U+00A0, U+00A3, U+00A5, U+00A7, U+00A9, U+00AB, U+00AE, U+00B0-00B1, U+00B6-00B7, U+00BB, U+00D7, U+00F7, U+0401, U+0404, U+0406-0407, U+0410-044F, U+0451, U+0454, U+0456-0457, U+0490-0491, U+2009, U+2013-2014, U+2018-201A, U+201C-201E, U+2020-2022, U+2026, U+202F-2030, U+20AC, U+20BD, U+2116, U+2122, U+2248, U+2260, U+2264-2265; }
@font-face { font-family: "Tilda Sans"; font-weight: 700; font-display: swap; src: url("/fonts/TildaSans-Bold-ext.woff2?v=7eea04bc") format("woff2"); unicode-range: U+00A1-00A2, U+00A4, U+00A6, U+00A8, U+00AA, U+00AC-00AD, U+00AF, U+00B2-00B5, U+00B8-00BA, U+00BC-00D6, U+00D8-00F6, U+00F8-0131, U+0134-0137, U+0139-0148, U+014A-017E, U+018F, U+01DD, U+0218-021B, U+0237, U+0259, U+02BC, U+02C6-02C7, U+02D8-02DD, U+0300-0304, U+0306-0308, U+030A-030C, U+0312, U+0326-0328, U+0335, U+03BC, U+03C0, U+0400, U+0402-0403, U+0405, U+0408-040C, U+040E-040F, U+0450, U+0452-0453, U+0455, U+0458-045F, U+0462-0463, U+0472-0475, U+0492-0493, U+0496-049B, U+04A0-04A3, U+04AA-04AB, U+04AE-04B3, U+04B6-04B7, U+04BA-04BB, U+04C0, U+04CF-04D1, U+04D6-04D9, U+04DC-04DF, U+04E2-04E9, U+04EE-04EF, U+04F2-04F5, U+1E80-1E85, U+1E9E, U+1EF2-1EF3, U+2000-2008, U+200A-200D, U+2039-203A, U+2044, U+20B4, U+20B8, U+2120, U+2126, U+2153-2154, U+215B-215E, U+2206, U+2212, U+221E, U+25CA, U+FB00-FB04; }

/* ---------- темы ---------- */
:root, [data-theme="light"] {
  --bg: #f5f5f7;
  --alt: #ffffff;
  --card: #ffffff;
  --card-2: #f5f5f7;
  --ink: #16151d;
  --ink-2: #3a3747;
  --muted: #5f5c70;
  --muted-2: #8b88a0;
  --line: rgba(22, 21, 29, 0.1);
  --accent: #4f46d8;
  --accent-soft: rgba(79, 70, 216, 0.1);
  --head: rgba(245, 245, 247, 0.82);
  --hero-bg: radial-gradient(60% 60% at 50% 48%, #dcd6ff 0%, #ece9fd 40%, #f6f5fc 75%, #f8f8fb 100%);
  --hero-h1: linear-gradient(180deg, #16151d 0%, #2f2a5c 60%, #4f46d8 100%);
  --hero-thin: #4f46d8;
  --hcard: rgba(255, 255, 255, 0.78);
  --hcard-line: rgba(22, 21, 29, 0.08);
  --blob-1: rgba(140, 122, 255, 0.35);
  --blob-2: rgba(255, 176, 150, 0.22);
  --band: #13121b;
  color-scheme: light;
}
[data-theme="dark"] {
  --bg: #0b0a12;
  --alt: #100f18;
  --card: #17161f;
  --card-2: #1d1c27;
  --ink: #f1f0f7;
  --ink-2: #d4d2e3;
  --muted: #a3a0b8;
  --muted-2: #77748d;
  --line: rgba(255, 255, 255, 0.1);
  --accent: #9aa2ff;
  --accent-soft: rgba(154, 162, 255, 0.12);
  --head: rgba(11, 10, 18, 0.78);
  --hero-bg: radial-gradient(70% 70% at 50% 46%, #241c58 0%, #0d0d17 58%, #08080d 100%);
  --hero-h1: linear-gradient(180deg, #ffffff 0%, #f0edff 45%, #c7c2fa 100%);
  --hero-thin: #d8dbff;
  --hcard: rgba(255, 255, 255, 0.06);
  --hcard-line: rgba(255, 255, 255, 0.12);
  --blob-1: rgba(107, 89, 237, 0.4);
  --blob-2: rgba(255, 150, 120, 0.1);
  --band: #15141e;
  color-scheme: dark;
}
:root { --pad: clamp(16px, 4vw, 56px); --maxw: 1280px; --ease: cubic-bezier(0.22, 1, 0.36, 1); }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; background: var(--bg); }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  margin: 0; background: var(--bg); color: var(--ink); transition: background 0.4s, color 0.4s;
  font: 400 18px/1.6 "Tilda Sans", -apple-system, "SF Pro Text", "Segoe UI", "Noto Sans", "PingFang SC", "Hiragino Sans",
        "Apple SD Gothic Neo", "Geeza Pro", "Kohinoor Devanagari", Arial, sans-serif;
  -webkit-font-smoothing: antialiased; overflow-x: hidden; overflow-wrap: break-word;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p { margin: 0; }
::selection { background: rgba(140, 150, 248, 0.45); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.grain { display: none; }
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--pad); }
mark { background: none; color: var(--accent); padding: 0; }
.thin { font-weight: 300; }

/* ---------- шапка ---------- */
.top { position: fixed; left: 0; right: 0; top: 0; z-index: 50; transition: background 0.3s; }
.top.scrolled { background: var(--head); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); }
.top__in { display: flex; align-items: center; justify-content: space-between; gap: 18px; height: 72px; }
.logo { display: inline-flex; align-items: center; gap: 9px; margin-inline-end: auto; }  /* логический отступ: в арабском логотип у правого края */
.logo img { width: 32px; height: 32px; border-radius: 22.5%; }
.logo span { font-weight: 700; font-size: 23px; letter-spacing: -0.02em; }
.nav { display: flex; gap: 28px; font-size: 15px; font-weight: 500; margin-right: 12px; }
.nav a { color: var(--muted); transition: color 0.2s; }
.nav a:hover, .nav a[aria-current] { color: var(--ink); }
.theme, .lang { display: inline-grid; place-items: center; height: 38px; min-width: 38px; padding: 0 14px; border-radius: 999px; border: 0; background: var(--accent-soft); color: var(--ink); font: 600 13px/1 "Tilda Sans", sans-serif; letter-spacing: 0.06em; cursor: pointer; }
.theme { padding: 0; width: 38px; }
.theme svg { width: 18px; height: 18px; grid-area: 1 / 1; transition: transform 0.5s var(--ease), opacity 0.3s; }
[data-theme="light"] .theme .i-sun { opacity: 0; transform: rotate(-90deg) scale(0.6); }
[data-theme="dark"] .theme .i-moon { opacity: 0; transform: rotate(90deg) scale(0.6); }
.langs { position: relative; }
.langs summary { list-style: none; }
.langs summary::-webkit-details-marker { display: none; }
.langs ul { position: absolute; right: 0; top: calc(100% + 10px); margin: 0; padding: 8px; list-style: none; min-width: 200px; max-height: 70vh; overflow: auto; border-radius: 18px; background: var(--card); color: var(--ink); box-shadow: 0 0 0 1px var(--line), 0 30px 60px -24px rgba(0, 0, 0, 0.4); }
.langs li a { display: block; padding: 9px 14px; border-radius: 10px; font-size: 15px; font-weight: 500; color: var(--muted); }
.langs li a:hover, .langs li a[aria-current] { background: var(--card-2); color: var(--ink); }
body:not(.home) main { padding-top: 72px; }

/* ---------- кнопки ---------- */
.btn { display: inline-flex; align-items: center; gap: 12px; height: 56px; padding: 0 26px; border-radius: 999px; font-weight: 600; font-size: 16px; white-space: nowrap; transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), background 0.3s; background: var(--ink); color: var(--bg); will-change: transform; }
.btn:hover { box-shadow: 0 18px 40px -18px rgba(79, 70, 216, 0.7); }
.btn--soon { cursor: default; }
.btn--soon::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #8c96f8; box-shadow: 0 0 10px #8c96f8; animation: pulse 2s ease-in-out infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }
.btn--glass { background: var(--accent-soft); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.badge { display: inline-flex; align-items: center; height: 56px; }
.badge img { height: 52px; width: auto; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }

/* ---------- первый экран ---------- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; justify-content: center; text-align: center; overflow: hidden; background: var(--hero-bg); }
.hero::before, .hero::after { content: ""; position: absolute; width: 60vw; height: 60vw; border-radius: 50%; filter: blur(90px); pointer-events: none; }
.hero::before { background: var(--blob-1); left: -15vw; top: -20vw; animation: drift1 18s ease-in-out infinite alternate; }
.hero::after { background: var(--blob-2); right: -20vw; bottom: -25vw; animation: drift2 22s ease-in-out infinite alternate; }
@keyframes drift1 { to { transform: translate(18vw, 12vw) scale(1.15); } }
@keyframes drift2 { to { transform: translate(-16vw, -10vw) scale(0.9); } }
.hero__center { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; padding-top: 112px; padding-bottom: 64px; }
.kicker { display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px; border-radius: 999px; background: var(--accent-soft); font-size: 13px; font-weight: 600; letter-spacing: 0.08em; color: var(--accent); }
.kicker::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; box-shadow: 0 0 10px currentColor; }
.h1 { margin-top: 24px; font-weight: 700; font-size: clamp(46px, 7vw, 108px); line-height: 0.95; letter-spacing: -0.05em; background: var(--hero-h1); -webkit-background-clip: text; background-clip: text; color: transparent; }
.h1 .thin { display: inline-block; color: var(--hero-thin); -webkit-text-fill-color: var(--hero-thin); }
.lead { font-size: clamp(18px, 1.5vw, 21px); line-height: 1.55; color: var(--muted); max-width: 44ch; }
.hero .lead { margin: 24px auto 0; }
.hero .actions { justify-content: center; }
.hstage { position: relative; width: 100%; height: 300px; margin: 36px 0 6px; }
.hmicw { position: absolute; left: 50%; top: 40px; width: 220px; height: 220px; margin-left: -110px; transition: transform 0.5s var(--ease); transform-style: preserve-3d; }
.hmic { width: 220px; height: 220px; border-radius: 22.5%; box-shadow: 0 0 120px rgba(107, 89, 237, 0.7), 0 40px 80px -24px rgba(0, 0, 0, 0.55); animation: float 6s ease-in-out infinite; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
.hmicw::after { content: ""; position: absolute; inset: -30px; border-radius: 50%; border: 1px solid rgba(140, 150, 248, 0.35); animation: ring 3.2s ease-out infinite; pointer-events: none; }
@keyframes ring { from { transform: scale(0.7); opacity: 0.9; } to { transform: scale(1.5); opacity: 0; } }
.hwave { position: absolute; top: 150px; right: calc(50% + 150px); display: flex; gap: 7px; align-items: center; height: 0; }
.hwave i { width: 6px; border-radius: 3px; background: linear-gradient(180deg, #c9cdff, #6b59ed); animation: wave 1.2s ease-in-out infinite; }
.hwave i:nth-child(odd) { animation-duration: 0.9s; } .hwave i:nth-child(3n) { animation-duration: 1.5s; }
.hwave i:nth-child(1) { height: 18px; opacity: 0.35; } .hwave i:nth-child(2) { height: 40px; opacity: 0.45; } .hwave i:nth-child(3) { height: 70px; opacity: 0.55; }
.hwave i:nth-child(4) { height: 34px; opacity: 0.6; } .hwave i:nth-child(5) { height: 92px; opacity: 0.7; } .hwave i:nth-child(6) { height: 58px; opacity: 0.75; }
.hwave i:nth-child(7) { height: 26px; opacity: 0.8; } .hwave i:nth-child(8) { height: 76px; } .hwave i:nth-child(9) { height: 44px; }
.hwave i:nth-child(10) { height: 100px; } .hwave i:nth-child(11) { height: 52px; } .hwave i:nth-child(12) { height: 30px; }
.hwave i:nth-child(13) { height: 64px; } .hwave i:nth-child(14) { height: 22px; }
@keyframes wave { 0%, 100% { transform: scaleY(0.45); } 50% { transform: scaleY(1); } }
.hcards { position: absolute; top: 66px; left: calc(50% + 150px); display: flex; flex-direction: column; gap: 14px; text-align: left; }
.hcard { display: inline-flex; gap: 10px; align-items: center; font-size: 17px; padding: 10px 16px; border-radius: 14px; background: var(--hcard); color: var(--ink); box-shadow: inset 0 0 0 1px var(--hcard-line), 0 20px 40px -24px rgba(51, 38, 140, 0.4); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); white-space: nowrap; width: max-content; }
.hcard b { font-size: 12px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); }
.hcard span.typing::after { content: ""; display: inline-block; width: 2px; height: 1em; margin-left: 2px; vertical-align: -2px; background: var(--accent); animation: caret 0.8s steps(1) infinite; }
@keyframes caret { 50% { opacity: 0; } }
.hcard:nth-child(2) { margin-left: 40px; } .hcard:nth-child(3) { margin-left: 80px; }
html.js:not(.reduce) .hstage .hcard { opacity: 0; transform: translateX(-24px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
html.js:not(.reduce) .hstage .hcard.on { opacity: 1; transform: none; }

/* ---------- iPhone ---------- */
.phone { width: 300px; border-radius: 54px; padding: 10px; background: #0d0d12; box-shadow: inset 0 0 0 1.5px #3a3846, 0 60px 120px -50px rgba(0, 0, 0, 0.6), 0 20px 40px -26px rgba(51, 38, 140, 0.35); }
.phone__screen { position: relative; border-radius: 44px; overflow: hidden; background: #fff; aspect-ratio: 1320 / 2868; }
.phone__screen img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- разделы ---------- */
.section { padding: clamp(80px, 10vw, 140px) 0; }
.section--white { background: var(--alt); }
.head { max-width: 900px; margin-bottom: clamp(44px, 5vw, 72px); }
.head .lead { margin-top: 18px; }
.eyebrow { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; font-size: 13px; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted); }
.eyebrow b { color: var(--accent); }
.h2 { font-weight: 700; font-size: clamp(36px, 4.8vw, 66px); line-height: 1.03; letter-spacing: -0.04em; }

/* знакомо? */
.pains__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.pain { padding: 32px 28px; border-radius: 26px; background: var(--card-2); transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease); }
.pain:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -36px rgba(51, 38, 140, 0.5); }
.pain__ic { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; background: var(--accent-soft); color: var(--accent); margin-bottom: 26px; }
.pain__ic svg { width: 24px; height: 24px; }
.pain h3 { font-weight: 700; font-size: 24px; letter-spacing: -0.02em; margin-bottom: 10px; }
.pain p { color: var(--muted); font-size: 17px; }
.pains__answer { margin-top: 48px; font-weight: 600; font-size: clamp(24px, 2.6vw, 34px); line-height: 1.3; letter-spacing: -0.02em; max-width: 34ch; }

/* история: iPhone листает экраны при прокрутке */
.story { position: relative; background: var(--bg); }
.story__sticky { padding: 110px 0 80px; }
html.js:not(.reduce) .story__sticky { position: sticky; top: 0; height: 100vh; height: 100svh; padding: 72px 0 0; display: flex; align-items: center; overflow: hidden; }
.story__in { width: 100%; }
.story__grid { display: grid; grid-template-columns: minmax(0, 1fr) auto 24px; gap: clamp(30px, 6vw, 100px); align-items: center; }
html.js:not(.reduce) .story__in { display: grid; grid-template-columns: minmax(0, 1fr) auto 24px; grid-template-rows: auto 1fr; column-gap: clamp(30px, 6vw, 100px); align-items: center; }
html.js:not(.reduce) .story__grid { display: contents; }
html.js:not(.reduce) .story__head { grid-row: 1; align-self: end; }
html.js:not(.reduce) .story__caps { grid-column: 1; grid-row: 2; align-self: start; margin-top: 34px; }
html.js:not(.reduce) .story__phone { grid-column: 2; grid-row: 1 / span 2; }
html.js:not(.reduce) .story__dots { grid-column: 3; grid-row: 1 / span 2; }
.story__caps { position: relative; min-height: 220px; }
.cap { padding: 22px 0; }
.cap__n { display: block; font-size: 13px; font-weight: 600; letter-spacing: 0.18em; color: var(--accent); margin-bottom: 10px; }
.cap h3 { font-weight: 700; font-size: clamp(28px, 3vw, 42px); line-height: 1.06; letter-spacing: -0.035em; margin-bottom: 12px; }
.cap p { font-size: 19px; color: var(--muted); max-width: 40ch; }
html.js:not(.reduce) .cap { position: absolute; left: 0; right: 0; top: 0; padding: 0; opacity: 0; transform: translateY(24px); filter: blur(6px); transition: opacity 0.55s var(--ease), transform 0.6s var(--ease), filter 0.6s var(--ease); pointer-events: none; }
html.js:not(.reduce) .cap.on { opacity: 1; transform: none; filter: none; }
.story__phone { display: flex; justify-content: center; perspective: 1400px; }
.story__phone .phone { width: min(330px, calc((100vh - 140px) / 2.2)); transform: scale(var(--s, 1)) rotateY(var(--ry, 0deg)) rotate(var(--r, 0deg)); transition: transform 0.25s linear; }
.story__phone .scr { position: absolute; inset: 0; opacity: 0; transform: scale(1.04); transition: opacity 0.55s var(--ease), transform 0.8s var(--ease); }
.story__phone .scr[data-i="0"] { position: relative; opacity: 1; transform: none; }
html.js:not(.reduce) .story__phone .scr[data-i="0"] { opacity: 0; }
html.js:not(.reduce) .story__phone .scr.on { opacity: 1; transform: none; }
.story__dots { display: flex; flex-direction: column; gap: 10px; align-items: center; }
.story__dots i { width: 8px; height: 8px; border-radius: 50%; background: var(--line); transition: transform 0.3s, background 0.3s; }
.story__dots i.on { background: var(--accent); transform: scale(1.5); }
html:not(.js) .story__dots, html.reduce .story__dots { display: none; }

/* полоса с фото */
.pband { position: relative; min-height: 80vh; display: flex; align-items: flex-end; color: #fff; overflow: hidden; background: #2a2833; }
.pband__bg, .pband__bg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 70% 40%; }
.pband__bg img { transform: scale(var(--pz, 1.08)); transition: transform 0.1s linear; }
.pband__shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(14, 13, 22, 0.82) 0%, rgba(14, 13, 22, 0.4) 45%, rgba(14, 13, 22, 0) 72%); }
.pband__in { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 40px; align-items: end; padding-top: 120px; padding-bottom: 70px; }
.pband__text { font-weight: 700; font-size: clamp(32px, 4vw, 56px); line-height: 1.08; letter-spacing: -0.035em; max-width: 18ch; }
.tcard { width: 380px; padding: 18px 20px 12px; border-radius: 22px; color: #16151d; background: rgba(255, 255, 255, 0.88); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); box-shadow: 0 30px 70px -30px rgba(0, 0, 0, 0.55); }
.tcard__h { display: flex; justify-content: space-between; font-size: 12px; font-weight: 600; color: #8b88a0; margin-bottom: 8px; letter-spacing: 0.04em; }
.tcard__h b { color: #ff453a; font-weight: 700; animation: pulse 1.6s ease-in-out infinite; }
.tline { display: grid; grid-template-columns: 70px 1fr; gap: 10px; padding: 7px 0; font-size: 15px; line-height: 1.45; }
.tline .who { font-size: 12px; font-weight: 600; padding-top: 2px; }
.tline .who i { display: inline-block; width: 7px; height: 7px; border-radius: 50%; margin-right: 6px; vertical-align: 1px; background: #6b59ed; }
.tline.s2 .who i { background: #e8865f; }
.tcard mark { color: #4f46d8; font-weight: 600; }

/* плитки */
.tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.tile { border-radius: 28px; background: var(--card-2); padding: 18px 18px 28px; overflow: hidden; transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease); }
.tile:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -36px rgba(51, 38, 140, 0.5); }
.tile__img { border-radius: 18px; overflow: hidden; background: var(--card); aspect-ratio: 4 / 3; }
.tile__img img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform 0.8s var(--ease); }
.tile:hover .tile__img img { transform: scale(1.04); }
.tile--pdf .tile__img { padding: 18px 40px 0; }
.tile--pdf .tile__img img { border-radius: 6px 6px 0 0; box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.35); }
.tile h3 { font-weight: 700; font-size: 22px; letter-spacing: -0.02em; margin: 22px 10px 6px; }
.tile p { color: var(--muted); font-size: 16px; margin: 0 10px; }

/* цифры */
.band { background: var(--band); color: #f3f2fa; padding: clamp(64px, 8vw, 110px) 0; }
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.stat__n { font-weight: 700; font-size: clamp(72px, 9vw, 140px); line-height: 0.85; letter-spacing: -0.06em; background: linear-gradient(180deg, #fff 0%, #c7c2fa 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat p { margin-top: 16px; color: #a6a3bb; font-size: 17px; font-weight: 500; max-width: 26ch; }

/* языки — бегущая строка */
.langsec { padding: clamp(80px, 10vw, 130px) 0; background: var(--alt); overflow: hidden; }
.marquee { display: grid; gap: 14px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee__row { display: flex; gap: 14px; width: max-content; animation: marquee 60s linear infinite; }
.marquee__row--rev { animation-direction: reverse; animation-duration: 70s; }
.marquee__row span { padding: 14px 24px; border-radius: 999px; background: var(--card-2); font-weight: 600; font-size: clamp(18px, 1.8vw, 24px); white-space: nowrap; }
.marquee__row span:nth-child(5n + 1) { background: var(--accent-soft); color: var(--accent); }
@keyframes marquee { to { transform: translateX(-50%); } }
.marquee:hover .marquee__row { animation-play-state: paused; }

/* кому — карточки с фото */
.pcards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.pcard { border-radius: 26px; background: var(--card); overflow: hidden; padding-bottom: 26px; transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease); }
.pcard:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -36px rgba(51, 38, 140, 0.5); }
.pcard__img { aspect-ratio: 4 / 3; overflow: hidden; background: var(--card-2); }
.pcard__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease); }
.pcard:hover .pcard__img img { transform: scale(1.06); }
.pcard h3 { font-weight: 700; font-size: 22px; letter-spacing: -0.02em; margin: 20px 22px 8px; }
.pcard p { color: var(--muted); font-size: 16px; margin: 0 22px; }

/* приватность */
.privacy { position: relative; color: #f3f2fa; background: #111018; overflow: hidden; }
.privacy__bg, .privacy__bg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.privacy__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(14, 13, 22, 0.88) 0%, rgba(14, 13, 22, 0.55) 55%, rgba(14, 13, 22, 0.2) 100%); }
.privacy__in { position: relative; padding-top: clamp(100px, 12vw, 170px); padding-bottom: clamp(100px, 12vw, 170px); }
.privacy .eyebrow { color: #a6a3bb; }
.privacy .eyebrow b, .privacy mark { color: #b3b9ff; }
.words { font-weight: 700; font-size: clamp(32px, 4.4vw, 64px); line-height: 1.08; letter-spacing: -0.035em; max-width: 20ch; }
html.js:not(.reduce) .words .w { opacity: 0.2; transition: opacity 0.35s; }
html.js:not(.reduce) .words .w.on { opacity: 1; }
.priv__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 56px; max-width: 900px; }
.priv__list div { font-size: 16px; font-weight: 500; color: #e2e0ef; }
.priv__list div::before { content: ""; display: block; width: 8px; height: 8px; border-radius: 50%; background: #8c96f8; box-shadow: 0 0 10px #8c96f8; margin-bottom: 12px; }
.priv__link { display: inline-block; margin-top: 34px; font-weight: 600; color: #c9cdff; }

/* цена */
.price { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.price__big { font-weight: 700; font-size: clamp(110px, 15vw, 220px); line-height: 0.85; letter-spacing: -0.06em; }
.price__big small { display: block; font-size: 0.17em; letter-spacing: -0.01em; margin-top: 22px; font-weight: 600; color: var(--muted); }
.price p { font-size: 21px; color: var(--ink-2); max-width: 38ch; margin-bottom: 30px; }

/* вопросы */
div.faq { max-width: 960px; } /* div — у страницы вопросов у body тоже класс faq */
.qa { border-radius: 18px; transition: background 0.3s; }
.qa + .qa { margin-top: 6px; }
.qa[open], .qa:hover { background: var(--card-2); }
.qa summary { list-style: none; cursor: pointer; position: relative; padding: 22px 64px 22px 22px; font-weight: 600; font-size: clamp(19px, 1.7vw, 22px); letter-spacing: -0.01em; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after {
  content: ""; position: absolute; right: 18px; top: 50%; width: 30px; height: 30px; margin-top: -15px; border-radius: 50%; background-color: var(--accent-soft);
  background-image: linear-gradient(var(--accent), var(--accent)), linear-gradient(var(--accent), var(--accent)); background-size: 11px 1.5px, 1.5px 11px; background-position: center; background-repeat: no-repeat;
  transition: transform 0.35s var(--ease);
}
.qa[open] summary::after { transform: rotate(45deg); }
.qa__a { padding: 0 64px 24px 22px; }
.qa__a p { color: var(--ink-2); font-size: 18px; max-width: 70ch; }
.qa__a a { color: var(--accent); font-weight: 600; }
.note { margin-top: 40px; color: var(--muted); font-size: 14px; font-weight: 500; max-width: 90ch; }
.note a { color: var(--muted); }

/* финал */
.final { position: relative; color: #fff; background: #111018; overflow: hidden; text-align: center; }
.final__bg, .final__bg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.final__bg::after { content: ""; position: absolute; inset: 0; background: rgba(14, 13, 22, 0.55); }
.final__in { position: relative; padding-top: clamp(120px, 14vw, 200px); padding-bottom: clamp(120px, 14vw, 200px); display: flex; flex-direction: column; align-items: center; }
.final .h2 { max-width: 16ch; }
.final mark { color: #b3b9ff; }
.final p { margin: 22px 0 34px; font-size: 20px; color: rgba(255, 255, 255, 0.85); }
.final .btn { background: #fff; color: #16151d; }

/* документы */
.doc { padding: 50px 0 110px; }
.doc article { max-width: 72ch; margin: 0 auto; }
.doc h1 { font-weight: 700; font-size: clamp(36px, 5vw, 60px); line-height: 1.02; letter-spacing: -0.035em; margin-bottom: 18px; }
.doc .edition { color: var(--accent); font-weight: 600; font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 40px; }
.doc h2 { font-weight: 700; font-size: 26px; letter-spacing: -0.015em; margin: 50px 0 14px; }
.doc h3 { font-weight: 700; font-size: 20px; margin: 30px 0 8px; }
.doc p, .doc li { font-size: 18px; line-height: 1.7; color: var(--ink-2); }
.doc p { margin-bottom: 1em; }
.doc ul { padding-left: 1.2em; margin: 0 0 1em; }
.doc li { margin-bottom: 8px; }
.doc li::marker { color: var(--accent); }
.doc a { color: var(--accent); font-weight: 600; overflow-wrap: anywhere; }
.doc .lead { font-weight: 600; font-size: 26px; color: var(--ink); margin-bottom: 18px; max-width: none; }
.legal-note { padding: 14px 18px; border-radius: 14px; background: var(--accent-soft); color: var(--accent) !important; font-weight: 500; margin-bottom: 28px !important; }

/* подвал */
.bottom { padding: 48px 0 40px; background: var(--bg); }
.bottom__in { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; font-size: 15px; font-weight: 500; color: var(--muted); }
.bottom nav { display: flex; flex-wrap: wrap; gap: 8px 26px; }
.bottom a { color: var(--muted); }
.bottom a:hover, .bottom a[aria-current] { color: var(--ink); }

/* ---------- появление ---------- */
html.js:not(.reduce) [data-reveal] { opacity: 0; transform: translateY(30px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
html.js:not(.reduce) [data-reveal].in { opacity: 1; transform: none; }
.tiles [data-reveal]:nth-child(2), .pcards [data-reveal]:nth-child(2), .stats [data-reveal]:nth-child(2), .pains__grid [data-reveal]:nth-child(2) { transition-delay: 0.1s; }
.tiles [data-reveal]:nth-child(3), .pcards [data-reveal]:nth-child(3), .stats [data-reveal]:nth-child(3), .pains__grid [data-reveal]:nth-child(3) { transition-delay: 0.2s; }
.pcards [data-reveal]:nth-child(4) { transition-delay: 0.3s; }
/* слова заголовков проявляются по одному (раскладывает site.js) */
html.js:not(.reduce) .wd { display: inline-block; opacity: 0; transform: translateY(0.4em); filter: blur(8px); transition: opacity 0.7s var(--ease), transform 0.8s var(--ease), filter 0.8s var(--ease); }
html.js:not(.reduce) .words-in .wd { opacity: 1; transform: none; filter: none; }
.h1 .wd { background: inherit; -webkit-background-clip: text; background-clip: text; }
/* хозяин 16.11: у «ends» срезался хвост «s». Заголовок шириной ровно в текст, а из-за плотного трекинга последняя
   буква выступает за рамку — градиент (background-clip: text) туда не достаёт. Поля + такой же отрицательный отступ:
   заливка достаёт до края буквы, а ширина строки и центровка прежние */
.h1 { padding-inline: 0.1em; margin-inline: -0.1em; }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; } }

/* справа налево */
[dir="rtl"] .qa summary { padding: 22px 22px 22px 64px; }
[dir="rtl"] .qa summary::after { right: auto; left: 18px; }
[dir="rtl"] .langs ul { right: auto; left: 0; }

/* ---------- узкие экраны ---------- */
@media (max-width: 1080px) {
  .nav { display: none; }
  .tiles, .pains__grid { grid-template-columns: minmax(0, 1fr); max-width: 560px; }
  .pcards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  body { font-size: 17px; }
  .top__in { height: 64px; gap: 10px; }
  .hero__center { padding-top: 96px; padding-bottom: 50px; }
  .kicker { font-size: 12px; padding: 7px 12px; letter-spacing: 0.04em; }
  .hstage { height: 330px; }
  .hmicw { width: 150px; height: 150px; margin-left: -75px; top: 0; }
  .hmic { width: 150px; height: 150px; }
  .hwave { display: none; }
  .hcards { left: 50%; top: 178px; transform: translateX(-50%); align-items: center; }
  .hcard { font-size: 15px; }
  .hcard:nth-child(2), .hcard:nth-child(3) { margin-left: 0; }
  html.js:not(.reduce) .story__in { grid-template-columns: minmax(0, 1fr) 14px; grid-template-rows: auto auto 1fr; column-gap: 12px; }
  html.js:not(.reduce) .story__head { grid-column: 1 / -1; grid-row: 1; }
  html.js:not(.reduce) .story__head .h2 { font-size: 26px; }
  html.js:not(.reduce) .story__head .eyebrow { margin-bottom: 8px; }
  html.js:not(.reduce) .story__phone { grid-column: 1; grid-row: 2; margin-top: 14px; }
  html.js:not(.reduce) .story__caps { grid-column: 1; grid-row: 3; margin-top: 16px; min-height: 150px; }
  html.js:not(.reduce) .story__dots { grid-column: 2; grid-row: 2; }
  .story__phone .phone { width: min(230px, calc((100vh - 330px) / 2.2)); border-radius: 40px; padding: 8px; }
  .story__phone .phone__screen { border-radius: 33px; }
  .cap h3 { font-size: 24px; margin-bottom: 6px; }
  .cap p { font-size: 16px; }
  .pband__in { grid-template-columns: minmax(0, 1fr); }
  .pband__shade { background: linear-gradient(0deg, rgba(14, 13, 22, 0.9) 0%, rgba(14, 13, 22, 0.5) 60%, rgba(14, 13, 22, 0.1) 100%); }
  .tcard { display: none; }
  .pcards, .stats, .priv__list, .price { grid-template-columns: minmax(0, 1fr); }
  .stats { gap: 40px; }
  .eyebrow { letter-spacing: 0.14em; font-size: 12px; }
}

/* шапка — матовое стекло (хозяин 13.11): плавающая плашка со скруглением, размытие и насыщенность фона под ней */
.top { top: 12px; padding: 0 var(--pad); }
.top__in {
  max-width: calc(var(--maxw) - 2 * var(--pad)); margin: 0 auto; height: 62px; padding-block: 0; padding-inline: 18px 10px; border-radius: 22px;
  background: rgba(255, 255, 255, 0.55); -webkit-backdrop-filter: blur(22px) saturate(180%); backdrop-filter: blur(22px) saturate(180%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.9), 0 12px 40px -18px rgba(51, 38, 140, 0.35);
  transition: background 0.3s, box-shadow 0.3s;
}
[data-theme="dark"] .top__in { background: rgba(22, 20, 36, 0.5); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.14), 0 12px 40px -18px rgba(0, 0, 0, 0.6); }
.top.scrolled { background: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
.top.scrolled .top__in { background: rgba(255, 255, 255, 0.7); }
[data-theme="dark"] .top.scrolled .top__in { background: rgba(22, 20, 36, 0.72); }
.top .container.top__in { width: auto; }
body:not(.home) main { padding-top: 96px; }
.hero__center { padding-top: 124px; }
@media (max-width: 720px) {
  .top { top: 8px; padding: 0 10px; }
  .top__in { height: 56px; padding-block: 0; padding-inline: 14px 8px; border-radius: 18px; }
  .hero__center { padding-top: 104px; }
}
.hero .lead { max-width: 54ch; }
.hstage { height: 280px; margin-top: 28px; }
@media (max-width: 720px) { .hstage { height: 330px; } }

/* полоса с фото: солнечный кабинет — телефон в левой половине кадра, текст поверх тени слева */
.pband__bg img { object-position: 40% 60%; }
.pband { min-height: 86vh; }
/* текст полосы — на матовом стекле, фото без тяжёлой тени (солнечный кадр) */
.pband__shade { background: linear-gradient(0deg, rgba(14, 13, 22, 0.45) 0%, rgba(14, 13, 22, 0) 45%); }
.pband__text {
  font-size: clamp(26px, 2.6vw, 40px); max-width: 20ch; padding: 26px 30px; border-radius: 26px;
  background: rgba(20, 18, 34, 0.38); -webkit-backdrop-filter: blur(20px) saturate(160%); backdrop-filter: blur(20px) saturate(160%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.16), 0 30px 70px -30px rgba(0, 0, 0, 0.5);
}
@media (max-width: 720px) { .pband__text { padding: 20px 22px; } }
/* плитки: интерфейс целиком, а не верхушкой */
.tile__img { aspect-ratio: 0.86; }
.tile--reminder .tile__img img { object-position: bottom; }
.tile--widget .tile__img img { object-position: center; }
.tile--pdf .tile__img { padding: 22px 30px 0; }

/* ========== 14.11 правки хозяина ========== */

/* «Как это работает» — лента как у Hausmann (раздел 5): не держит прокрутку страницы, листается вбок
   мышью, трекпадом, свайпом, стрелками и сама; карточки «дугой»; снимок интерфейса — целиком */
.steps { overflow: hidden; background: var(--bg); padding-bottom: clamp(60px, 8vw, 110px); }
.steps__head { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; margin-bottom: 10px; }
.steps__head > div { flex: 1 1 520px; }
.steps__arrows { display: flex; gap: 10px; }
.steps__arrow { width: 56px; height: 56px; border-radius: 50%; border: 0; display: grid; place-items: center; cursor: pointer; color: var(--ink); background: var(--accent-soft); transition: background 0.3s, color 0.3s, opacity 0.3s, transform 0.5s var(--ease); }
.steps__arrow:hover { transform: scale(1.07); }
.steps__arrow--next { background: var(--ink); color: var(--bg); }
.steps__arrow--prev svg { transform: rotate(180deg); }
.steps__arrow svg { width: 18px; height: 18px; }
.steps__arrow:disabled { opacity: 0.3; pointer-events: none; }
.steps__view { position: relative; }
.steps__view::before, .steps__view::after { content: ""; position: absolute; top: 0; bottom: 0; z-index: 2; width: clamp(30px, 6vw, 110px); pointer-events: none; transition: opacity 0.5s; }
.steps__view::before { left: 0; background: linear-gradient(90deg, var(--bg), transparent); }
.steps__view::after { right: 0; background: linear-gradient(270deg, var(--bg), transparent); }
.steps__view.at-start::before, .steps__view.at-end::after { opacity: 0; }
.steps__track { display: flex; gap: 18px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-padding-left: var(--pad); padding: 40px var(--pad) 50px; scrollbar-width: none; cursor: grab; }
.steps__track::-webkit-scrollbar { display: none; }
.steps__track.is-drag { cursor: grabbing; scroll-snap-type: none; }
.steps__track img { -webkit-user-drag: none; user-select: none; }
@media (max-width: 760px), (hover: none), (pointer: coarse) { .steps__track { scroll-snap-type: none; } }
.step { flex: none; scroll-snap-align: start; width: clamp(270px, 24vw, 330px); transform-origin: 50% 60%; will-change: transform; }
.step__card { position: relative; height: 100%; padding: 22px 22px 26px; border-radius: 28px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); display: flex; flex-direction: column; transition: transform 0.8s var(--ease), box-shadow 0.5s; }
.step:hover .step__card { transform: translateY(-10px); box-shadow: inset 0 0 0 1px var(--accent-soft), 0 36px 70px -36px rgba(79, 70, 216, 0.55); }
.step__no { font-size: 12px; font-weight: 600; letter-spacing: 0.22em; color: var(--accent); }
.step .phone { width: min(100%, 240px); margin: 16px auto 22px; border-radius: 42px; padding: 8px; }
.step .phone__screen { border-radius: 34px; }
.step h3 { font-weight: 700; font-size: 22px; line-height: 1.15; letter-spacing: -0.02em; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 16px; }
.steps__foot { display: flex; align-items: center; gap: 22px; }
.steps__count { font-size: 12px; letter-spacing: 0.18em; color: var(--muted); font-variant-numeric: tabular-nums; white-space: nowrap; }
.steps__count b { color: var(--ink); font-weight: 600; }
.steps__bar { flex: 1; height: 2px; border-radius: 2px; background: var(--line); position: relative; overflow: hidden; }
.steps__bar i { position: absolute; inset: 0; background: linear-gradient(90deg, #6b59ed, #9aa2ff); transform-origin: left; transform: scaleX(0); }
.steps__hint { display: inline-flex; align-items: center; gap: 12px; font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--accent); white-space: nowrap; transition: opacity 0.6s; }
.steps__hint i { position: relative; display: inline-block; width: 26px; height: 2px; border-radius: 2px; background: currentColor; animation: hintGo 1.6s var(--ease) infinite; }
.steps__hint i::after { content: ""; position: absolute; right: 0; top: -3px; width: 7px; height: 7px; border-top: 2px solid currentColor; border-right: 2px solid currentColor; transform: rotate(45deg); }
@keyframes hintGo { 0% { transform: translateX(-6px); opacity: 0; } 30% { opacity: 1; } 100% { transform: translateX(10px); opacity: 0; } }
.steps__hint.is-used { opacity: 0; }
/* въезд карточек справа с разворотом */
html.js:not(.reduce) .steps .step__card { opacity: 0; transform: translate3d(220px, 60px, 0) rotateY(-36deg) rotate(3deg) scale(0.9); transition: opacity 0.9s var(--ease), transform 1.1s var(--ease), box-shadow 0.5s; }
html.js:not(.reduce) .steps.in .step__card { opacity: 1; transform: none; }
html.js:not(.reduce) .steps.in .step:hover .step__card { transform: translateY(-10px); }

/* снимки интерфейса — наоборот к теме сайта: на светлом тёмные, на тёмном светлые */
.has-dark img[data-shot] { position: absolute; inset: 0; }
.has-dark img[data-shot="light"] { position: relative; }
[data-theme="light"] .has-dark img[data-shot="light"] { opacity: 0; }
[data-theme="dark"] .has-dark img[data-shot="dark"] { opacity: 0; }
.has-dark img[data-shot] { transition: opacity 0.4s; }

/* цифры — по центру */
.stats { text-align: center; }
.stat p { margin-left: auto; margin-right: auto; }

/* призыв к вопросам на главной */
.faqcta__in { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; padding: clamp(32px, 4vw, 56px); border-radius: 32px; background: var(--card-2); }
.faqcta__in .lead { margin-top: 14px; }

/* страница «Вопросы и инструкция» */
.faqpage { padding: 140px 0 100px; }
.faqpage__head { max-width: 820px; margin-bottom: 60px; }
.faqpage__head .lead { margin-top: 18px; }
.faqpage__sec + .faqpage__sec { margin-top: 80px; }
.faqpage__h { font-weight: 700; font-size: clamp(26px, 2.6vw, 36px); letter-spacing: -0.03em; margin-bottom: 28px; }
.howto { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.howto__step { display: flex; gap: 18px; padding: 26px 26px 28px; border-radius: 24px; background: var(--card-2); }
.howto__n { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; background: var(--accent-soft); color: var(--accent); font-weight: 700; font-size: 15px; }
.howto__step h3 { font-weight: 700; font-size: 20px; letter-spacing: -0.015em; margin-bottom: 6px; }
.howto__step p { color: var(--muted); font-size: 16px; }
@media (max-width: 720px) {
  .howto { grid-template-columns: minmax(0, 1fr); }
  .faqpage { padding-top: 110px; }
  .step { width: 76vw; }
}
/* лента: карточка целиком помещается в окно вместе с заголовком */
.steps { padding-top: clamp(70px, 8vw, 110px); }
.step { width: clamp(250px, 21vw, 300px); }
.step .phone { width: min(100%, 200px); margin: 14px auto 18px; border-radius: 36px; padding: 7px; }
.step .phone__screen { border-radius: 29px; }
.step h3 { font-size: 20px; }
.step p { font-size: 15px; }
.steps__track { padding-top: 30px; padding-bottom: 40px; }
.steps__arrows { margin-inline-start: auto; }
/* карточки на фоне страницы — белые (в тёмной теме — чуть светлее фона), иначе сливаются */
.howto__step, .faqcta__in, .faqpage .qa[open], .faqpage .qa:hover, #faq .qa[open] { background: var(--card); }
.faqpage .qa { background: transparent; }
.faqpage .qa[open], .faqpage .qa:hover { background: var(--card); }
.steps__track.is-wheel { scroll-snap-type: none; }

/* ---------- плавающий виджет связи (по образцу Hausmann, цвета Verbatta) ---------- */
.dock { --dock-glass: rgba(255, 255, 255, 0.78); --dock-ink: #16151d; --dock-ring: rgba(22, 21, 29, 0.08); position: fixed; right: clamp(16px, 2vw, 28px); bottom: clamp(16px, 2vw, 28px); z-index: 45; pointer-events: none; display: flex; flex-direction: column; align-items: flex-end; gap: 12px; opacity: 0; visibility: hidden; transform: translateY(18px) scale(0.86); transform-origin: 100% 100%; transition: opacity 0.5s var(--ease), transform 0.8s var(--ease), visibility 0s 0.8s; }
[data-theme="dark"] .dock { --dock-glass: rgba(23, 22, 31, 0.72); --dock-ink: #f1f0f7; --dock-ring: rgba(255, 255, 255, 0.1); }
.dock.is-shown { opacity: 1; visibility: visible; transform: none; transition: opacity 0.5s var(--ease), transform 0.8s var(--ease), visibility 0s; }
.dock__item i, .dock__label { background: var(--dock-glass); color: var(--dock-ink); -webkit-backdrop-filter: blur(18px) saturate(170%); backdrop-filter: blur(18px) saturate(170%); }
/* кнопка — фирменный фиолетовый со свечением: заметна и на тёмных, и на светлых блоках */
.dock__btn { pointer-events: auto; position: relative; width: 56px; height: 56px; border: 0; padding: 0; border-radius: 50%; display: grid; place-items: center; color: #fff; cursor: pointer; background: linear-gradient(140deg, #aab0ff 0%, #6b59ed 55%, #4f46d8 100%); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.35), 0 12px 30px -8px rgba(107, 89, 237, 0.7), 0 18px 40px -16px rgba(14, 13, 22, 0.6); transition: transform 0.6s var(--ease), background 0.4s, box-shadow 0.4s, color 0.4s; }
.dock__btn:hover { transform: scale(1.06); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.4), 0 14px 40px -6px rgba(107, 89, 237, 0.85), 0 18px 40px -16px rgba(14, 13, 22, 0.6); }
.dock.is-open .dock__btn { background: var(--dock-glass); color: var(--dock-ink); box-shadow: inset 0 0 0 1px var(--dock-ring), 0 16px 36px -12px rgba(14, 13, 22, 0.5); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); }
.dock__btn svg { position: absolute; width: 22px; height: 22px; transition: opacity 0.3s, transform 0.6s var(--ease); }
.dock__btn .i-close { opacity: 0; transform: rotate(-90deg) scale(0.5); }
.dock.is-open .dock__btn .i-chat { opacity: 0; transform: rotate(90deg) scale(0.5); }
.dock.is-open .dock__btn .i-close { opacity: 1; transform: none; }
/* мягкий «пинг» пару раз после появления — пока виджет ни разу не открывали */
.dock__btn::after { content: ""; position: absolute; inset: 0; border-radius: 50%; pointer-events: none; }
.dock.is-shown:not(.was-open) .dock__btn::after { animation: dockPing 2.6s 1.2s 2 cubic-bezier(0.2, 0.7, 0.3, 1); }
@keyframes dockPing { 0% { box-shadow: 0 0 0 0 rgba(124, 108, 245, 0.55); } 100% { box-shadow: 0 0 0 18px rgba(124, 108, 245, 0); } }
/* подсказка у кнопки */
.dock__btn::before { content: attr(data-tip); position: absolute; right: calc(100% + 12px); top: 50%; padding: 8px 13px; border-radius: 999px; background: var(--dock-glass); color: var(--dock-ink); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); box-shadow: inset 0 0 0 1px var(--dock-ring), 0 10px 24px -12px rgba(14, 13, 22, 0.4); font: 500 13px/1.2 "Tilda Sans", sans-serif; white-space: nowrap; pointer-events: none; opacity: 0; transform: translate(8px, -50%); transition: opacity 0.3s, transform 0.5s var(--ease); }
@media (hover: hover) { .dock:not(.is-open) .dock__btn:hover::before { opacity: 1; transform: translate(0, -50%); } }
.dock__menu { display: flex; flex-direction: column; align-items: flex-end; gap: 9px; padding-right: 4px; }
.dock__item { display: flex; align-items: center; gap: 10px; opacity: 0; transform: translateY(16px) scale(0.8); transform-origin: 100% 50%; pointer-events: none; transition: opacity 0.3s, transform 0.5s var(--ease); transition-delay: calc(var(--i, 0) * 25ms); }
.dock.is-open .dock__item { opacity: 1; transform: none; pointer-events: auto; transition-delay: calc((var(--n, 3) - 1 - var(--i, 0)) * 50ms); }
.dock__item i { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; box-shadow: inset 0 0 0 1px var(--dock-ring), 0 12px 28px -12px rgba(14, 13, 22, 0.45); transition: background 0.35s, color 0.35s, transform 0.5s var(--ease), box-shadow 0.35s; }
.dock__item i svg { width: 19px; height: 19px; }
.dock__label { padding: 8px 14px; border-radius: 999px; font-size: 13px; font-weight: 500; letter-spacing: 0.01em; box-shadow: inset 0 0 0 1px var(--dock-ring), 0 10px 24px -14px rgba(14, 13, 22, 0.4); white-space: nowrap; transition: color 0.3s; }
.dock__item:hover i, .dock__item:focus-visible i { background: var(--accent); color: #fff; transform: scale(1.08); }
.dock__item:hover .dock__label { color: var(--accent); }
.dock__item:focus-visible { outline: none; }
.dock__item--accent i { background: linear-gradient(140deg, #aab0ff, #6b59ed 60%, #4f46d8); color: #fff; box-shadow: 0 0 18px rgba(107, 89, 237, 0.4); }
@media (max-width: 760px) {
  .dock { right: 14px; bottom: 14px; }
  .dock__btn { width: 50px; height: 50px; }
}
html.reduce .dock, html.reduce .dock__item, html.reduce .dock__btn svg { transition: opacity 0.2s, visibility 0s; }
html.reduce .dock__btn::after { animation: none !important; }

/* плитка «Итог — всем участникам»: белый лист PDF лежит на фирменном сиреневом фоне, за ним второй лист,
   на листе значок PDF — чтобы поля по бокам не были пустыми белыми (хозяин 14.11) */
.tile--pdf .tile__img { position: relative; isolation: isolate; padding: 30px 36px 0;
  background: radial-gradient(120% 80% at 0% 0%, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0) 60%), linear-gradient(155deg, #f1eeff 0%, #ddd8fc 50%, #b9b1f6 100%); }
[data-theme="dark"] .tile--pdf .tile__img { background: radial-gradient(120% 80% at 0% 0%, rgba(154, 162, 255, 0.28) 0%, rgba(154, 162, 255, 0) 60%), linear-gradient(155deg, #2b2652 0%, #1f1b3b 55%, #3b3394 100%); }
.tile--pdf .tile__img::before { content: ""; position: absolute; z-index: -1; left: 46px; right: 24px; top: 26px; bottom: -30px; border-radius: 10px; background: rgba(255, 255, 255, 0.6); box-shadow: 0 14px 30px -16px rgba(51, 38, 140, 0.4); transform: rotate(4deg); transform-origin: 30% 100%; transition: transform 0.8s var(--ease); }
[data-theme="dark"] .tile--pdf .tile__img::before { background: rgba(255, 255, 255, 0.16); }
.tile--pdf .tile__img img { position: relative; border-radius: 10px 10px 0 0; box-shadow: 0 0 0 1px rgba(22, 21, 29, 0.05), 0 26px 50px -20px rgba(51, 38, 140, 0.5); transform-origin: 50% 100%; }
.tile--pdf .tile__img::after { content: "PDF"; position: absolute; z-index: 2; right: 18px; bottom: 18px; padding: 9px 14px; border-radius: 999px; color: #fff; font: 700 13px/1 "Tilda Sans", sans-serif; letter-spacing: 0.08em;
  background: linear-gradient(140deg, #aab0ff 0%, #6b59ed 55%, #4f46d8 100%); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.22), 0 12px 26px -8px rgba(107, 89, 237, 0.65); transition: transform 0.6s var(--ease); }
.tile--pdf:hover .tile__img::before { transform: rotate(7deg); }
.tile--pdf:hover .tile__img::after { transform: translateY(-4px); }

/* поля листа PDF — в долях ширины, чтобы при увеличении лист рос вместе с фоном без рывка */
.tile--pdf .tile__img { padding: 9% 11% 0; }
.tile--pdf .tile__img::before { left: 14%; right: 7%; top: 8%; }
.tile--pdf .tile__img::after { right: 5.5%; bottom: 5.5%; }

/* плитка по клику «выходит вперёд»: растёт на месте, соседние расходятся в стороны (хозяин 14.11) */
.step { cursor: zoom-in; }
@media (min-width: 721px) { .tile { cursor: zoom-in; } }
.step.is-on, .tile.is-on { cursor: zoom-out; }
.step:focus-visible, .tile:focus-visible { outline: none; }
.step:focus-visible .step__card, .tile:focus-visible { box-shadow: 0 0 0 2px var(--accent); }
/* пока карточка увеличена — запас сверху и снизу ленты, чтобы она не обрезалась, и без доводки до карточки */
.steps.is-roomy .steps__track { padding-top: calc(30px + var(--fy, 0px)); padding-bottom: calc(40px + var(--fy, 0px)); margin-top: calc(-1 * var(--fy, 0px)); margin-bottom: calc(-1 * var(--fy, 0px)); scroll-snap-type: none; }
html.js .steps.is-roomy .step__card, html.js .tiles.is-roomy .tile { transition: transform 0.85s var(--ease), opacity 0.6s var(--ease), box-shadow 0.6s var(--ease); transition-delay: 0s; }
.steps.is-focus .step.is-on, .tiles.is-focus .tile.is-on { position: relative; z-index: 3; will-change: auto; }
html.js .steps.in.is-focus .step.is-on .step__card { box-shadow: inset 0 0 0 1px var(--accent-soft), 0 60px 120px -40px rgba(51, 38, 140, 0.55); }
html.js .tiles.is-focus .tile.is-on { box-shadow: 0 60px 120px -40px rgba(51, 38, 140, 0.55); }
html.js .steps.in.is-focus .step.is-off .step__card, html.js .tiles.is-focus .tile.is-off { opacity: 0.4; }
/* дуга ленты выпрямляется и возвращается плавно */
.steps.is-roomy .step { transition: transform 0.85s var(--ease); }
.steps.is-roomy { overflow: visible; }

/* ---------- iPad (14.11): вертикально — карточки итога под микрофоном, плитки снова в три колонки ---------- */
@media (min-width: 721px) and (max-width: 1080px) {
  .hstage { height: 460px; }
  .hcards { left: 50%; top: 296px; transform: translateX(-50%); align-items: center; }
  .hcard:nth-child(2), .hcard:nth-child(3) { margin-left: 0; }
  .tiles, .pains__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: none; gap: 16px; }
  .pain { padding: 24px 20px; }
  .pain h3 { font-size: 20px; }
  .pain p { font-size: 15px; }
  .tile { padding: 14px 14px 22px; }
  .tile h3 { font-size: 19px; margin: 18px 6px 6px; }
  .tile p { font-size: 15px; margin: 0 6px; }
}
/* iPad горизонтально и небольшие ноутбуки: «лесенка» карточек уже, чтобы не упиралась в край */
@media (min-width: 1081px) and (max-width: 1240px) {
  .hcards { left: calc(50% + 125px); }
  .hcard:nth-child(2) { margin-left: 22px; }
  .hcard:nth-child(3) { margin-left: 44px; }
}
/* iPhone с вырезом (viewport-fit=cover): при повороте текст не уходит под «чёлку», кнопки — под полоску «домой» */
:root { --pad: max(clamp(16px, 4vw, 56px), env(safe-area-inset-left, 0px), env(safe-area-inset-right, 0px)); }
.dock { right: max(clamp(16px, 2vw, 28px), env(safe-area-inset-right, 0px)); bottom: max(clamp(16px, 2vw, 28px), calc(env(safe-area-inset-bottom, 0px) + 8px)); }
@media (max-width: 760px) { .dock { right: max(14px, env(safe-area-inset-right, 0px)); bottom: max(14px, calc(env(safe-area-inset-bottom, 0px) + 6px)); } }

/* ---------- меню на телефоне и iPad (хозяин 14.11): кнопка «три полоски» и стеклянная панель под шапкой ---------- */
.burger, .mnav { display: none; }
@media (max-width: 1080px) {
  .burger { display: inline-block; position: relative; flex: none; width: 38px; height: 38px; border: 0; padding: 0; border-radius: 999px; background: var(--accent-soft); color: var(--ink); cursor: pointer; }
  .burger i { position: absolute; left: 11px; right: 11px; height: 2px; border-radius: 2px; background: currentColor; transition: transform 0.5s var(--ease), top 0.5s var(--ease), opacity 0.3s; }
  .burger i:nth-child(1) { top: 13px; }
  .burger i:nth-child(2) { top: 18px; }
  .burger i:nth-child(3) { top: 23px; }
  .menu-open .burger i:nth-child(1) { top: 18px; transform: rotate(45deg); }
  .menu-open .burger i:nth-child(2) { opacity: 0; transform: scaleX(0.2); }
  .menu-open .burger i:nth-child(3) { top: 18px; transform: rotate(-45deg); }
  .mnav { display: block; position: absolute; top: calc(100% + 10px); left: var(--pad); right: var(--pad); padding: 10px; border-radius: 22px;
    background: rgba(255, 255, 255, 0.8); -webkit-backdrop-filter: blur(22px) saturate(180%); backdrop-filter: blur(22px) saturate(180%);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.6), 0 30px 60px -24px rgba(51, 38, 140, 0.45);
    opacity: 0; visibility: hidden; transform: translateY(-10px) scale(0.98); transform-origin: 50% 0;
    transition: opacity 0.35s var(--ease), transform 0.55s var(--ease), visibility 0s 0.55s; }
  [data-theme="dark"] .mnav { background: rgba(22, 20, 36, 0.86); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1), 0 30px 60px -24px rgba(0, 0, 0, 0.6); }
  .menu-open .mnav { opacity: 1; visibility: visible; transform: none; transition: opacity 0.35s var(--ease), transform 0.55s var(--ease), visibility 0s; }
  .mnav a { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 15px 16px; border-radius: 14px; font-size: 19px; font-weight: 600; letter-spacing: -0.01em; color: var(--ink);
    opacity: 0; transform: translateY(8px); transition: opacity 0.4s var(--ease), transform 0.5s var(--ease), background 0.2s, color 0.2s; }
  .mnav a svg { flex: none; width: 18px; height: 18px; color: var(--accent); opacity: 0.7; }
  .menu-open .mnav a { opacity: 1; transform: none; }
  .menu-open .mnav a:nth-child(2) { transition-delay: 0.04s; }
  .menu-open .mnav a:nth-child(3) { transition-delay: 0.08s; }
  .menu-open .mnav a:nth-child(4) { transition-delay: 0.12s; }
  .menu-open .mnav a:nth-child(5) { transition-delay: 0.16s; }
  .menu-open .mnav a:nth-child(6) { transition-delay: 0.2s; }
  .mnav a:hover, .mnav a:focus-visible, .mnav a[aria-current] { background: var(--accent-soft); color: var(--accent); }
}
@media (max-width: 720px) { .mnav { left: 10px; right: 10px; } }
html.reduce .mnav, html.reduce .mnav a, html.reduce .burger i { transition: none; }

/* ---------- страница «Вопросы и инструкция» (хозяин 14.11: по центру и красивее) ---------- */
.faqpage { position: relative; padding: 150px 0 110px; background: radial-gradient(70% 560px at 50% 0%, rgba(124, 108, 245, 0.16), transparent 72%), var(--bg); }
[data-theme="dark"] .faqpage { background: radial-gradient(70% 560px at 50% 0%, rgba(124, 108, 245, 0.24), transparent 72%), var(--bg); }
.faqpage__head { max-width: 780px; margin: 0 auto 80px; text-align: center; }
.faqpage__mark { display: block; width: 72px; height: 72px; margin: 0 auto 28px; border-radius: 22.5%; box-shadow: 0 0 70px rgba(107, 89, 237, 0.55), 0 18px 40px -16px rgba(51, 38, 140, 0.6); }
.faqpage__head .h2 { font-size: clamp(40px, 5.4vw, 72px); }
.faqpage__head .lead { margin: 20px auto 0; max-width: 50ch; }
.faqpage__jump { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 32px; }
.faqpage__jump a { padding: 12px 22px; border-radius: 999px; background: var(--card); color: var(--ink); font-weight: 600; font-size: 15px; box-shadow: inset 0 0 0 1px var(--line), 0 12px 26px -18px rgba(51, 38, 140, 0.4); transition: transform 0.4s var(--ease), color 0.2s; }
.faqpage__jump a:hover { color: var(--accent); transform: translateY(-2px); }
.faqpage__sec { scroll-margin-top: 100px; }
.faqpage__sec + .faqpage__sec { margin-top: 120px; }
.faqpage__h { text-align: center; margin-bottom: 40px; font-size: clamp(30px, 3.2vw, 46px); }
.howto { max-width: 1080px; margin: 0 auto; gap: 18px; }
.howto__step { flex-direction: column; gap: 16px; padding: 30px 32px 32px; border-radius: 26px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease), opacity 0.9s var(--ease); }
html.js .howto__step.in:hover, .howto__step:hover { transform: translateY(-4px); box-shadow: inset 0 0 0 1px var(--accent-soft), 0 30px 60px -36px rgba(79, 70, 216, 0.5); }
.howto__n { display: block; width: auto; height: auto; border-radius: 0; background: linear-gradient(135deg, #aab0ff 0%, #6b59ed 55%, #4f46d8 100%); -webkit-background-clip: text; background-clip: text; color: transparent; font-size: 46px; line-height: 1; font-weight: 700; letter-spacing: -0.03em; }
.howto__step h3 { font-size: 22px; }
.howto__step p { font-size: 16.5px; }
.faqpage div.faq { max-width: 860px; margin: 0 auto; }
.faqpage .qa { background: var(--card); border-radius: 20px; box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow 0.4s var(--ease); }
.faqpage .qa + .qa { margin-top: 10px; }
.faqpage .qa:hover, .faqpage .qa[open] { box-shadow: inset 0 0 0 1px var(--accent-soft), 0 24px 50px -36px rgba(79, 70, 216, 0.5); }
.faqpage .qa summary { padding: 24px 76px 24px 28px; }
.faqpage .qa summary::after { right: 24px; }
.faqpage .qa[open] summary { color: var(--accent); }
.faqpage .qa__a { padding: 0 76px 26px 28px; }
/* плавное раскрытие ответа там, где браузер умеет (Chrome); в остальных — просто открывается */
@supports (interpolate-size: allow-keywords) {
  .faqpage { interpolate-size: allow-keywords; }
  .faqpage .qa::details-content { height: 0; overflow: clip; transition: height 0.45s var(--ease), content-visibility 0.45s allow-discrete; }
  .faqpage .qa[open]::details-content { height: auto; }
}
.faqpage__more { max-width: 860px; margin: 120px auto 0; padding: 52px 32px; border-radius: 32px; text-align: center; background: radial-gradient(80% 140% at 50% 0%, rgba(124, 108, 245, 0.2), transparent 70%), var(--card); box-shadow: inset 0 0 0 1px var(--line); }
.faqpage__more h2 { font-weight: 700; font-size: clamp(28px, 3vw, 42px); letter-spacing: -0.03em; }
.faqpage__btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 28px; }
.faqpage .note { text-align: center; margin: 44px auto 0; }
[dir="rtl"] .faqpage .qa summary { padding: 24px 28px 24px 76px; }
[dir="rtl"] .faqpage .qa summary::after { right: auto; left: 24px; }
@media (max-width: 720px) {
  .faqpage { padding: 112px 0 80px; }
  .faqpage__head { margin-bottom: 56px; }
  .faqpage__mark { width: 60px; height: 60px; margin-bottom: 22px; }
  .faqpage__sec + .faqpage__sec { margin-top: 80px; }
  .faqpage__h { margin-bottom: 26px; }
  .howto__step { padding: 24px 22px 26px; gap: 12px; }
  .howto__n { font-size: 38px; }
  .faqpage .qa summary { padding: 20px 64px 20px 20px; font-size: 18px; }
  .faqpage .qa summary::after { right: 16px; }
  .faqpage .qa__a { padding: 0 20px 22px; }
  .faqpage .qa__a p { font-size: 16.5px; }
  .faqpage__more { margin-top: 80px; padding: 40px 20px; border-radius: 26px; }
}

/* «Вопросы»: блок «Документы» — две карточки со ссылками на политику и условия (хозяин 14.11) */
.docs { max-width: 860px; margin: 0 auto; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.doccard { display: flex; flex-direction: column; gap: 10px; padding: 28px 28px 26px; border-radius: 24px; background: var(--card); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease), opacity 0.9s var(--ease); }
html.js .doccard.in:hover, .doccard:hover { transform: translateY(-4px); box-shadow: inset 0 0 0 1px var(--accent-soft), 0 30px 60px -36px rgba(79, 70, 216, 0.5); }
.doccard__i { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 15px; background: var(--accent-soft); color: var(--accent); margin-bottom: 6px; }
.doccard__i svg { width: 24px; height: 24px; }
.doccard__t { font-weight: 700; font-size: 21px; letter-spacing: -0.015em; line-height: 1.2; }
.doccard__d { color: var(--muted); font-size: 16px; line-height: 1.5; }
.doccard__e { margin-top: auto; padding-top: 8px; color: var(--accent); font-size: 13px; font-weight: 600; letter-spacing: 0.02em; }
@media (max-width: 720px) { .docs { grid-template-columns: minmax(0, 1fr); } .doccard { padding: 24px 22px; } }

/* плавность ленты (хозяин 14.11: «тормозит, при увеличении резко выпрыгивает»):
   доводку до карточки делает скрипт тем же ходом, что и поворот карточек, — встроенную браузерную выключаем;
   увеличение — мягкий разгон и мягкая остановка вместо резкого старта */
:root { --ease-soft: cubic-bezier(0.45, 0.05, 0.2, 1); }
.steps__track { scroll-snap-type: none; }
html.js .steps.is-roomy .step__card, html.js .tiles.is-roomy .tile { transition: transform 0.8s var(--ease-soft), opacity 0.6s var(--ease-soft), box-shadow 0.6s var(--ease-soft); transition-delay: 0s; }
.steps.is-roomy .step { transition: transform 0.8s var(--ease-soft); }

/* ---------- плавность в Safari (хозяин 16.11: пункты 2, 4, 6) ---------- */
/* 2. Полоса с фото: снимок заранее отдельным слоем — меняется только масштаб, без перерисовки и без
      задержки-перехода; под текстом и карточкой — затемнённая панель вместо стекла: стекло пересчитывало
      размытие меняющегося фото на каждом кадре */
.pband__bg img { transition: none; will-change: transform; }
.pband__text { background: rgba(16, 14, 28, 0.62); -webkit-backdrop-filter: none; backdrop-filter: none; }
.tcard { background: rgba(255, 255, 255, 0.96); -webkit-backdrop-filter: none; backdrop-filter: none; }
/* 4. Виджет связи: «стекло» только когда меню открыто и у подсказки при наведении — закрытые пункты
      и невидимая подсказка не размывают фон на каждом кадре */
.dock__item i, .dock__label, .dock__btn::before { -webkit-backdrop-filter: none; backdrop-filter: none; }
.dock.is-open .dock__item i, .dock.is-open .dock__label { -webkit-backdrop-filter: blur(18px) saturate(170%); backdrop-filter: blur(18px) saturate(170%); }
@media (hover: hover) { .dock:not(.is-open) .dock__btn:hover::before { -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); } }
/* 6. Бегущая строка языков стоит, пока раздел за экраном */
.marquee.is-off .marquee__row { animation-play-state: paused; }

/* ---------- плитки «Возможности»: единая серия (хозяин 16.11) ----------
   у всех трёх один фирменный фон, на нём — только сам элемент приложения карточкой с тенью */
.tile__img, .tile--pdf .tile__img { display: grid; place-items: center; padding: 0;
  background: radial-gradient(120% 80% at 0% 0%, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0) 60%), linear-gradient(155deg, #f1eeff 0%, #ddd8fc 50%, #b9b1f6 100%); }
[data-theme="dark"] .tile__img, [data-theme="dark"] .tile--pdf .tile__img { background: radial-gradient(120% 80% at 0% 0%, rgba(154, 162, 255, 0.28) 0%, rgba(154, 162, 255, 0) 60%), linear-gradient(155deg, #2b2652 0%, #1f1b3b 55%, #3b3394 100%); }
.tile--reminder .tile__img img, .tile--widget .tile__img img, .tile--pdf .tile__img img {
  width: 84%; height: auto; object-fit: initial; border-radius: 26px;
  box-shadow: 0 0 0 1px rgba(22, 21, 29, 0.05), 0 30px 60px -26px rgba(51, 38, 140, 0.5); }
.tile--widget .tile__img img { border-radius: 24px; }
/* лист PDF целиком; за ним — второй лист (тенью без размытия), значок PDF в углу */
.tile--pdf .tile__img::before { display: none; }
.tile--pdf .tile__img img { width: 60%; border-radius: 6px; box-shadow: 14px -12px 0 -2px rgba(255, 255, 255, 0.6), 0 0 0 1px rgba(22, 21, 29, 0.05), 0 30px 60px -26px rgba(51, 38, 140, 0.5); }
[data-theme="dark"] .tile--pdf .tile__img img { box-shadow: 14px -12px 0 -2px rgba(255, 255, 255, 0.16), 0 30px 60px -26px rgba(0, 0, 0, 0.6); }
.tile--pdf .tile__img::after { right: 9%; bottom: 7%; }

/* подписи в карточках и под заголовками — плотнее (хозяин 16.11: «межстрочный интервал слишком большой»);
   общий 1.6 у Tilda Sans в коротких подписях выглядел слишком воздушно */
.pain p, .tile p, .step p, .pcard p, .stat p, .price p, .final p, .howto__step p, .qa__a p, .doccard__d, .faqcta__in .lead, .tline { line-height: 1.42; }
.lead { line-height: 1.45; }
/* заголовки карточек в две строки — плотно, как у ленты (хозяин 16.11: «Продажам и консультантам выбивается») */
.pain h3, .tile h3, .pcard h3, .howto__step h3, .doc h3, .faqpage__more h2 { line-height: 1.15; }
.qa summary { line-height: 1.3; }
/* плитки со светлым и тёмным снимком: обе картинки в одной клетке, тема показывает нужную */
.tile__img.has-dark img[data-shot] { position: static; inset: auto; grid-area: 1 / 1; }
/* плитки «Возможности» — снимок в тон теме сайта (хозяин 16.11: «тут светлое на светлом, тёмное на тёмном»);
   в ленте «Как это работает» — наоборот, как было */
[data-theme="light"] .tile__img.has-dark img[data-shot="light"], [data-theme="dark"] .tile__img.has-dark img[data-shot="dark"] { opacity: 1; }
[data-theme="light"] .tile__img.has-dark img[data-shot="dark"], [data-theme="dark"] .tile__img.has-dark img[data-shot="light"] { opacity: 0; }

/* ---------- форма «Написать нам» под «Остались вопросы?» (хозяин 16.11) ---------- */
.cform { scroll-margin-top: 100px; margin-top: 18px; padding: clamp(24px, 3vw, 40px); border-radius: 28px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); }
.cform__h { font-weight: 700; font-size: clamp(22px, 2vw, 28px); line-height: 1.15; letter-spacing: -0.02em; margin-bottom: 18px; }
.cform__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.cform__f { display: grid; gap: 6px; margin-bottom: 14px; }
.cform__f span { font-size: 13px; font-weight: 600; color: var(--muted); letter-spacing: 0.02em; }
.cform input, .cform textarea { width: 100%; font: inherit; font-size: 16px; color: var(--ink); background: var(--bg); border: 0; border-radius: 14px; padding: 13px 16px; box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow 0.2s; }
.cform textarea { min-height: 112px; resize: vertical; line-height: 1.45; }
.cform input:focus, .cform textarea:focus { outline: none; box-shadow: inset 0 0 0 2px var(--accent); }
/* поле-ловушка для ботов: уводим в сторону, куда страница не прокручивается (в арабском это вправо) —
   иначе при письме справа налево страница становилась шириной 10 000 px */
.cform__hp { position: absolute; inset-inline-start: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.cform__foot { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; margin-top: 4px; }
.cform__note { font-size: 13px; line-height: 1.4; color: var(--muted); max-width: 56ch; }
.cform__note a { color: var(--accent); font-weight: 600; }
.cform .btn[disabled] { opacity: 0.55; pointer-events: none; }
.cform__status { margin-top: 12px; font-size: 15px; font-weight: 600; }
.cform__status:empty { display: none; }
.cform.is-ok .cform__status { color: #15803d; }
.cform.is-err .cform__status { color: #d64545; }
[data-theme="dark"] .cform.is-ok .cform__status { color: #4ade80; }
[data-theme="dark"] .cform.is-err .cform__status { color: #f87171; }
@media (max-width: 720px) { .cform__row { grid-template-columns: minmax(0, 1fr); } .cform__foot .btn { width: 100%; justify-content: center; } }
/* форма — той же ширины, что карточка «Остались вопросы?» над ней */
.faqcta__form { padding-left: 0; padding-right: 0; }
@media (max-width: 720px) {
  /* на телефоне «Остались вопросы?» и форма — с отступом от краёв, как остальные карточки */
  .faqcta__in, .faqcta__form { width: auto; margin-left: var(--pad); margin-right: var(--pad); }
  .faqcta__in { padding: 28px 22px; }
  .cform { padding: 24px 20px; }
}

/* «Остались вопросы?» и форма — одна карточка: слева текст и ссылка на вопросы, справа компактная форма
   (хозяин 16.11: «форма сильно большая, объедини с „Остались вопросы“, сделай красиво») */
.faqcta__in { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: clamp(28px, 4vw, 64px); align-items: center; }
.faqcta__text .btn { margin-top: 24px; }
.faqcta .cform { margin: 0; padding: 0; background: none; box-shadow: none; border-radius: 0; }
.faqcta .cform__h { font-size: 13px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); margin-bottom: 12px; }
/* подписи полей — для программ чтения с экрана; видно подсказку внутри поля */
.faqcta .cform__f span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.faqcta .cform__f { margin-bottom: 10px; gap: 0; }
.faqcta .cform__row { gap: 10px; }
.faqcta .cform input, .faqcta .cform textarea { padding: 12px 15px; border-radius: 13px; }
.faqcta .cform textarea { min-height: 92px; }
.cform input::placeholder, .cform textarea::placeholder { color: var(--muted); opacity: 1; }
.faqcta .cform__foot { margin-top: 2px; gap: 14px; flex-wrap: nowrap; }
.faqcta .cform__note { font-size: 12.5px; }
.faqcta .cform .btn { flex: none; }
@media (max-width: 900px) {
  .faqcta__in { grid-template-columns: minmax(0, 1fr); }
  .faqcta .cform__foot { flex-wrap: wrap; }
}

/* кнопка формы — такая же, как кнопки-ссылки: без системной рамки Safari и нашим шрифтом (хозяин 16.11) */
button.btn { font-family: inherit; line-height: 1; border: 0; -webkit-appearance: none; appearance: none; cursor: pointer; }
/* «Остались вопросы?» + форма: верх заголовка — по верху формы, «Вопросы и инструкция» — в одну линию с «Отправить» */
.faqcta__in { align-items: stretch; }
.faqcta__text { display: flex; flex-direction: column; align-items: flex-start; }
.faqcta__text .lead { margin-bottom: 24px; }
.faqcta__text .btn { margin-top: auto; }
.faqcta .cform { display: flex; flex-direction: column; }
.faqcta .cform__foot { margin-top: auto; padding-top: 6px; }
.faqcta .cform__status { order: 5; }
/* поле сообщения занимает остаток высоты — без пустого зазора над кнопкой */
.faqcta .cform > .cform__f { flex: 1 1 auto; display: flex; flex-direction: column; }
.faqcta .cform > .cform__f textarea { flex: 1 1 auto; }
.faqcta .cform__foot { margin-top: 4px; }
/* карточка «Остались вопросы?» — внутри общей рамки страницы: края как у шапки и остальных блоков (хозяин 16.11) */
@media (max-width: 720px) { .faqcta__in { margin-left: 0; margin-right: 0; } }
/* «Написать нам» ведёт на всю карточку — ниже плавающей шапки (хозяин 16.11: «открывается обрезанно») */
.faqcta__in { scroll-margin-top: 100px; }
/* меньше пустого места вокруг и внутри карточки, заголовок — по размеру карточки (хозяин 16.11) */
.section.faqcta { padding: clamp(40px, 5vw, 72px) 0; }
.faqcta__in { padding: clamp(24px, 3vw, 40px); gap: clamp(24px, 3.5vw, 48px); }
.faqcta__text .h2 { font-size: clamp(32px, 3.6vw, 50px); }
.faqcta__text .lead { margin-top: 12px; margin-bottom: 20px; }
.faqcta .cform textarea, .faqcta .cform > .cform__f textarea { min-height: 64px; height: 64px; }

/* первый экран: внутри карточки «Решение / Задача / Вопрос» ярлык и текст — на одной линии письма
   (хозяин 16.11: «просто сам текст внутри выровнять»); «лесенка» карточек — как была */
.hcard { align-items: baseline; }

/* лента: стрелка «вперёд» — фирменная сиреневая, как кнопка виджета связи (хозяин 16.11) */
.steps__arrow--next { background: linear-gradient(140deg, #aab0ff 0%, #6b59ed 55%, #4f46d8 100%); color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.2), 0 12px 26px -10px rgba(107, 89, 237, 0.65); }

/* «Приватность»: точка слева, текст справа — как в списке (хозяин 16.11) */
.priv__list div { display: flex; align-items: flex-start; gap: 12px; line-height: 1.4; }
.priv__list div::before { flex: none; margin: 0.42em 0 0; }

/* подвал: на компьютере как был; на телефоне — логотип, ссылки в два ровных столбца, почта, «©» (хозяин 16.11) */
.bottom__brand { display: none; }
@media (max-width: 720px) {
  .bottom { padding: 36px 0 32px; }
  .bottom__in { display: grid; gap: 22px; }
  .bottom__brand { display: inline-flex; align-items: center; gap: 9px; color: var(--ink); font-weight: 700; font-size: 19px; letter-spacing: -0.02em; }
  .bottom__brand img { width: 28px; height: 28px; border-radius: 22.5%; }
  .bottom nav { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 14px 16px; }
  .bottom nav a[href^="mailto:"] { grid-column: 1 / -1; color: var(--accent); font-weight: 600; }
  .bottom p { font-size: 13px; }
}


/* Азиатские языки (16.11). Латиница остаётся в Tilda Sans, иероглифы — в шрифте своего языка:
   без этого японский мог взять китайский PingFang SC (другие начертания иероглифов). */
html:lang(ja) body { font-family: "Tilda Sans", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Yu Gothic UI", "Yu Gothic", Meiryo, -apple-system, sans-serif; }
html:lang(ko) body { font-family: "Tilda Sans", "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", -apple-system, sans-serif; }
html:lang(zh-Hans) body { font-family: "Tilda Sans", "PingFang SC", "Noto Sans SC", "Microsoft YaHei", -apple-system, sans-serif; }
html:lang(zh-Hant) body { font-family: "Tilda Sans", "PingFang TC", "Noto Sans TC", "Microsoft JhengHei", -apple-system, sans-serif; }
/* иероглифы занимают всю высоту строки — заголовкам нужен воздух и нормальный трекинг */
html:is(:lang(ja), :lang(ko), :lang(zh-Hans), :lang(zh-Hant)) :is(.h1, .h2, .words, .pband__text, .cap h3, .doc h1, .faqpage__h, .faqpage__more h2) { letter-spacing: -0.01em; }
html:is(:lang(ja), :lang(ko), :lang(zh-Hans), :lang(zh-Hant)) .h1 { line-height: 1.12; }
html:is(:lang(ja), :lang(ko), :lang(zh-Hans), :lang(zh-Hant)) :is(.h2, .words, .pband__text) { line-height: 1.2; }
/* корейский пишется через пробелы — переносим по словам, а не посреди слова; японский — по смысловым кускам, где браузер умеет */
html:lang(ko) body { word-break: keep-all; }
html:lang(ja) :is(.h1, .h2, h3, .words, .pband__text, .lead) { word-break: auto-phrase; }
/* плашка над заголовком: если на узком экране не влезает в строку — две ровные строки, без одинокого слова внизу */
.kicker { text-wrap: balance; }
/* «1 час» в блоке цены — всегда одной строкой на любом языке (хозяин 16.11): если не влезает в колонку
   (godzina, Stunde, heure…), site.js чуть уменьшает кегль именно этой надписи; без скрипта — как раньше, с переносом */
.js .price__big mark { display: block; white-space: nowrap; }
/* то же для двух строк заголовка первого экрана: не переносить внутри строки, кегль подгоняет site.js */
.js .hero .h1 { white-space: nowrap; max-width: calc(100% + 0.2em); }

/* Хинди (16.11): деванагари — своим шрифтом; трекинг 0 (сжатие рвёт верхнюю черту, соединяющую буквы); буквы выше — больше воздуха */
html:lang(hi) body { font-family: "Tilda Sans", "Kohinoor Devanagari", "Noto Sans Devanagari", "Nirmala UI", -apple-system, sans-serif; }
html:lang(hi) :is(.h1, .h2, .words, .pband__text, h3, .doc h1, .faqpage__h, .faqpage__more h2, .kicker, .eyebrow, .price__big, .price__big small) { letter-spacing: 0; }
html:lang(hi) .h1 { line-height: 1.22; }
html:lang(hi) :is(.h2, .words, .pband__text) { line-height: 1.3; }

/* Арабский (16.11): письмо справа налево. Вязь — своим шрифтом и без трекинга (сжатие рвёт связки букв), строки выше */
html:lang(ar) body { font-family: "Tilda Sans", -apple-system, "Geeza Pro", "Noto Sans Arabic", "Segoe UI", Tahoma, sans-serif; }
html:lang(ar) body, html:lang(ar) body * { letter-spacing: 0 !important; }
html:lang(ar) .h1 { line-height: 1.25; }
html:lang(ar) :is(.h2, .words, .pband__text) { line-height: 1.3; }
/* карусель «Как это работает» листается слева направо и здесь — её прокрутку скрипт считает в этих координатах; текст карточек — справа налево */
[dir="rtl"] .steps__track { direction: ltr; }
[dir="rtl"] .step__card { direction: rtl; }
[dir="rtl"] .marquee { direction: ltr; }
/* стрелки в кнопках и ссылках — по ходу чтения (кроме стрелок карусели) */
[dir="rtl"] :not(.steps__arrow) > svg[viewBox="0 0 16 16"] { transform: scaleX(-1); }
[dir="rtl"] input[type="email"] { direction: ltr; text-align: right; }

/* Список языков (хозяин 16.11): все 19 видны сразу при открытии, без прокрутки — две колонки сверху вниз;
   русский и казахский — последние, внизу второй колонки. На телефоне — во всю ширину под шапкой. */
.langs ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: repeat(10, auto); grid-auto-flow: column; column-gap: 4px; min-width: 400px; max-height: calc(100dvh - 110px); overflow-y: auto; }
.langs li a { white-space: nowrap; }
/* на телефоне — во всю ширину плашки шапки (аудит 16.11: fixed считался от стеклянной плашки, и в альбомной ориентации низ списка был недостижим) */
@media (max-width: 720px) {
  .top__in { position: relative; }
  .langs { position: static; }
  .langs ul { position: absolute; top: calc(100% + 8px); left: 0; right: 0; min-width: 0; }
}

/* Технический аудит 16.11 */
/* арабский: стрелки карусели — в направлении ленты (она листается слева направо), иначе «назад» и «вперёд» смотрят друг на друга */
[dir="rtl"] .steps__arrows { direction: ltr; }
/* арабский: отступ ответа в вопросах — зеркально вопросу */
[dir="rtl"] .qa__a { padding: 0 22px 24px 64px; }
[dir="rtl"] .faqpage .qa__a { padding: 0 28px 26px 76px; }
@media (max-width: 720px) { [dir="rtl"] .faqpage .qa__a { padding: 0 20px 22px; } }
/* японский и китайский без пробелов: слово заголовка не должно становиться одним неразрывным блоком (на 320 px вылезал за край) */
html:is(:lang(ja), :lang(zh-Hans), :lang(zh-Hant)) .wd { display: inline !important; }
/* снимки светлый/тёмный: неактивный вариант у отложенных картинок не показываем вовсе — тогда браузер его и не качает.
   Карусель инвертирована (на светлом сайте — тёмный экран), плитки «Ещё» — по теме сайта: правила у них зеркальные. */
[data-theme="light"] .phone__screen.has-dark img[data-shot="light"][loading="lazy"],
[data-theme="dark"] .phone__screen.has-dark img[data-shot="dark"][loading="lazy"] { display: none; }
[data-theme="light"] .phone__screen.has-dark img[data-shot="dark"][loading="lazy"] { position: relative; }
[data-theme="light"] .tile__img.has-dark img[data-shot="dark"][loading="lazy"],
[data-theme="dark"] .tile__img.has-dark img[data-shot="light"][loading="lazy"] { display: none; }
/* японский, китайский, корейский: строки заголовков примерно равной длины — без одиноких «何が» и «方へ» на последней строке (проверка 16.11) */
html:is(:lang(ja), :lang(ko), :lang(zh-Hans), :lang(zh-Hant)) :is(.h2, .words, .pband__text, .faqcta__in .h2) { text-wrap: balance; }
/* заголовки и карточки на всех языках: строки примерно равной длины, без одного слова на последней строке
   (проверка 16.11: «Verbatta запишет за / вас», «Не / шештік?», «आधा / घंटा»); абзацы — без одинокого короткого слова в конце */
/* крупный текст о приватности на телефоне бывает длиннее 6 строк, где balance уже не работает, — там build.py склеивает два последних слова */
:is(.h2, h3, .words, .pband__text, .faqpage__h, .doccard__t) { text-wrap: balance; }
:is(.lead, .cap p, .final__in p, .pain p, .tile p, .pcard p, .howto__step p) { text-wrap: pretty; }
