/* Family Luach design tokens. Shared by the public site (site.css) and the calendar maker (styles.css + maker.css).
   One wordmark, one font pair (Frank Ruhl Libre for display and Hebrew, Heebo for UI), one palette, one spacing scale.
   Fonts are the same local files the printed calendar uses (served from /assets/fonts, no external requests). */
@font-face{font-family:"FL Serif";font-weight:400;font-display:swap;src:url(/assets/fonts/FrankRuhl-400.ttf) format("truetype")}
@font-face{font-family:"FL Serif";font-weight:500;font-display:swap;src:url(/assets/fonts/FrankRuhl-500.ttf) format("truetype")}
@font-face{font-family:"FL Serif";font-weight:700;font-display:swap;src:url(/assets/fonts/FrankRuhl-700.ttf) format("truetype")}
@font-face{font-family:"FL Sans";font-weight:400;font-display:swap;src:url(/assets/fonts/Heebo-400.ttf) format("truetype")}
@font-face{font-family:"FL Sans";font-weight:500;font-display:swap;src:url(/assets/fonts/Heebo-500.ttf) format("truetype")}
@font-face{font-family:"FL Sans";font-weight:700;font-display:swap;src:url(/assets/fonts/Heebo-700.ttf) format("truetype")}

:root{
  /* type */
  --font-display:"FL Serif",Georgia,"Times New Roman",serif;
  --font-ui:"FL Sans",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,sans-serif;
  --t-xs:13px;--t-sm:14px;--t-base:16px;--t-md:18px;--t-lg:20px;--t-xl:24px;--t-2xl:30px;--t-3xl:38px;--t-4xl:52px;
  --lh-tight:1.12;--lh:1.55;
  /* color */
  --c-paper:#f7f3ea;--c-surface:#fffdf8;--c-surface-2:#f1eee4;--c-sage:#e8eee5;
  --c-ink:#1f3a32;--c-ink-2:#4f5c54;--c-line:#e0dbcd;--c-line-strong:#c9c5b6;
  --c-pine:#22433a;--c-pine-2:#163028;--c-on-pine:#fbf8f0;
  --c-gold:#b5873a;--c-gold-ink:#7f5a1c;--c-gold-soft:#f4ead6;
  --c-rust:#9e3f2a;--c-error:#9e352d;--c-ok:#2f6a45;
  --focus:#b5873a;
  /* space (4px base) */
  --s-1:4px;--s-2:8px;--s-3:12px;--s-4:16px;--s-5:24px;--s-6:32px;--s-7:48px;--s-8:64px;
  /* shape */
  --r-sm:8px;--r-md:12px;--r-lg:18px;--r-pill:999px;
  --shadow-1:0 1px 2px #1f3a320f,0 2px 8px #1f3a320d;--shadow-2:0 10px 30px #1f3a321f;
  --tap:44px;
  --header-h:64px;
}
@media(min-width:700px){:root{--t-base:17px}}

/* Wordmark: identical on every page */
.wordmark{display:inline-flex;align-items:center;gap:10px;min-height:var(--tap);text-decoration:none;color:var(--c-ink);font-family:var(--font-display);font-size:23px;line-height:1;letter-spacing:-.01em}
.wordmark img,.wordmark .wordmark-mark{width:32px;height:32px;flex:0 0 32px;border-radius:9px}
.wordmark b{font-weight:700;color:var(--c-pine)}
.wordmark:hover{color:var(--c-ink)}
.wordmark .wm-he{font-weight:500;color:var(--c-gold-ink);font-size:.92em}

/* Hebrew text never reorders its neighbors */
[lang=he],[dir=rtl]{unicode-bidi:isolate}

/* Discreet ב״ה (Baruch Hashem) at the top right of every page */
.bh{position:absolute;top:4px;right:max(12px, env(safe-area-inset-right, 0px));margin:0;padding:0;font:400 12px/1 var(--font-display);color:var(--c-ink-2);z-index:2;pointer-events:none}
