/* Mikrom Digital — shared typography, 8 October 2026.
   Local system fonts only. Marketing and workspace have distinct scales.
   Typography plus bounded image sizing and the verified dark MCP card contrast.
   No visibility, route, text, identity or business-state mutation.
   The frozen MD Gestion V2.1 standalone layout remains the reference. */
:root {
  --md-type-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  --md-type-copy:1rem;
  --md-type-secondary:.875rem;
  --md-type-caption:.75rem;
  --md-type-weight-copy:400;
  --md-type-weight-label:650;
  --md-type-weight-title:750;
  --md-type-leading-copy:1.65;
  --md-type-leading-title:1.16;
  --md-type-space-xs:.5rem;
  --md-type-space-sm:.75rem;
  --md-type-space-md:1rem;
  --md-type-space-lg:1.5rem;
}
body.md-public.md-public,
body.md-platform.md-platform {
  font-family:var(--md-type-family);
  font-weight:var(--md-type-weight-copy);
  font-size:var(--md-type-copy);
  line-height:var(--md-type-leading-copy);
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
}
body.md-public.md-public :is(button,input,select,textarea),
body.md-platform.md-platform :is(button,input,select,textarea) {
  font-family:var(--md-type-family);
}
body.md-public.md-public :is(h1,h2,h3,h4),
body.md-platform.md-platform :is(h1,h2,h3,h4) {
  font-family:var(--md-type-family);
  font-weight:var(--md-type-weight-title);
  text-wrap:balance;
  overflow-wrap:break-word;
}
body.md-public.md-public :is(p,li,dd),
body.md-platform.md-platform :is(p,li,dd) {
  overflow-wrap:break-word;
}

/* Marketing: expressive titles, readable content, calm supporting information. */
body.md-public.md-public h1 {
  font-size:clamp(2.125rem,3.8vw,3.625rem);
  line-height:1.12;
  letter-spacing:-.035em;
}
body.md-public.md-public h2 {
  font-size:clamp(1.75rem,2.9vw,2.625rem);
  line-height:1.2;
  letter-spacing:-.028em;
}
body.md-public.md-public h3 {
  font-size:clamp(1.25rem,1.65vw,1.5rem);
  line-height:1.3;
  letter-spacing:-.018em;
}
body.md-public.md-public h4 {font-size:1.125rem;line-height:1.35;letter-spacing:-.012em}
body.md-public.md-public p,
body.md-public.md-public :is(.article-content,.article-body,.sc-copy,.legal-page,.sc-detail-body,.directory-card,.mcp-copy) li {
  font-size:var(--md-type-copy);
  line-height:var(--md-type-leading-copy);
}
body.md-public.md-public :is(.article-card,.sc-toc,.legal-page section,.method-detail article,.article-body,.article-content,.sc-copy) h2 {
  font-size:clamp(1.375rem,2.05vw,1.875rem);
  line-height:1.28;
  letter-spacing:-.022em;
}
body.md-public.md-public :is(.article-content,.article-body,.sc-copy) p {max-width:70ch}
body.md-public.md-public :is(.article-content,.article-body,.sc-copy) :is(p,ul,ol) {margin-block:0 var(--md-type-space-md)}
body.md-public.md-public :is(.article-content,.article-body,.sc-copy) :is(h2,h3) {margin-bottom:var(--md-type-space-sm)}
body.md-public.md-public :is(.eyebrow,.sc-kicker,.result-eyebrow,.md-eyebrow,.md-path-number,.modern-offer-card small,.direct-contact b,.sc-num) {
  font-size:var(--md-type-caption);
  line-height:1.5;
  letter-spacing:.085em;
  font-weight:var(--md-type-weight-title);
}
body.md-public.md-public :is(.md-hero-repers,.md-hero-foot,.md-path-more,.md-provider-link,.md-hero-secondary,.sc-home-proof span,.article-meta,.sc-meta,.sc-card-body time,.sc-facts dt,.result-delay,.result-trust span,.mcp-hero-note,.mcp-hero-proof small,.mcp-hero-proof span,.sc-index-hero aside>span,.footer-bottom) {
  font-size:var(--md-type-secondary);
  line-height:1.6;
}
body.md-public.md-public :is(.md-hero-art figcaption,.article-card>div,.solution-catalog-grid>article em,.choice-grid small,.sc-facts dt,.footer-social span) {
  font-size:var(--md-type-caption);
  line-height:1.6;
}
body.md-public.md-public :is(.button,.sc-button,.result-button,.md-path-cta,.md-path-more,.text-link,.sc-link,.related-action,.catalog-product>a,.all-solutions-link,.footer-directory a,.footer-directory>div>b,.footer-project-link,.footer-social b) {
  font-size:var(--md-type-secondary);
  line-height:1.5;
}
body.md-public.md-public :is(.breadcrumb,.sc-breadcrumb,.contact-form .field small,.contact-form .consent,.form-submit small,.form-heading>p:not(.eyebrow),.direct-contact,.direct-contact a,.mcp-discovery__notice) {
  font-size:var(--md-type-secondary);
  line-height:1.65;
}
body.md-public.md-public .contact-form .field>span {font-size:var(--md-type-secondary);font-weight:var(--md-type-weight-label)}
body.md-public.md-public :is(.contact-form,.result-order) :is(input:not([type=hidden]):not([type=checkbox]):not([type=radio]),select,textarea) {
  font-size:1rem;
  line-height:1.5;
}
/* Header scale is deliberately smaller than content: seven destinations plus CTA. */
body.md-public.md-public .desktop-nav,
body.md-public.md-public .nav-cta {font-size:.8125rem;line-height:1.45;font-weight:var(--md-type-weight-label)}
body.md-public.md-public .nav-dropdown b {font-size:var(--md-type-secondary);line-height:1.4}
body.md-public.md-public .nav-dropdown span {font-size:var(--md-type-caption);line-height:1.5}
body.md-public.md-public .site-header .mobile-nav>summary,
body.md-public.md-public .site-header .mobile-nav .md-mobile-panel>a {font-size:var(--md-type-secondary);line-height:1.5}
body.md-public.md-public .md-visual-diagram :is(text,.diagram-label,.diagram-number,.diagram-caption,.diagram-core) {font-family:var(--md-type-family)}

