/* COPIED WITH PROVENANCE — middle-re web
   source snapshot: themiddleco/middle-media@e02fc0c34da665eae6a17add509677060284d7df:design/tokens-light.css (QS-LIGHT 2026-07-06)
   copied: 2026-07-07 · middle-re dialect · local drift through 2026-07-22
   re/AGENTS.md permits local drift */
/* ═══════════════════════════════════════════════════════════════════
   Quiet Signal · tokens 2026-07-06 · LIGHT — the daylight variant
   ─────────────────────────────────────────────────────────────────────
   SAME NAMES, flipped values (the grep law holds: names are the shared
   layer; a surface goes light by swapping THIS file for tokens.css —
   parts.css works unchanged). Born for middle-re's public face; any
   Middle surface may wear it. Dark remains the product's home skin.
   ═══════════════════════════════════════════════════════════════════ */
:root {
  /* ── material — paper, lifted whites ── */
  --s0: #f7f8fa;   /* base / floor */
  --s1: #ffffff;   /* raised — panels, lanes */
  --s2: #f1f3f6;   /* overlay — chips, insets */
  --s3: #e8ecf1;   /* active — selection */

  /* ── structure — achromatic ink ── */
  --lr: 15, 23, 42;
  --l1: rgba(var(--lr), .10);
  --l2: rgba(var(--lr), .16);
  --l3: rgba(var(--lr), .26);
  --wash:  rgba(var(--lr), .035);
  --wash2: rgba(var(--lr), .06);
  --edge: inset 0 1px 0 rgba(255,255,255,.7);
  --ring: 0 0 0 1px rgba(var(--lr), .07);
  --toplight: linear-gradient(180deg, rgba(255,255,255,.6), transparent 30%);

  /* ── text — three tones, ink ── */
  --t1: #14181f;
  --t2: #4a5264;
  --te: #6b7488;   /* [DIAL] darkened from #9aa3b5 — legible engravings/meta on white (WCAG) */

  /* ── accent — deeper ice for white-ground contrast [DIAL] ── */
  --ice: #1873c4;

  /* ── market duo — earned, darkened for paper ── */
  --g:  #177a4f;  --gs: #0c9158;
  --r:  #bb3434;  --rs: #d03d36;

  /* ── ember ── */
  --em: #9a6216;  --ems: #b57a24;

  /* ── faces — [DIAL 2026-07-22] mono dropped JetBrains Mono for a system stack
     (self-hosted launch: ~10 tiny Latin labels don't earn a font download) ── */
  --sans: 'Inter', -apple-system, sans-serif;
  --mono: ui-monospace, 'SF Mono', SFMono-Regular, Menlo, Consolas, monospace;
  --serif: 'Source Serif 4', Georgia, serif;
}
body { font-feature-settings: "tnum" 1, "lnum" 1; font-variant-numeric: tabular-nums lining-nums; }

/* ── self-hosted faces — [DIAL 2026-07-22] Google Fonts dropped for launch (privacy/CSP:
   no third-party fetch). Variable woff2 subsets from fonts.gstatic.com, one file per
   family+script; unicode-range as Google served them. Files: web/assets/fonts/. ── */
@font-face {
  font-family: 'Frank Ruhl Libre';
  font-style: normal;
  font-weight: 500 900;
  font-display: swap;
  src: url('fonts/frank-ruhl-libre-hebrew.woff2') format('woff2');
  unicode-range: U+0307-0308, U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F;
}
@font-face {
  font-family: 'Frank Ruhl Libre';
  font-style: normal;
  font-weight: 500 900;
  font-display: swap;
  src: url('fonts/frank-ruhl-libre-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Heebo';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('fonts/heebo-hebrew.woff2') format('woff2');
  unicode-range: U+0307-0308, U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F;
}
@font-face {
  font-family: 'Heebo';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('fonts/heebo-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
