/* ==========================================================================
   Typography — beyond the reboot's headings and paragraphs:
   display headings, lead, small print, abbreviations, blockquotes, lists.
   ========================================================================== */

/* Display headings — for page heroes and landing sections. They scale with the screen. */
.display-sm, .display-md, .display-lg, .display-xl {
  margin-top: 0;
  margin-bottom: .5rem;
  font-weight: var(--mo-font-weight-bold);
  line-height: 1.05;
  letter-spacing: -.03em;
  text-wrap: balance;
}
.display-sm { font-size: clamp(1.875rem, 1.5rem + 1.6vw, 2.5rem); }   /* 30 → 40px */
.display-md { font-size: clamp(2.25rem, 1.7rem + 2.4vw, 3.25rem); }   /* 36 → 52px */
.display-lg { font-size: clamp(2.5rem, 1.8rem + 3.2vw, 4rem); }      /* 40 → 64px */
.display-xl { font-size: clamp(2.75rem, 1.8rem + 4.4vw, 5rem); }      /* 44 → 80px */

/* Lead — the paragraph under a title */
.lead { font-size: clamp(1.0625rem, 1rem + .3vw, 1.1875rem); line-height: 1.6; color: var(--mo-fg-2); }

.small { font-size: .875em; }
abbr[title] { text-decoration: underline dotted; text-underline-offset: .2em; cursor: help; }
.initialism { font-size: .875em; text-transform: uppercase; }

/* Blockquote */
.blockquote {
  margin: 0 0 1rem;
  padding-inline-start: 1rem;
  font-size: 1.0625rem;
  line-height: 1.6;
  border-inline-start: 3px solid color-mix(in oklab, var(--mo-fg-body) 18%, transparent);
}
.blockquote > :last-child { margin-bottom: 0; }
.blockquote-footer { margin-top: .5rem; font-size: .875rem; color: var(--mo-fg-3); }
.blockquote-footer::before { content: "— "; }
.blockquote-footer cite { font-style: normal; }

/* Lists */
.list-unstyled { padding-inline-start: 0; list-style: none; }
.list-inline { display: flex; flex-wrap: wrap; gap: .25rem 1rem; padding-inline-start: 0; list-style: none; }
/* Check lists — features, plans, requirements. An item with .is-off gets a cross and fades. */
.list-check { padding-inline-start: 0; list-style: none; }
.list-check > li { position: relative; padding-inline-start: 1.75rem; margin-bottom: .5rem; }
.list-check > li::before {
  position: absolute;
  inset-inline-start: 0;
  top: .15em;
  width: 1.125rem;
  height: 1.125rem;
  content: "";
  background: var(--mo-theme-accent, var(--mo-green-fg));
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.25' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / contain no-repeat;
}
.list-check:not([class*="theme-"]) > li::before { background: var(--mo-green-fg); }
.list-check > li.is-off { color: var(--mo-fg-3); }
.list-check > li.is-off::before {
  background: var(--mo-fg-3);
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.25' stroke-linecap='round'%3E%3Cpath d='M18 6 6 18M6 6l12 12'/%3E%3C/svg%3E");
}
