@font-face {
  font-family: "Hanken Grotesk";
  src: url("../fonts/hanken.woff") format("woff");
  font-weight: 100 900;
  font-display: swap;
}

@font-face {
  font-family: "Noto Sans JP";
  src: url("../fonts/japanese.woff") format("woff");
  font-weight: 400 900;
  font-display: swap;
}

/* Static light instance only for the Memory card glyph. */
@font-face {
  font-family: "Noto Sans JP";
  src: url("../fonts/japanese-light.woff") format("woff");
  font-weight: 300;
  font-display: swap;
}

:root {
  color-scheme: light;

  --site-canvas: var(--color-canvas);
  --site-ink: var(--color-ink);
  --site-paper: var(--color-paper);
  --site-text: var(--site-ink);
  --site-text-muted: var(--color-muted);
  --site-outline: var(--color-hairline);
  --site-surface: var(--color-surface);
  --site-action: var(--color-accent);
  --site-metric: var(--color-accent);
  --site-accent: var(--site-text);

  /* Mustard stays reserved for the app voice notice; the site uses the accent. */
  --site-highlight: var(--color-accent);
  --site-positive: var(--color-accent);
  --site-button: var(--color-accent);
  --site-button-edge: var(--color-accent-edge);
  --site-on-button: var(--color-paper);
  --site-art: var(--site-surface);
  --site-inverse-outline: var(--color-outline);
  --site-guide: var(--color-hairline);
  --site-quiet-glyph: var(--color-outline);
  --site-band: var(--color-accent);
  --site-on-band: var(--color-paper);

  /* Translucent ink and paper owned by the web theme (alpha over the tokens). */
  --site-shadow: #2e2b2615;
  --site-shadow-soft: #2e2b264d;
  --site-shadow-medium: #2e2b2659;
  --site-shadow-strong: #2e2b2666;
  --site-scrim: #2e2b2673;
  --site-on-band-soft: #fffefae6;
  --site-on-band-muted: #fffefad6;
  --site-on-band-faint: #fffefa8c;
  --site-band-line: #fffefa38;
  --site-band-rule: #fffefa4d;
  --site-band-ring: #fffefa24;
  --site-band-panel: #364d2273;
  --site-band-panel-line: #fffefa47;
  --site-band-next-1: #fffefabf;
  --site-band-next-2: #fffefa80;
  --site-band-next-3: #fffefa4d;

  /* The app's forest (GuidedTreeColors): ink, Hoki green, outline, achievement. */
  --site-forest-screen: var(--color-canvas);
  --site-forest-ink: var(--color-ink);
  --site-forest-green: var(--color-accent);
  --site-forest-green-edge: var(--color-accent-edge);
  --site-forest-ghost: var(--color-outline);
  --site-forest-bloom: var(--color-achievement);
  --site-forest-band: var(--color-surface);
  --site-forest-track: var(--color-hairline);
  --site-forest-dots: #8a8274cc;
  --site-forest-dash: #8a827499;
  --site-forest-plaque-line: #8a827440;

  /* The app's tracing screen (v2c P07): card and canvas lines, the faint
     stroke guide and the writing grid (AppComponentTheme). */
  --site-write-card-line: #8a827442;
  --site-write-canvas-line: #8a82744d;
  --site-write-guide: #ddd6cacc;
  --site-write-diagonal: #ddd6cabf;
  --site-write-centre: #8a827480;
  --site-write-shadow: #2e2b261f;
  --site-write-shadow-near: #2e2b260f;
  --site-hoki-shadow: #2e2b2624;
  --site-font-system: system-ui, sans-serif;

  /* Luminance for SVG masks, not a painted color. */
  --site-mask-show: #ffffff;
  --site-content-width: 760px;
  --site-wide-width: 1200px;
  --site-font-body: "Hanken Grotesk", system-ui, sans-serif;
  --site-font-japanese: "Noto Sans JP", sans-serif;
  --site-font-display: var(--site-font-body);
}