/* Application: the same family and weights, compact work hierarchy, comfortable lessons. */
body.md-platform.md-platform {
  --md-type-copy:.9375rem;
  --md-type-leading-copy:1.6;
}
body.md-platform.md-platform h1 {
  font-size:clamp(1.75rem,2.65vw,2.625rem);
  line-height:1.18;
  letter-spacing:-.035em;
  font-weight:760;
}
body.md-platform.md-platform h2 {
  font-size:clamp(1.25rem,1.65vw,1.625rem);
  line-height:1.28;
  letter-spacing:-.024em;
  font-weight:730;
}
body.md-platform.md-platform h3 {font-size:1.125rem;line-height:1.35;letter-spacing:-.014em;font-weight:700}
body.md-platform.md-platform h4 {font-size:1rem;line-height:1.4;letter-spacing:-.008em}
body.md-platform.md-platform :is(p,li,dd) {font-size:var(--md-type-copy);line-height:var(--md-type-leading-copy)}
body.md-platform.md-platform :is(button,.btn,.button,.iv-button,.mtl-button) {font-size:var(--md-type-secondary);line-height:1.45}
body.md-platform.md-platform :is(input:not([type=hidden]):not([type=checkbox]):not([type=radio]),select,textarea) {font-size:.9375rem;line-height:1.5}
body.md-platform.md-platform :is(label,legend,.md-platform-nav a,.md-training-nav a,.iv-nav a,.mtl-nav a,.mtl-choice,.mtl-slot,.mtl-correction summary) {font-size:var(--md-type-secondary);line-height:1.5}
body.md-platform.md-platform :is(.kicker,.eyebrow,.mtl-eyebrow,.mtcv-kicker,.mtl-label,.md-platform-nav a span) {font-size:var(--md-type-caption);line-height:1.5;font-weight:750;letter-spacing:.08em}
body.md-platform.md-platform :is(small,.muted,.mtl-boundary,.mtl-step-path small,.mtl-lesson-summary small,.mtcv-illustration-note) {font-size:var(--md-type-caption);line-height:1.6}
body.md-platform.md-platform :is(.learning-v3,.lesson-copy,.iv-lesson,.mtl-lesson-content) :is(p,li) {font-size:1rem;line-height:1.7}
body.md-platform.md-platform :is(.mtl-hero-lead,.portal-lead) {font-size:1rem;line-height:1.7;max-width:65ch}
body.md-platform.md-platform .mtl-section-heading>p:not(.mtl-eyebrow) {font-size:.9375rem;line-height:1.65}
body.md-platform.md-platform :is(td,th) {font-size:.875rem;line-height:1.5}
body.md-platform.md-platform code {font-size:.8125rem;line-height:1.5}

