/*
 * SCT typography system
 *
 * Inter v4.1 is self-hosted from the official Inter project and licensed
 * under the SIL Open Font License 1.1. Keep text typography routed through
 * these tokens; icon fonts and code/technical monospace are the only
 * intentional exceptions.
 */
:root {
  --sct-font-ui: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --sct-font-heading: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --sct-font-body: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --sct-weight-regular: 400;
  --sct-weight-medium: 500;
  --sct-weight-semibold: 600;
  --sct-weight-bold: 700;

  --sct-text-xs: .75rem;
  --sct-text-sm: .875rem;
  --sct-text-base: 1rem;
  --sct-text-lg: 1.125rem;
  --sct-text-xl: 1.25rem;

  --sct-leading-tight: 1.08;
  --sct-leading-heading: 1.18;
  --sct-leading-body: 1.7;

  /* Map the inherited presentation and content-platform variables once. */
  --_typography---body-font: var(--sct-font-body);
  --_typography---heading-font: var(--sct-font-heading);
  --heading-font--font-family: var(--sct-font-heading);
  --_typography---font-weight--regular: var(--sct-weight-regular);
}

html {
  font-family: var(--sct-font-body);
  font-optical-sizing: auto;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body,
button,
input,
optgroup,
select,
textarea {
  font-family: var(--sct-font-body);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--sct-font-heading);
  font-optical-sizing: auto;
  text-wrap: balance;
}

strong,
b {
  font-weight: var(--sct-weight-bold);
}

button,
input,
select,
textarea {
  font-optical-sizing: auto;
}
