/* Quicksand is served from this site (SIL Open Font License, assets/fonts/OFL.txt): no request goes to Google. */
@font-face { font-family: "Quicksand"; font-weight: 500; font-display: swap; src: url("assets/fonts/quicksand-Medium.woff") format("woff"); }
@font-face { font-family: "Quicksand"; font-weight: 600; font-display: swap; src: url("assets/fonts/quicksand-SemiBold.woff") format("woff"); }
@font-face { font-family: "Quicksand"; font-weight: 700; font-display: swap; src: url("assets/fonts/quicksand-Bold.woff") format("woff"); }
/* KidoDino mini design system – v1, 15 Nov 2026.
   One source of truth for the website and the games. Every page uses only these tokens:
   no new colour, size, space, radius or shadow is invented inside a page.

   COLOUR – every brand colour has three tones:
     -soft  large fields and backgrounds (a game field, a site band, a card wash)
     base   the colour people know: buttons, tags, icons, middle-sized shapes
     -deep  text on a soft field, outlines, pressed states
   Text is always --ink (or white on --grape / --green-deep). Never text on a -soft of the same colour below 4.5:1.

   TYPE – one family (Quicksand), five styles: display, h2, h3, body, small. Labels are sentence case, no letter-spacing.
   SPACE – 4-based scale: --s1 4 · --s2 8 · --s3 12 · --s4 16 · --s5 24 · --s6 32 · --s7 48 · --s8 64 · --s9 96
   SHAPE – radius 12 (small), 20 (cards), 999 (pills, round buttons). Outlines 3px ink on interactive kid elements only.
   DEPTH – one soft shadow (--shadow). No hard offset shadows, no double shadows.                                        */
:root {
  /* brand frame (brand book) */
  --ink: #2B2D5C;
  --paper: #FFFDF6;
  --white: #FFFFFF;

  --grape-soft: #EEE8FA;  --grape: #6040B0;  --grape-deep: #46308A;
  --sun-soft:   #FFF3D1;  --sun:   #FFC73A;  --sun-deep:   #C98A00;
  --green-soft: #EDF3DF;  --green: #A3C26B;  --green-deep: #4F7F3E;   /* Kido's greens; --green-deep = primary button */

  /* volume colours (one per book) */
  --azure-soft: #E2F4FE;  --azure: #02A9F7;  --azure-deep: #0773A8;   /* book 1 */
  --berry-soft: #FCE9F1;  --berry: #E96FA3;  --berry-deep: #A8406E;   /* book 2 */
  --teal-soft:  #DDF4F5;  --teal:  #00B4C0;  --teal-deep:  #00737B;   /* book 3 */
  --tangerine-soft: #FDEADF; --tangerine: #ED7940; --tangerine-deep: #A9491B;
  --orchid-soft: #F8E6F6; --orchid: #D476CD; --orchid-deep: #94408E;

  --muted: #565884;          /* secondary text on paper, 6.4:1 */
  --line: #E4DFF0;           /* hairlines on paper */

  /* type */
  --font: "Quicksand", "Varela Round", "Nunito", system-ui, sans-serif;
  --t-display: 700 clamp(2.25rem, 1.6rem + 2.6vw, 3.5rem)/1.08 var(--font);
  --t-h2:      700 clamp(1.75rem, 1.4rem + 1.4vw, 2.5rem)/1.15 var(--font);
  --t-h3:      700 1.375rem/1.25 var(--font);
  --t-body:    500 1.125rem/1.6 var(--font);
  --t-small:   500 0.9375rem/1.5 var(--font);
  --t-label:   700 1rem/1.2 var(--font);

  /* space */
  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 24px; --s6: 32px; --s7: 48px; --s8: 64px; --s9: 96px;
  --section: clamp(56px, 8vw, 96px);
  --wrap: 1120px;

  /* shape and depth */
  --r-sm: 12px; --r-md: 20px; --r-pill: 999px;
  --outline: 3px solid var(--ink);
  --shadow: 0 6px 18px rgb(43 45 92 / 0.12);
  --shadow-lift: 0 10px 26px rgb(43 45 92 / 0.18);

  /* layers – the only z-index values allowed */
  --z-raised: 2; --z-sticky: 10; --z-float: 40; --z-hint: 45; --z-overlay: 50; --z-modal: 80; --z-panel: 85; --z-skip: 90;

  /* motion */
  --ease: cubic-bezier(.2, .9, .3, 1.2);
}
