/* values.io design tokens in Duolingo's design system.
   Copied 1:1 from duolingo.com (read from its live scripts and page on 2026-10-21): their colours (the ones the site uses;
   their full list of 301 is spec/duo-colors.json), their type scale and their button radius. These are Light, the
   default; dark.css gives the same names other values for the dark themes (Settings → Theme).
   Their font is "Duolingo Sans" (made by Bezier for Duolingo only; its licence forbids anyone else using it), so Signika
   stands in: the closest free match to its letters (tested side by side against their real card and button text). Signika
   is under the SIL Open Font License (fonts/OFL.txt) and is hosted here. Duolingo's bold is weight 700; Signika matches it at
   600, so the bold faces below are pinned to 600: every "font-weight: 700" on every page draws as Signika 600. */

/* Signika, hosted here. Light faces 300-500 draw as asked; bold requests (600-900) all draw at 600, Duolingo Sans 700's match. */
@font-face { font-family: 'values Sans'; font-style: normal; font-weight: 300 500; font-display: swap;
  src: url('fonts/signika-latin~056a41b1.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: 'values Sans'; font-style: normal; font-weight: 300 500; font-display: swap;
  src: url('fonts/signika-latin-ext~0b285548.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: 'values Sans'; font-style: normal; font-weight: 600; font-display: swap;
  src: url('fonts/signika-latin~056a41b1.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: 'values Sans'; font-style: normal; font-weight: 600; font-display: swap;
  src: url('fonts/signika-latin-ext~0b285548.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; }

:root {
  color-scheme: light;

  /* ---- core palette (light) ---- */
  --color-bee: #ffc800; --color-bee-rgb: 255, 200, 0;
  --color-bee-always-dark: #ffc700; --color-bee-always-dark-rgb: 255, 199, 0;
  --color-beetle: #ce82ff; --color-beetle-rgb: 206, 130, 255;
  --color-black: #000000; --color-black-rgb: 0, 0, 0;
  --color-blue-jay: #84d8ff; --color-blue-jay-rgb: 132, 216, 255;
  --color-butterfly: #6f4ea1; --color-butterfly-rgb: 111, 78, 161;
  --color-camel: #e7a601; --color-camel-rgb: 231, 166, 1;
  --color-canary: #fff5d3; --color-canary-rgb: 255, 245, 211;
  --color-cardinal: #ff4b4b; --color-cardinal-rgb: 255, 75, 75;
  --color-dragon: #cc348d; --color-dragon-rgb: 204, 52, 141;
  --color-eel: #4b4b4b; --color-eel-rgb: 75, 75, 75;
  --color-fire-ant: #ea2b2b; --color-fire-ant-rgb: 234, 43, 43;
  --color-flamingo: #ffb2b2; --color-flamingo-rgb: 255, 178, 178;
  --color-fox: #ff9600; --color-fox-rgb: 255, 150, 0;
  --color-grizzly: #bb7149; --color-grizzly-rgb: 187, 113, 73;
  --color-guinea-pig: #cd7900; --color-guinea-pig-rgb: 205, 121, 0;
  --color-hare: #afafaf; --color-hare-rgb: 175, 175, 175;
  --color-hare-always-light: #afafaf; --color-hare-always-light-rgb: 175, 175, 175;
  --color-humpback: #2b70c9; --color-humpback-rgb: 43, 112, 201;
  --color-ice: #e1fdff; --color-ice-rgb: 225, 253, 255;
  --color-iguana: #ddf4ff; --color-iguana-rgb: 221, 244, 255;
  --color-legendary-foreground: #8c4103; --color-legendary-foreground-rgb: 140, 65, 3;
  --color-macaw: #1cb0f6; --color-macaw-rgb: 28, 176, 246;
  --color-monkey: #e5a259; --color-monkey-rgb: 229, 162, 89;
  --color-narwhal: #1453a3; --color-narwhal-rgb: 20, 83, 163;
  --color-owl: #58cc02; --color-owl-rgb: 88, 204, 2;
  --color-peacock: #00cd9c; --color-peacock-rgb: 0, 205, 156;
  --color-polar: #f7f7f7; --color-polar-rgb: 247, 247, 247;
  --color-sea-sponge: #d7ffb8; --color-sea-sponge-rgb: 215, 255, 184;
  --color-snow: #ffffff; --color-snow-rgb: 255, 255, 255;
  --color-snow-always-light: #ffffff; --color-snow-always-light-rgb: 255, 255, 255;
  --color-starfish: #ff86d0; --color-starfish-rgb: 255, 134, 208;
  --color-swan: #e5e5e5; --color-swan-rgb: 229, 229, 229;
  --color-swan-always-light: #e5e5e5; --color-swan-always-light-rgb: 229, 229, 229;
  --color-tree-frog: #58a700; --color-tree-frog-rgb: 88, 167, 0;
  --color-turtle: #a5ed6e; --color-turtle-rgb: 165, 237, 110;
  --color-walking-fish: #ffdfe0; --color-walking-fish-rgb: 255, 223, 224;
  --color-whale: #1899d6; --color-whale-rgb: 24, 153, 214;
  --color-wolf: #777777; --color-wolf-rgb: 119, 119, 119;

  /* ---- the rest of their colours (light) ---- */
  --color-black-text: #3c3c3c; --color-black-text-rgb: 60, 60, 60;
  --color-blue-space: #0b3e71; --color-blue-space-rgb: 11, 62, 113;
  --color-gold: #faa919; --color-gold-rgb: 250, 169, 25;
  --color-diamond: #38d0d0; --color-diamond-rgb: 56, 208, 208;
  --color-facebook: #3b5998; --color-facebook-rgb: 59, 89, 152;
  --color-google: #4285f4; --color-google-rgb: 66, 133, 244;
  --color-twitter: #1da1f2; --color-twitter-rgb: 29, 161, 242;
  --color-streak-panel-frozen-flair-background: #84d8ff; --color-streak-panel-frozen-flair-background-rgb: 132, 216, 255;
  --color-cardinal-always-light: #ff4b4b; --color-cardinal-always-light-rgb: 255, 75, 75;
  --color-cowbird: #ae6802; --color-cowbird-rgb: 174, 104, 2;
  --color-eel-always-light: #4b4b4b; --color-eel-always-light-rgb: 75, 75, 75;
  --color-fox-always-light: #ff9600; --color-fox-always-light-rgb: 255, 150, 0;
  --color-guinea-pig-always-light: #cd7900; --color-guinea-pig-always-light-rgb: 205, 121, 0;
  --color-iguana-always-light: #ddf4ff; --color-iguana-always-light-rgb: 221, 244, 255;
  --color-macaw-always-light: #1cb0f6; --color-macaw-always-light-rgb: 28, 176, 246;
  --color-owl-always-light: #58cc02; --color-owl-always-light-rgb: 88, 204, 2;
  --color-tree-frog-always-light: #58a700; --color-tree-frog-always-light-rgb: 88, 167, 0;

  --color-eddy-radio: #b33535; --color-eddy-radio-rgb: 179, 53, 53;

  --color-super-gradient-green-variant1: #26ff55; --color-super-gradient-green-variant1-rgb: 38, 255, 85;
  --color-super-gradient-blue-variant1: #268bff; --color-super-gradient-blue-variant1-rgb: 38, 139, 255;
  --color-super-gradient-pink-variant1: #fc55ff; --color-super-gradient-pink-variant1-rgb: 252, 85, 255;

  /* ---- type: family ---- */
  --font: 'values Sans', 'Signika', system-ui, -apple-system, 'Segoe UI', sans-serif;

  /* ---- type scale, exactly theirs (html 16px; body text 17px) ---- */
  --text-pageTitle-size-large: 2.5rem;  --text-pageTitle-line-height-large: 2.75rem; --text-pageTitle-weight-large: 700;
  --text-pageTitle-size-small: 2rem;    --text-pageTitle-line-height-small: 2.25rem; --text-pageTitle-weight-small: 700;
  --text-heading-size-large: 1.75rem;   --text-heading-line-height-large: 2rem;      --text-heading-weight-large: 700;
  --text-heading-size-medium: 1.5rem;   --text-heading-line-height-medium: 2rem;     --text-heading-weight-medium: 700;
  --text-heading-size-small: 1.25rem;   --text-heading-line-height-small: 1.5rem;    --text-heading-weight-small: 700;
  --text-heading-size-xsmall: 1rem;     --text-heading-line-height-xsmall: 1.25rem;  --text-heading-weight-xsmall: 700;
  --text-body-size: 1.25rem;            --text-body-line-height: 1.75rem;            --text-body-weight: 400; --text-body-weight-bold: 700;
  --text-body-size-spacious: 1.25rem;   --text-body-line-height-spacious: 2rem;
  --text-caption-size: 1rem;            --text-caption-line-height: 1.5rem;          --text-caption-weight: 400; --text-caption-weight-bold: 700;
  --text-label-size-large: 1.5rem;      --text-label-line-height-large: 1.5rem;      --text-label-weight-large: 700;
  --text-label-size-medium: 1rem;       --text-label-line-height-medium: 1rem;       --text-label-weight-medium: 700;
  --text-label-casing: uppercase;       --text-label-letter-spacing: 0.04em;
  --text-base-size: 17px;

  /* ---- words and icons on a bright face (the green, blue and red buttons, check marks, picked marks): white in Light
     (Duolingo's own), the theme's own dark ink in the dark themes (dark.css: white on their bright faces was 1.8-2.6:1).
     And the green's lip, the darker edge under a green face ---- */
  --color-on-bright: var(--color-snow-always-light);
  --color-owl-lip: var(--color-tree-frog);

  /* ---- the Trades band (pages/trading.css "the band"): its face, its lip, its flames, the title on it. Light: the brand
     green with a deep green title (4.5:1); each dark theme gives its own (dark.css) ---- */
  --color-band: var(--color-owl-always-light);
  --color-band-lip: var(--color-tree-frog-always-light);
  --color-band-flame: color-mix(in oklab, var(--color-owl-always-light) 84%, var(--color-snow-always-light));
  --color-band-title: color-mix(in oklab, var(--color-tree-frog-always-light) 46%, black);

  /* ---- shape ---- */
  --web-ui_button-border-radius: 16px;
}
