/* Small Fig's bundled UI face and wordmark. Source: smallfig-app/public/dm-sans.css. */
@font-face {
  font-family: "DM Sans";
  src: url("/fonts/dm-sans-4.004/DMSans.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 1000;
  font-display: swap;
}

@font-face {
  font-family: "DM Sans";
  src: url("/fonts/dm-sans-4.004/DMSans-Italic.woff2") format("woff2");
  font-style: italic;
  font-weight: 100 1000;
  font-display: swap;
}

:root {
  --font-dm-sans: "DM Sans", ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
}

/* The Bear reference has about 38% visible text height relative to its artwork.
   At 16px per rem, this sets DM Sans's em size to 40% of the artwork height. */
.smallfig-brand-art {
  height: calc(var(--smallfig-art-height) * 1px);
}

.smallfig-wordmark {
  font-family: var(--font-dm-sans);
  font-size: calc(var(--smallfig-art-height) * 0.025rem);
  font-weight: 500;
  line-height: 1;
}
