/* KU Portal · calibrated type scale, 2026-11-19.
   Reference logic: Banki.ru's neutral weights + Sravni's clear hierarchy.
   Do not copy their exact fonts or heading sizes into KU's denser tables.
*/
:root {
  --ku-w-main:700;
  --ku-w-section:650;
  --ku-w-service:600;
  --ku-w-body:400;
  --ku-w-action:600;
  --ku-w-money:700;
}
/* Page-level headings stay prominent; ordinary section headings step down. */
body:has(.ku2-home) .ku2-hero-card h1,
.ku-a1 .ku-ui1-heading h1,
.page h1,
.ku-cmp-page h1,
.ku5-root h1,
.k3-root h1 {
  font-weight:var(--ku-w-main)!important;
}
body:has(.ku2-home) :is(.ku2-section-head h2,.ku2-right-rail h2,.ku2-changes-head h2,.ku2-reviews-feature h2,.ku2-review-intro h2,.ku2-editorial h2,.ku2-guides h2),
.ku-a1 :is(.ku-ui1-toolbar h2,.ku-ui1-filter-heading>b,.ku-ui1-explainer b,.ku-ui1-guide b),
.page :is(h2,h3),
.ku-cmp-page :is(h2,h3),
.k3-root :is(h2,h3),
.ku5-root :is(h2,h3) {
  font-weight:var(--ku-w-section)!important;
}
/* Services are scan targets in listings, not extra-bold titles. */
body:has(.ku2-home) .ku2-service-link,
.ku-a1 .ku-ui1-name,
.page .svc-title,
.k3-root :is(.k3-scen-top b,.k3-info-row b),
.ku-cmp-page .ku-cmp-brandhead strong,
.ku5-root :is(.ku5-scen-top b,.ku5-scen-line b) {
  font-weight:var(--ku-w-service)!important;
}
/* Ordinary prose and supporting descriptions. */
body:has(.ku2-home) :is(.ku2-hero-card p,.ku2-section-head p,.ku2-tile-label small,.ku2-change-text small,.ku2-service-name small),
.ku-a1 :is(.ku-ui1-heading p,.ku-ui1-kinds,.ku-ui1-cell-muted,.ku-ui1-source,.ku-ui1-explainer p),
.k3-root :is(.k3-hero-title p,.k3-kicker,.k3-info-row>span:last-child),
.ku5-root :is(.ku5-hero p,.ku5-exp-label,.ku5-card-head p,.ku5-net-card p),
.ku-cmp-page :is(p,dd,small) {
  font-weight:var(--ku-w-body)!important;
}
/* CTA, control labels and navigation: consistent 600. */
body:has(.ku2-home) :is(.ku2-hero-form .finder .btn,.ku2-directory-foot .ku2-primary,.ku2-action .ku2-primary-details,.ku2-action .ku2-compare-secondary,.ku2-text-link,.ku2-all-news,.ku2-all-guides),
.ku-a1 :is(button,.btn,.ku-ui1-primary-cta,.ku-ui1-secondary-compare,.ku-ui1c-button-name,.ku-ui1c-reset),
.k3-root :is(button,.btn,.k3-tabs a),
.ku-cmp-page :is(button,.btn,.ku-cmp-profile-link),
.ku5-root :is(button,.btn,.ku5-calc,.ku5-join,.ku5-transports button span,.ku5-segments button,.ku5-field>label),
.ku-one-row[data-native-shell] :is(button,.ku-inline-nav a,.ku-more summary,.ku-head-fav) {
  font-weight:var(--ku-w-action)!important;
}
.ku-a1 :is(.ku-ui1-listhead,.ku-ui1c-label,.ku-ui1-cell>b),
.ku-cmp-page :is(.ku-cmp-table th,.ku-cmp-group th),
.k3-root :is(.k3-chip,.k3-info-row b),
.ku5-root :is(.ku5-pills>span,.ku5-stat>div,.ku5-conditions,.ku5-scen-line span) {
  font-weight:600!important;
}
.ku-cmp-page .ku-cmp-table td {
  font-weight:400!important;
}
/* Monetary metrics: 700 intentionally retained for quick comparison. */
body:has(.ku2-home) :is(.ku2-earn b,.ku2-income-value),
.ku-a1 .ku-ui1-earnings b.ku-ui1-money,
.ku-cmp-page :is(.ku-cmp-money,.ku-compare-card dd.green),
.k3-root .k3-income-tile strong,
.ku5-root :is(.ku5-stat strong,.ku5-donut b,.ku5-net-card strong,.ku5-net-ratio strong,.ku5-exp-total strong,.ku5-scen-net b) {
  font-weight:var(--ku-w-money)!important;
  font-variant-numeric:tabular-nums;
}
/* Compact editorial cards: readable, not over-weighted. */
body:has(.ku2-home) :is(.ku2-tile-label b,.ku2-change-text b,.ku2-service-table-head),
.page :is(.feedrow b,.story b),
.ku-a1 .ku-ui1-name {
  font-weight:600!important;
}
/* Legacy CTA carries an unusually specific 700-weight rule. */
body:has(.ku2-home) .ku2-home .ku2-hero-form .finder .btn.primary {
  font-weight:var(--ku-w-action)!important;
}
