@font-face {
  font-family: "Source Serif 4 Display";
  src: url("/assets/fonts/source-serif-display-black.woff2") format("woff2");
  font-style: normal;
  font-weight: 900;
  font-display: swap;
}

@font-face {
  font-family: "Source Serif 4 Subhead";
  src: url("/assets/fonts/source-serif-subhead-bold.woff2") format("woff2");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: "Source Serif 4 SmText";
  src: url("/assets/fonts/source-serif-smtext-regular.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Source Serif 4 SmText";
  src: url("/assets/fonts/source-serif-smtext-bold.woff2") format("woff2");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("/assets/fonts/inter-medium.woff2") format("woff2");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("/assets/fonts/inter-semibold.woff2") format("woff2");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

/* Code type roles. This sheet is linked only from html[data-section="code"]
   pages; Food and Word retain their section-owned typography. */
html[data-section="code"] body[data-section] {
  font-family:var(--code-font-body);
  font-size:18px;
  line-height:29px;
}
html[data-section="code"] body[data-section] h1,
html[data-section="code"] body[data-section][data-page] h1 {
  font-family:var(--code-font-display);
  font-size:42px;
  font-weight:900;
  line-height:46px;
  letter-spacing:-.02em;
}
html[data-section="code"] body[data-section][data-page="home"] .project-intro h1 {
  font-size:56px;
  line-height:60px;
}
html[data-section="code"] body[data-section] h2,
html[data-section="code"] body[data-section][data-page] h2 {
  font-family:var(--code-font-subhead);
  font-size:32px;
  font-weight:700;
  line-height:38px;
}
html[data-section="code"] body[data-section] h3,
html[data-section="code"] body[data-section][data-page] h3 {
  font-family:var(--code-font-subhead);
  font-size:22px;
  font-weight:700;
  line-height:28px;
}
html[data-section="code"] body[data-section] :is(h1,h2,h3) :is(em,.ftlo-lead) {
  font-family:inherit;
  font-weight:inherit;
  letter-spacing:inherit;
}
html[data-section="code"] body[data-section] main :is(p,li,dd,blockquote) { font-family:var(--code-font-body); }
html[data-section="code"] body[data-section] :is(.prose,.legacy-study,.mcp-page,.opos-chapter) {
  font-family:var(--code-font-body);
  font-size:18px;
  line-height:29px;
}
html[data-section="code"] body[data-section] :is(.data-summary,.article-summary,.project-definition,.opos-summary,.section-hero>p:not(.eyebrow),.simple-heading>p:not(.eyebrow)) {
  font-family:var(--code-font-body);
  font-size:20px;
  font-weight:400;
  line-height:30px;
}
html[data-section="code"] body[data-section] :is(figcaption,.data-caption,.project-status,.rights-note,.provenance,.opos-section-note,.infographic-wip-note) {
  font-family:var(--code-font-body);
  font-size:14px;
  font-weight:400;
  line-height:20px;
}
html[data-section="code"] body[data-section] :is(strong,b) { font-weight:700; }

html[data-section="code"] body[data-section] :is(.site-header,.site-footer,.code-section-nav,.studio-menu,.project-actions,.project-links,.article-contents,.tag-list,.collection-nav,.section-rule,.product-infographic,.project-visual,.opening-demo,.data-table,table,button,input,textarea,select,summary) {
  font-family:var(--code-font-ui);
  font-weight:500;
}
html[data-section="code"] body[data-section] :is(.site-header a,.site-footer a,.code-section-nav a,.studio-menu summary,.studio-menu a,.project-actions a,.project-links a,.opos-links a,.underlined-link,.home-compare,button,input,textarea,select,summary) {
  font-family:var(--code-font-ui);
  font-size:14px;
  font-weight:500;
  line-height:20px;
}
html[data-section="code"] body[data-section] :is(.eyebrow,.project-eyebrow,.article-kind) {
  font-family:var(--code-font-ui);
  font-size:12px;
  font-weight:600;
  line-height:16px;
  letter-spacing:.08em;
  text-transform:uppercase;
}
html[data-section="code"] body[data-section] :is(.section-label,.status-label,.pill,.project-wip,.opos-label,.opos-wip,.mcp-status,.card-meta,.byline,.project-details,.directory-count,.contact-link small) {
  font-family:var(--code-font-ui);
  font-size:12px;
  font-weight:500;
  line-height:16px;
  letter-spacing:normal;
  text-transform:none;
}
html[data-section="code"] body[data-section] :is(.site-header,.site-footer,.code-section-nav,.studio-menu,.project-actions,.project-links,.article-contents,.tag-list,.collection-nav,.section-rule,.product-infographic,.project-visual,.opening-demo,.data-table,table,button,input,textarea,select,summary) :is(strong,b,[aria-current]) {
  font-weight:600;
}
html[data-section="code"] body[data-section] table {
  font-family:var(--code-font-ui);
  font-size:14px;
  font-weight:500;
  line-height:20px;
}
html[data-section="code"] body[data-section] table :is(th,td) { font-weight:500; }
html[data-section="code"] body[data-section] table th { font-weight:600; }
html[data-section="code"] body[data-section] :is(pre,code,kbd,samp,.hash,[data-hash]) {
  font-family:var(--mono);
  font-size:13px;
  font-weight:400;
  line-height:20px;
}
html[data-section="code"] body[data-section] figure.product-infographic,
html[data-section="code"] body[data-section] figure.product-infographic :is(.ig-label,.ig-step-number,.ig-step-label,.ig-pass-label,.ig-status-chip,.ig-state-symbol,.ig-problem-entities,.ig-action-kind) {
  font-family:var(--code-font-ui);
}
html[data-section="code"] body[data-section] figure.product-infographic .ig-heading {
  font-family:var(--code-font-subhead);
  font-size:32px;
  font-weight:700;
  line-height:38px;
}
html[data-section="code"] body[data-section] svg text { font-family:var(--code-font-ui); }
@media(max-width:760px) {
  html[data-section="code"] body[data-section] { font-size:17px; line-height:27px; }
  html[data-section="code"] body[data-section] :is(.prose,.legacy-study,.mcp-page,.opos-chapter) { font-size:17px; line-height:27px; }
  html[data-section="code"] body[data-section][data-page="home"] .project-intro h1 { font-size:36px; line-height:40px; }
}
