/* IVY Test, design B on white (order W3, 2026-11-18): the paper is #FFFFFF; ink and greys from the white edition
   (.claude/worktrees/eager-dhawan-58ffb7/website/src/theme.css). Before: warm paper #F9F8F4.
   Every colour on the site comes from this file. The other stylesheets only name a role.
   Greys are warm (hue ~85), never green. See notes/design-b.md. */
:root{
  color-scheme:light;

  /* Paper: the page, and the white sheet laid on it. */
  --page:#ffffff;
  --page-2:#fafaf9;
  --sheet:#ffffff;
  --tint-1:#f5f4f2;
  --tint-2:#ededea;   /* a panel: passages, figures, answer sheets */
  --tint-3:#e4e3e0;
  --tint-4:#d8d7d4;

  /* Ink: type and marks, darkest first. Text never goes lighter than --ink-5. */
  --ink:#161615;
  --ink-2:#292928;
  --ink-3:#40403e;
  --ink-4:#565553;
  --ink-5:#696966;
  --ink-6:#93928f;    /* marks only, never body text */

  /* Rules and hairlines. */
  --rule-1:#b5b4b1;
  --rule-2:#d0cfcc;
  --rule-3:#e3e3e1;
  --rule-4:#f0f0ef;

  /* The flag: orange appears only as a small dot. Never text, borders, bars or fills. */
  --flag:#e4572e;

  /* Section identity: quiet, deep enough to read on paper. */
  --research:#6a499b;
  --student:#2f5da0;
  --educator:#346f46;
  --systems:var(--ink-4);

  /* Names kept from the dark research site, now pointing at roles. */
  --bg:var(--page);
  --surface:var(--tint-1);
  --muted:var(--ink-4);
  --line:var(--rule-2);
  --accent:var(--ink);
  --paper:var(--tint-2);
  --dark:var(--ink);
  --chapter-muted:var(--ink-4);
  --chapter-line:var(--rule-2);
  --chapter-paper:var(--tint-2);
  --chapter-ink:var(--ink);
  --chapter-link:var(--ink-2);
}

/* Wide windows: the design is drawn at 1440 px. Above 1600 px the whole page is scaled so that
   type, gutters and figures keep the share of the window they have at 1440 px (zoom ≈ width / 1440).
   --z repeats the zoom: Chrome multiplies vh by the zoom too, so a height in vh is written as calc(Nvh / var(--z,1)). */
@media (min-width:1600px){html{zoom:1.11;--z:1.11}}
@media (min-width:1720px){html{zoom:1.19;--z:1.19}}
@media (min-width:1840px){html{zoom:1.28;--z:1.28}}
@media (min-width:1960px){html{zoom:1.36;--z:1.36}}
@media (min-width:2080px){html{zoom:1.44;--z:1.44}}
@media (min-width:2200px){html{zoom:1.53;--z:1.53}}
@media (min-width:2320px){html{zoom:1.61;--z:1.61}}
@media (min-width:2440px){html{zoom:1.69;--z:1.69}}
@media (min-width:2560px){html{zoom:1.78;--z:1.78}}
@media (min-width:2680px){html{zoom:1.86;--z:1.86}}
@media (min-width:2800px){html{zoom:1.94;--z:1.94}}
@media (min-width:3000px){html{zoom:2.08;--z:2.08}}
@media (min-width:3200px){html{zoom:2.22;--z:2.22}}
@media (min-width:3600px){html{zoom:2.5;--z:2.5}}
