/* מתנת השם · בסיס משותף (בעלים: הבסיס. סוכנים לא עורכים את הקובץ הזה, רק מוסיפים קובץ CSS משלהם) */
@font-face{font-family:"Sofer Stam Ashkenaz";src:url("../fonts/SoferStamAshkenaz.ttf") format("truetype");font-display:swap}

:root{
  /* צבעים: לבן וחום שמנת (שלב 4). בלי שחור בכלל */
  --bg:#FFFFFF;
  --surface2:#FAF6F0;
  --heading:#A98763;      /* רק טקסט 24px ומעלה (3.3:1) */
  --text:#8B6B4A;         /* טקסט, h3, תוויות (4.9:1) */
  --muted:#87684A;        /* הסברים (5.1:1) */
  --btn:#8B6B4A; --btn-text:#FFFFFF;
  --thread:#B08E6B;       /* גרפיקה בלבד */
  --thread-fill:#F3EADF;
  --line:rgba(169,135,99,.30);
  --quilt:rgba(169,135,99,.09);
  --focus:#8B6B4A;

  --f-stam:"Sofer Stam Ashkenaz","Frank Ruhl Libre",serif;
  --f-body:"Rubik",system-ui,sans-serif;
  --f-mono:"Cormorant Garamond",serif;   /* מונוגרמה MH בלבד */
  --f-num:"Frank Ruhl Libre",serif;      /* מספרים גדולים */

  --r:2rem; --r-card:1.25rem;
  --max:1280px;
  --pad:clamp(1.25rem,5vw,3rem);
  --ease:cubic-bezier(.3,.6,.3,1);
  --nav-h:4rem;
}

*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;scroll-padding-top:calc(var(--nav-h) + 1rem)}
body{margin:0;background:var(--bg);color:var(--text);font-family:var(--f-body);font-weight:300;font-size:1.0625rem;line-height:1.7;overflow-x:clip}
/* קווילט עדין על כל העמוד */
body::before{content:"";position:fixed;inset:0;z-index:-1;pointer-events:none;
  background-image:
    repeating-linear-gradient(45deg,var(--quilt) 0 1px,transparent 1px 46px),
    repeating-linear-gradient(-45deg,var(--quilt) 0 1px,transparent 1px 46px)}
img,svg,video,canvas{max-width:100%;display:block}
a{color:var(--text)}
h1,h2{font-family:var(--f-stam);color:var(--heading);font-weight:400;line-height:1.2;text-wrap:balance;margin:0 0 .6em}
h1{font-size:clamp(2.6rem,7vw,5rem)}
h2{font-size:clamp(2rem,4.5vw,3.2rem)}
h3{font-family:var(--f-body);font-weight:500;color:var(--text);font-size:1.2rem;margin:0 0 .4em}
p{margin:0 0 1em;max-width:62ch}
strong{font-weight:500}
.num{font-family:var(--f-num)}
.ltr{direction:ltr;unicode-bidi:isolate}

.skip{position:absolute;inset-inline-start:-9999px;top:1rem;background:var(--bg);padding:.6rem 1rem;border-radius:var(--r);z-index:100}
.skip:focus{inset-inline-start:1rem}
:focus-visible{outline:3px solid var(--focus);outline-offset:3px;border-radius:.4rem}
.sr-only{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}

.wrap{max-width:var(--max);margin-inline:auto;padding-inline:var(--pad)}
.scene{position:relative;padding-block:clamp(4rem,10vw,8rem)}
.kicker{font-size:.95rem;font-weight:500;letter-spacing:.02em;color:var(--text);margin-bottom:.6rem}
/* שורת נתון אחת לכל שלב */
.fact{display:inline-flex;align-items:center;gap:.6rem;font-size:.95rem;color:var(--text);border:1px dashed var(--thread);border-radius:var(--r);padding:.35rem 1rem;background:var(--bg)}

