/* מקראאל design tokens
   Source of truth: makraal-hebrew-first-identity.pdf (measured from the PDF's vector data).
   Geometry scale: 1 PDF pt = 1.5 CSS px (the sheet is an A4 concept board; 1.5 maps it to a ~1260px layout).
   Type sizes for headlines and passages come from the sheet's written spec, not from the scale. */
:root {
  /* Color: only values that appear in the identity sheet */
  --mk-ink: #171717;        /* INK: text, primary dark fill */
  --mk-paper: #FFFDF7;      /* PAPER: page background */
  --mk-marker: #F2C94C;     /* MARKER: reading mark, logo accent, highlights */
  --mk-surface: #FFFFFF;    /* card fill (reader card, mark card) */
  --mk-line: #E9E5DA;       /* card borders, dividers */
  --mk-muted: #6B685F;      /* secondary text, labels, captions */

  /* Type families (Nov 26, 2026: the four fonts named in the identity sheet, self-hosted, with fallbacks) */
  --mk-font-ui-he: "Heebo", "Noto Sans Hebrew", "Arial Hebrew", "Segoe UI", system-ui, sans-serif;
  --mk-font-ui-en: "Inter", "Segoe UI", system-ui, sans-serif;
  --mk-font-scripture-he: "Frank Ruhl Libre", "Noto Serif Hebrew", "Times New Roman", serif;
  --mk-font-scripture-en: "Literata", Georgia, "Times New Roman", serif;

  /* Type scale */
  --mk-headline-min: 42px;   /* HEADLINES 42-56 px, bold */
  --mk-headline-max: 56px;
  --mk-headline-weight: 700;
  --mk-passage-he: 26px;     /* PASSAGES 23-26 px, open spacing */
  --mk-passage-en: 23px;
  --mk-passage-leading: 1.75;
  --mk-label-size: 11px;     /* small caps labels (7.4pt) */
  --mk-label-tracking: 0.06em;
  --mk-label-weight: 700;
  --mk-body-size: 16px;      /* body text: minimum 16px */
  --mk-tagline-size: 14px;   /* logo tagline (9pt) */

  /* Shape (pt x 1.5) */
  --mk-radius-card: 18px;    /* reader card: 12pt */
  --mk-radius-card-sm: 15px; /* mark card: 10pt */
  --mk-radius-pill: 8px;     /* VERSE 01 pill, swatches: 5pt */
  --mk-border: 1px solid var(--mk-line);  /* 0.8pt */

  /* The yellow reading mark (mirrored open bracket on the Hebrew reading edge) */
  --mk-mark-stroke: 5px;     /* 3.2-3.4pt */
  --mk-mark-arm: 16px;       /* 11pt */
  --mk-mark-stroke-bold: 7px;/* 4.5pt, standalone mark */

  /* Headline underline (solid marker bar, never a gradient) */
  --mk-underline: 7px;       /* 4.5pt */
  --mk-label-underline: 3px; /* 2.2pt under section labels, 46px long (31pt) */
  --mk-label-underline-len: 46px;

  /* Emphasis without underlines: soft marker background */
  --mk-marker-soft: rgba(242, 201, 76, 0.24);
  /* Elevation: restrained, ink-tinted (approved Nov 26, 2026). No gradients. */
  --mk-shadow-1: 0 1px 2px rgba(23, 23, 23, 0.04), 0 4px 14px rgba(23, 23, 23, 0.04);
  --mk-shadow-2: 0 2px 6px rgba(23, 23, 23, 0.05), 0 12px 32px rgba(23, 23, 23, 0.06);
  --mk-touch: 44px;
}
