/* ============================================================
   base.css — איפוס, טיפוגרפיה בסיסית ורכיבים משותפים
   (מיכל, כפתור גלולה, צ'יפ רך, מצבי פוקוס).
   נטען אחרי tokens.css ולפני layout.css.
   ============================================================ */

*{box-sizing:border-box}
html,body{margin:0;padding:0}

html{
  color-scheme:light only;          /* בלי היפוך צבעים כפוי בגלקסי */
  -webkit-text-size-adjust:100%;
  text-size-adjust:100%;
  -webkit-tap-highlight-color:transparent;
  scroll-behavior:smooth;
  scroll-padding-top:96px;          /* עוגנים לא נבלעים מתחת להדר הדביק */
}

body{
  overflow-x:clip;                  /* רשת ביטחון: שום דבר לא ירחיב את העמוד לרוחב */
  font-family:'Heebo',-apple-system,'Segoe UI',Arial,sans-serif;
  background:var(--cream);
  color:var(--ink);
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
}

a{color:inherit}
img{max-width:100%}

.wrap{max-width:var(--wrap);margin:0 auto;padding:0 24px}

/* כפתור ראשי בצורת גלולה */
.btn-pill{
  display:inline-flex;align-items:center;gap:8px;
  background:var(--coral);color:#fff;border:0;cursor:pointer;
  font-family:inherit;font-size:16px;font-weight:600;
  padding:13px 26px;border-radius:999px;text-decoration:none;
  box-shadow:0 6px 18px rgba(239,108,77,.32);
  transition:background .15s ease, transform .15s ease;
}
@media (hover:hover){
  .btn-pill:hover{background:var(--coral-dark);transform:translateY(-1px)}
}

/* תווית רכה — "יום עיון ארצי", "השתתפות בחינם" */
.chip-soft{
  background:var(--coral-soft);color:var(--coral-dark);
  font-size:14px;font-weight:600;padding:7px 18px;border-radius:999px;
}

/* נגישות מקלדת */
a:focus-visible,button:focus-visible,input:focus-visible{
  outline:3px solid var(--purple-soft);outline-offset:2px;
}

@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  *{transition:none!important;animation:none!important}
}
