@import url("/sheet-tokens.css"); /* הטוקנים (מקור יחיד) — נדרש class="sheet-tokens" על <html> */
/* =====================================================================
   BST — sheet.css · שפת "גיליון השרטוט" לדפים הסטטיים
   ---------------------------------------------------------------------
   אותה שפה כמו דף הנחיתה (src/landing/landing.css): מסגרת גיליון,
   קווי-שיער במקום כרטיסים, פינות חדות, דיו שחור + כחול אחד, מונו לתוויות,
   כתב-יד פעם אחת לכל היותר. משותף ל: story · terms · privacy ·
   accessibility · disclaimer. אין JS. נטען אחרי Google Fonts.

   מבנה עמוד:
     <div class="sheet">
       <header class="sheet-head"> לוגו · קישור חזרה </header>
       <main class="sheet-main">
         <h1 class="sheet-title">…</h1>
         <p class="sheet-meta">…</p>            ← תווית מונו (עודכן / כותב)
         <p class="sheet-lede">…</p>            ← פסקת פתיחה (או .sheet-hand לכתב-יד)
         <ol class="sheet-stations">
           <li class="st"><b>01</b><div><h2>…</h2>…</div></li>
         </ol>
         <p class="sheet-quote">…</p>           ← אופציונלי
         <div class="sheet-cta">…</div>         ← אופציונלי
       </main>
       <footer class="sheet-foot"> ניווט · © </footer>
     </div>
   ===================================================================== */


* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html, body { margin: 0; background: var(--paper); color: var(--ink); font-family: 'Heebo', system-ui, sans-serif; line-height: 1.6; -webkit-font-smoothing: antialiased; }
body { padding: 18px; }
a { color: var(--blue); }
a:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }

/* ---- the sheet: double-rule frame ---- */
.sheet { position: relative; max-width: 960px; margin: 0 auto; border: 2px solid var(--hair); box-shadow: inset 0 0 0 5px var(--paper), inset 0 0 0 6px var(--hair); padding: 6px; }

/* ---- header: logo cell + back link ---- */
.sheet-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 28px; border-bottom: 1px solid var(--hair); }
.sheet-head a { color: var(--ink); text-decoration: none; font-weight: 700; font-size: 15px; }
.sheet-head a:hover { color: var(--blue); }
.sheet-head img { height: 64px; width: auto; display: block; }

/* ---- main ---- */
.sheet-main { padding: 34px 32px 40px; }
.sheet-title { font-size: clamp(34px, 6vw, 56px); font-weight: 900; line-height: 1.06; letter-spacing: -0.03em; margin: 0 0 6px; }
.sheet-title span { display: block; color: var(--blue); }
.sheet-meta { font-size: 12.5px; font-weight: 600; letter-spacing: 0.04em; color: var(--ink-3); margin: 8px 0 22px; } /* Hebrew label — never the mono face (no Hebrew glyphs → Courier fallback) */
.sheet-meta b { color: var(--blue); font-weight: 600; }
.sheet-lede { font-size: 17.5px; color: var(--ink-2); margin: 0 0 30px; max-width: 70ch; }
.sheet-hand { font-family: var(--hand); font-size: 28px; color: var(--blue); margin: 10px 0 34px; line-height: 1.35; }

/* ---- stations on a dimension line (numbered sections) ---- */
.sheet-stations { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--hair); }
.st { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 0 22px; padding: 26px 0; border-bottom: 1px solid var(--hair); }
.st > b { font: 600 14px var(--mono); color: var(--blue); padding-top: 6px; }
.st h2 { margin: 0 0 8px; font-size: 22px; font-weight: 800; letter-spacing: -0.02em; line-height: 1.2; }
.st h3 { margin: 14px 0 4px; font-size: 16.5px; font-weight: 700; }
.st p, .st li { font-size: 16.5px; color: var(--ink-2); }
.st p { margin: 0 0 10px; max-width: 68ch; }
.st p:last-child, .st ul:last-child { margin-bottom: 0; }
.st ul { margin: 0 0 10px; padding-inline-start: 20px; }
.st li { margin-bottom: 5px; }
.st strong { color: var(--ink); }

/* ---- note: a boxed remark, blue rule on the reading side ---- */
.sheet-note { border: 1px solid var(--hair); border-inline-start: 4px solid var(--blue); padding: 12px 16px; margin: 12px 0; font-size: 15.5px; color: var(--ink-2); }
.sheet-note strong { color: var(--ink); }

/* ---- quote (handwriting, once) ---- */
.sheet-quote { margin: 34px 0 0; padding: 22px 26px; border: 1px solid var(--hair); display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 16px; }
.sheet-quote .hand { font-family: var(--hand); font-size: 30px; color: var(--blue); }
.sheet-quote small { font-size: 13px; color: var(--ink-3); }

/* ---- call to action row ---- */
.sheet-cta { margin-top: 34px; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; }
.sheet-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 54px; padding: 0 34px; background: var(--ink); color: #fff; font-weight: 800; font-size: 17px; text-decoration: none; border: 1.5px solid var(--ink); }
.sheet-btn:hover { background: var(--blue); border-color: var(--blue); }
.sheet-cta span { color: var(--ink-2); font-size: 15.5px; }

/* ---- footer: two rows — site navigation / legal documents ---- */
.sheet-foot { border-top: 1px solid var(--hair); }
.sheet-foot__row { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 6px 18px; padding: 12px 28px; }
.sheet-foot__row--legal { border-top: 1px solid var(--line); background: var(--paper-2); }
.sheet-foot nav { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 14px; font-size: 13.5px; }
.sheet-foot nav a { color: var(--ink-2); text-decoration: none; }
.sheet-foot nav span { color: var(--ink-3); }
.sheet-foot__row:first-child nav a { color: var(--ink); font-weight: 700; }
.sheet-foot nav a:hover, .sheet-foot nav a[aria-current="page"] { color: var(--blue); }
.sheet-foot nav a[aria-current="page"] { font-weight: 700; }
.sheet-foot small { font: 500 12px var(--mono); color: var(--ink-3); direction: ltr; }
.sheet-operator { font-size: 12.5px; color: var(--ink-3); }

/* ---- pre-publication decision marker (removed once decided) ---- */
.legal-decision { display: inline-block; background: #fff3cd; border: 1px dashed #b45309; color: #7c2d12; padding: 2px 8px; margin: 2px 0; font-size: 0.95em; }
.legal-decision::before { content: "⚠ "; }

@media (max-width: 640px) {
  body { padding: 8px; }
  .sheet { box-shadow: none; padding: 0; }
  .sheet-head { padding: 10px 14px; }
  .sheet-head img { height: 48px; }
  .sheet-main { padding: 22px 16px 30px; }
  .sheet-lede { font-size: 16.5px; }
  .sheet-hand { font-size: 24px; }
  .st { grid-template-columns: 1fr; gap: 4px; padding: 18px 0; }
  .st > b { padding-top: 0; }
  .st h2 { font-size: 20px; }
  .st p, .st li { font-size: 16px; }
  .sheet-quote .hand { font-size: 25px; }
  .sheet-btn { width: 100%; }
  .sheet-foot__row { padding: 12px 14px; flex-direction: column; align-items: flex-start; }
}

@media print {
  body { padding: 0; }
  .sheet { border: 0; box-shadow: none; }
  .sheet-head a:last-child, .sheet-foot nav { display: none; }
  .legal-decision { background: none; }
}
