/* Палитра и шрифты — research/mirrors103/design.json; база стилей шапки, подвала,
   кнопок, поля чата и FAQ — общая сети (sites/nofilterai.ai/assets/brand.css). */
@import url('fonts.css');

/* ============================================================
   nofilterai.ai — «Tabloid Bulletin», редизайн 01.10.2026.
   Правила сети: design/REDESIGN-BRIEF.md. Решения домена: design/nofilterai.ai.md.

   Архетип «Ризограф-постер»: кремовая бумага #F7F4EC, две краски — красно-
   оранжевая #FF4B1F и почти чёрная #17130F, полутон. Сжатый Big Shoulders
   капсом, жёсткие плашки без размытия теней (смещённая «вторая краска»),
   штампы-кикеры, нумерованный бюллетень. Сдвиг краски — у h1 и кода 404.
   Оранжевый как ЦВЕТ ТЕКСТА не годится (3:1 на кремовом) — для текста
   берётся --accent-text #B02E0A (6:1), оранжевый — только плашки и кнопки.
   ============================================================ */

:root {
  --bg:         #FBFBF5;
  --bg-2:       #F5F6EB;
  --surface:    #FFFFFF;
  --surface-2:  #EFF0DF;
  --text:       #272913;
  --muted:      #646650;
  --border:     #272913;
  --hair:       #E2E4D2;
  --accent:     #707915;
  --accent-text:#51570E;
  --accent-ink: #FFFFFF;
  --shadow:     #272913;

  --font-display: 'Alegreya', Georgia, 'Times New Roman', serif;
  --font-body: 'Alegreya Sans', ui-sans-serif, system-ui, sans-serif;

  --wrap: 1200px;
  --read: 720px;
  --gutter: clamp(16px, 4vw, 40px);
  --head-h: 64px;
  --r-sm: 4px;
  --r: 6px;
  --r-lg: 10px;
  --hard: 5px 5px 0 var(--shadow);
  --hard-sm: 3px 3px 0 var(--shadow);

  --step--1: clamp(.86rem, .83rem + .12vw, .92rem);
  --step-0:  clamp(1.02rem, .99rem + .16vw, 1.1rem);
  --step-1:  clamp(1.16rem, 1.09rem + .34vw, 1.38rem);
  --step-2:  clamp(1.6rem, 1.4rem + 1vw, 2.3rem);
  --step-3:  clamp(2.3rem, 1.8rem + 2.4vw, 3.9rem);
  --step-4:  clamp(3rem, 1.9rem + 5.4vw, 6.6rem);
  --sec-pad: clamp(64px, 9vw, 120px);
}
@media (min-width: 1024px) { :root { --head-h: 68px; } }

/* Запасные метрики (fontTools): Barlow 1000/200, ср. ширина 465 при Arial 502;
   Big Shoulders 984/213, ширина 362 — ближе всего Arial Narrow (412). */
@font-face { font-family: 'Barlow Fallback'; src: local('Arial'), local('Helvetica Neue'), local('Helvetica');
  size-adjust: 93%; ascent-override: 107%; descent-override: 21%; line-gap-override: 0%; }
@font-face { font-family: 'BSD Fallback'; src: local('Arial Narrow'), local('ArialNarrow');
  size-adjust: 88%; ascent-override: 112%; descent-override: 24%; line-gap-override: 0%; }
@font-face { font-family: 'BSD Fallback 2'; src: local('Arial'), local('Helvetica');
  size-adjust: 72%; ascent-override: 137%; descent-override: 30%; line-gap-override: 0%; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--head-h) + 16px); color-scheme: light; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--font-body); font-size: var(--step-0); line-height: 1.62; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility; font-kerning: normal; font-synthesis: none; }
img, svg { max-width: 100%; height: auto; }
a { color: inherit; }
::selection { background: var(--accent); color: var(--accent-ink); }
a:focus-visible, button:focus-visible, select:focus-visible, input:focus-visible, textarea:focus-visible, summary:focus-visible { outline: 3px solid var(--accent-text); outline-offset: 3px; border-radius: 2px; }
.skip-link { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; background: var(--text); color: var(--bg); padding: 10px 16px; font-weight: 600; }
.skip-link:focus { left: 12px; top: 12px; width: auto; height: auto; clip: auto; clip-path: none; z-index: 100; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.wrap--narrow { max-width: calc(var(--read) + 2 * var(--gutter)); }
section { padding-block: var(--sec-pad); }

h1, h2, h3 { font-family: var(--font-display); font-weight: 700; line-height: .98; letter-spacing: 0; margin: 0 0 .45em; text-wrap: balance; }
h1, h2 { text-transform: none; }
h1 { font-size: var(--step-4); line-height: .92; }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-1); line-height: 1.15; text-transform: none; letter-spacing: .01em; }
p { margin: 0 0 1em; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }
em { font-style: normal; color: var(--accent-text); }
/* Плашка второй краской под выделением в заголовках — как в таблоиде. */
:is(h1, .emo h2, .cta h2) em { color: var(--accent-ink); background: var(--accent); padding: .02em .12em 0; text-shadow: none; -webkit-box-decoration-break: clone; box-decoration-break: clone; }

/* Письменности без глифов в бренде: CJK — системный стек, без капса и разрядки. */
html[lang^="zh"] { --font-body: 'Barlow', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'Noto Sans SC', sans-serif; --font-display: 'Big Shoulders Display', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'Noto Sans SC', sans-serif; }
html[lang^="zh"] :is(h1, h2, h3) { letter-spacing: 0; line-height: 1.25; font-weight: 700; }
html[lang^="zh"] h1 { font-size: clamp(2.2rem, 1.5rem + 3.4vw, 4.4rem); }
html[lang^="zh"] body { line-height: 1.8; }

