/* Academy-wide typography contract. Keep layout, sizes, artwork and behavior
   in their existing component stylesheets; this layer owns font families. */
@font-face {
  font-family: "Academy Inter";
  src: url("/fonts/inter/InterVariable.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: "Academy Inter";
  src: url("/fonts/inter/InterVariable-Italic.woff2") format("woff2");
  font-style: italic;
  font-weight: 100 900;
  font-display: swap;
}
:root {
  --academy-font: "Academy Inter", "Segoe UI", system-ui, sans-serif;
  /* Legacy components consume these aliases, including generated editions. */
  --font: var(--academy-font) !important;
  --font-body: var(--academy-font) !important;
  --serif: var(--academy-font) !important;
}
html, body,
body :where(h1,h2,h3,h4,h5,h6,p,a,span,strong,b,em,i,small,label,legend,
  summary,figcaption,blockquote,li,dt,dd,td,th,caption,div,section,header,
  footer,aside,nav,article,main,dialog,output,time,button,input,select,textarea) {
  /* Beats the font shorthand in older component and edition stylesheets. */
  font-family: var(--academy-font) !important;
  font-optical-sizing: auto;
}
h1,h2,h3,h4,h5,h6 { font-weight: 650 !important; }
h1 { letter-spacing: -.035em; }
h2,h3 { letter-spacing: -.025em; }
h4,h5,h6 { letter-spacing: -.01em; }
/* Keep technical samples and timestamps aligned when a monospace is requested. */
code,pre,kbd,samp,code *,pre *,kbd *,samp * {
  font-family: ui-monospace, "Cascadia Code", Consolas, monospace !important;
}
