/* G2R R001 — bounded shared typography contract.
   Scope: typography roles only. No layout, content, navigation, interaction, or product-truth redesign. */
:root{
  --dzn-font-ui:"Segoe UI Variable","Segoe UI",Inter,Arial,sans-serif;
  --dzn-font-editorial:Georgia,Cambria,"Times New Roman",serif;
  --dzn-weight-regular:400;
  --dzn-weight-medium:600;
  --dzn-weight-strong:700;
}
html{-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}
body,button,input,textarea,select{font-family:var(--dzn-font-ui)}
body{font-size:17px;line-height:1.62}

/* Shared chrome and product/public surfaces use one UI family. */
.site-header,.brand,.brand-copy,.brand-tagline,.desktop-nav,.nav,.links,.searchbox,.search-pill,
.btn,.eyebrow,.kicker,.section-kicker,.section-eyebrow,.tag,.badge,.status,.meta,.footer,
.footer-inner,.article-meta,.breadcrumb,.search-boundary,.search-count,.filters,.filter,
.guided-kicker,.step-count,.choice,.nav-btn,.context-card,.decision-badge,.boundary-pill{
  font-family:var(--dzn-font-ui)
}

/* DZN32 product pages: remove the accidental serif/sans split. */
body:not(.article-detail) .page-hero h1,
body:not(.article-detail) .hero h1,
body:not(.article-detail) .section h2,
body:not(.article-detail) .section-head h2,
body:not(.article-detail) .panel h3,
body:not(.article-detail) .card h3,
body:not(.article-detail) .work-card h3,
body:not(.article-detail) .knowledge-box h3,
body:not(.article-detail) .loop strong,
body:not(.article-detail) .fact b{
  font-family:var(--dzn-font-ui);font-weight:var(--dzn-weight-strong)
}

/* Interactive utilities are product UI, not editorial reading surfaces. */
body[data-page-type="SEARCH_RESULTS"] h1,
body[data-page-type="SEARCH_RESULTS"] h2,
body[data-page-type="SEARCH_RESULTS"] h3,
body[data-page-type="GUIDED_INTERACTION"] h1,
body[data-page-type="GUIDED_INTERACTION"] h2,
body[data-page-type="GUIDED_INTERACTION"] h3{
  font-family:var(--dzn-font-ui);font-weight:var(--dzn-weight-strong)
}

/* Editorial article keeps a deliberate reading serif. */
body.article-detail .article-context h1,
body.article-detail .article-dek,
body.article-detail .article-insight,
body.article-detail .article-body,
body.article-detail .article-body h2,
body.article-detail .article-body blockquote,
body.article-detail .article-related h2,
body.article-detail .related-card h3{
  font-family:var(--dzn-font-editorial)
}
body.article-detail .article-body{font-size:19px;line-height:1.78}

/* Topic hub is editorial navigation: serif for story hierarchy, UI sans for controls. */
body[data-page-type="TOPIC_HUB"] .topic-hero h1,
body[data-page-type="TOPIC_HUB"] .topic-principle b,
body[data-page-type="TOPIC_HUB"] .topic-featured h2,
body[data-page-type="TOPIC_HUB"] .road-heading h2,
body[data-page-type="TOPIC_HUB"] .feature-map strong,
body[data-page-type="TOPIC_HUB"] .road-index,
body[data-page-type="TOPIC_HUB"] .road-card h3,
body[data-page-type="TOPIC_HUB"] .series-note,
body[data-page-type="TOPIC_HUB"] .topic-ai h2,
body[data-page-type="TOPIC_HUB"] .topic-ask-drawer h2{
  font-family:var(--dzn-font-editorial)
}

/* Compact supporting copy: one predictable UI rhythm across surfaces. */
.panel p,.work-card p,.card p,.fact span,.proof-item span,.knowledge-box p,
.section-head p,.topic-featured p,.road-card p,.search-hero p,.result-copy p,
.guided-intro p,.question-help,.choice span,.route p,.context-line span{
  line-height:1.6
}

@media(max-width:820px){
  body{font-size:16px}
  body.article-detail .article-body{font-size:18px;line-height:1.76}
}