.kicker { display: inline-block; margin: 0 0 20px; padding: 6px 12px 5px; font-size: .8rem; font-weight: 600; letter-spacing: .14em; text-transform: none; color: var(--accent-text); border: 2px solid var(--accent-text); border-radius: 3px; transform: rotate(-2deg); }
html[lang^="zh"] .kicker { letter-spacing: .04em; }
.lead { color: var(--muted); font-size: var(--step-1); line-height: 1.55; }
.why .wrap, .features .wrap, .faq-sec h2, .emo .wrap, .cta .wrap { text-align: center; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 22px; border: 2px solid var(--border); border-radius: var(--r-sm); font-family: var(--font-body); font-weight: 600; font-size: .98rem; letter-spacing: .02em; line-height: 1; text-decoration: none; white-space: nowrap; cursor: pointer; transition: transform .12s ease, box-shadow .12s ease, background .12s ease, color .12s ease; }
.btn--primary { background: var(--accent); color: var(--accent-ink); box-shadow: var(--hard-sm); }
.btn--primary:hover { transform: translate(-2px, -2px); box-shadow: 5px 5px 0 var(--shadow); }
.btn--primary:active { transform: translate(2px, 2px); box-shadow: 0 0 0 var(--shadow); }
.btn--ghost { background: var(--surface); color: var(--text); }
.btn--ghost:hover { background: var(--text); color: var(--bg); }
.btn--lg { min-height: 56px; padding: 0 30px; font-size: 1.05rem; text-transform: none; letter-spacing: .06em; }
.btn--block { width: 100%; }
@media (min-width: 560px) { .btn--block { width: auto; } }
@media (prefers-reduced-motion: reduce) { .btn:hover, .btn:active { transform: none; } }

.site-head { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: saturate(140%) blur(12px); -webkit-backdrop-filter: saturate(140%) blur(12px); border-bottom: 2px solid var(--border); }
.site-head__in { display: flex; align-items: center; min-height: var(--head-h); min-width: 0; }
.brand { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font-family: var(--font-display); font-weight: 700; font-size: 1.45rem; text-transform: none; letter-spacing: .01em; text-decoration: none; white-space: nowrap; flex: 0 0 auto; color: var(--text); }
.brand__mark { width: 30px; height: 30px; flex: 0 0 auto; color: var(--accent); }
.nav a { position: relative; text-decoration: none; color: var(--text); font-size: .96rem; font-weight: 600; white-space: nowrap; padding: 10px 2px; }
.nav a::after { content: ''; position: absolute; inset-inline: 0; bottom: 6px; height: 3px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .18s ease; }
.nav a:hover::after { transform: scaleX(1); }
.head-cta { min-height: 42px; padding: 0 18px; font-size: .92rem; box-shadow: 2px 2px 0 var(--shadow); }
@media (max-width: 400px) { .site-head .wrap { padding-inline: 12px; } .brand { font-size: 1.25rem; gap: 8px; } .brand__mark { width: 27px; height: 27px; } }

/* Первый экран: полутоновые формы по краям, чистая бумага в центре */
.hero { position: relative; isolation: isolate; overflow: hidden; min-height: calc(100vh - var(--head-h)); min-height: calc(100svh - var(--head-h)); display: grid; place-items: center; padding-block: clamp(40px, 7vh, 88px) clamp(72px, 10vh, 112px); background: var(--bg); }
.hero__art { position: absolute; inset: 0; z-index: -2; pointer-events: none; }
.hero__art img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; }
.hero::before { content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: radial-gradient(52% 60% at 50% 50%, rgba(247, 244, 236, .97) 0%, rgba(247, 244, 236, .86) 55%, rgba(247, 244, 236, .15) 100%); }
.hero__in { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; }
.dateline { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 22px; padding: 8px 4px; font-size: var(--step--1); font-weight: 600; letter-spacing: .14em; text-transform: none; color: var(--text); border-block: 2px solid var(--border); }
.dateline::before { content: ''; width: 10px; height: 10px; background: var(--accent); border: 2px solid var(--border); }
html[lang^="zh"] .dateline { letter-spacing: .04em; }
.hero h1 { max-width: 15ch; margin: 0 auto .1em; font-size: clamp(2.9rem, 1.7rem + 4.3vw, 5.6rem); line-height: 1.02; text-shadow: .035em .035em 0 rgba(255, 75, 31, .55); }
html[lang^="zh"] .hero h1 { max-width: 13em; text-shadow: none; }
.hero__sub { color: var(--muted); font-size: var(--step-1); max-width: 54ch; margin: 14px auto 0; line-height: 1.55; }
.hero__note { margin-top: 18px; color: var(--muted); font-size: var(--step--1); font-weight: 600; letter-spacing: .06em; text-transform: none; }
.hero__scroll { position: absolute; left: 50%; bottom: 16px; translate: -50% 0; width: 44px; height: 44px; display: grid; place-items: center; color: var(--text); border: 2px solid var(--border); background: var(--surface); border-radius: 50%; animation: nudge 2.4s ease-in-out infinite; }
.hero__scroll svg { width: 20px; height: 20px; }
.hero__scroll:hover { background: var(--accent); }
@keyframes nudge { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(5px); } }
@media (prefers-reduced-motion: reduce) { .hero__scroll { animation: none; } }
@media (max-height: 640px) { .hero__scroll { display: none; } }

