/* fonts: https://fonts.googleapis.com/css2?family=Google+Sans:wght@400..700&family=Fredoka:wght@500;600;700&display=swap */
/* name: נומי (Nomi): the monster that eats a word one sound per bite */
/* mood: Cheeky, brave, polished: a soft-3D lime monster takes a word apart bite by bite (one sound per bite) instead of swallowing it whole (guessing). White page, blue to act, monster lime for the fun bits. */
/* mode: pair: blue lit buttons (action) + monster-lime pair (stickers, the marked word, one lime band); white surface; card style ring; brand add-on brand.css (bitten tiles, Nomi stage, crumbs) */
/* Theme "mono": black and white with depth, in two modes (operator 2026-11-12: "i would take both of them i,g light and dark
   mode", with a switch in the navbar). Light: white base, white cards lit from above (hairline, pale ring, darker top lip),
   inner boxes raised, ink buttons lit. Dark: the approved black with depth (visual.md 1f). One black band at the very end in
   light mode (a light band in dark mode). Studios, tools, serious guides. Built on the measured references
   (knowledge/sources/design-framer-refs.md, design-nadlanitor.md) and colour lab rounds 1-3 (visual.md 1, 1f, 1g, 1h).
   A brand adds colour on action by setting --accent, --accent-hover, --on-accent and --panel-to in BOTH blocks, and switches
   the button line to "btn: lit" (an accent face); see design.md 2. */
/* rhythm: quiet */
/* btn: lit */
/* The ruled page frame (rails beside the content, seams between sections, corner dots) is dropped, 2026-11-14 site v12.1:
   operator "on this design we can drop the vertical and horizontal lines that run through the enterity of the page"
   (design.md "Playful brands drop the ruled frame"). Restore with the theme line  frame: ruled  in a comment. */
/* motion: words */
/* depth: lit */
/* panel: counter */
/* linework: v2 */
/* entrance: rise */
/* reveals: quick */
/* fill: depth */
/* pulse: ripple */
/* modes: switch */
:root{
  --font-word:"Fredoka",system-ui,sans-serif; --lime-ink:#3F6B00; --lime-soft:#F1FCDD;
  --on-pair:#0A0A0A;
  --pair:#B5F745;
  --bg:#FFFFFF; --bg-alt:#F6F7FB; --bg-tint:#F9FAFD; --surface:#FFFFFF; --bg-invert:#0D0F15;
  --text:#10141B; --text-2:#555B66; --text-3:#848994;
  --on-invert:#FFFFFF; --on-invert-2:#B9BDC7;
  --accent:#2760F5; --accent-hover:#164CE0; --on-accent:#FFFFFF; --accent-dark:#B5F745; --on-accent-dark:#0A0A0A; /* accent on a dark document page (doc.css) */
  --line:#E3E6ED; --line-strong:#D0D4DC;
  --card-ring:inset 0 0 0 1px #E3E6ED,0 1px 2px rgba(16,20,27,.04),0 8px 24px -12px rgba(16,20,27,.10); --bg-card-tone:#F6F7FB;
  --card-fill:#FFFFFF; --card-top:#FFFFFF;
  --card-edge:inset 0 0 0 1px #E7E8EE,0 -2px 0 #EEEBEC,0 0 0 2px #F2F2F2,0 1px 2px rgba(217,217,217,.15);
  --raised:#FFFFFF; --raised-top:#FFFFFF; --raised-edge:inset 0 0 0 1px #E7E8EE,0 1px 2px rgba(23,25,45,.05),0 6px 14px -6px rgba(23,25,45,.12);
  --feature:#FFFFFF; --feature-top:#FFFFFF;
  --feature-edge:inset 0 0 0 1px #E2E4EC,0 -2px 0 #EAE8EA,0 0 0 2px #F2F2F4,0 2px 4px rgba(23,25,45,.04),0 18px 40px -16px rgba(23,25,45,.16);
  --glow-from:#FFFFFF; --glow-to:#EEFADB; --panel-from:#FFFFFF; --panel-to:#E8F9C9;
  --font-display:"Fredoka","Google Sans",system-ui,sans-serif; --font-body:"Google Sans",system-ui,sans-serif;
  --display-weight:600; --display-tracking:-0.025em; --display-leading:1.06;
  --body-tracking:-0.011em; --body-leading:1.5;
  --scale:.95; --r:1.1; --density:1;
  /* Phone gutter 24px (kit default 16-18px at 360-390). With the ruled frame off (site v12.1) the kit gutter fell from 30px
     to 18px and the copy ran nearly edge to edge on phones; 24px keeps the operator's 16px minimum with room to breathe.
     Desktop unchanged (40px from about 1080px wide). */
  --gutter:clamp(1.5rem,.75rem + 3vw,2.5rem);
}
:root[data-theme="dark"]{
  --on-pair:#0A0A0A;
  --pair:#B5F745;
  --bg:#050505; --bg-alt:#0A0A0A; --surface:#141414; --bg-invert:#F5F6F9; --bg-tint:#080808; --lime-ink:#B5F745; --lime-soft:#1F2E0A;
  --text:#FFFFFF; --text-2:#A3A3A3; --text-3:#8A8A8A; --on-invert:#0A0A0A; --on-invert-2:#545454;
  --accent:#2E66FA; --accent-hover:#1C55EC; --on-accent:#FFFFFF;
  --line:#1F1F1F; --line-strong:#2C2C2C;
  --card-ring:inset 0 0 0 1px rgba(255,255,255,.07); --bg-card-tone:#1A1A1A;
  --card-fill:#0F0F0F; --card-top:#141414;
  --card-edge:inset 0 1px 0 rgba(255,255,255,.09),inset 0 0 0 1px rgba(255,255,255,.06);
  --raised:#1A1A1A; --raised-top:#202020; --raised-edge:inset 0 1px 0 rgba(255,255,255,.10),inset 0 0 0 1px rgba(255,255,255,.07);
  --feature:#1C1C1C; --feature-top:#262626; --feature-edge:inset 0 1px 0 rgba(255,255,255,.10),inset 0 0 0 1px rgba(255,255,255,.07);
  /* Dark panels are graphite, not a dark lime: lime darkened to a fill reads olive (operator 2026-11-14, "the green you
     chose under saturated ... we can bump the value up"; design.md "Dark mode keeps the brand colour vivid"). The lime comes
     on as light instead: a full-strength ring and a soft lime glow (brand.css, "dark mode lime"), as on the compare card.
     --lime-soft stays a dark tint: it is only a small fill behind lime text (pills, stickers in the documents). */
  --glow-from:#0F0F0F; --glow-to:#161616; --panel-from:#0F0F0F; --panel-to:#161616;
  --shadow-float:0 1px 2px rgba(0,0,0,.5),0 30px 80px -20px rgba(0,0,0,.8);
}
/* Hebrew pages: Fredoka is the display face in both scripts, so do NOT load themes/hebrew.css after this file
   (it would reset headings to Google Sans). Hebrew heading tracking and leading are set here instead. */
[dir="rtl"]{ --display-tracking:-0.01em; --display-leading:1.16; }
