@font-face {
  font-family: "Fredoka";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../assets/fonts/fredoka-latin-600.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: "Fredoka";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../assets/fonts/fredoka-latin-700.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: "Nunito";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../assets/fonts/nunito-latin-600.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: "Nunito";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../assets/fonts/nunito-latin-700.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: "Nunito";
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("../assets/fonts/nunito-latin-800.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;
}

:root {
  --color-primary: #63D313;
  --color-primary-hover: #3CBD05;
  --color-primary-dark: #157A00;
  --color-on-primary: #2E3A45;
  --color-leaf: #299F00;
  --color-coral: #D44836;
  /* Darker coral for text on --color-coral-surface. 82% brand coral, 18% black: about 5.2:1. */
  --color-coral-text: color-mix(in srgb, var(--color-coral) 82%, #000000);
  --color-coral-surface: color-mix(in srgb, var(--color-coral) 12%, #ffffff);
  --color-gold: #F8D017;
  --color-gold-outline: #A24A14;
  --color-sky: #1393F3;
  --color-progress: #0A68D6;
  --color-progress-hover: #0857B5;
  --color-mint: #22C55E;
  --color-success-text: #176A49;
  --color-success-surface: #EAF8E3;
  --color-success-edge: #1A9E52;
  --color-retry-surface: #FFF4E0;
  --color-retry-text: #A24A14;
  --color-retry-edge: #F1A016;
  --color-page: #F7FFF4;
  --color-surface: #FFFFFF;
  --color-question-surface: #EAF8E3;
  --color-progress-surface: #EAF4FF;
  --color-answer-surface: #F7FFF4;
  --color-answer-border: #DDE7EF;
  --color-celebrate: #FFF6D8;
  --color-text: #2E3A45;
  --color-text-muted: #5E6C7A;

  --font-display: "Fredoka", "Arial Rounded MT Bold", system-ui, sans-serif;
  --font-body: "Nunito", system-ui, sans-serif;

  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;

  --radius-card: 28px;
  --radius-question: 24px;
  --radius-answer: 20px;
  --radius-pill: 999px;

  --shadow-shell: 0 7px 0 #C5D3DE;
  --shadow-answer: 0 5px 0 #C5D3DE;
  --shadow-answer-pressed: 0 1px 0 #C5D3DE;
  --shadow-correct: 0 5px 0 var(--color-success-edge);
  --shadow-retry: 0 5px 0 var(--color-retry-edge);
  --focus-ring: 0 0 0 4px rgba(10, 104, 214, 0.28);
  --shadow-float: 0 20px 34px rgba(46, 58, 69, 0.08);

  --motion-press: 120ms;
  --motion-correct: 280ms;
  --motion-retry: 200ms;
  --motion-progress: 320ms;
  --motion-question: 200ms;
}