/* BEGIN VERIFIED MCP DISPLAY FIXES — no asset replacement or hero crop change. */
body.md-public.md-public img,
body.md-platform.md-platform img {max-width:100%}
body.md-public.md-public img:is([src="/media/mcp/logo-mcp-v1.png"],[src="/media/mikrom-digital-logo.svg"],[src="/media/mikrom-digital-logo-white.svg"]),
body.md-platform.md-platform img:is([src="/media/mcp/logo-mcp-v1.png"],[src="/media/mikrom-digital-logo.svg"],[src="/media/mikrom-digital-logo-white.svg"]) {
  object-fit:contain;
  border-radius:0;
}
body.md-public.md-public :is(.mcp-product-title,.mcp-product-title>p,.screenshot-grid,.screenshot-grid>figure,.screenshot-grid>figure>a,.mcp-story__scene,.mcp-story__scene>*,.mcp-story__preview,.guide-shot) {
  min-width:0;
  max-width:100%;
}
body.md-public.md-public :is(.screenshot-grid,.mcp-story__preview,.guide-shot) img,
body.md-public.md-public img[src^="/media/mcp/previews/"] {
  display:block;
  width:100%;
  max-width:100%;
  height:auto;
  object-fit:contain;
}
body.md-public.md-public .screenshot-grid .screenshot-report>img {
  width:min(100%,800px);
  margin-inline:auto;
}
body.md-public.md-public .transverse-card :is(h3,b) {color:#f4f9fc}
body.md-public.md-public .transverse-card :is(span,p) {color:#d0e2ea;font-size:1rem;line-height:1.65}
body.md-public.md-public .transverse-card li {border-top:1px solid #6d95a8;padding-block:1rem;gap:.375rem}
/* END VERIFIED MCP DISPLAY FIXES */

@media(max-width:700px) {
  body.md-public.md-public {--md-type-copy:1rem;--md-type-secondary:.875rem}
  body.md-public.md-public h1 {font-size:clamp(2rem,7.7vw,2.625rem);line-height:1.16}
  body.md-public.md-public h2 {font-size:clamp(1.625rem,6.5vw,2rem);line-height:1.24}
  body.md-public.md-public .desktop-nav {font-size:.8125rem}
  body.md-platform.md-platform h1 {font-size:clamp(1.625rem,6.7vw,2rem);line-height:1.2}
  body.md-platform.md-platform :is(input:not([type=hidden]):not([type=checkbox]):not([type=radio]),select,textarea) {font-size:1rem}
}
@media print {
  body.md-public.md-public,body.md-platform.md-platform {text-rendering:auto}
  body.md-public.md-public h1 {font-size:2rem}
  body.md-public.md-public h2 {font-size:1.5rem}
}

/* MD-TYPO-20261009: editorial scale, isolated from marketing heroes. */
body.md-public.md-public .article-page :is(.article-hero,.article-body) {
  box-sizing:border-box;
  width:min(100%,54rem);
  max-width:none;
  margin-inline:auto;
  padding-inline:1.5rem;
}
body.md-public.md-public .article-page .article-hero {padding-block:2.5rem;background:none}
body.md-public.md-public .article-page .article-body {padding-block:0 2.5rem}
body.md-public.md-public .article-page .article-hero h1,
body.md-public.md-public .sc-detail-hero h1 {
  font-size:clamp(1.875rem,3.2vw,2.75rem);
  line-height:1.18;
  font-weight:700;
  letter-spacing:-.025em;
}
body.md-public.md-public :is(.article-body,.article-content,.sc-copy,.sc-detail-body,.legal-page section) h2 {
  font-size:clamp(1.375rem,2vw,1.625rem);
  line-height:1.3;
  font-weight:650;
  letter-spacing:-.018em;
}
body.md-public.md-public :is(.article-body,.article-content,.sc-copy,.sc-detail-body,.legal-page section) h3 {
  font-size:1.125rem;line-height:1.4;font-weight:650;
}
body.md-public.md-public .article-page :is(.article-intro,.article-body p) {max-width:none}
body.md-public.md-public .article-page .article-body section {margin-block:1.75rem 0}
body.md-public.md-public .article-page .article-body :is(h2,h3) {margin-block:0 .75rem}
body.md-public.md-public :is(p,li,dd) :is(strong,b) {font-size:inherit;line-height:inherit;font-weight:650}
body.md-public.md-public .article-page .article-meta {margin-block:1.25rem;gap:.5rem 1.25rem}
body.md-public.md-public .article-page .article-cover {margin-top:1.5rem}
body.md-public.md-public .article-page .article-cover figcaption {font-size:.875rem;line-height:1.6}
body.md-public.md-public .article-page .related-grid h3 {font-size:1.125rem;line-height:1.4;font-weight:650}
@media(max-width:700px) {
  body.md-public.md-public .article-page :is(.article-hero,.article-body) {padding-inline:1.375rem}
  body.md-public.md-public .article-page .article-hero {padding-block:2rem}
  body.md-public.md-public .article-page .article-hero h1,
  body.md-public.md-public .sc-detail-hero h1 {font-size:clamp(1.875rem,7vw,2.25rem);line-height:1.2}
}
