/* Mini Minds Learning House tokens. Palette from the logo; F4 type; C3 corners. */
@font-face { font-family: "Bricolage Grotesque"; font-weight: 700; font-style: normal; font-display: swap; src: url("../fonts/bricolage-grotesque-700.woff2") format("woff2"); }
@font-face { font-family: "Bricolage Grotesque"; font-weight: 800; font-style: normal; font-display: swap; src: url("../fonts/bricolage-grotesque-800.woff2") format("woff2"); }
@font-face { font-family: "Instrument Sans"; font-weight: 400; font-style: normal; font-display: swap; src: url("../fonts/instrument-sans-400.woff2") format("woff2"); }
@font-face { font-family: "Instrument Sans"; font-weight: 600; font-style: normal; font-display: swap; src: url("../fonts/instrument-sans-600.woff2") format("woff2"); }

:root {
  /* Color */
  --color-bg: #fffbf1;
  --color-surface: #ffffff;
  --color-text: #17323a;
  --color-muted: #4d6168;
  --color-border: #e8dec8;
  --color-accent: #0c7a80;
  --color-on-accent: #ffffff;
  --color-focus: #6a3fb5;
  --color-dark: #123a44;
  --color-on-dark: #fff8e6;
  /* Extras for this site */
  --color-sun: #ffd447;
  --color-sun-tint: #fff1c2;
  --color-teal-tint: #e4f4f1;
  --color-leaf: #5ba063;
  --color-purple: #7a4cc2;
  --color-orange: #f89514;
  --color-sky: #4aa8e0;
  --color-grass: #7cc242;
  /* Rainbow from the logo, used as a straight stripe only (never an arch) */
  --rainbow: linear-gradient(90deg, #ef5a4c 0 14.3%, #f89514 0 28.6%, #ffd447 0 42.9%, #7cc242 0 57.2%, #29a1a7 0 71.5%, #4aa8e0 0 85.8%, #8e63d2 0);

  /* Type */
  --font-heading: "Bricolage Grotesque", "Trebuchet MS", system-ui, sans-serif;
  --font-body: "Instrument Sans", system-ui, sans-serif;
  --text-sm: 0.9375rem;
  --text-base: 1.0625rem;
  --text-lg: 1.25rem;
  --text-xl: clamp(1.25rem, 1.1rem + 0.6vw, 1.5rem);
  --text-2xl: clamp(1.5rem, 1.2rem + 1.2vw, 2rem);
  --text-3xl: clamp(1.875rem, 1.4rem + 2vw, 2.75rem);
  --text-4xl: clamp(2.375rem, 1.5rem + 3.6vw, 4.5rem);

  /* Space */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 1rem;
  --space-4: 1.5rem;
  --space-5: 2.5rem;
  --space-section: clamp(3.5rem, 2rem + 6vw, 7rem);
  --gutter: 1.25rem;
  --max-width: 1320px;

  /* Shape */
  --radius-button: 999px;
  --radius-card: 24px;
  --radius-input: 14px;
  --shadow-card: 0 10px 30px rgb(23 50 58 / 0.08);
}

/* Mini Minds palette (from the logo and hero lettering). See build/mini-minds-color-palette.png */
:root {
  --mm-berry: #c2337a;  --mm-berry-tint: #fdeef5;   /* the pink "M" in Mini */
  --mm-grape: #7a4cc2;  --mm-grape-deep: #5b34a0;  --mm-grape-tint: #f2ecfb;
  --mm-sky:   #1f6fb2;  --mm-sky-tint:   #eaf4fc;   /* the blue in "Minds" */
  --mm-leaf:  #7cc242;  --mm-leaf-tint:  #eef8e6;
  --mm-sun:   #ffd447;  --mm-sun-tint:   #fff1c2;
  --mm-teal:  #0c7a80;  --mm-teal-tint:  #e4f4f1;   /* links and small buttons */
  --mm-cocoa: #3d2410;                               /* "Learning House" */
  --mm-plum-night: #2e1f57;                          /* deep background for the waitlist */
  --mm-pink:  #d63f8c;                               /* bright pink icon tile */
  --mm-teal-deep: #09676c;  --mm-teal-ink: #08585d;
  --mm-cream-line: #fff9ee;                          /* cream outline on buttons and bands */
  --mm-sun-shadow: #b8941f;                          /* button shadow on yellow */
  --mm-cocoa-soft: #3a2a0a;
  --mm-white: #ffffff;
}
