/* Semantic typography layer.
   Body copy, menus and supporting controls stay regular. Weight is reserved
   for headings, section labels, intentional emphasis and compact values. */
body,
button,
input,
select,
textarea,
a,
p,
li,
dt,
dd,
label,
summary,
.site-header,
.site-footer,
.admin-shell { font-weight: 400; }

h1, h2, h3, h4, h5, h6,
.heading,
.page-title,
.section-title,
.panel-title,
.card-title,
[class$="__title"],
[class*="__title "],
[class*="eyebrow"],
[class*="kicker"],
.brand__name,
.admin-nav__label { font-weight: 700; }

strong,
b,
th,
.language-menu__title,
.faq-item summary,
.accordion summary,
.table-primary { font-weight: 600; }

.button,
button[type="submit"],
input[type="submit"],
.badge,
.status-badge,
.pill,
.tag,
label > span:first-child,
.check-field,
.checkbox-row,
.switch-field,
.appearance-segmented span,
.toggle-row strong,
.slider-preset-option strong { font-weight: 500; }

.primary-nav a,
.header-utility-link,
.header-account-cta,
.mobile-nav-links a,
.mobile-nav-primary,
.mobile-nav-secondary,
.mobile-nav-subscription-status,
.footer-col nav a,
.footer-policy-links a,
.footer-contact-item,
.admin-nav a,
.admin-sidebar__footer a,
.admin-sidebar__footer button { font-weight: 400; }

.primary-nav a.is-active,
.mobile-nav-links a.is-active,
.admin-nav a.is-active,
.header-account-cta,
.mobile-nav-primary,
.mobile-nav-secondary,
.mobile-nav-subscription-status { font-weight: 500; }

.footer-col h2,
.admin-nav__label { font-weight: 700; }
.admin-topbar__eyebrow { font-weight: 600; }
.admin-user { font-weight: 400; }

/* Numbers and compact state markers need contrast, not headline weight. */
.answer-letter,
.lesson-card__number,
.sign-category-card__number,
.sign-card__position,
.glossary-letter,
.attempt-score,
.avatar,
.order-total,
.exam-result-stat strong,
.metric-value,
.stat-value,
.summary-list dd,
.financial-breakdown dd { font-weight: 600; }

/* Directional icons follow the reading direction consistently in every layout. */
svg.icon-mirror--forward { transform: none; }
html[dir="rtl"] svg.icon-mirror--forward { transform: scaleX(-1); }
svg.icon-mirror--back { transform: scaleX(-1); }
html[dir="rtl"] svg.icon-mirror--back { transform: none; }

