/* צבעים וגופנים: שינוי כאן משנה את כל האתר */
:root {
  --purple: #4A1F63;      /* סגול עמוק: כפתורים ופסים */
  --dark: #2B1238;        /* כהה: כותרת עליונה, תחתית, אזור סרטון */
  --sand: #F3EEE6;        /* רקע ראשי */
  --paper: #FFFCF7;       /* רקע משני */
  --sand-dark: #E6DCCB;   /* תגיות */
  --gold: #C99A2E;        /* קווי הדגשה */
  --gold-text: #8A6516;   /* טקסט בצבע זהב (עובר ניגודיות) */
  --text: #2A2230;
  --muted: #4A4250;
  --border: #8C8296;
  --font-display: 'Secular One', 'Rubik', Arial, sans-serif;
  --font-body: 'Rubik', Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; font-family: var(--font-body); color: var(--text); background: var(--sand); line-height: 1.6; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--purple); }
a:focus-visible, button:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }

.wrap { max-width: 1120px; margin: 0 auto; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
section { padding-block: 64px; }
h1, h2 { font-family: var(--font-display); font-weight: 400; line-height: 1.15; margin: 0; color: var(--dark); text-wrap: balance; }
h1 { font-size: clamp(38px, 6vw, 56px); }
h2 { font-size: clamp(28px, 4vw, 36px); margin-bottom: 28px; }
p { margin: 0; }

.skip { position: absolute; right: 8px; top: -60px; background: var(--dark); color: #fff; padding: 10px 16px; border-radius: 8px; z-index: 20; }
.skip:focus { top: 8px; }

/* כותרת עליונה */
.site-header { background: var(--dark); padding-block: 12px; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 12px; color: #fff; text-decoration: none; font-family: var(--font-display); font-size: 22px; }
.brand img { width: 52px; height: 52px; border-radius: 8px; background: #fff; }

/* כפתורים */
.btn { display: inline-block; text-decoration: none; font-weight: 700; font-size: 18px; padding: 14px 26px; border-radius: 12px; border: 2px solid var(--purple); }
.btn-primary { background: var(--purple); color: #fff; }
.btn-primary:hover { background: var(--dark); border-color: var(--dark); }
.btn-outline { background: transparent; color: var(--purple); }
.btn-outline:hover { background: var(--purple); color: #fff; }
.btn-light { background: var(--sand); color: var(--dark); border-color: var(--sand); }
.btn-light:hover { background: #fff; }
.btn-small { font-size: 16px; padding: 10px 20px; }

/* פתיחה */
.hero .wrap { display: flex; flex-wrap: wrap; gap: 48px; align-items: center; }
.hero-text { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.eyebrow { font-size: 15px; font-weight: 700; color: var(--gold-text); letter-spacing: 0.5px; }
.lead { font-size: 20px; color: var(--muted); max-width: 34em; }
.actions { display: flex; gap: 12px; flex-wrap: wrap; }
.tags { display: flex; gap: 8px; flex-wrap: wrap; list-style: none; padding: 0; margin: 0; }
.tags li { background: var(--sand-dark); color: var(--dark); padding: 6px 14px; border-radius: 8px; font-size: 15px; font-weight: 500; }
.tags li.grade { background: #E9E0EF; color: var(--purple); }
.hero figure { flex: 1 1 360px; min-width: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.hero figure img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 8px; }
figcaption { font-size: 14px; color: #6A6070; }

/* על התוכנית */
.about { background: var(--paper); }
.questions { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; list-style: none; padding: 0; margin: 0 0 32px; }
.questions li { border-top: 2px solid var(--gold); padding-top: 24px; font-size: 21px; font-weight: 700; line-height: 1.5; color: var(--dark); }
.about .goal { font-size: 18px; color: var(--muted); max-width: 42em; margin-bottom: 32px; }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; margin: 0; }
.facts div { background: var(--sand); padding: 20px; border-radius: 8px; }
.facts dt { font-size: 14px; font-weight: 700; color: var(--purple); }
.facts dd { margin: 4px 0 0; font-size: 17px; }

/* סרטון */
.video { background: var(--dark); }
.video h2 { color: #fff; }
.video-box { aspect-ratio: 16 / 9; width: 100%; border-radius: 8px; overflow: hidden; background: #3A1F4A; display: flex; align-items: center; justify-content: center; color: #E6DCEB; font-size: 18px; text-align: center; padding: 16px; }
.video-box iframe, .video-box video { width: 100%; height: 100%; border: 0; display: block; }

/* סיפורים */
.stories-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; list-style: none; padding: 0; margin: 0; }
.stories-grid figure { margin: 0; display: flex; flex-direction: column; gap: 10px; }
.stories-grid img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: top; border-radius: 8px; }
.stories-grid figcaption { font-size: 17px; font-weight: 500; color: var(--dark); }

/* איך זה עובד */
.steps-section { background: var(--paper); }
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; list-style: none; padding: 0; margin: 0; counter-reset: step; }
.steps li { display: flex; gap: 16px; align-items: center; font-size: 18px; counter-increment: step; }
.steps li::before { content: counter(step); flex: none; width: 48px; height: 48px; border-radius: 50%; background: var(--purple); color: #fff; font-family: var(--font-display); font-size: 24px; display: flex; align-items: center; justify-content: center; }

/* ליגה */
.league { background: var(--purple); padding-block: 48px; }
.league .wrap { display: flex; flex-wrap: wrap; gap: 24px; align-items: center; justify-content: space-between; }
.league .wrap > div { flex: 1 1 420px; min-width: 0; }
.league h2 { color: #fff; margin-bottom: 8px; }
.league p { color: #EDE4F2; font-size: 18px; }

/* טופס */
.contact-card { max-width: 720px; margin: 0 auto; background: var(--paper); border: 1.5px solid #D8CCB8; border-radius: 12px; padding: 40px 32px; display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.contact-card h2 { margin-bottom: 0; }
.contact-card p { font-size: 17px; color: var(--muted); }

/* תחתית */
.site-footer { background: var(--dark); color: #E6DCEB; padding-block: 28px; font-size: 15px; }
.site-footer .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.site-footer nav { display: flex; gap: 20px; flex-wrap: wrap; }
.site-footer a { color: #fff; }

/* עמוד טקסט (הצהרת נגישות) */
.page { padding-block: 48px; }
.page .wrap { max-width: 760px; }
.page h1 { margin-bottom: 24px; font-size: clamp(32px, 5vw, 44px); }
.page h2 { font-size: 24px; margin: 32px 0 8px; }
.page p, .page li { font-size: 17px; }

@media (max-width: 600px) {
  section { padding-block: 44px; }
  .contact-card { padding: 28px 20px; }
}

