/* =========================================================
   Imperigo type (2026-11-22): the site's two typefaces, served
   from this folder and loaded once, for every page.

     Fraunces        page titles: every h1, and anything with .font-display
     IBM Plex Sans   everything else, including form fields and buttons

   base.html links this file last, after the page stylesheets, so the
   rules below answer the few selectors that used to name "DM Sans".
   Nothing in here sets a size or a color.

   Two limits are built into the @font-face rules, so that no other
   stylesheet has to change:

     IBM Plex Sans is offered from 400 to 700. A rule that asks for
     800, 900 or 950 gets 700 (bold), not a black weight.

     Fraunces is offered from 400 to 600. A heading that asks for
     700 to 900 gets 600, the weight of the home page headline.

   To lift a limit, widen the font-weight range on that @font-face:
   the files hold 100 to 700 (Plex) and 100 to 900 (Fraunces).

   The files are the Google Fonts builds, unchanged. See SOURCES.txt
   and the two LICENSE files beside this one.
   ========================================================= */

/* ── Fraunces: optical size follows the font size automatically ── */
@font-face {
  font-family: "Fraunces";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("fraunces-latin-ext-opsz-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
  font-family: "Fraunces";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("fraunces-latin-opsz-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}

/* ── IBM Plex Sans, upright ── */
@font-face {
  font-family: "IBM Plex Sans";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("ibm-plex-sans-latin-ext-wght-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
  font-family: "IBM Plex Sans";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("ibm-plex-sans-latin-wght-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}

/* ── IBM Plex Sans, italic. Not preloaded: a browser fetches these only on a page that shows italic text. ── */
@font-face {
  font-family: "IBM Plex Sans";
  font-style: italic;
  font-weight: 400 700;
  font-display: swap;
  src: url("ibm-plex-sans-latin-ext-wght-italic.woff2") format("woff2");
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
  font-family: "IBM Plex Sans";
  font-style: italic;
  font-weight: 400 700;
  font-display: swap;
  src: url("ibm-plex-sans-latin-wght-italic.woff2") format("woff2");
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}

/* ── The two families, named once ── */
:root {
  --font-text: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-display: "Fraunces", ui-serif, Georgia, "Times New Roman", serif;
}

/* Text. The selectors after `body` are the ones in the bundle that name "DM Sans" today
   (home.css, foundation.css, dashboard.css). They are repeated here so they pick up the new family
   without those files being edited. */
body,
body.foundation-page,
body.dashboard-page,
.imperigo-home,
.font-body {
  font-family: var(--font-text);
}

body {
  font-variant-numeric: tabular-nums;   /* Plex's figures are fixed-width already; this covers the fallback fonts */
}

/* Form fields and buttons use their own font unless told otherwise (Arial on Windows).
   Only the family is inherited here, so every size and weight the site sets on them still applies. */
button,
input,
select,
textarea,
optgroup {
  font-family: inherit;
}

/* Page titles. `h1` covers every page; the rest are the selectors that already asked for Fraunces,
   plus the pricing page's title, which is an h2. */
h1,
.font-display,
.foundation-page .font-display,
.dashboard-page .font-display,
body.org-preview-page .op-title,
body.org-preview-page .op-cta-banner-left h2,
.legal-title,
.pricing-title {
  font-family: var(--font-display);
}

/* ── Footer: the three social icons, drawn inline instead of with the icon font ── */
.footer-social svg {
  display: block;
  width: auto;
  height: 16px;
  fill: currentColor;
}
