/* ══════════════════════════════════════════════════════════════════
   SKIN v3 «единый бренд» · грузится ПОСЛЕДНИМ на каждой странице.
   Перебивает инлайн-типографику страниц без правки 60 файлов:
   — заголовки: Golos 800/900, БЕЗ italic, плотный трекинг (язык ДС лендинга)
   — метки/eyebrow: обычный регистр, кобальт (никакого mono-UPPERCASE)
   — serif-italic остаётся только «человеческому голосу» (.voice)
   Спека: docs/superpowers/specs/2026-07-05-lk-tokens-v3-brand-unify.md
   Арена (.arena-*, .arena-page) не трогается — отдельный мир.
   ══════════════════════════════════════════════════════════════════ */

/* ── дисплей-типографика: без италика, вес вместо наклона ── */
h1, h2, h3,
.page-head h1, .page-head h2,
.t-page-title, .hero h1 {
  font-family: var(--font-display, 'Golos Text', sans-serif) !important;
  font-style: normal !important;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.page-head h1, h1 {
  font-weight: 900;
  letter-spacing: -0.025em;
  text-wrap: balance;
}
h1 em, h2 em, h3 em, .page-head h1 em {
  font-style: normal !important;
  color: var(--accent, #2B4C8C);
}
/* крупные числа-метрики: 900, tabular */
.metric, .ach-progress__count, .stat-num {
  font-family: var(--font-display, 'Golos Text', sans-serif) !important;
  font-style: normal !important;
  font-weight: 900;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.03em;
}

/* ── «человеческий голос»: единственное место для serif-italic ── */
.voice, blockquote.voice, .quote {
  font-family: var(--font-voice, 'Piazzolla', serif) !important;
  font-style: italic !important;
  font-weight: 400;
  letter-spacing: 0;
}

/* ── метки/eyebrow/подписи: обычный регистр, без mono-uppercase ── */
.eyebrow, .sub, .page-head .eyebrow, .page-head .sub,
.mono-mark, .w-head, .widget__head, .aside-head,
.card-label, .section-label {
  font-family: var(--font-body, 'Golos Text', sans-serif) !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
  font-weight: 500;
  font-size: 13px;
}
.eyebrow, .page-head .eyebrow, .card-label, .section-label { color: var(--accent, #2B4C8C); }
.eyebrow.gold { color: var(--accent, #2B4C8C); }

/* ── шапка приложения: имя страницы обычным регистром ── */
.app-top__name {
  font-family: var(--font-body, 'Golos Text', sans-serif) !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
  font-weight: 600;
  font-size: 15px;
}

/* ── мобильный таббар: подписи обычным регистром ── */
.app-tabbar .tab {
  font-family: var(--font-body, 'Golos Text', sans-serif) !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
  font-weight: 500;
}

/* ── кнопки: pill добирается токеном --r-button, тут только паддинг-компенсация ── */
.btn, .btn-ghost, button.btn { border-radius: var(--r-button, 14px); }
.btn-primary, .cta--solid, .w-live__join, .trial-hero a { border-radius: var(--r-cta, 999px); padding-left: 20px; padding-right: 20px; }
.btn-square { border-radius: 12px; }

/* ── бейджи-статусы: обычный регистр ── */
.payment-badge, .status-badge, .badge {
  text-transform: none !important;
  letter-spacing: 0.01em !important;
  font-family: var(--font-body, 'Golos Text', sans-serif);
  font-weight: 500;
}

/* ── карточки/поверхности: gem-геометрия, плотные данные — меньший радиус ── */
.card, .widget, .panel { border-radius: var(--r-card, 26px); }
table .card, .journal-cell, .grid-dense .card { border-radius: var(--r-card-sm, 14px); }

/* ── сайдбар десктопа: пункты обычным регистром ── */
.side-nav a, .menu__item {
  font-family: var(--font-body, 'Golos Text', sans-serif);
  text-transform: none !important;
  letter-spacing: 0 !important;
}

/* ── тёмные плашки: акцентные фрагменты в sky ── */
.widget--dark em, .band em, [class*="--dark"] h2 em { color: var(--sky, #9DB4E4); }

/* ── арена: вернуть её собственный характер (skin не для неё) ── */
.arena h1, .arena h2, .arena .arena-h2,
.arena-page h1, .arena-page h2 {
  letter-spacing: 0;
}
.arena .arena-hero__title, .arena .arena-ring__lvl, .arena-intro__t1,
.blz-final__big, .blz-rank {
  font-family: var(--font-voice, 'Piazzolla', serif) !important;
  font-style: italic !important;
  font-weight: 500;
}

/* ── главная ученика: хедер-титул без италика, CTA кобальтом ── */
.home-head__title, .w-head__t, .widget h2 {
  font-family: var(--font-display, 'Golos Text', sans-serif) !important;
  font-style: normal !important;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.home-head__title em { font-style: normal !important; color: var(--accent, #2B4C8C); }
.w-live__cta, .cta--solid {
  background: var(--accent, #2B4C8C) !important;
  color: var(--ink-on-dark, #FBF9F4) !important;
  border-radius: 999px;
}
/* учительский мир: заголовки шапок без serif-italic */
.pg-h__row h1, .t-page-h h1, .th-title {
  font-family: 'Golos Text', sans-serif !important;
  font-style: normal !important;
  font-weight: 800;
  letter-spacing: -0.01em;
}

/* ── специфичность-добивка: таббар (sheet.css шёл 3 классами) ── */
.app-shell .app-tabbar .tab {
  font-family: var(--font-body, 'Golos Text', sans-serif) !important;
  text-transform: none !important;
  letter-spacing: 0.01em !important;
  font-size: 11px !important;
  font-weight: 500;
}

/* ── мелкие метки виджетов: без разреженного mono ── */
.widget [class*="label"], .widget [class*="lbl"], .widget [class*="__meta"],
.w-live [class*="label"], [class*="w-head"] {
  font-family: var(--font-body, 'Golos Text', sans-serif) !important;
  letter-spacing: 0.01em !important;
  text-transform: none !important;
}

/* ── тёмная тема: элементы на посветлевшем акценте ── */
[data-theme="dark"] .w-live__cta, [data-theme="dark"] .cta--solid {
  background: #2B4C8C !important;
  color: #FBF9F4 !important;
}
[data-theme="dark"] .announcement-banner {
  background: var(--bg-tint, #24345A) !important;
  color: var(--ink, #F1EEE5) !important;
}

/* ── главная: реальные классы CTA/меток бенто-виджетов ── */
.w-live__pulse, .w-deadline__lbl, .w-cal__cap, .w-deadline__when, .w-live__join {
  font-family: var(--font-body, 'Golos Text', sans-serif) !important;
  text-transform: none !important;
  letter-spacing: 0.01em !important;
}
[data-theme="dark"] .w-live__join,
[data-theme="dark"] .widget--accent,
[data-theme="dark"] .trial-hero a {
  background: #2B4C8C !important;
  color: #FBF9F4 !important;
}


/* ── v3.1 чистка декора: издательские «N°»-номера и «§»-знаки убраны ── */
.widget__num, .vol-num { display: none !important; }
.eyebrow::before { content: '' !important; display: none !important; }
.w-cal__cap .accent { display: none; }

/* ── v3.1: бургер-меню без италика, спокойные пункты ── */
.menu__item, .menu .menu__item, .menu__brand-name, .menu__section {
  font-family: var(--font-body, 'Golos Text', sans-serif) !important;
  font-style: normal !important;
  font-weight: 500;
  letter-spacing: 0 !important;
}
.menu__item em { font-style: normal !important; }
.menu__foot { display: none !important; }
