/* Use the existing homepage hero family across the site, retaining each text role's size and weight. */
@font-face {
  font-family: 'Newsreader';
  src: url('fonts/newsreader-latin-v26.woff2') format('woff2');
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
}
@font-face {
  font-family: 'Newsreader';
  src: url('fonts/newsreader-latin-italic-v26.woff2') format('woff2');
  font-style: italic;
  font-weight: 200 800;
  font-display: swap;
}

:root {
  --font-ui: Manrope, 'Helvetica Neue', Arial, sans-serif;
  --font-editorial: var(--font-ui);
}

body { font-family:var(--font-ui); }
button, input, select, textarea,
.nav, .language, .button, .text-link, .eyebrow,
.card-meta, .reading-meta, .journal-meta, .reading-context,
.bread, .toc, .spec-table, .product-tabs, .system-meta,
.footer-col, .footer-bottom, .reading-preferences {
  font-family:var(--font-ui);
}
.nav { font-weight:550; }
.eyebrow { font-weight:650; letter-spacing:.1em; }
.spec-table, .system-meta, .calc-output, .collection-capacity {
  font-variant-numeric:lining-nums tabular-nums;
}

/* Product names and interfaces retain their established weight and tracking. */
.product-home-copy h1, .product-hero h1,
.collection-copy h3, .system-copy h3, .system-top h3,
.field, .faq-list summary, .project-form h2 {
  font-family:var(--font-ui);
}
.product-home-copy h1 { font-weight:550; letter-spacing:-.045em; }
.product-hero h1, .collection-copy h3 { font-weight:600; }

/* Editorial headings share Manrope while retaining their display hierarchy. */
.knowledge-hero h1, .wiki-intro h1, .journal-intro h1,
.article-header h1, .home-editorial h2,
.wiki-featured-title h2, .related-reading h2,
.cta-inner h2, .sourcing-story h2 {
  font-family:var(--font-editorial);
  font-optical-sizing:auto;
  font-weight:400;
  letter-spacing:-.025em;
  text-wrap:balance;
}
.knowledge-hero h1, .wiki-intro h1, .journal-intro h1 { line-height:1.03; }
.article-header h1 { line-height:1.1; }
.home-editorial h2 { font-size:clamp(34px,3.5vw,44px); line-height:1.12; }
.wiki-featured-title h2 { line-height:1.16; }

/* Article names retain their existing size, weight and line spacing. */
.reading-copy h3, .wiki-card h2, .wiki-result h3,
.news-copy h3, .editorial-title, .related-link {
  font-family:var(--font-editorial);
  font-optical-sizing:auto;
  font-weight:450;
  letter-spacing:-.015em;
  line-height:1.18;
}
.reading-copy h3 { font-size:27px; }
.wiki-featured .reading-copy h3 { font-size:27px; }
.wiki-result h3 { font-size:23px; }
.news-copy h3 { font-size:29px; }
.wiki-library-heading h2 {
  font-family:var(--font-ui);
  font-weight:550;
  letter-spacing:-.025em;
}

/* Long-form reading keeps its comfortable measure and paragraph rhythm. */
.article-body[data-reading-article] p,
.article-body[data-reading-article] li {
  font-family:var(--font-editorial);
  font-optical-sizing:auto;
  font-size:21px;
  font-weight:400;
  line-height:1.65;
  letter-spacing:0;
  color:var(--ink);
  text-wrap:pretty;
}
.article-body[data-reading-article] h2 {
  font-family:var(--font-ui);
  font-size:27px;
  font-weight:550;
  letter-spacing:-.025em;
  line-height:1.25;
}
.article-body[data-reading-article] strong { font-weight:650; }
.article-body[data-reading-article] .article-sources,
.article-body[data-reading-article] .article-sources p,
.article-body[data-reading-article] .article-sources li {
  font-family:var(--font-ui);
  font-size:14px;
  line-height:1.7;
}

@media(max-width:950px) {
  .reading-copy h3, .wiki-featured .reading-copy h3 { font-size:25px; }
}
@media(max-width:700px) {
  .reading-copy h3 { font-size:23px; }
  .wiki-featured .reading-copy h3 { font-size:25px; }
  .wiki-result h3 { font-size:22px; }
  .news-copy h3 { font-size:27px; }
  .article-body[data-reading-article] p,
  .article-body[data-reading-article] li { font-size:20px; line-height:1.65; }
  .article-body[data-reading-article] h2 { font-size:25px; }
  .article-body[data-reading-article] .article-sources p,
  .article-body[data-reading-article] .article-sources li { font-size:14px; }
}
