@font-face {
  font-family: "Inter Variable";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/fonts/inter-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;
}

@font-face {
  font-family: "Inter Variable";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/fonts/inter-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: "Inter Variable";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/fonts/inter-vietnamese-wght-normal.woff2") format("woff2");
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}

:root {
  --ink: #14171e;
  --ink-2: #1d1d1f;
  --paper: #f6f1e7;
  --paper-2: #fbfaf6;
  --peach: #f4e4ce;
  --accent: #ff5c5c;
  --amber: #e7a34a;
  --cream: #f3e6d0;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Inter Variable", Inter, system-ui, sans-serif;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --nav-h: 48px;

  /* Surfaces and text that flip with the theme. --ink and --paper stay fixed for the always-dark bands. */
  --surface: #f6f1e7;
  --surface-2: #fbfaf6;
  --surface-warm: #f4e4ce;
  --text: #14171e;
  --text-2: #1d1d1f;
  --muted: #68686d;
  --line: rgba(20, 23, 30, 0.12);
  --line-strong: rgba(20, 23, 30, 0.28);
  --chip: rgba(255, 255, 255, 0.6);
  --glow: rgba(244, 228, 206, 1);
  --glow-soft: rgba(244, 228, 206, 0.55);
  --glow-none: rgba(244, 228, 206, 0);
  --nav-glass: rgba(246, 241, 231, 0.72);
  --nav-solid: rgba(246, 241, 231, 0.97);
  --contrast: #14171e;
  --contrast-hover: #2a2e38;
  --on-contrast: #f6f1e7;
  color-scheme: light;
}

/* SF has no mark anchors for tone marks stacked on dot-below letters (ọ̀, ẹ́, ị̀), so Inter leads here. */
:root:lang(yo),
:root:lang(ig) {
  --font: "Inter Variable", Inter, -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --surface: #0c0d11;
    --surface-2: #15171d;
    --surface-warm: #1d1812;
    --text: #f3efe6;
    --text-2: rgba(243, 239, 230, 0.86);
    --muted: #a39c90;
    --line: rgba(255, 255, 255, 0.12);
    --line-strong: rgba(255, 255, 255, 0.3);
    --chip: rgba(255, 255, 255, 0.07);
    --glow: rgba(231, 163, 74, 0.26);
    --glow-soft: rgba(231, 163, 74, 0.1);
    --glow-none: rgba(231, 163, 74, 0);
    --nav-glass: rgba(12, 13, 17, 0.72);
    --nav-solid: rgba(12, 13, 17, 0.97);
    --contrast: #f6f1e7;
    --contrast-hover: #ffffff;
    --on-contrast: #14171e;
    color-scheme: dark;
  }
}

:root[data-theme="dark"] {
  --surface: #0c0d11;
  --surface-2: #15171d;
  --surface-warm: #1d1812;
  --text: #f3efe6;
  --text-2: rgba(243, 239, 230, 0.86);
  --muted: #a39c90;
  --line: rgba(255, 255, 255, 0.12);
  --line-strong: rgba(255, 255, 255, 0.3);
  --chip: rgba(255, 255, 255, 0.07);
  --glow: rgba(231, 163, 74, 0.26);
  --glow-soft: rgba(231, 163, 74, 0.1);
  --glow-none: rgba(231, 163, 74, 0);
  --nav-glass: rgba(12, 13, 17, 0.72);
  --nav-solid: rgba(12, 13, 17, 0.97);
  --contrast: #f6f1e7;
  --contrast-hover: #ffffff;
  --on-contrast: #14171e;
  color-scheme: dark;
}
