/* cyrillic-ext */
@font-face { font-family: 'Onest'; font-style: normal; font-weight: 400 800; font-display: swap; src: url(/assets/fonts/onest-cyrillic-ext.woff2) format('woff2'); unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F; }
/* cyrillic */
@font-face { font-family: 'Onest'; font-style: normal; font-weight: 400 800; font-display: swap; src: url(/assets/fonts/onest-cyrillic.woff2) format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
/* latin-ext */
@font-face { font-family: 'Onest'; font-style: normal; font-weight: 400 800; font-display: swap; src: url(/assets/fonts/onest-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
/* latin */
@font-face { font-family: 'Onest'; font-style: normal; font-weight: 400 800; font-display: swap; src: url(/assets/fonts/onest-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
/* inostranny.ru — дизайн-система: белый фон, чёрная типографика, пастельные карточки, один акцент */
:root {
  --bg: #ffffff;
  --soft: #f4f4f6;
  --soft-2: #ebebef;
  --ink: #0f0f12;
  --ink-2: #3a3a42;
  --muted: #7b7b86;
  --line: #e7e7ec;
  --accent: #4237ff;
  --accent-h: #3329e6;
  --accent-soft: #eeedff;
  --ok: #12a150;
  --ok-soft: #e7f7ee;
  --bad: #e5484d;
  --bad-soft: #fdeeee;
  /* пастель для карточек */
  --lav: #efedff;
  --peach: #fff0e6;
  --sky: #e8f2ff;
  --mint: #e5f7ee;
  --pink: #fdebf3;
  --lemon: #fff7d6;
  --lav-i: #5b4ff0;
  --peach-i: #e0702b;
  --sky-i: #2f7de1;
  --mint-i: #189a5c;
  --pink-i: #d44a8b;
  --lemon-i: #b88a00;
  --r-xl: 32px;
  --r-l: 24px;
  --r-m: 16px;
  --shadow: 0 1px 2px rgba(15, 15, 18, .04), 0 12px 32px -8px rgba(15, 15, 18, .10);
  --shadow-lg: 0 2px 4px rgba(15, 15, 18, .04), 0 24px 60px -12px rgba(15, 15, 18, .16);
  --font: 'Onest', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  color-scheme: light;
}

* { box-sizing: border-box; }
html, body { margin: 0; }
html { scroll-behavior: smooth; }
body { background: var(--bg); color: var(--ink); font: 400 17px/1.55 var(--font); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-weight: 700; letter-spacing: -.025em; line-height: 1.08; margin: 0; }
.wrap { max-width: 1104px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 720px) { .wrap { padding: 0 32px; } }
svg.i { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* кнопки */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; cursor: pointer; text-decoration: none; white-space: nowrap;
  background: var(--accent); color: #fff; font-weight: 600; font-size: 16px; border-radius: 14px; padding: 15px 26px; transition: background .15s, transform .15s, box-shadow .15s; }
.btn:hover { background: var(--accent-h); }
.btn:active { transform: scale(.98); }
.btn.dark { background: var(--ink); }
.btn.dark:hover { background: #26262c; }
.btn.ghost { background: var(--soft); color: var(--ink); }
.btn.ghost:hover { background: var(--soft-2); }
.btn.line { background: #fff; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }
.btn.line:hover { box-shadow: inset 0 0 0 1px #cfcfd6; }
.btn.sm { padding: 10px 16px; font-size: 14px; border-radius: 12px; }
.btn.lg { padding: 18px 30px; font-size: 17px; border-radius: 16px; }
.btn[disabled] { opacity: .45; cursor: default; }

/* шапка */
.top { position: sticky; top: 0; z-index: 20; background: rgba(255, 255, 255, .86); backdrop-filter: saturate(1.6) blur(14px); -webkit-backdrop-filter: saturate(1.6) blur(14px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.top.scrolled, .app .top { border-bottom-color: var(--line); }
.top .wrap { display: flex; align-items: center; gap: 12px; height: 68px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 700; font-size: 20px; letter-spacing: -.03em; white-space: nowrap; }
.logo .mk { width: 32px; height: 32px; border-radius: 10px; background: var(--ink); color: #fff; display: grid; place-items: center; font-size: 18px; font-weight: 800; letter-spacing: 0; position: relative; line-height: 1; padding: 0 5px 3px 0; }
.logo .mk::after { content: ''; position: absolute; width: 6px; height: 6px; border-radius: 50%; background: #8f88ff; right: 4px; bottom: 6px; }
.top nav { display: flex; gap: 2px; margin-left: auto; align-items: center; }
.top nav a.link { text-decoration: none; color: var(--ink-2); font-weight: 500; font-size: 15px; padding: 9px 14px; border-radius: 10px; }
.top nav a.link:hover { background: var(--soft); }
.top nav .btn { margin-left: 10px; }
@media (max-width: 820px) { .top nav a.link { display: none; } }

/* лендинг: первый экран */
.hero { padding: 40px 0 24px; }
.hero .wrap { display: grid; gap: 40px; align-items: center; }
@media (min-width: 980px) { .hero { padding: 72px 0 40px; } .hero .wrap { grid-template-columns: 1.05fr .95fr; gap: 56px; } }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; background: var(--soft); border-radius: 999px; padding: 7px 14px 7px 8px; font-size: 14px; font-weight: 500; color: var(--ink-2); margin-bottom: 22px; }
.eyebrow i { background: var(--accent); color: #fff; font-style: normal; font-weight: 700; font-size: 12px; border-radius: 999px; padding: 3px 9px; }
.hero h1 { font-size: clamp(40px, 6.4vw, 76px); letter-spacing: -.045em; line-height: 1; }
.hero h1 span { color: var(--accent); }
.hero .lead { font-size: clamp(18px, 1.6vw, 21px); color: var(--ink-2); max-width: 520px; margin: 24px 0 32px; line-height: 1.5; }
.hero .ctas { display: flex; gap: 10px; flex-wrap: wrap; }
.trust { display: flex; gap: 28px; flex-wrap: wrap; margin-top: 36px; }
.trust div { display: flex; flex-direction: column; }
.trust b { font-size: 28px; font-weight: 700; letter-spacing: -.03em; line-height: 1.1; }
.trust span { color: var(--muted); font-size: 14px; }

/* продуктовая витрина в первом экране */
.showcase { background: var(--lav); border-radius: var(--r-xl); padding: 92px 28px; position: relative; overflow: hidden; min-height: 420px; display: flex; flex-direction: column; justify-content: center; }
.showcase::before { content: ''; position: absolute; width: 360px; height: 360px; right: -120px; top: -120px; background: radial-gradient(closest-side, rgba(66, 55, 255, .16), transparent); }
.phone { background: #fff; border-radius: 26px; box-shadow: var(--shadow-lg); padding: 18px; position: relative; max-width: 440px; width: 100%; margin: 0 auto; }
.phone .ph-top { display: flex; align-items: center; gap: 10px; padding-bottom: 14px; border-bottom: 1px solid var(--line); margin-bottom: 14px; }
.phone .ph-top .av { width: 36px; height: 36px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: 14px; }
.phone .ph-top b { display: block; font-size: 15px; }
.phone .ph-top small { color: var(--ok); font-size: 12px; font-weight: 500; }
.phone .ph-top .lv { margin-left: auto; background: var(--soft); border-radius: 8px; font-size: 12px; font-weight: 600; padding: 4px 8px; }
.bub { padding: 11px 15px; border-radius: 20px; font-size: 15px; line-height: 1.45; max-width: 86%; margin: 6px 0; width: fit-content; }
.bub.me { background: var(--accent); color: #fff; border-bottom-right-radius: 6px; margin-left: auto; }
.bub.ai { background: var(--soft); border-bottom-left-radius: 6px; }
.fix { border: 1px solid var(--line); background: #fff; border-radius: 16px; padding: 10px 13px; font-size: 14px; margin: 6px 0 8px auto; max-width: 86%; width: fit-content; }
.fix .lbl { display: flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; margin-bottom: 4px; }
.fix .lbl::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--bad); }
.fix s { color: var(--bad); text-decoration-thickness: 1.5px; }
.fix b { color: var(--ok); font-weight: 600; }
.fix small { display: block; color: var(--muted); margin-top: 3px; font-size: 13px; }
.float-card { position: absolute; background: #fff; border-radius: 16px; box-shadow: var(--shadow-lg); padding: 10px 14px; font-size: 13px; display: flex; align-items: center; gap: 10px; }
.float-card .dot { width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; }
.float-card b { display: block; font-size: 14px; }
.float-card span { color: var(--muted); }
.float-card.f1 { right: 24px; bottom: 20px; }
.float-card.f2 { left: 24px; top: 20px; }
@media (max-width: 560px) { .float-card { display: none; } .showcase { padding: 16px; min-height: 0; border-radius: var(--r-l); } }

/* секции */
.sec { padding: 56px 0; }
@media (min-width: 980px) { .sec { padding: 88px 0; } }
.sec-h { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: 36px; }
.sec h2 { font-size: clamp(32px, 4.4vw, 52px); letter-spacing: -.04em; max-width: 760px; }
.sec .sub { color: var(--muted); font-size: 18px; max-width: 520px; margin: 0; }

/* языки */
.langs { display: grid; gap: 12px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 720px) { .langs { grid-template-columns: repeat(3, 1fr); } }
.lang { position: relative; border-radius: var(--r-l); padding: 22px; min-height: 168px; text-decoration: none; display: flex; flex-direction: column; justify-content: space-between; transition: transform .2s; overflow: hidden; }
.lang:hover { transform: translateY(-3px); }
.lang .code { font-size: 15px; font-weight: 700; width: 44px; height: 44px; border-radius: 14px; background: #fff; display: grid; place-items: center; }
.lang h3 { font-size: clamp(20px, 2.2vw, 26px); }
.lang .go { display: flex; align-items: center; justify-content: space-between; color: var(--ink-2); font-size: 14px; font-weight: 500; margin-top: 4px; }
.lang .arr { width: 36px; height: 36px; border-radius: 50%; background: #fff; display: grid; place-items: center; transition: transform .2s; }
.lang:hover .arr { transform: rotate(-45deg); }
.t-lav { background: var(--lav); } .t-lav .ic-c { color: var(--lav-i); }
.t-peach { background: var(--peach); } .t-peach .ic-c { color: var(--peach-i); }
.t-sky { background: var(--sky); } .t-sky .ic-c { color: var(--sky-i); }
.t-mint { background: var(--mint); } .t-mint .ic-c { color: var(--mint-i); }
.t-pink { background: var(--pink); } .t-pink .ic-c { color: var(--pink-i); }
.t-lemon { background: var(--lemon); } .t-lemon .ic-c { color: var(--lemon-i); }

/* бенто «что внутри» */
.bento { display: grid; gap: 12px; grid-template-columns: 1fr; }
@media (min-width: 860px) { .bento { grid-template-columns: repeat(6, 1fr); } .bento .w3 { grid-column: span 3; } .bento .w2 { grid-column: span 2; } .bento .w4 { grid-column: span 4; } }
.tile { border-radius: var(--r-l); padding: 28px; display: flex; flex-direction: column; gap: 10px; min-height: 240px; overflow: hidden; position: relative; }
.tile h3 { font-size: 24px; }
.tile p { margin: 0; color: var(--ink-2); font-size: 16px; max-width: 400px; }
.tile .vis { margin-top: auto; padding-top: 16px; }
.tile.soft { background: var(--soft); }
.tile.warm { background: linear-gradient(160deg, #fff6e2 0%, #ffe4d2 100%); }
/* бенто: мини-интерфейсы */
.tile-chat { display: grid; gap: 24px; }
@media (min-width: 860px) { .tile-chat { grid-template-columns: 1fr 1.1fr; align-items: center; } }
.mock-chat { background: #fff; border-radius: 22px; padding: 16px; box-shadow: var(--shadow); }
.mock-chat .bub { font-size: 14px; margin: 5px 0; }
.mock-chat .fix { font-size: 13px; margin: 4px 0 6px auto; }
.mock-chat .fix small { font-size: 12px; }

.tile-streak .vis { display: flex; flex-direction: column; gap: 18px; }
.streak-big { display: flex; align-items: center; gap: 12px; }
.streak-big .fl { width: 52px; height: 52px; border-radius: 16px; background: linear-gradient(160deg, #ffb35c, #ff6a2c); display: grid; place-items: center; color: #fff; box-shadow: 0 8px 24px -6px rgba(255, 106, 44, .6); }
.streak-big .fl svg.i { width: 28px; height: 28px; fill: rgba(255,255,255,.25); }
.streak-big b { font-size: 56px; font-weight: 700; letter-spacing: -.05em; line-height: 1; }
.streak-big .lb { color: var(--ink-2); font-size: 14px; line-height: 1.25; }
.streak-row { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.streak-row i { aspect-ratio: 1; border-radius: 12px; background: rgba(255,255,255,.75); display: grid; place-items: center; font-style: normal; position: relative; }
.streak-row i em { position: absolute; bottom: -18px; font-style: normal; font-size: 11px; color: var(--muted); }
.streak-row i.on { background: linear-gradient(160deg, #ffa24c, #ff6a2c); box-shadow: 0 6px 14px -6px rgba(255, 106, 44, .7); }
.streak-row i.on svg.i { width: 16px; height: 16px; color: #fff; stroke-width: 2.6; }
.streak-row i.today { background: #fff; box-shadow: inset 0 0 0 2px #ff7a35; }
.tile-streak .vis { padding-bottom: 18px; }

.fstack { position: relative; height: 196px; max-width: 320px; }
.fc { position: absolute; inset: 0; background: #fff; border-radius: 20px; box-shadow: var(--shadow); }
.fc.back2 { transform: translate(14px, -4px) rotate(5deg); opacity: .5; }
.fc.back1 { transform: translate(7px, -2px) rotate(2.5deg); opacity: .8; }
.fc.front { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 16px; }
.fc .due { font-size: 11px; font-weight: 600; color: var(--mint-i); background: var(--mint); border-radius: 999px; padding: 3px 10px; }
.fc b { font-size: 28px; letter-spacing: -.03em; margin-top: 10px; line-height: 1.1; }
.fc .tr { color: var(--accent); font-weight: 600; margin-top: 4px; }
.fg { display: grid; grid-template-columns: repeat(3, 1fr); gap: 5px; width: 100%; margin-top: 14px; }
.fg span { border-radius: 10px; font-size: 11.5px; font-weight: 700; padding: 7px 2px; }
.fg .g0 { background: var(--bad-soft); color: var(--bad); }
.fg .g1 { background: var(--soft); }
.fg .g2 { background: var(--ok-soft); color: var(--ok); }

.lvl-card { background: #fff; border-radius: 20px; padding: 18px; box-shadow: var(--shadow); max-width: 320px; }
.lc-top { display: flex; justify-content: space-between; align-items: flex-start; color: var(--muted); font-size: 13px; font-weight: 500; }
.lc-top b { font-size: 52px; letter-spacing: -.05em; line-height: .9; color: var(--peach-i); }
.lc-name { font-weight: 700; font-size: 17px; margin: -14px 0 16px; }
.scale { display: grid; grid-template-columns: repeat(5, 1fr); gap: 4px; }
.scale i { height: 8px; border-radius: 4px; background: var(--soft-2); }
.scale i.on { background: linear-gradient(90deg, #ffb35c, var(--peach-i)); }
.scale-l { display: grid; grid-template-columns: repeat(5, 1fr); gap: 4px; margin-top: 6px; }
.scale-l span { font-size: 11px; color: var(--muted); font-weight: 600; text-align: center; }
.scale-l span.cur { color: var(--ink); }

.voice-card { background: #fff; border-radius: 20px; padding: 14px; box-shadow: var(--shadow); max-width: 320px; }
.vc-line { display: flex; align-items: center; gap: 10px; }
.mic-btn { width: 44px; height: 44px; border-radius: 50%; background: var(--accent); color: #fff; display: grid; place-items: center; flex: none; position: relative; }
.mic-btn::after { content: ''; position: absolute; inset: -6px; border-radius: 50%; border: 2px solid rgba(66, 55, 255, .25); animation: ring 1.8s infinite; }
@keyframes ring { 0% { transform: scale(.85); opacity: 1; } 100% { transform: scale(1.25); opacity: 0; } }
.mic-btn svg.i { width: 20px; height: 20px; }
.voice-card .wave { flex: 1; display: flex; align-items: center; gap: 3px; height: 44px; overflow: hidden; }
.voice-card .wave i { width: 3px; border-radius: 3px; background: var(--accent); flex: none; animation: wv 1.1s ease-in-out infinite alternate; transform-origin: center; }
@keyframes wv { from { transform: scaleY(.45); } to { transform: scaleY(1); } }
.voice-card .time { font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; }
.vc-text { margin-top: 12px; background: var(--sky); border-radius: 14px; padding: 10px 12px; font-size: 14px; font-weight: 500; color: var(--ink-2); }
@media (prefers-reduced-motion: reduce) { .voice-card .wave i, .mic-btn::after { animation: none; } }

/* шаги */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; grid-template-columns: 1fr; position: relative; }
@media (min-width: 720px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) {
  .steps { grid-template-columns: repeat(4, 1fr); gap: 16px; }
  .steps::before { content: ''; position: absolute; left: 12%; right: 12%; top: 52px; border-top: 2px dashed #d6d6de; z-index: 0; }
}
.step { position: relative; z-index: 1; border-radius: var(--r-l); padding: 24px; display: flex; flex-direction: column; min-height: 300px; transition: transform .2s; }
.step:hover { transform: translateY(-3px); }
.st-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 28px; }
.st-ico { width: 56px; height: 56px; border-radius: 18px; background: #fff; display: grid; place-items: center; box-shadow: 0 6px 18px -6px rgba(15, 15, 18, .18); }
.st-ico svg.i { width: 26px; height: 26px; }
.st-n { font-size: 44px; font-weight: 700; letter-spacing: -.05em; line-height: 1; color: rgba(15, 15, 18, .10); }
.step h3 { font-size: 21px; letter-spacing: -.02em; margin-bottom: 8px; }
.step p { margin: 0; color: var(--ink-2); font-size: 15px; }
.st-mini { margin-top: auto; padding-top: 22px; }
.sm-row { display: flex; align-items: center; gap: 6px; background: #fff; border-radius: 14px; padding: 8px; box-shadow: var(--shadow); width: fit-content; }
.sm-row .flag { width: 30px; height: 22px; border-radius: 6px; }
.sm-pill { font-size: 13px; font-weight: 600; padding: 4px 8px; border-radius: 8px; background: var(--soft); }
.sm-pill.acc { background: var(--accent); color: #fff; }
.sm-bub { background: var(--accent); color: #fff; font-size: 14px; border-radius: 16px 16px 6px 16px; padding: 9px 14px; width: fit-content; margin-left: auto; box-shadow: 0 8px 20px -8px rgba(66, 55, 255, .6); }
.sm-fix { background: #fff; border-radius: 14px; padding: 10px 14px; font-size: 14px; box-shadow: var(--shadow); width: fit-content; }
.sm-fix s { color: var(--bad); text-decoration-thickness: 1.5px; }
.sm-fix b { color: var(--ok); font-weight: 600; }
.sm-word { display: flex; align-items: center; gap: 8px; background: #fff; border-radius: 14px; padding: 9px 14px 9px 10px; box-shadow: var(--shadow); width: fit-content; font-size: 14px; }
.sm-word svg.i { width: 18px; height: 18px; color: #fff; background: var(--ok); border-radius: 50%; padding: 3px; stroke-width: 3; }
.sm-word b { font-weight: 700; }
.sm-word span { color: var(--muted); }
@media (max-width: 719px) { .step { min-height: 0; } }

/* сценарии */
.scen-cards { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
@media (min-width: 1040px) { .scen-cards { grid-template-columns: repeat(4, 1fr); } .sc.wide { grid-column: span 2; } }
.sc { border: 1px solid var(--line); border-radius: var(--r-l); text-decoration: none; display: flex; flex-direction: column; background: #fff; overflow: hidden; transition: box-shadow .25s, transform .25s, border-color .25s; }
.sc:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); border-color: transparent; }
.sc .ill { height: 170px; display: grid; place-items: center; overflow: hidden; }
.sc .ill svg { height: 100%; width: auto; max-width: 100%; transition: transform .4s cubic-bezier(.2,.8,.2,1); filter: drop-shadow(0 10px 18px rgba(15, 15, 18, .10)); }
.sc:hover .ill svg { transform: scale(1.05); }
.sc.wide .ill { height: 170px; }
.sc-b { padding: 18px 22px 22px; display: flex; flex-direction: column; gap: 6px; }
.sc h3 { font-size: 19px; letter-spacing: -.02em; }
.sc p { margin: 0; color: var(--muted); font-size: 15px; }

/* текст, уровни */
.split { display: grid; gap: 32px; }
@media (min-width: 980px) { .split { grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; } }
.prose { color: var(--ink-2); font-size: 18px; }
.prose p { margin: 0 0 16px; }
.checks { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.checks li { display: flex; gap: 14px; align-items: flex-start; background: var(--soft); border-radius: var(--r-m); padding: 16px 18px; font-size: 16px; }
.checks li svg { color: var(--accent); margin-top: 1px; }
.levels { display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
.lv { border: 1px solid var(--line); border-radius: var(--r-m); padding: 20px; }
.lv b { font-size: 28px; letter-spacing: -.03em; display: block; }
.lv span { font-weight: 600; font-size: 15px; }
.lv p { color: var(--muted); font-size: 14px; margin: 6px 0 0; }

/* FAQ */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 24px 0; font-size: clamp(17px, 1.6vw, 20px); font-weight: 600; letter-spacing: -.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ''; flex: none; width: 40px; height: 40px; border-radius: 50%; background: var(--soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230f0f12' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E") center/18px no-repeat; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: -8px 0 24px; color: var(--ink-2); max-width: 760px; }

/* финальный призыв */
.cta-band { background: linear-gradient(125deg, #3a2fff 0%, #5b4ff0 55%, #8f6bff 100%); color: #fff; border-radius: var(--r-xl); padding: 56px 28px; display: grid; gap: 32px; position: relative; overflow: hidden; }
.cta-band::before { content: ''; position: absolute; width: 520px; height: 520px; right: -140px; top: -220px; border-radius: 50%; background: radial-gradient(closest-side, rgba(255,255,255,.22), transparent); }
.cta-band::after { content: ''; position: absolute; width: 420px; height: 420px; left: -160px; bottom: -260px; border-radius: 50%; background: radial-gradient(closest-side, rgba(255,255,255,.14), transparent); }
.cta-tx { position: relative; z-index: 1; display: grid; gap: 20px; justify-items: start; }
.cta-band h2 { font-size: clamp(32px, 4.4vw, 52px); letter-spacing: -.04em; max-width: 620px; }
.cta-band p { color: rgba(255,255,255,.82); margin: 0; font-size: 18px; max-width: 480px; }
.btn.white { background: #fff; color: var(--accent); box-shadow: 0 10px 30px -10px rgba(10, 6, 80, .5); }
.btn.white:hover { background: #f2f1ff; }
.cta-deco { position: relative; z-index: 1; min-height: 240px; }
.hb { position: absolute; display: inline-flex; align-items: center; gap: 10px; background: #fff; color: var(--ink); font-weight: 600; font-size: 17px; padding: 9px 18px 9px 9px; border-radius: 999px; box-shadow: 0 14px 34px -12px rgba(10, 6, 80, .55); white-space: nowrap; animation: hb 6s ease-in-out infinite; }
.hb .flag { width: 32px; height: 32px; border-radius: 50%; box-shadow: none; }
.hb0 { left: 6%; top: 6%; } .hb1 { left: 52%; top: 0; animation-delay: -1s; } .hb2 { left: 26%; top: 36%; animation-delay: -2s; }
.hb3 { left: 66%; top: 40%; animation-delay: -3s; } .hb4 { left: 2%; top: 70%; animation-delay: -4s; } .hb5 { left: 44%; top: 76%; animation-delay: -5s; }
@keyframes hb { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@media (prefers-reduced-motion: reduce) { .hb { animation: none; } }
@media (min-width: 980px) { .cta-band { grid-template-columns: 1.1fr .9fr; align-items: center; padding: 72px 64px; } }
@media (max-width: 979px) { .cta-deco { display: none; } }

footer.foot { background: var(--soft); border-radius: 40px 40px 0 0; margin-top: 40px; padding: 64px 0 28px; overflow: hidden; }
.f-top { display: grid; gap: 40px 24px; grid-template-columns: 1fr 1fr; }
@media (min-width: 980px) { .f-top { grid-template-columns: 1.6fr repeat(4, 1fr); gap: 32px; } }
.f-brand { grid-column: 1 / -1; display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
@media (min-width: 980px) { .f-brand { grid-column: auto; padding-right: 24px; } }
.f-brand .logo { font-size: 24px; }
.f-brand .logo .mk { width: 40px; height: 40px; border-radius: 12px; font-size: 22px; }
.f-brand p { margin: 0; color: var(--ink-2); font-size: 16px; max-width: 340px; }
.f-col h4 { font-size: 15px; font-weight: 700; letter-spacing: -.01em; margin-bottom: 16px; }
.f-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.f-col a { color: var(--muted); text-decoration: none; font-size: 15px; transition: color .15s; }
.f-col a:hover { color: var(--ink); }
.f-giant { font-size: min(15vw, 190px); font-weight: 800; letter-spacing: -.065em; line-height: 1; padding: .06em .04em 0 0; margin: 48px 0 20px -.04em; white-space: nowrap;
  user-select: none; }
.f-giant span { background-size: 100% 52%; background-position: 0 60%; background-repeat: no-repeat; -webkit-background-clip: text; background-clip: text; color: transparent; }
.f-bottom { display: flex; justify-content: space-between; gap: 8px 24px; flex-wrap: wrap; border-top: 1px solid var(--soft-2); padding-top: 22px; color: var(--muted); font-size: 14px; }
@media (max-width: 560px) { footer.foot { border-radius: 28px 28px 0 0; padding-top: 48px; } .f-giant { margin-top: 44px; } }

/* флаги */
.flag { display: inline-block; flex: none; width: 52px; height: 38px; border-radius: 10px; overflow: hidden; box-shadow: 0 0 0 1px rgba(15, 15, 18, .06), 0 6px 14px -4px rgba(15, 15, 18, .18); background: #fff; }
.flag svg { display: block; width: 100%; height: 100%; }
.tile-chat .tx p { margin-top: 12px; }

/* грамматика */
.g-hero { padding-bottom: 8px; } .g-hero .wrap { display: block; } .g-hero h1 { font-size: clamp(34px, 5vw, 60px); max-width: 900px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; font-size: 14px; color: var(--muted); margin-bottom: 18px; }
.crumbs a { color: var(--ink-2); text-decoration: none; } .crumbs a:hover { color: var(--accent); } .crumbs i { font-style: normal; opacity: .6; }
.lvl-badge { display: inline-block; background: var(--accent-soft); color: var(--accent); font-weight: 700; font-size: 13px; border-radius: 999px; padding: 5px 12px; margin-bottom: 12px; }
.g-lvl { font-size: 24px !important; margin: 26px 0 12px; }
.g-cards { display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.g-card { border: 1px solid var(--line); border-radius: 20px; padding: 18px; text-decoration: none; display: flex; flex-direction: column; gap: 6px; transition: box-shadow .2s, transform .2s; }
.g-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); } .g-card b { font-size: 17px; } .g-card span { color: var(--muted); font-size: 14px; }
.g-wrap { max-width: 860px; } .g-sec { padding-top: 24px; }
.g-sec h2 { font-size: clamp(24px, 3vw, 32px); margin: 40px 0 16px; }
.g-p { color: var(--ink-2); margin: 0 0 14px; }
.g-uses { display: grid; gap: 10px; }
.g-use { display: flex; gap: 14px; background: var(--soft); border-radius: 18px; padding: 16px 18px; }
.g-use i { font-style: normal; width: 28px; height: 28px; border-radius: 50%; background: var(--accent); color: #fff; font-weight: 700; font-size: 14px; display: grid; place-items: center; flex: none; }
.g-use b { display: block; margin-bottom: 4px; } .g-exl { margin: 0; font-weight: 600; color: var(--accent); } .g-tr { margin: 0; color: var(--muted); font-size: 15px; }
.g-table-w { overflow-x: auto; border: 1px solid var(--line); border-radius: 18px; }
.g-table { width: 100%; border-collapse: collapse; font-size: 15px; } .g-table th { text-align: left; background: var(--soft); padding: 12px 14px; font-size: 13px; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
.g-table td { padding: 12px 14px; border-top: 1px solid var(--line); vertical-align: top; } .g-table td:nth-child(2) { font-weight: 600; }
.g-exs { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.g-exs li { border-left: 3px solid var(--accent); padding: 4px 0 4px 14px; display: flex; flex-direction: column; } .g-exs span { color: var(--muted); font-size: 15px; }
.g-mis { display: grid; gap: 10px; }
.g-try { display: flex; gap: 16px; align-items: center; justify-content: space-between; flex-wrap: wrap; background: var(--lav); border-radius: 22px; padding: 22px 24px; margin-top: 36px; }
.g-try b { display: block; font-size: 19px; } .g-try span { color: var(--ink-2); font-size: 15px; }
.g-links { display: flex; flex-wrap: wrap; gap: 8px; } .g-links a { border: 1px solid var(--line); border-radius: 12px; padding: 8px 14px; text-decoration: none; font-size: 15px; font-weight: 500; } .g-links a:hover { border-color: var(--accent); color: var(--accent); }
.g-links.big a { font-size: 16px; padding: 10px 16px; }
.g-topic .wrap { max-width: 924px; } .g-topic h1 { font-size: clamp(34px, 5vw, 56px); }
.mode-grid { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }
.mg { border: 1px solid var(--line); border-radius: var(--r-l); padding: 20px; text-decoration: none; display: flex; flex-direction: column; gap: 6px; transition: box-shadow .2s, transform .2s, border-color .2s; }
.mg:hover { box-shadow: var(--shadow); transform: translateY(-2px); border-color: transparent; }
.mg .ico { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 10px; }
.mg b { font-size: 18px; letter-spacing: -.02em; } .mg > span:last-child { color: var(--muted); font-size: 15px; }
@media (max-width: 560px) { .mode-grid { grid-template-columns: 1fr 1fr; gap: 10px; } .mg { padding: 14px; border-radius: 20px; } .mg .ico { width: 40px; height: 40px; margin-bottom: 6px; } .mg b { font-size: 15px; } .mg > span:last-child { font-size: 13px; } }

/* ===== SEO-посадочная (шаблон sp-) ===== */
.guide-card { display: flex; align-items: center; gap: 16px; border-radius: 24px; padding: 18px 22px; background: linear-gradient(120deg, var(--lav), #fff6ef); text-decoration: none; transition: transform .2s, box-shadow .2s; }
.guide-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.guide-card .flag { width: 44px; height: 44px; border-radius: 50%; overflow: hidden; flex: none; display: block; } .guide-card .flag svg { width: 100%; height: 100%; display: block; }
.guide-card div { flex: 1; display: flex; flex-direction: column; } .guide-card small { color: var(--accent); font-weight: 700; font-size: 13px; text-transform: uppercase; letter-spacing: .05em; } .guide-card b { font-size: clamp(17px, 2vw, 21px); letter-spacing: -.01em; }
.guide-card .arr { width: 40px; height: 40px; border-radius: 50%; background: #fff; display: grid; place-items: center; flex: none; } .guide-card .arr svg { width: 18px; height: 18px; }
.sp-hero { padding: 28px 0 8px; background: radial-gradient(1000px 420px at 85% 0%, #efedff 0%, rgba(255,255,255,0) 70%); }
.sp-hero .wrap { display: grid; gap: 28px; align-items: start; }
@media (min-width: 1000px) { .sp-hero .wrap { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 48px; } }
.sp-hero h1 { font-size: clamp(36px, 5.6vw, 66px); letter-spacing: -.045em; line-height: 1.02; }
.sp-hero h1 span { color: var(--accent); }
.sp-hero .lead { font-size: clamp(17px, 1.5vw, 20px); color: var(--ink-2); margin: 20px 0 26px; line-height: 1.55; max-width: 640px; }
.sp-hero .ctas { display: flex; gap: 10px; flex-wrap: wrap; }
.sp-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.sp-meta span { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: var(--ink-2); background: var(--soft); border-radius: 999px; padding: 6px 12px; }
.sp-meta svg { width: 14px; height: 14px; color: var(--ok); stroke-width: 2.6; }
.sp-note { color: var(--muted); font-size: 14px; margin: 12px 0 0; }
.sp-answer { background: #fff; border: 1px solid var(--line); border-radius: 28px; padding: 24px; box-shadow: var(--shadow-lg, 0 30px 60px -30px rgba(20,16,90,.25)); }
.sp-ans-h { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; } .sp-ans-h .flag { width: 28px; height: 28px; border-radius: 50%; overflow: hidden; display: block; } .sp-ans-h .flag svg { width: 100%; height: 100%; display: block; }
.sp-ans-h b { font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: var(--accent); }
.sp-answer > p { font-size: 17px; line-height: 1.55; margin: 0 0 18px; color: var(--ink); }
.sp-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.sp-facts div { background: var(--soft); border-radius: 16px; padding: 12px 14px; display: flex; flex-direction: column; gap: 2px; }
.sp-facts b { font-size: 20px; letter-spacing: -.02em; } .sp-facts span { font-size: 13px; color: var(--muted); line-height: 1.3; }
.sp-body { display: grid; gap: 32px; padding-top: 28px; padding-bottom: 40px; }
@media (min-width: 1000px) { .sp-body { grid-template-columns: 260px minmax(0, 1fr); gap: 56px; } }
.sp-toc { align-self: start; }
@media (min-width: 1000px) { .sp-toc { position: sticky; top: 88px; } }
.sp-toc details { background: var(--soft); border-radius: 20px; padding: 16px 18px; }
.sp-toc summary { font-weight: 800; cursor: pointer; list-style: none; font-size: 15px; } .sp-toc summary::-webkit-details-marker { display: none; }
.sp-toc ol { margin: 10px 0 0; padding: 0; list-style: none; counter-reset: t; display: flex; flex-direction: column; gap: 2px; }
.sp-toc li { counter-increment: t; } .sp-toc a { display: flex; gap: 10px; text-decoration: none; color: var(--ink-2); font-size: 14.5px; padding: 6px 8px; border-radius: 10px; transition: background .15s, color .15s; }
.sp-toc a::before { content: counter(t); color: var(--muted); font-weight: 700; font-size: 12px; min-width: 14px; padding-top: 2px; }
.sp-toc a:hover { background: #fff; } .sp-toc a.on { background: #fff; color: var(--accent); font-weight: 600; }
.sp-toc-cta { display: none; }
@media (min-width: 1000px) { .sp-toc-cta { display: flex; flex-direction: column; gap: 2px; margin-top: 12px; border-radius: 20px; padding: 16px 18px; background: linear-gradient(125deg, #3a2fff, #8f6bff); color: #fff; text-decoration: none; } .sp-toc-cta span { font-size: 13px; opacity: .85; } }
.sp-main { min-width: 0; max-width: 800px; }
.sp-sec { padding-top: 40px; scroll-margin-top: 80px; }
.sp-sec h2 { font-size: clamp(26px, 3.4vw, 38px); letter-spacing: -.035em; margin-bottom: 14px; line-height: 1.1; }
.sp-p, .sp-prose p { color: var(--ink-2); font-size: 17px; line-height: 1.6; margin: 0 0 16px; }
.sp-more { margin: 14px 0 0; font-weight: 600; } .sp-more a { color: var(--accent); text-decoration: none; } .sp-more a:hover { text-decoration: underline; }
.sp-calc { border: 1px solid var(--line); border-radius: 24px; overflow: hidden; }
.sp-calc-in { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; padding: 18px 20px; background: var(--soft); }
@media (max-width: 600px) { .sp-calc-in { grid-template-columns: 1fr; } }
.sp-calc-in label { display: flex; flex-direction: column; gap: 8px; font-size: 14px; color: var(--ink-2); font-weight: 600; }
.sp-calc-in b { color: var(--accent); font-size: 18px; margin-left: 4px; }
.sp-calc-in input[type=range] { width: 100%; accent-color: var(--accent); height: 28px; }
.sp-calc-out { padding: 10px 20px 16px; }
.sp-row { display: grid; grid-template-columns: 36px 1fr 74px; grid-template-rows: auto auto; align-items: center; column-gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.sp-row:last-child { border-bottom: 0; }
.sp-row b { font-size: 17px; } .sp-row em { font-style: normal; font-weight: 800; text-align: right; font-size: 17px; font-variant-numeric: tabular-nums; }
.sp-bar { height: 10px; background: var(--soft); border-radius: 99px; overflow: hidden; } .sp-bar i { display: block; height: 100%; border-radius: 99px; background: linear-gradient(90deg, #8f88ff, var(--accent)); transition: width .4s; }
.sp-row small { grid-column: 2 / 4; color: var(--muted); font-size: 13px; margin-top: 4px; }
.sp-steps { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 0; position: relative; }
.sp-steps li { display: flex; gap: 18px; padding-bottom: 22px; position: relative; }
.sp-steps li:not(:last-child)::before { content: ''; position: absolute; left: 21px; top: 46px; bottom: 4px; width: 2px; background: var(--line); }
.sp-n { width: 44px; height: 44px; border-radius: 14px; background: var(--accent); color: #fff; font-weight: 800; display: grid; place-items: center; flex: none; font-size: 18px; }
.sp-steps h3 { font-size: 19px; margin: 9px 0 6px; letter-spacing: -.015em; } .sp-steps p { margin: 0; color: var(--ink-2); line-height: 1.55; }
.sp-tip { margin-top: 10px !important; display: flex; gap: 8px; align-items: flex-start; background: var(--lemon); border-radius: 12px; padding: 10px 12px; font-size: 15px; }
.sp-tip svg { width: 16px; height: 16px; flex: none; margin-top: 3px; color: var(--lemon-i); }
.sp-inline-cta { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; justify-content: space-between; background: var(--lav); border-radius: 22px; padding: 18px 20px; margin-top: 6px; }
.sp-inline-cta div { display: flex; flex-direction: column; } .sp-inline-cta b { font-size: 18px; } .sp-inline-cta span { color: var(--ink-2); font-size: 15px; }
.sp-cats { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 12px; }
.sp-cat { border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 8px 14px; font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; color: var(--ink-2); }
.sp-cat.on { background: var(--ink); color: #fff; border-color: var(--ink); }
.sp-ph td:nth-child(1) b { font-weight: 700; } .sp-ph td:nth-child(2) { font-weight: 400 !important; } .sp-pron { color: var(--muted); font-style: italic; }
.sp-ph td:last-child { width: 44px; padding-left: 0; }
.sp-say, .sp-ex { border: 0; background: var(--accent-soft); color: var(--accent); border-radius: 10px; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; font: inherit; font-weight: 600; }
.sp-say { width: 36px; height: 36px; justify-content: center; } .sp-say svg, .sp-ex svg { width: 18px; height: 18px; }
.sp-ex { padding: 8px 12px; font-size: 15px; margin-top: auto; align-self: flex-start; }
.no-tts .sp-say, .no-tts .sp-ex svg { display: none; }
.sp-p svg { width: 16px; height: 16px; vertical-align: -2px; color: var(--accent); }
.sp-units { display: flex; flex-direction: column; gap: 8px; }
.sp-unit { border-radius: 20px; padding: 4px 18px; }
.sp-unit summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; padding: 14px 0; }
.sp-unit summary::-webkit-details-marker { display: none; }
.sp-un { font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; background: rgba(255,255,255,.75); border-radius: 999px; padding: 4px 10px; }
.sp-unit summary b { font-size: 18px; } .sp-ul { color: var(--ink-2); font-size: 13px; }
.sp-unit ol { margin: 0 0 14px; padding: 0 0 0 4px; list-style: none; display: grid; gap: 6px; counter-reset: l; }
.sp-unit li { counter-increment: l; } .sp-unit li a { display: flex; gap: 10px; align-items: center; background: rgba(255,255,255,.8); border-radius: 12px; padding: 10px 14px; text-decoration: none; font-weight: 600; transition: background .15s; }
.sp-unit li a::before { content: counter(l); width: 24px; height: 24px; border-radius: 50%; background: #fff; display: grid; place-items: center; font-size: 12px; color: var(--accent); flex: none; }
.sp-unit li.sp-ut a::before { content: '★'; color: var(--lemon-i); }
.sp-unit li a:hover { background: #fff; }
@media (max-width: 600px) { .sp-ul { display: none; } }
.sp-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px; }
.sp-card { border: 1px solid var(--line); border-radius: 20px; padding: 18px; display: flex; flex-direction: column; gap: 8px; }
.sp-snd { font-size: 28px; font-weight: 800; letter-spacing: -.02em; color: var(--accent); } .sp-card p { margin: 0; color: var(--ink-2); font-size: 15px; line-height: 1.5; }
.sp-mis { display: grid; gap: 8px; } .sp-mis .fix { margin: 0; max-width: none; width: auto; font-size: 16px; padding: 14px 16px; }
.sp-quiz { border: 1px solid var(--line); border-radius: 24px; padding: 22px; box-shadow: var(--shadow); min-height: 230px; }
.sp-q-top { display: flex; align-items: center; gap: 12px; font-size: 13px; font-weight: 700; color: var(--muted); } .sp-q-bar { flex: 1; height: 6px; background: var(--soft); border-radius: 99px; overflow: hidden; } .sp-q-bar i { display: block; height: 100%; background: var(--accent); }
.sp-q { font-size: 20px; font-weight: 700; letter-spacing: -.015em; margin: 16px 0; }
.sp-q-o { display: grid; gap: 8px; } .sp-q-o button { border: 1px solid var(--line); background: #fff; border-radius: 14px; padding: 14px; font: inherit; font-weight: 600; font-size: 16px; cursor: pointer; text-align: left; transition: background .15s; }
.sp-q-o button:hover:not(:disabled) { background: var(--soft); } .sp-q-o button.r { background: var(--ok-soft); border-color: var(--ok); color: var(--ok); } .sp-q-o button.w { background: var(--bad-soft); border-color: var(--bad); color: var(--bad); }
.sp-q-w { margin: 12px 0 0; color: var(--ink-2); font-size: 15px; }
.sp-q-res { text-align: center; padding: 12px 0; } .sp-q-res b { font-size: 48px; letter-spacing: -.04em; color: var(--accent); } .sp-q-res p { color: var(--ink-2); font-size: 17px; } .sp-q-res .ctas { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }
.sp-myths { display: grid; gap: 10px; } @media (min-width: 700px) { .sp-myths { grid-template-columns: 1fr 1fr; } }
.sp-myth { border-radius: 20px; background: var(--soft); padding: 18px; } .sp-myth p { margin: 0; display: flex; gap: 10px; align-items: flex-start; line-height: 1.5; }
.sp-myth svg { width: 18px; height: 18px; flex: none; margin-top: 3px; stroke-width: 2.6; }
.sp-m { font-weight: 700; color: var(--ink); margin-bottom: 10px !important; text-decoration: line-through; text-decoration-color: rgba(229,72,77,.5); } .sp-m svg { color: var(--bad); }
.sp-t { color: var(--ink-2); font-size: 15px; } .sp-t svg { color: var(--ok); }
.sp-cmp th, .sp-cmp td { font-size: 14px; } .sp-cmp td:first-child { font-weight: 700; } .sp-cmp td:nth-child(2) { font-weight: 400 !important; }
.sp-cmp .hl { background: var(--accent-soft); font-weight: 700; color: var(--accent); } .sp-cmp th.hl { background: var(--accent); color: #fff; }
.sp-cmp .no { color: var(--muted); } .sp-cmp .yes:not(.hl) { color: var(--ok); }
.g-links small { color: var(--muted); font-size: 12px; margin-left: 4px; }
.sp-by { margin-top: 32px; padding: 16px 18px; border-radius: 16px; background: var(--soft); color: var(--muted); font-size: 14px; }
.sp-sticky { position: fixed; left: 12px; right: 12px; bottom: max(12px, env(safe-area-inset-bottom)); z-index: 30; transform: translateY(140%); transition: transform .3s; }
.sp-sticky .btn { width: 100%; box-shadow: 0 14px 30px -10px rgba(66,55,255,.6); }
.sp-sticky.on { transform: none; }
@media (min-width: 1000px) { .sp-sticky { display: none; } }
.sp-toc a.sp-toc-cta { color: #fff; padding: 16px 18px; } .sp-toc a.sp-toc-cta::before { content: none; } .sp-toc a.sp-toc-cta:hover { background: linear-gradient(125deg, #3329e6, #8360ff); }
.sp-row em { font-variant-numeric: normal; }
.phone .ph-top .av svg { width: 18px; height: 18px; fill: #fff; stroke: none; }

/* ===== логотип F: надпись, кратка над «й» — реплика ===== */
.logo { display: inline-flex; align-items: baseline; gap: 0; font-weight: 800; font-size: 23px; letter-spacing: -.035em; color: var(--ink); line-height: 1; padding-top: .3em; }
.logo .l-y { position: relative; display: inline-block; }
.logo .l-y i { position: absolute; left: 50%; bottom: .78em; width: .6em; height: .42em; transform: translateX(-46%); background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 46 32'%3E%3Cpath d='M8 0h30a8 8 0 0 1 8 8v8a8 8 0 0 1-8 8H24l-10 8v-8H8a8 8 0 0 1-8-8V8a8 8 0 0 1 8-8z' fill='%234237ff'/%3E%3C/svg%3E") no-repeat center / contain; transition: transform .25s cubic-bezier(.2,.9,.3,1.4); }
.logo:hover .l-y i { transform: translateX(-46%) translateY(-2px) rotate(-6deg); }
.f-brand .logo { font-size: 30px; }
.cta-band .logo, .foot.dark .logo { color: #fff; }
.logo .l-y i { transform: translateX(-56%); bottom: .74em; }
.logo:hover .l-y i { transform: translateX(-56%) translateY(-2px) rotate(-6deg); }
.top .logo { margin-right: 12px; }
@media (max-width: 480px) { body.app .top .logo { font-size: 19px; margin-right: 6px; } }
/* собственные двухтонные иконки */
svg.duo { fill: currentColor !important; stroke: none !important; }
svg.duo .b { opacity: .32; }
.mg .ico svg.duo, .ico .ic-c svg.duo { width: 28px; height: 28px; }
.st-ico svg.duo { width: 30px; height: 30px; }
/* фото */
img.ph { display: block; object-fit: cover; background: var(--soft); width: 100%; }
.where { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.where figure { margin: 0; border-radius: 24px; overflow: hidden; background: var(--soft); display: flex; flex-direction: column; }
.where img.ph { aspect-ratio: 4 / 3.4; }
.where figcaption { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 2px; } .where b { font-size: 17px; } .where span { font-size: 14px; color: var(--ink-2); }
@media (max-width: 900px) { .where { grid-template-columns: 1fr 1fr; } }
.ph-band { margin: 0; position: relative; border-radius: 28px; overflow: hidden; }
.ph-band img.ph { aspect-ratio: 21 / 8; }
.ph-band figcaption { position: absolute; left: 20px; bottom: 20px; right: 20px; max-width: 520px; background: rgba(255,255,255,.92); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border-radius: 20px; padding: 14px 18px; display: flex; flex-direction: column; gap: 2px; }
.ph-band b { font-size: 18px; } .ph-band span { font-size: 14px; color: var(--ink-2); }
@media (max-width: 680px) { .ph-band img.ph { aspect-ratio: 4 / 3; } .ph-band figcaption { position: static; border-radius: 0; background: var(--soft); } }
.sp-ans-ph { aspect-ratio: 16 / 8; border-radius: 18px; margin-bottom: 16px; }
.sp-unit summary { grid-template-columns: auto auto 1fr auto; } .sp-uimg { width: 44px; height: 44px; border-radius: 12px; }
@media (max-width: 600px) { .sp-unit summary { grid-template-columns: auto 1fr; } .sp-un { display: none; } }
/* тест на уровень и экзамены */
.lt-quiz .lt-gap { display: inline-block; min-width: 54px; border-bottom: 2px solid var(--accent); color: var(--accent); text-align: center; }
.lt-tr { color: var(--muted); font-size: 14px; margin: -6px 0 12px; }
.sp-q-o button.lt-idk { background: transparent; border-style: dashed; color: var(--muted); font-weight: 500; }
.lt-res small { display: block; color: var(--muted); font-size: 14px; } .lt-res b { display: block; }
.lt-miss { text-align: left; margin-top: 16px; border-top: 1px solid var(--line); padding-top: 12px; } .lt-miss summary { cursor: pointer; font-weight: 600; }
.lt-miss ul { list-style: none; padding: 0; display: grid; gap: 8px; margin-top: 10px; } .lt-miss li { font-size: 15px; } .lt-miss li b { font-size: 12px; color: var(--accent); margin-right: 6px; } .lt-miss li small { display: block; color: var(--muted); }
.lt-all { margin-top: 12px; font-size: 14px; color: var(--ink-2); } .lt-all summary { cursor: pointer; color: var(--muted); } .lt-all ol { display: grid; gap: 8px; margin-top: 10px; } .lt-all small { color: var(--muted); }
.lt-levels { display: grid; gap: 10px; }
.lt-lv { border: 1px solid var(--line); border-radius: 20px; padding: 16px 18px; transition: border-color .2s, background .2s; } .lt-lv.on { border-color: var(--accent); background: var(--soft); }
.lt-lv-h { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; margin-bottom: 6px; } .lt-lv-h b { font-size: 22px; color: var(--accent); letter-spacing: -.02em; } .lt-lv-h span { font-weight: 600; } .lt-lv-h small { margin-left: auto; color: var(--muted); font-size: 13px; }
.lt-lv p { margin: 0; color: var(--ink-2); } .lt-ex { display: flex; gap: 10px; align-items: flex-start; margin-top: 10px !important; } .lt-ex span { display: flex; flex-direction: column; } .lt-ex small { color: var(--muted); }
.lt-signs { display: grid; gap: 8px; } .lt-sign { display: flex; gap: 14px; align-items: baseline; padding: 12px 0; border-bottom: 1px solid var(--line); } .lt-sign b { color: var(--accent); min-width: 28px; } .lt-sign p { margin: 0; }
.lt-next { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px; }
.lt-nx { border: 1px solid var(--line); border-radius: 20px; padding: 16px; text-decoration: none; color: inherit; display: flex; flex-direction: column; gap: 6px; transition: border-color .2s; } .lt-nx:hover { border-color: var(--accent); }
.lt-nx b { color: var(--accent); font-size: 20px; } .lt-nx p { margin: 0; font-size: 15px; color: var(--ink-2); flex: 1; } .lt-nx span { font-weight: 600; font-size: 14px; color: var(--accent); }
.lt-task { background: var(--soft); border-radius: 20px; padding: 18px 20px; } .lt-task p { white-space: pre-line; margin: 6px 0; font-weight: 500; } .lt-task small { color: var(--muted); display: block; white-space: pre-line; }
.lt-model { border: 1px solid var(--line); border-radius: 20px; padding: 16px 20px; margin-top: 10px; } .lt-model summary { cursor: pointer; font-weight: 600; } .lt-model p { white-space: pre-line; }
.lt-model ul { list-style: none; padding: 0; display: grid; gap: 6px; } .lt-model li { display: flex; gap: 8px; align-items: flex-start; color: var(--ink-2); } .lt-model li svg { flex: none; width: 18px; height: 18px; color: var(--ok); margin-top: 3px; }
.lt-cr { font-size: 16px; margin: 0; } .lt-tr-list { display: grid; gap: 10px; }
@media (max-width: 600px) { .lt-lv-h small { margin-left: 0; width: 100%; } .lt-sign { flex-direction: column; gap: 4px; } }
.xc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 10px; } @media (max-width: 400px) { .xc-grid { grid-template-columns: 1fr; } }
.lt-fmt { display: grid; gap: 8px; } .lt-f { border: 1px solid var(--line); border-radius: 18px; padding: 14px 18px; }
.lt-f-h { display: flex; gap: 10px; align-items: baseline; flex-wrap: wrap; justify-content: space-between; } .lt-f-h span { display: flex; gap: 6px; flex-wrap: wrap; }
.lt-f-h i { font-style: normal; font-size: 13px; background: var(--soft); border-radius: 99px; padding: 3px 10px; color: var(--ink-2); } .lt-f p { margin: 6px 0 0; color: var(--ink-2); font-size: 15px; }
.sc-sit { margin-top: 14px; } .sc-sit h3 { margin: 0 0 6px; font-size: 19px; } .sc-sit .sp-tip { margin: 0 0 10px; }
.sc-dlg { display: grid; gap: 10px; } .sc-ln { max-width: 86%; } .sc-ln.me { margin-left: auto; } .sc-ln small { color: var(--muted); font-size: 12px; display: block; margin: 0 0 3px 6px; }
.dl-b { display: flex; gap: 10px; align-items: flex-start; background: var(--soft); border-radius: 18px 18px 18px 6px; padding: 12px 14px; } .sc-ln.me .dl-b { background: var(--lav); border-radius: 18px 18px 6px 18px; }
.dl-b span { display: flex; flex-direction: column; flex: 1; } .dl-b em { font-style: normal; color: var(--muted); font-size: 14px; }
.sc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 10px; }
.dl-b { display: grid !important; grid-template-columns: 1fr auto; } .dl-b .sp-say { flex: none; }
@media (max-width: 600px) {
  .sc-sit .g-table-w { overflow: visible; } .sc-sit .g-table, .sc-sit .g-table tbody { display: block; } .sc-sit .g-table thead { display: none; }
  .sc-sit .g-table tr { display: grid; grid-template-columns: 1fr auto; gap: 2px 10px; padding: 12px 0; border-bottom: 1px solid var(--line); }
  .sc-sit .g-table td { display: block; padding: 0 !important; border: 0 !important; width: auto !important; }
  .sc-sit .g-table td:nth-child(1) { grid-column: 1; grid-row: 1; } .sc-sit .g-table td:nth-child(4) { grid-column: 2; grid-row: 1 / span 3; align-self: center; }
  .sc-sit .g-table td:nth-child(2), .sc-sit .g-table td:nth-child(3) { grid-column: 1; font-size: 15px; }
}
@media (max-width: 600px) { .sc-sit .g-table-w { border: 0; border-radius: 0; box-shadow: none; } }
/* ===== словари ===== */
.voc-hero { padding: 28px 0 36px; background: radial-gradient(900px 420px at 85% 10%, #ece9ff 0, transparent 60%), radial-gradient(700px 380px at 10% 90%, #fff0e6 0, transparent 60%); }
.voc-hero .wrap { display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; }
.voc-hero h1 { font-size: clamp(36px, 5.4vw, 64px); line-height: 1; letter-spacing: -.045em; margin: 14px 0 16px; } .voc-hero h1 span { color: var(--accent); display: block; }
.voc-hero .lead { font-size: 18px; color: var(--ink-2); } .voc-hero .ctas { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 22px; }

.voc-stage { position: relative; padding-bottom: 70px; }
.voc-ph { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 32px; display: block; }
.voc-deck { position: absolute; left: -28px; right: 28px; bottom: 0; }
.voc-card { position: relative; background: #fff; border-radius: 28px; padding: 20px 22px; box-shadow: 0 30px 60px -24px rgba(30, 20, 120, .35), 0 0 0 1px rgba(20, 20, 40, .04); display: flex; flex-direction: column; gap: 4px; }
.voc-card::before, .voc-card::after { content: ''; position: absolute; inset: 0; border-radius: 28px; background: #fff; z-index: -1; box-shadow: 0 10px 30px -12px rgba(30, 20, 120, .25); }
.voc-card::before { transform: rotate(-4deg) translate(-8px, 6px); background: var(--lav); } .voc-card::after { transform: rotate(3deg) translate(10px, 8px); background: var(--peach); z-index: -2; }
.voc-card.in { animation: vkIn .35s cubic-bezier(.2, .8, .2, 1); } @keyframes vkIn { from { opacity: 0; transform: translateY(10px) rotate(-1.5deg); } }
.vk-top { display: flex; justify-content: space-between; align-items: center; } .vk-top .flag { width: 28px; height: 28px; border-radius: 50%; overflow: hidden; } .vk-top .flag svg { width: 100%; height: 100%; } .vk-top small { color: var(--muted); font-weight: 600; }
.voc-card b { font-size: clamp(28px, 3.6vw, 40px); letter-spacing: -.03em; line-height: 1.1; margin-top: 6px; } .vk-p { color: var(--muted); font-style: italic; } .vk-t { font-size: 18px; font-weight: 600; color: var(--accent); }
.vk-btns { display: flex; gap: 8px; margin-top: 10px; } .vk-say { width: 48px; height: 48px; border-radius: 16px; border: 0; background: var(--accent); color: #fff; display: grid; place-items: center; cursor: pointer; flex: none; } .vk-say svg { width: 22px; height: 22px; }
.vk-say.big { width: 84px; height: 84px; border-radius: 28px; margin: 0 auto; } .vk-say.big svg { width: 36px; height: 36px; }
.vk-next { flex: 1; border: 1px solid var(--line); background: #fff; border-radius: 16px; font: inherit; font-weight: 600; cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 8px; } .vk-next svg { width: 16px; height: 16px; } .vk-next:hover { background: var(--soft); }
.voc-facts .wrap { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 8px; }
.voc-facts .wrap > div { border-radius: 22px; padding: 18px 20px; display: flex; flex-direction: column; gap: 2px; } .voc-facts b { font-size: 26px; letter-spacing: -.03em; } .voc-facts span { font-size: 14px; color: var(--ink-2); }
:is(.voc-facts, .voc-notes) .t-lav { background: var(--lav); } :is(.voc-facts, .voc-notes) .t-peach { background: var(--peach); } :is(.voc-facts, .voc-notes) .t-sky { background: var(--sky); } :is(.voc-facts, .voc-notes) .t-mint { background: var(--mint); } :is(.voc-facts, .voc-notes) .t-pink { background: var(--pink); } :is(.voc-facts, .voc-notes) .t-lemon { background: var(--lemon); }
.voc-prog { margin: 14px 0; font-size: 14px; color: var(--ink-2); } .voc-prog b { font-size: 22px; color: var(--accent); } .voc-prog .sp-q-bar { display: block; margin-top: 6px; }
.voc-bar { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin: 6px 0 12px; }
.voc-search { flex: 1; min-width: 220px; display: flex; align-items: center; gap: 8px; border: 1px solid var(--line); border-radius: 16px; padding: 0 14px; background: #fff; } .voc-search svg { width: 18px; height: 18px; color: var(--muted); fill: none; stroke: currentColor; stroke-width: 2; }
.voc-search input { border: 0; outline: 0; font: inherit; padding: 12px 0; flex: 1; background: transparent; min-width: 0; }
.voc-tg { display: flex; gap: 6px; } .voc-tg button { border: 1px solid var(--line); background: #fff; border-radius: 14px; padding: 11px 14px; font: inherit; font-weight: 600; font-size: 14px; cursor: pointer; } .voc-tg button[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.sp-cat small { opacity: .55; font-weight: 500; margin-left: 2px; }
.voc-g { margin-top: 22px; } .voc-g h3 { font-size: 22px; letter-spacing: -.02em; margin: 0 0 4px; }
.voc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 10px; margin-top: 10px; }
.vc { position: relative; border: 1px solid var(--line); border-radius: 22px; padding: 16px 16px 12px; display: flex; flex-direction: column; gap: 3px; background: #fff; transition: transform .2s, box-shadow .2s, border-color .2s; overflow: hidden; }
.vc:hover { transform: translateY(-2px); box-shadow: 0 18px 36px -22px rgba(30, 20, 120, .35); }
.vc-sw { position: absolute; top: 0; left: 0; right: 0; height: 8px; } .vc:has(.vc-sw) { padding-top: 22px; }
.vc-top { display: flex; justify-content: space-between; gap: 8px; align-items: flex-start; } .vc-w { font-size: 21px; letter-spacing: -.02em; line-height: 1.2; }
.vc-say, .vc-exs { border: 0; background: var(--accent-soft); color: var(--accent); border-radius: 12px; width: 36px; height: 36px; flex: none; display: grid; place-items: center; cursor: pointer; } .vc-say svg, .vc-exs svg { width: 18px; height: 18px; }
.vc-exs { width: 26px; height: 26px; border-radius: 8px; background: transparent; } .vc-exs svg { width: 15px; height: 15px; }
.vc-p { color: var(--muted); font-style: italic; font-size: 14px; } .vc-t { font-weight: 600; color: var(--accent); font-size: 16px; }
.vc-ex { display: flex; gap: 4px; margin: 6px 0 0; font-size: 14px; color: var(--ink-2); line-height: 1.35; } .vc-ex span { display: flex; flex-direction: column; } .vc-ex small { color: var(--muted); }
.vc-tip { margin: 6px 0 0; font-size: 13px; background: var(--lemon); border-radius: 10px; padding: 6px 9px; color: #6b5300; }
.vc-know { margin-top: 8px; align-self: flex-start; border: 1px dashed var(--line); background: transparent; border-radius: 99px; padding: 4px 10px 4px 7px; font: inherit; font-size: 13px; font-weight: 600; color: var(--muted); cursor: pointer; display: inline-flex; gap: 4px; align-items: center; } .vc-know svg { width: 14px; height: 14px; }
.vc.known { border-color: var(--ok); background: linear-gradient(180deg, #fff, var(--ok-soft)); } .vc.known .vc-know { border-style: solid; border-color: var(--ok); background: var(--ok); color: #fff; }
.voc-grid.alpha { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); } .vc-a .vc-w { font-size: 34px; letter-spacing: -.02em; } .vc-a .vc-ex { display: none; }
.voc-hide .vc .vc-t, .voc-hide .vc .vc-ex small, .voc-hide .vc .vc-tip { filter: blur(7px); user-select: none; transition: filter .2s; } .voc-hide .vc { cursor: pointer; } .voc-hide .vc.open .vc-t, .voc-hide .vc.open .vc-ex small, .voc-hide .vc.open .vc-tip { filter: none; }
.voc-list .voc-grid { grid-template-columns: 1fr; gap: 0; } .voc-list .vc { border-radius: 0; border-width: 0 0 1px; flex-direction: row; flex-wrap: wrap; align-items: center; gap: 4px 14px; padding: 10px 2px; } .voc-list .vc:hover { transform: none; box-shadow: none; }
.voc-list .vc-ex, .voc-list .vc-tip { display: none; } .voc-list .vc-top { order: -1; flex: 0 0 auto; min-width: 40%; flex-direction: row-reverse; justify-content: flex-end; align-items: center; } .voc-list .vc-know { margin: 0 0 0 auto; } .voc-list .vc-sw { top: 0; bottom: 0; right: auto; width: 6px; height: auto; } .voc-list .vc:has(.vc-sw) { padding: 10px 2px 10px 16px; }
.voc-empty { color: var(--muted); padding: 20px 0; }
.voc-rules { display: grid; gap: 10px; } .voc-rule { display: flex; gap: 14px; border: 1px solid var(--line); border-radius: 22px; padding: 16px 18px; } .voc-rule h3 { margin: 2px 0 4px; font-size: 17px; } .voc-rule p { margin: 0; color: var(--ink-2); }
.voc-notes { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; padding: 6px; }
.voc-note { border-radius: 6px 22px 22px 22px; padding: 18px; box-shadow: 0 14px 30px -20px rgba(40, 30, 90, .45); transform: rotate(-1.2deg); transition: transform .2s; } .voc-note:nth-child(2n) { transform: rotate(1.1deg); } .voc-note:hover { transform: rotate(0) scale(1.02); }
.voc-note b { font-size: 22px; letter-spacing: -.02em; display: block; margin-bottom: 4px; } .voc-note p { margin: 0; color: var(--ink-2); font-size: 15px; }
.voc-modes { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 12px; } .voc-modes button { border: 1px solid var(--line); background: #fff; border-radius: 99px; padding: 9px 16px; font: inherit; font-weight: 600; cursor: pointer; } .voc-modes button.on { background: var(--accent); border-color: var(--accent); color: #fff; }
.voc-quiz { background: radial-gradient(500px 220px at 100% 0, var(--lav), transparent 70%), #fff; }
.voc-ask { text-align: center; margin: 4px 0 18px; } .voc-qw { font-size: clamp(30px, 5vw, 46px); letter-spacing: -.03em; }
.voc-quiz .sp-q { text-align: center; color: var(--muted); font-weight: 600; } .voc-quiz .sp-q-o { grid-template-columns: 1fr 1fr; } @media (max-width: 520px) { .voc-quiz .sp-q-o { grid-template-columns: 1fr; } }
.voc-dict { display: flex; flex-direction: column; align-items: center; gap: 12px; } .voc-dict input { font: inherit; font-size: 28px; font-weight: 700; text-align: center; width: 220px; max-width: 100%; border: 2px solid var(--line); border-radius: 18px; padding: 10px; outline: 0; } .voc-dict input:focus { border-color: var(--accent); }
.voc-dict input.r { border-color: var(--ok); background: var(--ok-soft); } .voc-dict input.w { border-color: var(--bad); background: var(--bad-soft); }
.voc-res small { display: block; color: var(--muted); font-size: 15px; font-weight: 600; } .voc-res.win b { animation: vWin .6s cubic-bezier(.2, 1.6, .4, 1); display: inline-block; } @keyframes vWin { from { transform: scale(.4); } }
.voc-miss { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; margin: 10px 0; } .voc-miss span { background: var(--bad-soft); color: var(--bad); border-radius: 99px; padding: 4px 10px; font-size: 14px; font-weight: 600; }
.voc-topics { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 14px; }
.voc-tc { display: flex; flex-direction: column; border-radius: 26px; overflow: hidden; background: #fff; border: 1px solid var(--line); text-decoration: none; color: inherit; transition: transform .2s, box-shadow .2s; } .voc-tc:hover { transform: translateY(-3px); box-shadow: 0 24px 44px -26px rgba(30, 20, 120, .45); }
.voc-tc-ph { width: 100%; aspect-ratio: 16/10; object-fit: cover; display: block; } .voc-tc > div { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 4px; } .voc-tc b { font-size: 18px; letter-spacing: -.01em; } .voc-tc small { color: var(--muted); }
.voc-tc-w { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 6px; } .voc-tc-w i { font-style: normal; font-weight: 600; font-size: 13px; background: var(--lav); color: var(--lav-i); border-radius: 99px; padding: 3px 10px; }
.voc-topics.big { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 18px; }
@media (max-width: 900px) { .voc-hero .wrap { grid-template-columns: 1fr; gap: 24px; } .voc-deck { left: 14px; right: 14px; } .voc-facts .wrap { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .voc-grid { grid-template-columns: 1fr 1fr; gap: 8px; } .vc { padding: 12px 12px 10px; border-radius: 18px; } .vc-w { font-size: 18px; } .vc-say { width: 32px; height: 32px; } .vc-ex { display: none; } .voc-grid.alpha { grid-template-columns: repeat(3, 1fr); } .vc-a .vc-w { font-size: 26px; } .voc-facts b { font-size: 21px; } .voc-list .vc-top { min-width: 0; } }
.voc-stage { padding-bottom: 96px; } .voc-deck { right: auto; width: min(370px, 82%); } .voc-card { padding: 16px 18px; } .voc-card b { font-size: clamp(26px, 3vw, 34px); }
@media (max-width: 900px) { .voc-deck { left: 14px; width: auto; right: 14px; } }
@media (max-width: 999px) { .sp-toc a.sp-toc-cta { display: none; } }
.voc-collage { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; } .voc-collage img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 24px; display: block; } .voc-collage img:nth-child(2n) { transform: translateY(22px); }
@media (max-width: 900px) { .voc-collage { display: none; } }
.vc-r { font-size: .62em; font-weight: 600; color: var(--muted); letter-spacing: 0; white-space: nowrap; } .vc-a .vc-r { display: block; font-size: 15px; }
@media (max-width: 700px) { .voc .sp-cats { flex-wrap: nowrap; overflow-x: auto; margin: 0 -16px; padding: 2px 16px 8px; scrollbar-width: none; } .voc .sp-cats::-webkit-scrollbar { display: none; } .voc .sp-cat { flex: none; } }
.voc-facts .wrap { grid-template-columns: repeat(4, minmax(0, 1fr)); } .voc-facts .wrap > div { min-width: 0; } .voc-facts b, .voc-facts span { overflow-wrap: anywhere; hyphens: auto; }
@media (max-width: 900px) { .voc-facts .wrap { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .voc-facts b { font-size: 19px; } .voc-facts .wrap > div { padding: 14px; } }
@media (max-width: 520px) {
  .sp-steps li { gap: 12px; } .sp-n { width: 34px; height: 34px; border-radius: 11px; font-size: 15px; } .sp-steps li:not(:last-child)::before { left: 16px; top: 38px; } .sp-steps h3 { margin-top: 5px; font-size: 17px; }
  .vc-know { min-height: 32px; padding: 6px 12px 6px 9px; }
}
.voc-hub-x > .sec { padding-top: 0; } .voc .sec + .voc-hub-x { margin-top: -24px; }
/* ===== топбар v2 ===== */
.top .wrap { gap: 8px; }
.tb-nav { display: flex; align-items: center; gap: 2px; margin-left: 18px; }
.tb-l { display: inline-flex; align-items: center; gap: 4px; border: 0; background: transparent; font: inherit; font-size: 15px; font-weight: 600; color: var(--ink-2); padding: 9px 13px; border-radius: 12px; cursor: pointer; text-decoration: none; transition: background .15s, color .15s; }
.tb-l:hover, .tb-dd.open > .tb-l { background: var(--soft); color: var(--ink); }
.tb-ch { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s; opacity: .6; } .tb-dd.open .tb-ch { transform: rotate(180deg); }
.tb-dd { position: relative; }
.tb-menu { position: absolute; top: calc(100% + 10px); left: 0; background: #fff; border-radius: 24px; box-shadow: 0 30px 70px -20px rgba(20, 15, 80, .28), 0 0 0 1px rgba(20, 20, 40, .06); padding: 14px; opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .18s, transform .18s, visibility .18s; z-index: 40; }
.tb-dd.open .tb-menu { opacity: 1; visibility: visible; transform: none; }
@media (hover: hover) and (min-width: 1001px) { .tb-dd:hover .tb-menu { opacity: 1; visibility: visible; transform: none; } .tb-dd:hover .tb-ch { transform: rotate(180deg); } .tb-dd::after { content: ''; position: absolute; left: 0; right: 0; top: 100%; height: 14px; } }
.tb-mega { width: 640px; left: -40px; }
.tb-mh { display: flex; align-items: baseline; gap: 10px; padding: 4px 8px 12px; border-bottom: 1px solid var(--line); margin-bottom: 8px; } .tb-mh b { font-size: 15px; } .tb-mh span { font-size: 13px; color: var(--muted); }
.tb-langs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; }
.tb-lang { border-radius: 14px; padding: 8px 10px; transition: background .15s; } .tb-lang:hover { background: var(--soft); }
.tb-lm { display: flex; align-items: center; gap: 9px; text-decoration: none; color: var(--ink); } .tb-lm b { font-size: 15px; }
.tb-nav .flag, .tb-sheet .flag, .f-lg .flag { width: 22px; height: 22px; border-radius: 50%; overflow: hidden; flex: none; display: block; box-shadow: 0 0 0 1px rgba(0, 0, 0, .06); } .tb-nav .flag svg, .tb-sheet .flag svg, .f-lg .flag svg { width: 100%; height: 100%; display: block; }
.tb-lq { display: flex; gap: 8px; margin: 3px 0 0 31px; } .tb-lq a { font-size: 12.5px; color: var(--muted); text-decoration: none; } .tb-lq a:hover { color: var(--accent); }
.tb-ex { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; width: 440px; } .tb-sheet .tb-ex { width: auto; }
.tb-exi { display: grid; grid-template-columns: 22px 1fr; column-gap: 9px; align-items: center; padding: 9px 10px; border-radius: 14px; text-decoration: none; color: var(--ink); transition: background .15s; } .tb-exi:hover { background: var(--soft); }
.tb-exi .flag { grid-row: span 2; } .tb-exi b { font-size: 14.5px; line-height: 1.2; } .tb-exi small { font-size: 12px; color: var(--muted); }
.tb-r { margin-left: auto; display: flex; align-items: center; gap: 6px; }
.tb-login { font-weight: 600; font-size: 15px; color: var(--ink); text-decoration: none; padding: 9px 14px; border-radius: 12px; } .tb-login:hover { background: var(--soft); }
.tb-cta { background: var(--accent) !important; color: #fff !important; border-radius: 14px !important; box-shadow: 0 10px 24px -12px rgba(66, 55, 255, .7); }
.tb-burger { display: none; width: 44px; height: 44px; border: 0; background: var(--soft); border-radius: 14px; cursor: pointer; position: relative; }
.tb-burger i { position: absolute; left: 13px; right: 13px; height: 2px; border-radius: 2px; background: var(--ink); transition: transform .2s, top .2s; } .tb-burger i:first-child { top: 17px; } .tb-burger i:last-child { top: 25px; }
.top.sheet .tb-burger i:first-child { top: 21px; transform: rotate(45deg); } .top.sheet .tb-burger i:last-child { top: 21px; transform: rotate(-45deg); }
.tb-sheet { position: fixed; left: 0; right: 0; top: 68px; bottom: 0; background: #fff; overflow-y: auto; z-index: 30; border-top: 1px solid var(--line); }
.tb-sw { max-width: 640px; margin: 0 auto; padding: 18px 16px 40px; display: flex; flex-direction: column; gap: 10px; } .tb-sw h4 { font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin: 10px 0 0; }
.tb-sheet .tb-langs { grid-template-columns: 1fr 1fr; } .tb-sheet .tb-lang { background: var(--soft); }
.tb-sl { display: flex; flex-direction: column; margin: 8px 0; } .tb-sl a { font-size: 18px; font-weight: 600; color: var(--ink); text-decoration: none; padding: 12px 2px; border-bottom: 1px solid var(--line); }
html.tb-lock, html.tb-lock body { overflow: hidden; }
@media (max-width: 1000px) { .tb-nav, .tb-login { display: none; } .tb-burger { display: block; } }
@media (max-width: 420px) { .tb-cta { padding: 9px 12px !important; font-size: 14px !important; } .tb-sheet .tb-langs { grid-template-columns: 1fr; } }
@media (max-width: 360px) { .tb-cta { display: none !important; } }
/* ===== подвал v2 ===== */
.f-hero { display: grid; grid-template-columns: 1fr 1.4fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid var(--soft-2); margin-bottom: 40px; }
.f-cta { display: flex; gap: 8px; flex-wrap: wrap; } .foot .btn.ghost { background: #fff; }
.f-langs h4, .foot .f-col h4 { font-size: 13px; text-transform: uppercase; letter-spacing: .07em; color: var(--muted); font-weight: 700; margin-bottom: 14px; }
.f-lg { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.f-lg a { display: flex; align-items: center; gap: 10px; background: #fff; border-radius: 16px; padding: 11px 14px; text-decoration: none; color: var(--ink); font-weight: 600; font-size: 15px; transition: transform .15s, box-shadow .15s; }
.f-lg a:hover { transform: translateY(-2px); box-shadow: 0 12px 24px -16px rgba(30, 20, 120, .4); }
.foot .f-top { grid-template-columns: repeat(4, 1fr); gap: 32px; } .foot .f-col ul { gap: 11px; } .foot .f-col a { color: var(--ink-2); }
.f-pills { display: flex; flex-wrap: wrap; gap: 6px; } .f-pills a { background: #fff; border-radius: 99px; padding: 7px 13px; font-size: 14px; font-weight: 600; color: var(--ink-2); text-decoration: none; transition: background .15s, color .15s; } .f-pills a:hover { background: var(--accent); color: #fff; }
@media (max-width: 980px) { .f-hero { grid-template-columns: 1fr; gap: 28px; } .foot .f-top { grid-template-columns: 1fr 1fr; gap: 32px 20px; } }
@media (max-width: 560px) { .f-lg { grid-template-columns: 1fr 1fr; } .f-lg a { padding: 10px 12px; font-size: 14px; } }
.top .tb-nav { margin-left: 18px; gap: 2px; } @media (max-width: 1000px) { .top .tb-nav { display: none; } }
.tb-menu.tb-ex { width: 520px; } .tb-sheet { z-index: 19; } .tb-sheet[hidden] { display: none; }
.foot .f-top { grid-template-columns: 1fr 1.35fr 1fr 1fr; } .f-giant { font-size: min(13.8vw, 174px); }
.tb-sheet .tb-langs { grid-template-columns: 1fr 1fr !important; gap: 6px; } .tb-sheet .tb-lq { margin-left: 0; flex-wrap: wrap; gap: 4px 8px; margin-top: 6px; } .tb-sheet .tb-lang { padding: 10px; }
@media (max-width: 980px) { .foot .f-top { grid-template-columns: 1fr 1fr; } .foot .f-top > .f-col:nth-child(2) { grid-column: 1 / -1; order: 3; } .foot .f-top > .f-col:nth-child(4) { order: 4; } }