.entry { width: 100%; max-width: 760px; margin: 26px auto 0; }
.entry__label { margin: 0 0 12px; font-size: .8rem; font-weight: 600; letter-spacing: .14em; text-transform: none; color: var(--muted); }
.entry__chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 0 0 16px; }
.chip { display: inline-flex; align-items: center; min-height: 44px; padding: 10px 14px; max-width: 100%; background: var(--surface); color: var(--text); border: 2px solid var(--border); border-radius: var(--r-sm); font: inherit; font-size: var(--step--1); font-weight: 600; line-height: 1.3; text-align: center; cursor: pointer; transition: background .12s ease, transform .12s ease, box-shadow .12s ease; }
.chip:hover { background: var(--accent); transform: translate(-1px, -1px); box-shadow: var(--hard-sm); }
@media (max-width: 639px) { .entry__chips > *:nth-child(n+3) { display: none; } }
.entry__form { display: flex; align-items: flex-end; gap: 10px; text-align: start; background: var(--surface); border: 2px solid var(--border); border-radius: var(--r); padding: 10px 10px 10px 18px; box-shadow: 7px 7px 0 var(--shadow); transition: box-shadow .15s ease; }
.entry__form:focus-within { box-shadow: 7px 7px 0 var(--accent); }
.entry__form textarea { flex: 1 1 auto; min-width: 0; border: 0; outline: none; resize: none; background: transparent; color: var(--text); font: inherit; font-size: 16px; line-height: 1.45; padding: 11px 0; min-height: 44px; max-height: 40vh; }
@media (min-width: 720px) { .entry__form textarea { font-size: 18px; } }
.entry__form textarea::placeholder { color: #7A6F62; opacity: 1; }
.entry__form textarea:focus-visible { outline: none; }
.entry__go { flex: 0 0 auto; width: 50px; height: 50px; display: inline-flex; align-items: center; justify-content: center; border: 2px solid var(--border); border-radius: var(--r-sm); background: var(--accent); color: var(--accent-ink); cursor: pointer; transition: transform .12s ease; }
.entry__go:hover { transform: translate(-1px, -1px); }
.entry__go svg { width: 22px; height: 22px; }
html[dir="rtl"] .entry__form { padding: 10px 18px 10px 10px; }
.entry__note { margin: 16px 0 0; color: var(--muted); font-size: var(--step--1); }

.why { border-top: 2px solid var(--border); }
.why h2 { max-width: 20ch; margin-inline: auto; }
.why h2 span { display: block; color: var(--accent-text); }
.why__body { margin: 36px auto 0; max-width: 980px; display: grid; gap: 20px; text-align: start; }
.why__body p { color: var(--muted); line-height: 1.75; }
@media (min-width: 860px) { .why__body { grid-template-columns: 1fr 1fr; gap: 0; } .why__body p { padding-inline: 32px; } .why__body p + p { border-inline-start: 2px solid var(--border); } .why__body p:first-child { padding-inline-start: 0; } .why__body p:last-child { padding-inline-end: 0; } }
@media (min-width: 860px) { .why__body p:first-letter { float: left; font-family: var(--font-display); font-weight: 700; font-size: 3.6em; line-height: .82; margin: .06em .1em 0 0; color: var(--accent-text); } html[dir="rtl"] .why__body p:first-letter { float: right; margin: .06em 0 0 .1em; } html[lang^="zh"] .why__body p:first-letter { float: none; font: inherit; color: inherit; margin: 0; } }

/* Бюллетень: нумерованные плашки, у ограничения — инверсия */
.features { background: var(--bg-2); border-block: 2px solid var(--border); background-image: radial-gradient(rgba(23, 19, 15, .09) 1px, transparent 1.4px); background-size: 9px 9px; }
.features h2 { max-width: 20ch; margin-inline: auto; }
.bulletin { counter-reset: line; list-style: none; margin: 44px auto 0; padding: 0; display: grid; gap: 18px; text-align: start; }
@media (min-width: 640px) { .bulletin { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1040px) { .bulletin { grid-template-columns: repeat(4, 1fr); } }
.bulletin__item { counter-increment: line; position: relative; display: flex; flex-direction: column; padding: 22px 20px 22px; background: var(--surface); border: 2px solid var(--border); border-radius: var(--r); box-shadow: var(--hard); }
.bulletin__item::before { content: counter(line, decimal-leading-zero); display: block; font-family: var(--font-display); font-weight: 700; font-size: 3.2rem; line-height: .9; color: var(--accent); -webkit-text-stroke: 1.5px var(--border); margin: 0 0 12px; font-variant-numeric: tabular-nums; }
.bulletin__item h3 { margin: 0 0 8px; font-size: 1.32rem; }
.bulletin__item p { color: var(--muted); font-size: .98rem; line-height: 1.58; margin: 0; }
.bulletin__item--limit { background: var(--text); color: var(--bg); box-shadow: 5px 5px 0 var(--accent); }
.bulletin__item--limit p { color: #E5DDCF; }
.bulletin__item--limit::before { -webkit-text-stroke: 0; }
.bulletin__item--limit h3 { color: var(--accent); }
html[lang^="zh"] .bulletin__item h3 { text-transform: none; }

.emo { position: relative; overflow: hidden; background: var(--accent); color: var(--accent-ink); border-block: 2px solid var(--border); }
.emo::before { content: ''; position: absolute; inset: 0; pointer-events: none; background-image: radial-gradient(rgba(23, 19, 15, .22) 1.2px, transparent 1.6px); background-size: 10px 10px; -webkit-mask: linear-gradient(90deg, #000 0%, transparent 28%, transparent 72%, #000 100%); mask: linear-gradient(90deg, #000 0%, transparent 28%, transparent 72%, #000 100%); }
.emo .wrap { position: relative; }
.emo h2 { font-size: var(--step-4); line-height: 1.04; max-width: 15ch; margin-inline: auto; }
.emo h2 em { background: var(--text); color: var(--bg); }
.emo p { font-size: var(--step-1); font-weight: 600; margin: 18px auto 0; max-width: 46ch; }

.faq { margin: 36px auto 0; max-width: var(--read); border-top: 2px solid var(--border); }
.faq details { border-bottom: 2px solid var(--border); padding: 0 4px; }
.faq summary { cursor: pointer; list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; font-weight: 600; font-size: 1.06rem; line-height: 1.35; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; flex: 0 0 auto; width: 30px; height: 30px; display: grid; place-items: center; border: 2px solid var(--border); border-radius: 3px; font-family: var(--font-display); font-size: 1.3rem; line-height: 1; background: var(--surface); }
.faq details[open] summary::after { content: '−'; background: var(--accent); }
.faq summary:hover { color: var(--accent-text); }
.faq p { color: var(--muted); padding: 0 0 22px; margin: 0; }

.learn-sec { border-top: 2px solid var(--border); }
.learn-sec .wrap--narrow { max-width: calc(var(--wrap) + 2 * var(--gutter)); }
.learn-sec__head { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; margin: 0 0 8px; }
.learn-sec__head h2 { margin: 0; overflow-wrap: anywhere; }
.learn-sec__lead { color: var(--muted); margin: 0 auto 36px; text-align: center; max-width: 56ch; }
.learn-all { order: 3; display: inline-flex; align-items: center; gap: 6px; min-height: 44px; color: var(--accent-text); text-decoration: none; font-weight: 600; font-size: .98rem; white-space: nowrap; text-transform: none; letter-spacing: .06em; }
.learn-all::after { content: '→'; transition: transform .15s ease; }
html[dir="rtl"] .learn-all::after { content: '←'; }
.learn-all:hover::after { transform: translateX(3px); }
.learn-grid { display: grid; gap: 18px; }
@media (min-width: 640px) { .learn-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .learn-grid { grid-template-columns: repeat(4, 1fr); } }
.learn-card { display: flex; flex-direction: column; min-height: 44px; padding: 8px 8px 18px; border: 2px solid var(--border); border-radius: var(--r); text-decoration: none; color: var(--text); font-weight: 600; line-height: 1.35; background: var(--surface); box-shadow: var(--hard-sm); transition: transform .12s ease, box-shadow .12s ease; }
.learn-card span { padding: 0 8px; }
.learn-card:hover { transform: translate(-2px, -2px); box-shadow: 5px 5px 0 var(--accent); }
@media (prefers-reduced-motion: reduce) { .learn-card:hover { transform: none; } }

.cta { background: var(--text); color: var(--bg); position: relative; overflow: hidden; }
.cta::before { content: ''; position: absolute; inset: 0; pointer-events: none; background-image: radial-gradient(rgba(255, 75, 31, .5) 1.3px, transparent 1.7px); background-size: 11px 11px; -webkit-mask: radial-gradient(60% 90% at 50% 50%, transparent 55%, #000 100%); mask: radial-gradient(60% 90% at 50% 50%, transparent 55%, #000 100%); }
.cta .wrap { position: relative; }
.cta h2 { max-width: 16ch; margin-inline: auto; line-height: 1.04; }
.cta__sub { color: #D9D0C2; margin: 14px auto 0; max-width: 48ch; font-size: var(--step-1); }
.cta__actions { margin-top: 32px; }
.cta .btn--primary { border-color: var(--bg); box-shadow: 5px 5px 0 var(--bg); }
.cta .btn--primary:hover { box-shadow: 7px 7px 0 var(--bg); }
.cta__note { margin-top: 18px; color: #D9D0C2; font-size: var(--step--1); font-weight: 600; letter-spacing: .06em; text-transform: none; }
.nt-star { color: var(--accent-text); text-decoration: none; font-weight: 700; font-size: .45em; vertical-align: super; line-height: 1; margin-inline-start: .12em; text-shadow: none; }
.nt-star:hover { text-decoration: underline; }
.nt-note { max-width: 62ch; margin: 0 auto; padding: 28px var(--gutter) 40px; color: var(--muted); font-size: var(--step--1); text-align: center; }
.nt-note a { color: var(--muted); }
.nt-note a:hover { color: var(--accent-text); }

.site-foot { background: var(--bg-2); border-top: 3px solid var(--border); padding-block: 64px 28px; }
.foot-top { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 12px; }
.foot-brand { font-size: 1.7rem; }
.foot-brand .brand__mark { width: 36px; height: 36px; }
.foot-tag { color: var(--muted); margin: 0; max-width: 46ch; }
.foot-cta { margin-top: 6px; }
.foot-cols { display: grid; gap: 28px 24px; margin: 48px auto 0; max-width: 1000px; grid-template-columns: 1fr 1fr; }
@media (min-width: 900px) { .foot-cols { grid-template-columns: 1fr 1.6fr 1.2fr 1fr; gap: 32px; } }
.foot-h { margin: 0 0 8px; padding-bottom: 6px; border-bottom: 2px solid var(--border); font-size: .8rem; font-weight: 600; letter-spacing: .14em; text-transform: none; color: var(--text); }
.foot-col ul { list-style: none; margin: 0; padding: 0; }
.foot-col a { display: inline-flex; align-items: center; min-height: 40px; padding-block: 4px; color: var(--muted); text-decoration: none; font-size: .96rem; line-height: 1.35; }
.foot-col a:hover { color: var(--accent-text); text-decoration: underline; text-underline-offset: 3px; }
.foot-col a[aria-current="true"] { color: var(--text); font-weight: 600; }
@media (max-width: 899px) { .foot-col--guides { grid-column: 1 / -1; } .foot-col a { min-height: 44px; } }
.foot-note { margin: 44px 0 0; padding-top: 24px; border-top: 2px solid var(--border); text-align: center; color: var(--muted); font-size: var(--step--1); }

.lang { position: relative; flex: 0 0 auto; --tick: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round' d='M3 8.5 6.5 12 13 4.5'/%3E%3C/svg%3E"); }
.lang-trigger { display: inline-flex; align-items: center; gap: 7px; min-height: 42px; padding: 0 12px; background: var(--surface); color: var(--text); border: 2px solid var(--border); border-radius: var(--r-sm); font: inherit; font-size: var(--step--1); font-weight: 600; line-height: 1; cursor: pointer; white-space: nowrap; }
.lang-trigger:hover, .lang-trigger[aria-expanded="true"] { background: var(--accent); }
.lang-globe { width: 17px; height: 17px; flex: 0 0 auto; }
.lang-caret { width: 11px; height: 11px; flex: 0 0 auto; transition: transform .15s; }
.lang-trigger[aria-expanded="true"] .lang-caret { transform: rotate(180deg); }
.lang-pop { position: absolute; z-index: 60; top: calc(100% + 8px); inset-inline-end: 0; min-width: 200px; max-height: min(60vh, 380px); overflow-y: auto; overscroll-behavior: contain; padding: 6px; display: flex; flex-direction: column; gap: 1px; background: var(--surface); border: 2px solid var(--border); border-radius: var(--r); box-shadow: var(--hard); }
.lang-pop[hidden] { display: none; }
.lang-pop a { display: flex; align-items: center; gap: 8px; padding: 10px; border-radius: 3px; color: var(--text); text-decoration: none; font-size: var(--step--1); line-height: 1.25; white-space: nowrap; }
.lang-pop a:hover, .lang-pop a:focus-visible { background: var(--surface-2); outline: none; }
.lang-pop a.is-cur { color: var(--accent-text); font-weight: 600; }
.lang-pop a::before { content: ""; width: 14px; height: 14px; flex: 0 0 auto; background: currentColor; opacity: 0; -webkit-mask: var(--tick) center / contain no-repeat; mask: var(--tick) center / contain no-repeat; }
.lang-pop a.is-cur::before { opacity: 1; }
@media (max-width: 560px) { .lang-cur, .lang-caret { display: none; } .lang-trigger { padding: 0; width: 44px; height: 44px; justify-content: center; } .lang-globe { width: 21px; height: 21px; } .lang-pop { min-width: 180px; max-height: min(56vh, 320px); } }

/* /learn/ */
.doc { padding-block: clamp(28px, 5vw, 56px) clamp(56px, 8vw, 96px); }
.doc--art { max-width: calc(var(--read) + 2 * var(--gutter)); }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 0 0 18px; font-size: .86rem; line-height: 1.5; color: var(--muted); }
.crumbs a { color: var(--muted); text-decoration: none; padding: 11px 0; margin: -11px 0; }
.crumbs a:hover { color: var(--accent-text); }
.crumbs [aria-current="page"] { color: var(--text); }
.crumbs-sep { opacity: .5; }
.doc--hub .crumbs { justify-content: center; }
.doc--hub > h1 { text-align: center; max-width: 16ch; margin-inline: auto; font-size: var(--step-4); }
html[lang] .doc .meta.hub-lead { font-size: var(--step-1) !important; line-height: 1.55; color: var(--muted); text-align: center; max-width: 60ch; margin: 0 auto 44px; }
.hub-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 20px; }
@media (min-width: 640px) { .hub-list { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .hub-list { grid-template-columns: repeat(3, 1fr); } }
.hub-list li { display: flex; }
.hub-list a { display: flex; flex-direction: column; width: 100%; padding: 8px 18px 20px; border: 2px solid var(--border); border-radius: var(--r); text-decoration: none; color: var(--text); font-weight: 600; font-size: 1.06rem; line-height: 1.35; background: var(--surface); box-shadow: var(--hard-sm); transition: transform .12s ease, box-shadow .12s ease; }
.hub-list a:hover { transform: translate(-2px, -2px); box-shadow: 5px 5px 0 var(--accent); }
@media (prefers-reduced-motion: reduce) { .hub-list a:hover { transform: none; } }
.hub-list a > p, html[lang] .hub-list a > p { margin: 8px 0 0; color: var(--muted); font-weight: 400; font-size: .96rem; line-height: 1.55; }
.hub-list a > .card-thumb { width: calc(100% + 20px); max-width: none; margin: 0 -10px 16px; }
.card-thumb { display: block; width: 100%; height: auto; aspect-ratio: 1200 / 630; object-fit: cover; border-radius: 3px; margin: 0 0 14px; background: var(--surface-2); border: 2px solid var(--border); }
.learn-card--cover { flex-direction: column; align-items: stretch; }

.doc--art h1 { font-size: var(--step-4); line-height: .95; margin: 0 0 16px; }
.doc .meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; color: var(--muted); font-size: .94rem; margin: 0 0 28px; }
.meta__dot { opacity: .6; }
.learn-cover { display: block; height: auto; aspect-ratio: 1200 / 630; object-fit: cover; width: min(960px, calc(100vw - 2 * var(--gutter))); max-width: none; margin: 0 0 36px; margin-inline: calc((min(960px, calc(100vw - 2 * var(--gutter))) - 100%) / -2); border-radius: var(--r); background: var(--surface-2); border: 2px solid var(--border); box-shadow: 7px 7px 0 var(--shadow); }
.doc .tldr { position: relative; margin: 0 0 32px; padding: 22px 24px; background: var(--surface); border: 2px solid var(--border); border-inline-start: 10px solid var(--accent); border-radius: var(--r); font-size: var(--step-1); line-height: 1.6; color: var(--text); }
.doc--art > p { font-size: 1.1rem; line-height: 1.78; color: #2B2520; }
.doc--art h2 { font-size: var(--step-2); line-height: 1.02; margin: 46px 0 12px; }
.toc { margin: 8px 0; padding: 4px 18px; border: 2px solid var(--border); border-radius: var(--r); background: var(--surface); }
.toc summary { cursor: pointer; list-style: none; display: flex; align-items: center; justify-content: space-between; min-height: 52px; font-weight: 600; font-size: .96rem; text-transform: none; letter-spacing: .08em; }
.toc summary::-webkit-details-marker { display: none; }
.toc summary::after { content: '▾'; color: var(--accent-text); transition: transform .2s ease; }
.toc[open] summary::after { transform: rotate(180deg); }
.toc ol { margin: 0 0 12px; padding-inline-start: 24px; display: grid; gap: 2px; }
.toc li::marker { color: var(--accent-text); font-weight: 700; }
.toc a { display: inline-flex; min-height: 36px; align-items: center; color: var(--text); text-decoration: none; font-size: .97rem; line-height: 1.4; }
.toc a:hover { color: var(--accent-text); text-decoration: underline; }
.doc--art details:not(.toc) { border-bottom: 2px solid var(--border); padding: 0 4px; margin: 0; }
.doc--art details:not(.toc):first-of-type { border-top: 2px solid var(--border); }
.doc--art details:not(.toc) summary { cursor: pointer; list-style: none; font-weight: 600; min-height: 58px; display: flex; align-items: center; justify-content: space-between; gap: 14px; line-height: 1.35; }
.doc--art details:not(.toc) summary::-webkit-details-marker { display: none; }
.doc--art details:not(.toc) summary::after { content: '+'; flex: 0 0 auto; width: 28px; height: 28px; display: grid; place-items: center; border: 2px solid var(--border); border-radius: 3px; font-size: 1.15rem; line-height: 1; background: var(--surface); }
.doc--art details[open]:not(.toc) summary::after { content: '−'; background: var(--accent); }
.doc--art details:not(.toc) p { color: var(--muted); padding-bottom: 18px; margin: 0; }
.doc .cta-box { margin-top: 44px; padding: 28px; border-radius: var(--r); background: var(--bg-2); border: 2px solid var(--border); box-shadow: var(--hard); }
.doc .cta-box > p { font-weight: 600; font-size: var(--step-1); line-height: 1.4; margin: 0 0 16px; }
.cta-box--ask .entry__form { margin: 0 0 12px; box-shadow: var(--hard-sm); }
.cta-box__link { color: var(--accent-text); font-weight: 600; text-decoration: none; display: inline-flex; min-height: 44px; align-items: center; }
.cta-box__link:hover { text-decoration: underline; }
.learn-links ul { margin: 0; padding-inline-start: 20px; }
.learn-links li { margin: 2px 0; }
.learn-links a { display: inline-block; padding-block: 8px; }
/* 02.10: в текстовых списках ссылок маркер — у первой строки длинной подписи (inline-block ставил его у последней) */
.learn-links:not(.learn-related) li > a { display: block; }
.learn-links a { color: var(--accent-text); }
.doc .learn-related { background: none; border: 0; padding: 0; margin-top: 56px; box-shadow: none; }
.learn-related > p { font-family: var(--font-display); font-size: var(--step-2); font-weight: 700; text-transform: none; margin: 0 0 18px; }
.learn-related ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; }
@media (min-width: 560px) { .learn-related ul { grid-template-columns: 1fr 1fr; } }
.learn-related li { margin: 0; display: flex; }
.learn-related a { display: flex; flex-direction: column; width: 100%; padding: 8px 8px 16px; border: 2px solid var(--border); border-radius: var(--r); text-decoration: none; color: var(--text); font-weight: 600; line-height: 1.35; background: var(--surface); box-shadow: var(--hard-sm); transition: transform .12s ease, box-shadow .12s ease; }
.learn-related a span { padding: 0 8px; }
.learn-related a:hover { transform: translate(-2px, -2px); box-shadow: 5px 5px 0 var(--accent); }
.learn-related .card-thumb { margin-bottom: 12px; }
.doc .doc-back { margin-top: 32px; text-align: center; }
.doc .doc-back a { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; color: var(--accent-text); font-weight: 600; text-decoration: none; }
.doc .doc-back a::before { content: '←'; }
html[dir="rtl"] .doc .doc-back a::before { content: '→'; }

.support { padding-block: clamp(36px, 6vw, 80px) clamp(64px, 9vw, 112px); }
.support .wrap--narrow { max-width: calc(640px + 2 * var(--gutter)); text-align: center; }
.support h1 { font-size: var(--step-3); }
.support .lead { max-width: 52ch; margin-inline: auto; }
.form { margin-top: 32px; display: grid; gap: 18px; text-align: start; background: var(--surface); border: 2px solid var(--border); border-radius: var(--r); padding: clamp(20px, 4vw, 32px); box-shadow: 7px 7px 0 var(--shadow); }
.field { display: grid; gap: 6px; }
.field label { font-weight: 600; font-size: var(--step--1); }
.field input, .field select, .field textarea { font: inherit; font-size: 16px; color: var(--text); background: var(--bg); border: 2px solid var(--border); border-radius: var(--r-sm); padding: 12px 14px; min-height: 48px; width: 100%; transition: box-shadow .12s ease; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; box-shadow: 4px 4px 0 var(--accent); }
.field textarea { min-height: 150px; resize: vertical; }
.field__hint { color: var(--muted); font-size: var(--step--1); margin: 0; }
.form__foot .btn { width: 100%; }
.form__note { color: var(--muted); font-size: var(--step--1); margin-top: 12px; text-align: center; }
.notice { border-radius: var(--r); padding: 18px 20px; text-align: start; margin-top: 24px; border: 2px solid var(--border); }
.notice--err { background: #FFE3D9; color: #5A1503; }
.notice--ok { background: var(--surface); text-align: center; padding: 36px 24px; box-shadow: var(--hard); }
.notice ul { margin: 0; padding-inline-start: 18px; }
.honey { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }

.legal { padding-block: clamp(36px, 6vw, 72px) clamp(56px, 8vw, 96px); }
.legal h1 { font-size: var(--step-3); text-align: center; }
.legal__updated { color: var(--muted); font-size: var(--step--1); text-align: center; }
.legal > .wrap > .lead { text-align: center; max-width: 56ch; margin-inline: auto; margin-bottom: 24px; }
/* Разделы юрдокумента — <section>: без этого на них ложился отступ секций главной. */
.legal__sec { padding-block: 0; }
.legal__sec h2 { font-size: var(--step-2); padding-top: 22px; margin-top: 30px; border-top: 2px solid var(--border); }
.legal p, .legal li { color: #2F2924; line-height: 1.75; }
.legal a { color: var(--accent-text); }
.legal ul { padding-inline-start: 22px; }
.legal li { margin-bottom: .5em; }
.legal__nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 44px; padding-top: 28px; border-top: 2px solid var(--border); }
.legal__nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: var(--r-sm); border: 2px solid var(--border); background: var(--surface); color: var(--text); text-decoration: none; font-size: .92rem; font-weight: 600; }
.legal__nav a:hover { background: var(--accent); }

.nf { min-height: calc(100svh - var(--head-h) - 120px); display: grid; place-items: center; padding-block: 64px; text-align: center; background-image: radial-gradient(rgba(23, 19, 15, .08) 1px, transparent 1.4px); background-size: 9px 9px; }
.nf__in { display: flex; flex-direction: column; align-items: center; }
.nf__code { font-family: var(--font-display); font-weight: 700; font-size: clamp(6rem, 3rem + 12vw, 12rem); line-height: .85; margin: 0 0 16px; color: var(--accent); -webkit-text-stroke: 3px var(--border); text-shadow: .05em .05em 0 var(--shadow); }
.nf h1 { font-size: var(--step-3); }
.nf .lead { max-width: min(46ch, 100%); margin-inline: auto; }
.nf__actions .btn { white-space: normal; max-width: 100%; text-align: center; line-height: 1.25; padding-block: 10px; }
.nf__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 28px; }
.nf__more { margin: 44px 0 10px; font-size: .8rem; font-weight: 600; letter-spacing: .14em; text-transform: none; color: var(--muted); }
.nf__list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; max-width: 560px; width: 100%; }
.nf__list a { display: flex; align-items: center; min-height: 52px; padding: 10px 18px; border-radius: var(--r); border: 2px solid var(--border); background: var(--surface); color: var(--text); text-decoration: none; font-weight: 600; text-align: start; box-shadow: var(--hard-sm); }
.nf__list a:hover { background: var(--accent); }

@media (max-width: 639px) {
  .hero { padding-block: 28px 76px; }
  .hero::before { background: linear-gradient(180deg, rgba(247, 244, 236, .55) 0%, rgba(247, 244, 236, .93) 30%, rgba(247, 244, 236, .96) 100%); }
  .hero h1 { text-shadow: .03em .03em 0 rgba(255, 75, 31, .55); }
  .hero__sub { font-size: 1.06rem; }
  .entry { margin-top: 26px; }
  .entry__form { padding-inline-start: 14px; box-shadow: 5px 5px 0 var(--shadow); }
  .bulletin__item { padding: 20px 18px; }
  .doc--art > p { font-size: 1.05rem; line-height: 1.72; }
  .doc .tldr { font-size: 1.05rem; padding: 18px; }
  .doc .cta-box { padding: 22px 18px; }
  .learn-cover { box-shadow: 4px 4px 0 var(--shadow); }
  .site-foot { padding-top: 48px; }
}
html[lang] .hub-list a > p { font-size: .96rem; line-height: 1.55; }

/* Переносы в заголовках (движковый i18n-type.css включает их для de/nl/fi/el/da/no/sv):
   только длинные составные слова, без «ano-nym» в h1. */
html[lang] body :is(h1, h2, h3) { hyphenate-limit-chars: 10 4 4; -webkit-hyphenate-limit-before: 4; -webkit-hyphenate-limit-after: 4; }

/* ─────────────────────────────────────────────────────────
   13b. Подвал на телефоне: колонки-аккордеон (как у эталона, 01.10)
   Разметка — deploy/make_footer.py: <details open> в HTML, скрипт сворачивает ≤640 px.
   ───────────────────────────────────────────────────────── */
.foot-col summary { list-style: none; cursor: default; }
.foot-col summary::-webkit-details-marker { display: none; }
.foot-col summary .foot-h { display: block; }
.foot-col li { margin: 0; }
.foot-cur { display: none; }
/* заглавные и разрядка — только для латиницы/кириллицы/греческого */
html:lang(ar) .foot-h, html:lang(fa) .foot-h, html:lang(he) .foot-h, html:lang(ur) .foot-h,
html:lang(hi) .foot-h, html:lang(bn) .foot-h, html:lang(ta) .foot-h, html:lang(th) .foot-h,
html:lang(my) .foot-h, html:lang(ja) .foot-h, html:lang(ko) .foot-h, html:lang(zh) .foot-h,
html:lang(zh-CN) .foot-h, html:lang(zh-TW) .foot-h { text-transform: none; letter-spacing: 0; font-size: .85rem; }
@media (max-width: 640px) {
  .site-foot { padding-block: 40px 20px; }
  .foot-top { gap: 10px; }
  .foot-cols { display: block; margin-top: 28px; max-width: none; }
  .foot-col details { border-top: 1px solid var(--border); }
  .foot-col summary {
    cursor: pointer; display: flex; align-items: center; gap: 12px; min-height: 52px;
    -webkit-tap-highlight-color: transparent;
  }
  .foot-col summary .foot-h { margin: 0; }
  .foot-col summary::after {
    content: ""; flex: none; width: 8px; height: 8px; margin-inline-end: 4px;
    border: solid var(--muted); border-width: 0 2px 2px 0;
    transform: translateY(-2px) rotate(45deg);
  }
  .site-foot.foot-anim summary::after { transition: transform .2s; }
  .foot-col details[open] > summary::after { transform: translateY(2px) rotate(-135deg); }
  .foot-cur { display: inline; margin-inline-start: auto; color: var(--muted); font-size: .9rem; }
  .foot-col details ul { padding-bottom: 8px; }
  .foot-col details a { min-height: 44px; font-size: .95rem; }
  .foot-langs { display: grid; grid-template-columns: 1fr 1fr; column-gap: 12px; }
  /* Правовое: всегда видно, одной строкой с переносом (ссылка «Правовое» уже в списке) */
  .foot-legal { display: flex; flex-wrap: wrap; justify-content: center; border-top: 1px solid var(--border); padding-top: 10px; }
  .foot-legal .foot-h { display: none; }
  .foot-legal ul { display: contents; }
  .foot-legal li { margin: 0 9px; }
  .foot-legal a { min-height: 40px; font-size: .85rem; }
  .foot-note { margin-top: 8px; padding-top: 10px; border-top: 0; }
}

/* 01.10: списки определений в юрдокументах (cookie, перечень документов, privacy, voice, crypto) */
.legal__dl { margin: 12px 0 18px; padding: 0; }
.legal__dl dt { margin: 16px 0 4px; font-weight: 700; color: var(--text); }
.legal__dl dd { margin: 0; color: var(--muted); }
.legal__dl dt a { color: var(--accent); }

/* ─────────────────────────────────────────────────────────
   15. Инструменты в статьях (02.10): _tool_*.php — карточки (светлая тема)
   ───────────────────────────────────────────────────────── */
.tool { margin: 28px 0 32px; padding: 22px 20px 20px; background: var(--surface); border: 1px solid var(--border); border-radius: 16px; }
.tool__title { margin: 0 0 6px; font-size: 1.2rem; }
.tool__note { margin: 0 0 14px; color: var(--muted); font-size: var(--step--1); }
.tool__list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--border); }
.tool__row { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 48px; padding: 8px 2px; border-bottom: 1px solid var(--border); }
.tool__name { font-weight: 600; }
.tool__state { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); font-size: var(--step--1); text-align: end; }
.tool__state::before { content: ""; flex: none; width: 10px; height: 10px; border-radius: 50%; background: var(--border); }
.tool__state[data-state="run"]::before { background: var(--muted); animation: toolPulse 1s ease-in-out infinite; }
.tool__state[data-state="ok"] { color: var(--text); }
.tool__state[data-state="ok"]::before { background: #16a34a; }
.tool__state[data-state="no"] { color: var(--text); font-weight: 600; }
.tool__state[data-state="no"]::before { background: #dc2626; }
.tool__row--self .tool__name { color: var(--accent); }
.tool__sum { margin: 14px 0 12px; min-height: 1.5em; }
.tool__again[disabled] { opacity: .55; cursor: progress; }
@keyframes toolPulse { 50% { opacity: .3; } }
@media (prefers-reduced-motion: reduce) { .tool__state[data-state="run"]::before { animation: none; } }
.tool__row--wide { align-items: flex-start; }
.tool__sub { display: block; margin-top: 2px; font-weight: 400; color: var(--muted); font-size: var(--step--1); line-height: 1.4; }
.tool__state { flex: none; max-width: 46%; }
.tool__state[data-state="mid"] { color: var(--text); }
.tool__state[data-state="mid"]::before { background: var(--accent); }
.tool__src { margin: 12px 0 0; color: var(--muted); font-size: var(--step--1); }
@media (max-width: 640px) { .tool { padding: 18px 14px 16px; } .tool__row--wide { flex-direction: column; gap: 6px; } .tool__state { max-width: none; } }
.tool__table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--border); border-radius: 12px; }
.tool__table { width: 100%; border-collapse: collapse; font-size: var(--step--1); }
.tool__table th, .tool__table td { padding: 10px 12px; border-bottom: 1px solid var(--border); text-align: start; vertical-align: top; }
.tool__table thead th { background: var(--surface); font-weight: 700; white-space: nowrap; }
.tool__table tbody th { font-weight: 600; white-space: nowrap; }
.tool__table td.tool__q { color: var(--muted); font-size: .85rem; min-width: 14rem; }
.tool__yes { color: #15803d; font-weight: 700; }
.tool__nope { color: var(--muted); }
@media (max-width: 640px) {
  .tool__table-wrap { border: 0; overflow: visible; }
  .tool__table, .tool__table tbody, .tool__table tr, .tool__table th, .tool__table td { display: block; width: 100%; }
  .tool__table thead { display: none; }
  .tool__table tr { padding: 12px 14px; margin-bottom: 10px; border: 1px solid var(--border); border-radius: 12px; }
  .tool__table th, .tool__table td { padding: 4px 0; border: 0; }
  .tool__table tbody th { font-size: 1rem; white-space: normal; }
  .tool__table td::before { content: attr(data-label); display: block; color: var(--muted); font-size: .78rem; font-weight: 600; }
  .tool__table td.tool__q { min-width: 0; }
}
.tool__no { color: #b91c1c; font-weight: 700; }
.tool__table td.tool__q { min-width: 10rem; }
/* 02.10: таблица приложений — 7 полей не помещаются в колонку статьи, поэтому карточки на любой ширине */
.tool--cards .tool__table-wrap { border: 0; overflow: visible; }
.tool--cards .tool__table, .tool--cards .tool__table tbody { display: block; width: 100%; }
.tool--cards .tool__table thead { display: none; }
.tool--cards .tool__table tr { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px 16px; padding: 14px 16px; margin-bottom: 10px; border: 1px solid var(--border); border-radius: 14px; background: var(--surface); }
.tool--cards .tool__table th, .tool--cards .tool__table td { display: block; padding: 0; border: 0; text-align: start; white-space: normal; min-width: 0; }
.tool--cards .tool__table tbody th { grid-column: 1 / -1; font-size: 1.02rem; }
.tool--cards .tool__table td::before { content: attr(data-label); display: block; color: var(--muted); font-size: .75rem; font-weight: 600; }
.tool--cards .tool__table td.tool__q { grid-column: span 3; min-width: 0; }
.tool--cards .tool__row--self { outline: 2px solid var(--accent); }
@media (max-width: 640px) { .tool--cards .tool__table tr { grid-template-columns: 1fr 1fr; } .tool--cards .tool__table td.tool__q { grid-column: 1 / -1; } }

/* @mobile-hero:start */
/* ─────────────────────────────────────────────────────────
   14. Первый экран на телефоне: поле ввода сразу под заголовком (21.10)
   Генератор и замеры — deploy/mobile_hero.py; правку руками не делать.
   ───────────────────────────────────────────────────────── */
.entry__label { margin: 20px 0 12px; }
.entry__chips { margin: 0; }

@media (max-width: 639px) {
  .hero { min-height: 0; place-items: start center; padding-block: 18px 40px; }
  .hero__scroll { display: none; }
  .hero__in, .hero__in > .entry { width: 100%; min-width: 0; }
  .hero .badge { margin-bottom: 12px; }
  .hero h1 { font-size: clamp(2.5rem, 1.6rem + 5.2vw, 3.1rem); max-width: 17ch; margin-bottom: 0; }
  .hero__in > .entry { order: 2; margin-top: 18px; }
  .hero__in > .hero__sub { order: 3; margin-top: 22px; }
  .hero__in > .hero__note { order: 4; }
  .entry__label { position: absolute; width: 1px; height: 1px; margin: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .entry__chips { flex-wrap: nowrap; justify-content: flex-start; gap: 8px; margin: 12px calc(-1 * var(--gutter)) 0; padding: 2px var(--gutter) 4px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x proximity; scroll-padding-inline: var(--gutter); scrollbar-width: none; }
  .entry__chips::-webkit-scrollbar { display: none; }
  .entry__chips > .chip, .entry__chips > .chip:nth-child(n) { display: inline-flex; flex: 0 0 auto; width: max-content; max-width: 240px; text-align: start; line-height: 1.25; scroll-snap-align: start; }
  .entry__chips { -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 26px), transparent); mask-image: linear-gradient(to right, #000 calc(100% - 26px), transparent); }
  [dir="rtl"] .entry__chips { -webkit-mask-image: linear-gradient(to left, #000 calc(100% - 26px), transparent); mask-image: linear-gradient(to left, #000 calc(100% - 26px), transparent); }
  .entry__chips > .chip { max-width: min(76vw, 240px); text-wrap: balance; -webkit-tap-highlight-color: transparent; }
  .entry__chips > .chip:active { opacity: .78; }
  .hero .entry__note { max-width: 36ch; margin: 10px auto 0; font-size: .84rem; line-height: 1.4; text-wrap: balance; }
  .hero .hero__sub { text-wrap: pretty; }
  html[lang] .hero h1 { hyphens: manual; -webkit-hyphens: manual; }
  html:is([lang="ja"], [lang^="zh"], [lang="ko"]) .hero h1 { font-size: clamp(1.7rem, 1.1rem + 3.4vw, 2.1rem); line-height: 1.3; }
  html:is([lang="hi"], [lang="bn"]) .hero h1 { line-height: 1.3; }
}
/* @mobile-hero:end */

/* @mobile-polish:start */
/* ─────────────────────────────────────────────────────────
   15. Полировка телефона (21.10) — генератор deploy/mobile_polish.py
   ───────────────────────────────────────────────────────── */
.faq summary { padding-block: 12px; }
.legal :is(h2, h3) { line-height: 1.16; }
/* тайский: разрядка рвёт огласовки и тоновые знаки (ไม่เซ็นเซอร์ распадалось в бейдже) — 22.10, топ-18 */
html:lang(th) :is(.badge, .kicker, .entry__label, .foot-h, .chip, .btn, h1, h2, h3) { letter-spacing: 0; text-transform: none; }
/* в моноширинном шрифте подписей нет этих письменностей — браузер брал широкий запасной; набираем основным */
html:is(:lang(th), :lang(ko), :lang(ja), :lang(zh), :lang(ar), :lang(fa), :lang(hi)) { --font-mono: var(--font-body); }
.nt-star { position: relative; }
.nt-star::after { content: ''; position: absolute; inset: -12px -10px; }
@media (max-width: 639px) {
  .crumbs { flex-wrap: nowrap; white-space: nowrap; }
  .crumbs > [aria-current] { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
  .foot-legal a { display: inline-flex; align-items: center; min-height: 44px; }
}
html[lang="tr"] :is(h1, h2, h3) { line-height: 1.1; }
/* @mobile-polish:end */
