/* Design tokens shared by the site (mazeroo.com) and the app (play.mazeroo.com).
   Change a colour here and both pick it up. Site-only styles live in app.css,
   app-only styles in app/css/play.css. */
@font-face {
  font-family: 'Archivo Black';
  src: url('../fonts/archivo-black-v2.woff') format('woff');
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: 'DM Sans';
  src: url('../fonts/dm-sans.woff') format('woff');
  font-weight: 100 1000;
  font-display: swap;
}

:root {
  --desk: #e4eaf5;
  --grid: #d3dcee;
  --ink: #1d2b53;
  --ink-soft: #56638a;
  --line: #9aa7c6;        /* slider tracks, progress */
  --line-strong: #7d8bb0; /* control borders, 3.4:1 on white */
  --paper: #fff;
  --crayon: #ffd23f;
  --crayon-deep: #f2b705;
  --focus: #3b6fe0;
  --display: 'Archivo Black', 'Arial Black', system-ui, sans-serif;
  --body: 'DM Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --step--1: 0.875rem;
  --step-0: 1rem;
  --step-1: 1.25rem;
  --step-2: 1.6rem;
  --step-3: 2.1rem;
  color-scheme: light;

  /* added for the app; the site may adopt them over time */
  --danger: #b42318;
  --ink-hover: #2c3f73;
  --paper-hover: #f1f4fb;
  --scrim: rgba(29, 43, 83, .55);
  --trail: #e8590c;       /* the player's path: 3.6:1 on paper, 3.9:1 against walls */
  --wall: var(--ink);
  --easier: #2b8a3e;
  --same: #d9480f;
  --harder: #c92a2a;
  --step--2: 0.75rem;
  --step-4: 2rem;
  --s-1: 4px; --s-2: 8px; --s-3: 12px; --s-4: 16px; --s-6: 24px; --s-8: 32px;
  --r-sm: 10px; --r-md: 12px; --r-lg: 14px; --r-xl: 18px; --r-pill: 999px;
  --shadow-sticker: 6px 6px 0 var(--ink);
  --shadow-sticker-sm: 4px 4px 0 var(--ink);
  --shadow-press: 0 4px 0 var(--ink);
  --dur-press: 80ms; --dur-ui: 150ms; --dur-camera: 200ms; --dur-enter: 350ms;
  --tap: 44px; --tap-kid: 64px; --cell-min: 44px;
}
