/* Self-hosted Se7en brand fonts (Inter + Cantarell) — see inter/OFL.txt & cantarell/OFL.txt */

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("./inter/Inter-VariableFont_opsz,wght.ttf") format("truetype");
}

@font-face {
  font-family: "Inter";
  font-style: italic;
  font-weight: 100 900;
  font-display: swap;
  src: url("./inter/Inter-Italic-VariableFont_opsz,wght.ttf") format("truetype");
}

@font-face {
  font-family: "Cantarell";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("./cantarell/Cantarell-Regular.ttf") format("truetype");
}

@font-face {
  font-family: "Cantarell";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("./cantarell/Cantarell-Bold.ttf") format("truetype");
}

@font-face {
  font-family: "Cantarell";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("./cantarell/Cantarell-Italic.ttf") format("truetype");
}

@font-face {
  font-family: "Cantarell";
  font-style: italic;
  font-weight: 700;
  font-display: swap;
  src: url("./cantarell/Cantarell-BoldItalic.ttf") format("truetype");
}

:root {
  --se7en-font-body: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --se7en-font-heading: "Cantarell", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --se7en-font-weight-heading: 700;
}

html {
  font-family: var(--se7en-font-body);
  font-feature-settings: "cv02" 1, "cv03" 1, "cv04" 1, "cv11" 1;
  text-rendering: optimizeLegibility;
}

body {
  font-family: var(--se7en-font-body);
}

h1,
h2,
h3,
h4,
.font-heading,
.se7en-heading {
  font-family: var(--se7en-font-heading);
  font-weight: var(--se7en-font-weight-heading);
  font-synthesis: none;
}
