/* Discrete responsive sizes for display typography. */

:root {
  --type-16-16-20: 16px;
  --type-20-20-24: 20px;
  --type-20-20-32: 20px;
  --type-24-24-32: 24px;
  --type-24-24-40: 24px;
  --type-24-24-48: 24px;
  --type-32-32-40: 32px;
  --type-32-32-48: 32px;
  --type-32-32-56: 32px;
  --type-32-40-56: 32px;
  --type-40-40-48: 40px;
  --type-40-40-56: 40px;
  --type-40-48-56: 40px;
  --type-40-56-56: 40px;
  --type-48-48-56: 48px;
  --type-48-56-56: 48px;
}

@media (min-width: 700px) {
:root {
  --type-32-40-56: 40px;
  --type-40-48-56: 48px;
  --type-40-56-56: 48px;
  --type-48-56-56: 48px;
}
}

@media (min-width: 1024px) {
:root {
  --type-16-16-20: 20px;
  --type-20-20-24: 24px;
  --type-20-20-32: 32px;
  --type-24-24-32: 32px;
  --type-24-24-40: 40px;
  --type-24-24-48: 48px;
  --type-32-32-40: 40px;
  --type-32-32-48: 48px;
  --type-32-32-56: 48px;
  --type-32-40-56: 48px;
  --type-40-40-48: 48px;
  --type-40-40-56: 48px;
  --type-40-48-56: 48px;
  --type-48-48-56: 48px;
}
}

:where(small, sub, sup, label, input, select, button, textarea, pre, code, kbd, samp) { font-size: inherit; }
:where(h1) { font-size: 32px; }
:where(h2) { font-size: 24px; }
:where(h3) { font-size: 20px; }
:where(h4, h5, h6) { font-size: 16px; }
