/* סיעור מוחות — סגנון משותף לכל הדפים (נטען לפני הסגנון של הדף).
 * 1. גופנים מקומיים (במקום Google Fonts — בלי בקשות לצד שלישי).
 * 2. נגישות: קישור «דילוג לתוכן הראשי», טבעת פוקוס גלויה, יעדי מגע של 44px בתפריט ובכותרת התחתונה.
 * 3. מקום בתחתית הדף לכפתורים הצפים (צ׳אט / התקנה) כדי שלא יסתירו את הקישורים שבכותרת התחתונה. */
@font-face{font-family:'Heebo';src:url('/fonts/heebo-var.woff2') format('woff2');font-weight:100 900;font-style:normal;font-display:swap;}
@font-face{font-family:'Assistant';src:url('/fonts/assistant-var.woff2') format('woff2');font-weight:200 800;font-style:normal;font-display:swap;}

/* דילוג לתוכן — מוסתר עד שמגיעים אליו בטאב */
.skip-link{position:absolute;top:-200px;right:12px;z-index:100000;background:#fff;color:#0C1836;font-weight:800;
  font-family:'Heebo',sans-serif;padding:12px 18px;border-radius:10px;border:3px solid #2E5AAC;text-decoration:none;
  box-shadow:0 8px 24px rgba(12,24,54,.35);}
.skip-link:focus{top:12px;}
main:focus,[tabindex="-1"]:focus{outline:none;}

/* טבעת פוקוס גלויה לכל רכיב אינטראקטיבי (WCAG 2.4.7) */
:where(a,button,input,select,textarea,summary,[tabindex],[role="button"],[role="switch"]):focus-visible{
  outline:3px solid #3D7BE0;outline-offset:2px;}
.rb-nav :where(a,button):focus-visible,footer :where(a,button):focus-visible{outline-color:#FF9A3D;}

/* יעדי מגע: קישורי התפריט העליון וקישורי הכותרת התחתונה */
.rb-nav .rb-links a{min-height:44px;display:inline-flex;align-items:center;}
.rb-nav .rb-brand{min-height:44px;}
body footer .footer-links a,body footer .legal-links a{min-height:44px;display:inline-flex;align-items:center;padding-inline:4px;}
body footer .footer-links{row-gap:0;}

/* מקום לכפתורים הצפים (צ׳אט בפינה השמאלית-תחתונה) — כדי שהשורה האחרונה בתחתית תהיה גלויה ולחיצה */
@media (max-width:640px){
  body > footer{padding-bottom:calc(130px + env(safe-area-inset-bottom,0px)) !important;}
  .rb-nav .rb-links{row-gap:0 !important;}
}
@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto !important;}
}

/* טקסט לקוראי מסך בלבד */
.sr-only{position:absolute !important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0;}

/* 2.11.2026: קרדיט AmichAI בתחתית (קישור לוואטסאפ). הכותרות התחתונות כהות → גרסת הלוגו הבהירה (amichai-logo-dark.png) */
.amichai-credit-wrap{margin-top:14px;text-align:center;}
.amichai-credit{display:inline-flex;align-items:center;gap:8px;min-height:44px;padding:2px 6px;border-radius:8px;
  color:#aab6d8;font-size:.78rem;text-decoration:none;opacity:.9;transition:opacity .2s;}
.amichai-credit:hover,.amichai-credit:focus-visible{opacity:1;}
.amichai-credit img{height:34px;width:auto;display:block;}