/* כפתורים */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:.5rem;min-height:48px;padding:.7rem 1.6rem;border-radius:var(--r);border:1px solid var(--btn);background:var(--btn);color:var(--btn-text);font:inherit;font-weight:400;text-decoration:none;cursor:pointer;transition:transform .3s var(--ease),background .3s}
.btn.ghost{background:transparent;color:var(--text)}
@media (hover:hover){.btn:hover{transform:translateY(-2px)}.btn.ghost:hover{background:var(--surface2)}}
.ctas{display:flex;flex-wrap:wrap;gap:.75rem}

/* תפר מקווקו בין סקשנים */
.seam{height:0;border:0;border-top:1.5px dashed var(--thread);opacity:.55;margin:0;max-width:var(--max);margin-inline:auto}

/* שדות: 16px לפחות */
input,select,textarea{font:inherit;font-size:max(16px,1rem);color:var(--text);background:var(--bg);border:1px solid var(--line);border-radius:.8rem;padding:.75rem 1rem;min-height:48px}
input::placeholder{color:var(--muted);opacity:.75}
label{font-weight:400}

/* סרגל עליון */
.top{position:fixed;inset-block-start:0;inset-inline:0;z-index:50;height:var(--nav-h);display:flex;align-items:center;justify-content:space-between;gap:1rem;padding-inline:var(--pad);padding-top:env(safe-area-inset-top);background:rgba(255,255,255,.88);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border-bottom:1px solid var(--line)}
.logo{display:flex;align-items:center;gap:.6rem;text-decoration:none;font-family:var(--f-stam);font-size:1.6rem;color:var(--heading);line-height:1}
.mh{display:grid;place-items:center;width:2.2rem;height:2.2rem;border-radius:50%;border:1px solid var(--thread);font-family:var(--f-mono);font-weight:600;font-size:.95rem;color:var(--text);letter-spacing:.02em}
.top nav{display:flex;gap:1.4rem}
.top nav a{text-decoration:none;font-size:.98rem}
@media (hover:hover){.top nav a:hover{text-decoration:underline;text-underline-offset:.3em}}
.top .tools{display:flex;align-items:center;gap:.5rem}
.icon-btn{position:relative;display:grid;place-items:center;min-width:44px;min-height:44px;border-radius:50%;border:1px solid var(--line);background:var(--bg);color:var(--text);cursor:pointer;text-decoration:none}
.icon-btn svg{width:20px;height:20px}
.cart-count{position:absolute;inset-block-start:-4px;inset-inline-end:-4px;min-width:20px;height:20px;border-radius:10px;background:var(--btn);color:#fff;font-size:.75rem;display:grid;place-items:center;padding-inline:4px}
.cart-count[data-n="0"]{display:none}
@media (max-width:860px){.top nav{display:none}.logo{font-size:1.35rem}}
main{padding-top:var(--nav-h)}

/* כפתור עצירת אנימציות (WCAG 2.2.2) */
.motion-toggle{position:fixed;z-index:60;inset-block-end:calc(1rem + env(safe-area-inset-bottom));left:1rem;min-width:44px;min-height:44px;border-radius:50%;border:1px solid var(--line);background:rgba(255,255,255,.92);color:var(--text);cursor:pointer;display:grid;place-items:center}
.motion-toggle svg{width:18px;height:18px}
html.motion-off *,html.motion-off *::before,html.motion-off *::after{animation-play-state:paused!important}

/* סימון חסר מגל: נראה רק בטיוטה */
.tbd{background:#FBF3E6;border-bottom:1px dashed var(--thread);padding-inline:.2em}

/* פוטר */
.foot{border-top:1.5px dashed var(--thread);padding-block:3rem calc(3rem + env(safe-area-inset-bottom));font-size:.95rem}
.foot .cols{display:grid;gap:2rem;grid-template-columns:repeat(auto-fit,minmax(200px,1fr))}
.foot h3{font-size:1rem}
.foot ul{list-style:none;margin:0;padding:0;display:grid;gap:.35rem}
.foot .legal-strong{font-weight:500}

@media (prefers-reduced-motion:reduce){*,*::before,*::after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important;scroll-behavior:auto!important}}
