/* Hallmark · shape: Bento (/), app screen (/app.html) · genre: playful · theme: custom (colour blocks) · redesign: full
 * hero: Counter (/) · nav: a notch hanging from the top edge · footer: statement · imagery: screenshots 4 (capture) · signature: a wrong answer traced to the sentence that caused it, with corner marks landing on the lecture slides that put it right
 * axes: light/rounded-sans/chromatic-blue · posture: full-palette · contrast: pass · fold: pass · v2.0.0 */
/* Hallmark · pre-emit critique: P4 H5 E4 S5 R3 V5 · weakest: R, five hues at full strength is a lot, so each one keeps a single job and the type stays one face in ink */
/* Hallmark · dismissed 3 · two borders draw the arrow inside a key's bead, not a stripe on a card */
/* Hallmark · answered F4 · the key is this system's one control and only the black key is the main one on a screen */
/* Hallmark · answered F7 · pills and one cell recipe are the material: round blocks of colour that fill the screen */
/* The system for every page: blocks of colour that fill the screen, white cards, round gummy keys, every word in Fredoka.
   Each hue comes as a fill, a washed field and an ink that reads on white, and each has one job everywhere:
   blue = the way (focus, and where to look in the lecture) · yellow = what was said (Rookie's notes, in your words)
   coral = wrong · green = right, done · lilac = thinking, and what Rookie asks.
   Courses are the one place the hues are only colour: each book on the shelf has its own.
   The token names (ice, sand, coral, sage, lilac) are kept from the earlier look so the scripts and data need no change. */
@font-face { font-family: "Fredoka"; font-weight: 300 700; font-stretch: 75% 125%; font-style: normal; font-display: swap; src: url("../fonts/fredoka.woff2") format("woff2"); }
:root {
  color-scheme: light;

  /* Paper, the cards on it, and the cells on a card */
  --color-desk: #f3f4f9;
  --color-card: #fdfdff;
  --color-cell: #eef0f7;
  --color-cell-hover: #e2e6f1;
  --color-foot: rgba(20, 22, 28, 0.26);   /* the step under a key, on any ground */
  --color-shade: rgba(20, 22, 28, 0.14);

  /* Ink: words, the keys, the notch, Rookie's lines */
  --color-ink: #14161c;
  --color-ink-2: #2b2e38;
  --color-text: #14161c;
  --color-text-2: #3b3f4b;
  --color-dim: #5b6170;
  --color-line: rgba(20, 22, 28, 0.12);
  --color-on-ink: #fdfdff;
  --color-on-ink-dim: #c3c7d2;

  /* The hues: a fill, a washed field, and an ink */
  --color-ice: #86bdff;   --color-ice-field: #dcebff;   --color-ice-ink: #1f5bb5;
  --color-sand: #ffd35c;  --color-sand-field: #fff1c7;  --color-sand-ink: #7a5500;
  --color-coral: #ff9480; --color-coral-field: #ffe1da; --color-coral-ink: #b23a22;
  --color-sage: #7fdc9c;  --color-sage-field: #d9f5e1;  --color-sage-ink: #1e7a42;
  --color-lilac: #b9a6ff; --color-lilac-field: #e9e3ff; --color-lilac-ink: #5a3fd0;
  --color-focus: #1f5bb5;

  /* Books: every course its own hue */
  --spine-1: var(--color-ice);   --spine-1-ink: var(--color-ink);
  --spine-2: var(--color-coral); --spine-2-ink: var(--color-ink);
  --spine-3: var(--color-lilac); --spine-3-ink: var(--color-ink);
  --spine-4: var(--color-sand);  --spine-4-ink: var(--color-ink);
  --spine-5: var(--color-sage);  --spine-5-ink: var(--color-ink);
  --spine-edge: var(--color-ink);

  /* Rookie: one flat body colour, one line colour */
  --rk-body: #fdfdff;
  --rk-line: var(--color-ink);
  --rk-eye: #fdfdff;
  --rk-page: #fdfdff;
  --rk-tassel: var(--color-coral);

  /* Type: Fredoka for every word */
  --font-display: "Fredoka", ui-rounded, "SF Pro Rounded", system-ui, sans-serif;
  --font-body: "Fredoka", ui-rounded, "SF Pro Rounded", system-ui, sans-serif;
  --weight-body: 450;
  --weight-strong: 580;
  --display-weight: 650;
  --tracking-display: -0.015em;
  --text-xs: 0.875rem; --text-sm: 0.9375rem; --text-md: 1.0625rem; --text-lg: 1.25rem; --text-xl: 1.5625rem; --text-2xl: 1.953rem; --text-3xl: 2.441rem;
  --text-display-s: clamp(2.5rem, 4.4vw + 0.5rem, 4.5rem); --text-display: clamp(3rem, 6.2vw + 0.75rem, 6.75rem);
  --text-section: clamp(2.125rem, 3vw + 1rem, 3.75rem); --text-title: clamp(1.3125rem, 0.85vw + 0.9rem, 1.75rem); --text-lead: clamp(1.1875rem, 0.45vw + 1.05rem, 1.5rem);

  /* Space, shape, motion */
  --space-3xs: 2px; --space-2xs: 4px; --space-xs: 8px; --space-sm: 12px; --space-md: 16px; --space-lg: 24px; --space-xl: 40px; --space-2xl: 64px; --space-3xl: 96px; --space-4xl: 144px;
  --radius-win: 36px; --radius-pane: 28px; --radius-cell: 18px; --radius-chip: 23px; --radius-pill: 999px; --radius-book: 14px;
  --rule-hair: 1px; --rule-ring: 3px; --rule-book: 0px;
  --key-h: 52px; --key-foot: 6px;
  --container: 1600px; --gutter: 20px; --gap-blocks: 16px; --gap-columns: 16px; --measure: 62ch;
  --nav-h: 56px; --app-w: 1440px;
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1); --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1); --ease-pop: cubic-bezier(0.3, 1.45, 0.5, 1);
  --dur-press: 90ms; --dur-micro: 120ms; --dur-short: 220ms; --dur-long: 420ms;
  --z-base: 1; --z-raised: 10; --z-dock: 100; --z-sticky: 200; --z-sticky-nav: 300; --z-modal: 400; --z-toast: 500;
}
@media (max-width: 60rem) { :root { --gutter: 12px; --gap-blocks: 12px; --gap-columns: 12px; --radius-win: 30px; --radius-pane: 24px; } }
@media (max-width: 40rem) { :root { --gutter: 8px; --gap-blocks: 8px; --gap-columns: 8px; --radius-win: 26px; --radius-pane: 20px; } }
