/* סטודיו Y: עיצוב משותף לכל עמודי האתר
   שפה עיצובית לפי קובץ ה־Figma Make ("Yoga Pilates Studio Website"):
   Assistant לטקסט ולכותרות, Frank Ruhl Libre נטוי למילות הדגשה,
   קרם, ירוק כהה וטרקוטה, כפתורי גלולה ומסגרות קשת. */
:root {
  /* פלטת המותג הרשמית (marketing/BRAND.md, 20.11.2026):
     ירוק סטודיו Y #2C6638 · בז' #D5CDBF · לבן #FBFBFB · קרם #F0EADF · טרקוטה #A35A3C להדגשה בלבד */
  --g-main: #F0EADF;      /* קרם: רקע הדף */
  --g-alt: #FBFBFB;       /* לבן: סקשנים מתחלפים */
  --brand: #2C6638;       /* ירוק סטודיו Y: משטחים וכפתורים */
  --deep: #2C6638;        /* תחתית */
  --ink: #253029;         /* טקסט (כהה לקריאות; הפלטה בלי שחור טהור) */
  --muted: #56615A;       /* טקסט משני (ניגודיות AA על קרם) */
  --line: #D5CDBF;        /* בז': קווים ומסגרות */
  --sage: #2C6638;        /* מילות הדגשה נטויות */
  --terra: #A35A3C;       /* טרקוטה: הדגשה בלבד */
  --terra-line: #A35A3C;
  --action: #2C6638;
  --action-hover: #23522D;
  --on-action: #FFFFFF;
  --on-brand: #FBFBFB;
  --on-brand-muted: #F0EADF;
  --font: "Assistant", system-ui, sans-serif;
  --font-accent: "Frank Ruhl Libre", Georgia, serif;
  --t-h1: clamp(44px, 5.4vw + 14px, 92px);
  --t-h2: clamp(34px, 2.6vw + 22px, 60px);
  --t-h3: 24px;
  --t-lead: clamp(17px, .4vw + 15px, 20px);
  --t-body: 17px;

  --nav: 88px;
  --gut: 120px;
  --padt: 88px;
  --padb: 80px;
  --r-card: 4px;
  --r-pill: 999px;
  --bar: 0px;

  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
}
@media (max-width: 1023px) { :root { --gut: 48px; --padt: 72px; --padb: 64px; } }
@media (max-width: 639px) {
  :root { --nav: 64px; --gut: 24px; --padt: 56px; --padb: 52px; --bar: calc(72px + env(safe-area-inset-bottom)); }
}

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; }
html { scroll-behavior: smooth; scroll-padding-top: var(--nav); }
body {
  background: var(--g-main);
  color: var(--ink);
  font: 400 var(--t-body)/1.7 var(--font);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  caret-color: var(--brand);
}
body.menu-open { overflow: hidden; }
::selection { background: var(--brand); color: var(--on-brand); }
h1, h2, h3, h4 { font-weight: 300; margin: 0; text-wrap: balance; }
/* כותרות ראשיות: Frank Ruhl Libre 500, לפי ספר המותג */
h1, h2 { font-family: var(--font-accent); font-weight: 500; letter-spacing: -0.01em; }
p { margin: 0; }
a { color: inherit; }
img { max-width: 100%; display: block; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; }
.hero :focus-visible, .on-dark :focus-visible { outline-color: var(--on-brand); }

/* מילת הדגשה נטויה, כמו בעיצוב ("בתוך הגוף.") */
.accent { font-family: var(--font-accent); font-style: normal; font-weight: 500; color: var(--sage); }
.hero .accent, .on-dark .accent { color: inherit; }
h1 .accent, h2 .accent { display: block; }
h1 .accent--inline, h2 .accent--inline { display: inline; margin-inline-start: .12em; }

.wrap { max-width: calc(1200px + 2 * var(--gut)); margin-inline: auto; padding-inline: var(--gut); }

.skip-link {
  position: absolute; inset-inline-start: var(--gut); top: 12px; z-index: 30;
  background: var(--ink); color: var(--g-main); padding: 8px 16px; text-decoration: none;
  transform: translateY(-200%);
}
.skip-link:focus { transform: none; }

/* תווית קטנה עם קו לפני הכותרת, כמו בעיצוב */
.eyebrow { display: flex; align-items: center; gap: 14px; font-size: 16px; font-weight: 500; letter-spacing: .12em; color: var(--muted); margin-bottom: 24px; }
.eyebrow::before { content: ""; width: 32px; height: 1px; background: var(--terra-line); }
.on-dark .eyebrow, .hero .eyebrow { color: #F0EADF; }
.hero .eyebrow::before { background: currentColor; }

/* ---------- לוגו ---------- */
.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; white-space: nowrap; }
.logo img { width: 38px; height: 38px; }
.logo__name { display: flex; flex-direction: column; font-size: 21px; font-weight: 500; line-height: 1.1; letter-spacing: .08em; }
.logo__name small { font-size: 10px; font-weight: 400; letter-spacing: .2em; color: var(--muted); margin-top: 4px; text-align: start; }

/* ---------- כותרת עליונה ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 20; height: var(--nav);
  background: rgba(251, 251, 251, .94); border-bottom: 1px solid var(--line);
}
.nav > .wrap { height: 100%; display: flex; align-items: center; gap: 32px; }
.nav__links { display: flex; align-items: center; gap: 30px; margin: 0; margin-inline-start: 12px; list-style: none; padding: 0; }
.nav__links > li { position: relative; }
.nav__link {
  display: inline-flex; align-items: center; gap: 6px; height: 44px;
  font: 400 15px/1 var(--font); color: #46534C; text-decoration: none; white-space: nowrap;
  background: none; border: 0; padding: 0; cursor: pointer;
}
.nav__link > span {
  background: linear-gradient(currentColor, currentColor) no-repeat right bottom / 0 1px;
  padding-block: 4px;
  transition: background-size 200ms var(--ease-out), color 150ms ease;
}
.nav__link[aria-current="page"] > span { background-size: 100% 1px; color: var(--ink); }
.nav__link svg { width: 14px; height: 14px; transition: transform 200ms var(--ease-out); }
.has-menu.is-open .nav__link svg { transform: rotate(180deg); }
@media (hover: hover) and (pointer: fine) {
  .nav__link:hover > span { background-size: 100% 1px; color: var(--ink); }
}

/* תפריט נפתח */
.dropdown {
  position: absolute; top: calc(100% + 20px); inset-inline-start: -20px; min-width: 260px;
  background: var(--g-main); border: 1px solid var(--line); border-radius: var(--r-card);
  box-shadow: 0 12px 32px -12px rgba(22, 51, 28, .18);
  padding: 10px 0; list-style: none; margin: 0;
  opacity: 0; visibility: hidden; transform: translateY(-4px);
  transform-origin: top right;
  transition: opacity 150ms var(--ease-out), transform 150ms var(--ease-out), visibility 0s linear 150ms;
}
.has-menu.is-open .dropdown {
  opacity: 1; visibility: visible; transform: none;
  transition: opacity 180ms var(--ease-out), transform 180ms var(--ease-out), visibility 0s;
}
.dropdown__label { display: block; padding: 12px 20px 4px; font-size: 12px; font-weight: 500; letter-spacing: .1em; color: var(--muted); }
.dropdown a {
  display: block; padding: 10px 20px; font-size: 16px; text-decoration: none; white-space: nowrap;
  transition: background-color 150ms ease;
}
.dropdown a small { display: block; font-size: 14px; color: var(--muted); }
@media (hover: hover) and (pointer: fine) { .dropdown a:hover { background: var(--g-alt); } }
.dropdown hr { border: 0; border-top: 1px solid var(--line); margin: 8px 0; }

/* כפתור תפריט בטלפון ובטאבלט */
.menu-toggle {
  display: none; width: 44px; height: 44px; align-items: center; justify-content: center;
  background: none; border: 1px solid var(--line); border-radius: var(--r-pill); color: var(--ink); cursor: pointer;
}
.menu-toggle svg { width: 20px; height: 20px; }
.menu-toggle .i-close { display: none; }
.menu-toggle[aria-expanded="true"] .i-open { display: none; }
.menu-toggle[aria-expanded="true"] .i-close { display: block; }

.sheet {
  position: fixed; inset: var(--nav) 0 0 0; z-index: 19; overflow-y: auto;
  background: var(--g-main); padding: 8px var(--gut) calc(32px + env(safe-area-inset-bottom));
  opacity: 0; visibility: hidden;
  transition: opacity 200ms var(--ease-out), visibility 0s linear 200ms;
}
.sheet.is-open { opacity: 1; visibility: visible; transition: opacity 200ms var(--ease-out), visibility 0s; }
.sheet ul { list-style: none; margin: 0; padding: 0; }
.sheet > ul > li { border-bottom: 1px solid var(--line); }
.sheet a { display: flex; align-items: center; min-height: 56px; font-size: 20px; font-weight: 400; text-decoration: none; }
.sheet .sheet__sub { padding-bottom: 12px; }
.sheet .sheet__sub a { min-height: 44px; font-size: 16px; color: var(--muted); padding-inline-start: 16px; }
.sheet .sheet__sub .dropdown__label { padding: 8px 16px 0; }
.sheet .btn { width: 100%; margin-top: 24px; }
.sheet__ig { display: inline-flex; align-items: center; gap: 8px; margin-top: 16px; font-size: 16px !important; min-height: 44px; }
.sheet__ig svg { width: 20px; height: 20px; }

/* מסכים צרים יותר (768–1199): התפריט המלא נשאר, הכפתור הירוק יוצא מהכותרת כדי לפנות מקום */
@media (max-width: 1199px) {
  .nav > .wrap { gap: 18px; }
  .nav__links { gap: 18px; margin-inline-start: 0; }
  .nav__link { font-size: 14px; gap: 4px; }
  .nav > .wrap > .btn { display: none; }
  .logo__name { font-size: 18px; }
}
/* טלפון וטאבלט: תפריט ☰ */
@media (max-width: 1023px) {
  .nav__links { display: none; }
  .menu-toggle { display: inline-flex; }
}
/* רוסית: התוויות ארוכות יותר, אז התפריט מתכווץ כבר עד 1365px */
@media (min-width: 1024px) and (max-width: 1365px) {
  html[lang="ru"] .nav > .wrap { gap: 18px; }
  html[lang="ru"] .nav__links { gap: 16px; margin-inline-start: 0; }
  html[lang="ru"] .nav__link { font-size: 14px; gap: 4px; }
  html[lang="ru"] .nav > .wrap > .btn { display: none; }
}
@media (max-width: 639px) {
  .logo img { width: 32px; height: 32px; }
}
@media (min-width: 768px) { .sheet { display: none; } }

/* ---------- כפתורים וקישורים (גלולה, כמו בעיצוב) ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  height: 52px; padding-inline: 30px; border-radius: var(--r-pill); border: 1px solid transparent;
  font: 500 15px/1 var(--font); text-decoration: none; white-space: nowrap; cursor: pointer;
  background: var(--action); color: var(--on-action);
  transition: transform 160ms var(--ease-out), background-color 200ms ease, border-color 200ms ease;
}
.nav .btn { height: 44px; padding-inline: 24px; font-weight: 400; }
.btn svg { width: 16px; height: 16px; transition: transform 200ms var(--ease-out); }
.btn:active { transform: scale(0.97); }
@media (hover: hover) and (pointer: fine) {
  .btn:hover { background: var(--action-hover); }
  .btn:hover svg { transform: translateX(-3px); }
}
.btn--light { background: var(--g-main); color: #2C6638; }
.btn--ghost { background: transparent; color: #FFFFFF; border-color: rgba(255, 255, 255, .5); font-weight: 400; }
.btn--terra { background: var(--terra); color: #FFFFFF; font-weight: 400; }
@media (hover: hover) and (pointer: fine) {
  .btn--light:hover { background: #FFFFFF; }
  .btn--ghost:hover { background: rgba(255, 255, 255, .12); border-color: #FFFFFF; }
  .btn--terra:hover { background: #8F4E34; }
}
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

.link {
  color: var(--brand); font-weight: 500; text-decoration: underline;
  text-decoration-thickness: 1px; text-underline-offset: 5px;
  transition: text-decoration-thickness 160ms var(--ease-out);
}
@media (hover: hover) and (pointer: fine) { .link:hover { text-decoration-thickness: 2px; } }
.on-dark .link { color: var(--on-brand); }

/* מסגרת תמונה (תמונות הסטודיו ב־assets/photos) */
.ph { position: relative; overflow: hidden; background: var(--g-alt); }
.ph img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- hero עם תמונה ---------- */
.hero {
  position: relative; color: #FFFFFF; background: var(--deep);
  min-height: min(100svh, 920px); padding-top: var(--nav);
  display: flex; align-items: center; overflow: hidden;
}
.hero__bg { position: absolute; inset: 0; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 40% 30%; }
.hero__bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(270deg, rgba(31, 43, 36, .8), rgba(31, 43, 36, .55) 42%, rgba(31, 43, 36, .08) 75%),
    linear-gradient(0deg, rgba(31, 43, 36, .35), rgba(0, 0, 0, 0) 45%);
}
.hero .wrap { position: relative; width: 100%; padding-block: 80px 112px; }
.hero h1 { font-size: var(--t-h1); line-height: 1.04; letter-spacing: -0.035em; max-width: 11ch; }
.hero h1 .accent { display: block; }
.hero__lead { font-size: var(--t-lead); line-height: 1.75; max-width: 40ch; margin-top: 28px; color: rgba(255, 255, 255, .88); }
.hero .btn-row { margin-top: 40px; }
.hero__tag {
  position: absolute; inset-inline-end: 0; bottom: 0; z-index: 1;
  display: flex; align-items: center; gap: 16px;
  background: var(--g-main); color: var(--ink); padding: 18px 28px; font-size: 14px;
}
.hero__tag img { width: 22px; height: 22px; }
@media (max-width: 1023px) {
  .hero__bg::after { background: linear-gradient(0deg, rgba(31, 43, 36, .82), rgba(31, 43, 36, .35) 70%, rgba(31, 43, 36, .2)); }
  .hero { align-items: flex-end; }
}
@media (max-width: 639px) {
  .hero .wrap { padding-block: 48px 96px; }
  .hero .btn-row .btn { width: 100%; }
  .hero__tag { padding: 14px 20px; font-size: 13px; }
}

/* כניסה אחת בטעינה */
[data-enter] > * { animation: enter 700ms var(--ease-out) both; }
[data-enter] > :nth-child(2) { animation-delay: 80ms; }
[data-enter] > :nth-child(3) { animation-delay: 160ms; }
[data-enter] > :nth-child(4) { animation-delay: 230ms; }
[data-enter] > :nth-child(5) { animation-delay: 290ms; }
@keyframes enter { from { opacity: 0; transform: translateY(12px); } }
.hero__bg img { animation: settle 1400ms var(--ease-out) both; }
@keyframes settle { from { transform: scale(1.04); } }

/* ---------- סקשנים ---------- */
section { padding-block: var(--padt) var(--padb); }
.head { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 96px; align-items: end; margin-bottom: 48px; }
.head h2, .split h2, .call h2, .about h2 { font-size: var(--t-h2); line-height: 1.22; letter-spacing: -0.025em; }
.head p { color: var(--muted); max-width: 44ch; }
.head--center { grid-template-columns: 1fr; justify-items: center; text-align: center; }
.head--center .eyebrow { justify-content: center; }
.head--center .eyebrow::before { display: none; }
@media (max-width: 1023px) { .head { grid-template-columns: 1fr; gap: 16px; margin-bottom: 48px; } }
.section--alt { background: var(--g-alt); }
.section--tight { padding-top: 0; }
.on-dark { background: var(--brand); color: var(--on-brand); }
.on-dark .head p { color: var(--on-brand-muted); }

/* ---------- הסטודיו: טקסט ותמונה בקשת ---------- */
.about__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 48px 112px; align-items: center; }
.about__text p { margin-top: 24px; max-width: 46ch; color: #46534C; }
.about__text .link { display: inline-block; margin-top: 28px; }
.pillars.about__pillars { margin-top: 112px; }
@media (max-width: 639px) { .pillars.about__pillars { margin-top: 64px; } }
.arch { aspect-ratio: 4 / 5; border-radius: 999px 999px 0 0; max-width: 500px; width: 100%; justify-self: end; }
@media (max-width: 1023px) {
  .about__inner { grid-template-columns: 1fr; }
  .arch { justify-self: start; max-width: 420px; }
}

/* ---------- "מה יש בסטודיו" ב־hero ---------- */
.hero--offer .wrap { padding-block: 64px 112px; }
.hero--offer .hero__lead { margin-top: 18px; }
.offer { margin-top: 32px; display: grid; gap: 14px; max-width: 640px; }
.offer__row { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 10px; }
.offer__head {
  display: inline-flex; align-items: baseline; gap: 8px; min-width: 9.5em; min-height: 40px;
  font-size: 18px; font-weight: 500; color: #FFFFFF; text-decoration: none;
}
.offer__head small { font-size: 13px; font-weight: 400; color: rgba(255, 255, 255, .7); }
.offer__items { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.offer__items a {
  display: inline-flex; align-items: center; min-height: 36px; padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, .45); border-radius: var(--r-pill);
  background: rgba(31, 43, 36, .25); color: #FFFFFF; font-size: 15px; text-decoration: none;
  transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease, transform 160ms var(--ease-out);
}
.offer__items a:active { transform: scale(0.96); }
@media (hover: hover) and (pointer: fine) {
  .offer__items a:hover { background: var(--g-main); border-color: var(--g-main); color: var(--ink); }
  .offer__head:hover { text-decoration: underline; text-underline-offset: 5px; }
}
/* כניסה פעם אחת: כל פריט נכנס אחרי הקודם (40ms ביניהם), אחרי הכותרת */
.offer__row > *, .offer__items li { animation: chip-in 520ms var(--ease-out) both; }
.offer__row:nth-child(1) .offer__head { animation-delay: 260ms; }
.offer__row:nth-child(2) .offer__head { animation-delay: 420ms; }
.offer__row:nth-child(3) .offer__head { animation-delay: 560ms; }
.offer__row:nth-child(1) .offer__items li:nth-child(1) { animation-delay: 300ms; }
.offer__row:nth-child(1) .offer__items li:nth-child(2) { animation-delay: 340ms; }
.offer__row:nth-child(1) .offer__items li:nth-child(3) { animation-delay: 380ms; }
.offer__row:nth-child(1) .offer__items li:nth-child(4) { animation-delay: 420ms; }
.offer__row:nth-child(1) .offer__items li:nth-child(5) { animation-delay: 460ms; }
.offer__row:nth-child(2) .offer__items li:nth-child(1) { animation-delay: 460ms; }
.offer__row:nth-child(2) .offer__items li:nth-child(2) { animation-delay: 500ms; }
.offer__row:nth-child(2) .offer__items li:nth-child(3) { animation-delay: 540ms; }
.offer__row:nth-child(2) .offer__items li:nth-child(4) { animation-delay: 580ms; }
.offer__row:nth-child(2) .offer__items li:nth-child(5) { animation-delay: 620ms; }
.offer__row:nth-child(3) .offer__items li:nth-child(1) { animation-delay: 600ms; }
.offer__row:nth-child(4) .offer__head { animation-delay: 680ms; }
.offer__row:nth-child(4) .offer__items li:nth-child(1) { animation-delay: 720ms; }
.offer__row:nth-child(4) .offer__items li:nth-child(2) { animation-delay: 760ms; }
.offer__row:nth-child(4) .offer__items li:nth-child(3) { animation-delay: 800ms; }
@keyframes chip-in { from { opacity: 0; transform: translateY(8px) scale(.97); } }
.hero--offer [data-enter] > .offer { animation: none; }
.hero--offer [data-enter] > .btn-row { animation-delay: 840ms; }
@media (max-width: 639px) {
  .hero--offer .wrap { padding-block: 40px 88px; }
  .offer { gap: 16px; margin-top: 24px; }
  .offer__head { min-width: 0; width: 100%; min-height: 0; }
  .offer__items a { min-height: 40px; }
}
@media (prefers-reduced-motion: reduce) {
  .offer__row > *, .offer__items li { animation: fade 300ms ease both; animation-delay: 0ms !important; }
}

/* ---------- רשימת סגנונות (יוגה ופילאטיס) ---------- */
.styles { list-style: none; margin: 28px 0 0; padding: 0; border-top: 1px solid var(--line); max-width: 520px; }
.styles li { display: grid; grid-template-columns: 7.5em 1fr; gap: 4px 20px; padding-block: 14px; border-bottom: 1px solid var(--line); scroll-margin-top: calc(var(--nav) + 32px); }
.styles strong { font-weight: 500; font-size: 18px; }
.styles strong em { display: block; font-style: normal; font-size: 12px; font-weight: 500; letter-spacing: .06em; color: #8F4E34; margin-top: 2px; }
.styles span { color: var(--muted); font-size: 16px; line-height: 1.6; }
.about__text .styles + .link { margin-top: 24px; }
.styles li:target { background: rgba(163, 90, 60, .1); }
@media (max-width: 639px) { .styles li { grid-template-columns: 1fr; } }
.on-dark .styles { border-color: rgba(251, 251, 251, .25); }
.on-dark .styles li { border-color: rgba(251, 251, 251, .18); }
.on-dark .styles span, .on-dark .about__text p { color: var(--on-brand-muted); }
.on-dark .styles strong em { color: #F0EADF; }
.about__inner--flip .arch { justify-self: start; }
@media (min-width: 1024px) { .about__inner--flip { grid-template-columns: 1fr 1fr; } }

/* ---------- רצועת בית הספר ---------- */
.school-strip { padding-block: 64px; }
.school-strip__inner { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px 64px; flex-wrap: wrap; padding: 48px; border: 1px solid var(--line); border-radius: 12px; background: #FBFBFB; }
.school-strip h2 { font-size: clamp(28px, 1.6vw + 20px, 44px); line-height: 1.2; letter-spacing: -0.02em; }
.school-strip p:not(.eyebrow) { margin-top: 14px; color: var(--muted); max-width: 46ch; }
@media (max-width: 639px) { .school-strip { padding-block: 56px; } .school-strip__inner { padding: 28px 22px; } .school-strip .btn { width: 100%; } }

/* ---------- כרטיסי שיעורים על רקע ירוק ---------- */
.cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card {
  display: flex; flex-direction: column; background: var(--g-main); color: var(--ink);
  border-radius: var(--r-card); overflow: hidden; text-decoration: none;
  transition: transform 220ms var(--ease-out), box-shadow 220ms var(--ease-out);
}
.card__media { aspect-ratio: 4 / 3; }
.card__media img { transition: transform 600ms var(--ease-out); }
.card__tag {
  position: absolute; top: 14px; inset-inline-end: 14px;
  background: rgba(255, 255, 255, .85); border-radius: var(--r-pill); padding: 5px 14px; font-size: 13px;
}
.card__body { display: flex; flex-direction: column; flex: 1; padding: 28px 28px 24px; }
.card__top { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.card h3 { font-size: var(--t-h3); line-height: 1.3; }
.card__num { font-size: 12px; color: #77827B; font-variant-numeric: tabular-nums; }
.card p { margin-top: 14px; color: var(--muted); font-size: 16px; line-height: 1.7; }
.card__foot {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  margin-top: auto; padding-top: 22px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted);
}
.card__body > p:last-of-type { margin-bottom: 28px; }
.card__arrow { flex: none; width: 36px; height: 36px; border: 1px solid var(--line); border-radius: 50%; display: grid; place-items: center; transition: background-color 200ms ease, border-color 200ms ease, color 200ms ease; }
.card__arrow svg { width: 16px; height: 16px; }
@media (hover: hover) and (pointer: fine) {
  .card:hover { transform: translateY(-2px); box-shadow: 0 18px 40px -20px rgba(0, 0, 0, .45); }
  .card:hover .card__media img { transform: scale(1.03); }
  .card:hover .card__arrow { background: var(--brand); border-color: var(--brand); color: #FFFFFF; }
}
.card:active { transform: scale(0.99); }
@media (max-width: 1023px) { .cards { grid-template-columns: 1fr; max-width: 560px; } }

/* ---------- ביקורות מ־Google ---------- */
.quotes { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.quote { display: flex; flex-direction: column; padding: 32px 32px 28px; background: #FBFBFB; border: 1px solid var(--line); border-radius: var(--r-card); }
.quote__stars { color: var(--terra-line); letter-spacing: 3px; font-size: 15px; }
.quote blockquote { margin: 16px 0 24px; font-size: 18px; line-height: 1.7; color: var(--ink); }
.quote blockquote::before { content: "„"; font-family: var(--font-accent); color: var(--sage); margin-inline-end: 2px; }
.quote blockquote::after { content: "”"; font-family: var(--font-accent); color: var(--sage); }
.quote__by { text-align: right; margin-top: auto; padding-top: 18px; border-top: 1px solid var(--line); font-size: 14px; font-weight: 500; color: var(--muted); }
.quote--inline { margin: 40px 0 0; max-width: 560px; }
.reviews__more { margin-top: 32px; }
.reviews__more .link { display: inline-flex; align-items: center; min-height: 44px; }
@media (max-width: 1023px) { .quotes { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 639px) { .quotes { grid-template-columns: 1fr; } .quote { padding: 24px; } }

/* ---------- עמודות ממוספרות (כמו "הגישה שלנו") ---------- */
.pillars { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(var(--cols, 3), 1fr); }
.pillars li { padding: 8px 40px; text-align: center; }
.pillars li + li { border-inline-start: 1px solid var(--line); }
.pillars .num { display: block; font-size: 12px; color: var(--terra-line); letter-spacing: .1em; margin-bottom: 18px; font-variant-numeric: tabular-nums; }
.pillars h3 { font-size: var(--t-h3); line-height: 1.3; }
.pillars p { margin-top: 12px; color: var(--muted); font-size: 16px; }
.pillars p.pillars__small { margin-top: 4px; font-size: 13px; }
@media (max-width: 1023px) {
  .pillars { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
  .pillars li:nth-child(odd) { border-inline-start: 0; }
}
@media (max-width: 639px) {
  .pillars { grid-template-columns: 1fr; row-gap: 0; }
  .pillars li { border-inline-start: 0 !important; border-top: 1px solid var(--line); padding: 28px 0; text-align: start; }
}
.pillars-cta { margin-top: 56px; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 32px; }
.pillars-cta .link { display: inline-flex; align-items: center; min-height: 44px; }
.pillars-note { margin-top: 28px; text-align: center; color: var(--muted); }

/* ---------- קבוצות עם שורות מופרדות בקו ---------- */
.groups { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 96px; }
.group h3 { font-size: var(--t-h3); line-height: 1.3; }
.group__for { margin-top: 8px; color: var(--muted); }
.rows { list-style: none; padding: 0; margin: 24px 0 0; border-top: 1px solid var(--ink); }
.rows li {
  display: flex; justify-content: space-between; align-items: baseline; gap: 24px;
  padding-block: 18px; border-bottom: 1px solid var(--line);
}
.rows strong { font-weight: 500; font-size: 18px; white-space: nowrap; }
.rows span { color: var(--muted); text-align: end; }
.rows a { text-decoration: none; }
@media (hover: hover) and (pointer: fine) { .rows a:hover strong { color: var(--brand); text-decoration: underline; text-underline-offset: 4px; } }
.group__more { margin-top: 20px; }
@media (max-width: 1023px) { .groups { grid-template-columns: 1fr; gap: 56px; } }
@media (max-width: 639px) {
  .rows li { flex-direction: column; align-items: flex-start; gap: 4px; }
  .rows span { text-align: start; }
}

/* ---------- מערכת שעות ---------- */
.week { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 12px; }
.day h3 { font-size: 18px; font-weight: 500; line-height: 1.4; padding-bottom: 12px; border-bottom: 1px solid var(--ink); }
.day h3 span { font-weight: 400; color: var(--muted); font-variant-numeric: tabular-nums; }
.day ul { list-style: none; margin: 0; padding: 0; }
.day li { padding-block: 12px; border-bottom: 1px solid var(--line); display: grid; gap: 2px; font-size: 15px; line-height: 1.45; }
.day time { font-variant-numeric: tabular-nums; color: var(--muted); text-align: right; }
.day strong { font-weight: 500; }
.day li > span { color: var(--muted); }
.stars { font-style: normal; color: var(--terra-line); letter-spacing: 1px; }

/* מערכת שעות: צבע לכל סוג שיעור. ירוק מרווה ליוגה, טרקוטה לפילאטיס */
.c-yoga { --c: #2C6638; --c-bg: rgba(44, 102, 56, .10); }
.c-pilates { --c: #253029; --c-bg: #FBFBFB; }
.c-kids { --c: #A35A3C; --c-bg: #F0EADF; }
.day li.c-pilates { outline: 1px solid #D5CDBF; outline-offset: -1px; }
.day li.c-kids { position: relative; margin-top: 8px; padding: 10px 12px; border: 0; border-inline-start: 4px solid var(--c); border-radius: 6px; background: var(--c-bg); }
.day li.c-kids time { color: var(--c); font-weight: 500; }
.week-key { list-style: none; margin: -32px 0 24px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 14px; color: var(--muted); }
.week-key li { display: inline-flex; align-items: center; gap: 8px; }
.week-key li::before { content: ""; width: 12px; height: 12px; border-radius: 3px; background: var(--c); }
.day li.c-yoga, .day li.c-pilates {
  position: relative; margin-top: 8px; padding: 10px 12px; border: 0; border-inline-start: 4px solid var(--c); border-radius: 6px;
  background: var(--c-bg);
}
.day li.c-yoga time, .day li.c-pilates time { color: var(--c); font-weight: 500; }
@media (max-width: 639px) { .week-key { margin-top: -16px; } }
.schedule__note { margin-top: 32px; color: var(--muted); max-width: 70ch; }
.schedule__note .link { display: inline-block; margin-top: 8px; }
@media (max-width: 1100px) { .week { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px 16px; } }
@media (max-width: 639px) {
  .week { grid-template-columns: 1fr; gap: 32px; }
  .day li { grid-template-columns: 96px 1fr; column-gap: 12px; }
  .day li > strong, .day li > span { grid-column: 2; }
  .day time { grid-row: 1 / span 2; }
}

/* ---------- טקסט ועובדות (חוגי ילדים) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 96px; align-items: start; }
.split__text p { margin-top: 16px; max-width: 44ch; }
.split__text .muted { color: var(--muted); }
.facts { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink); }
.facts li { display: flex; justify-content: space-between; gap: 24px; padding-block: 16px; border-bottom: 1px solid var(--line); }
.facts .k { color: var(--muted); }
.facts .v { font-weight: 500; text-align: end; }
.split .link { display: inline-block; margin-top: 24px; }
@media (max-width: 1023px) { .split { grid-template-columns: 1fr; gap: 40px; } }

/* ---------- בית הספר ---------- */
.prose p { max-width: 60ch; }
.prose p + p { margin-top: 16px; }
.track-group + .track-group { margin-top: 80px; }
.track-group > h3 { font-size: 13px; font-weight: 500; letter-spacing: .12em; color: var(--muted); padding-bottom: 12px; border-bottom: 1px solid var(--ink); }
.track { display: grid; grid-template-columns: 5fr 7fr; gap: 24px 96px; padding-block: 40px; border-bottom: 1px solid var(--line); scroll-margin-top: calc(var(--nav) + 24px); }
.track h4 { font-size: clamp(26px, 1.2vw + 18px, 34px); line-height: 1.25; }
.track h4 small { display: block; font-family: var(--font); font-size: 16px; color: var(--muted); margin-top: 6px; }
.track p { max-width: 56ch; }
.track p + p { margin-top: 12px; }
@media (max-width: 1023px) { .track { grid-template-columns: 1fr; gap: 16px; } }

/* בית הספר: מה לומדים, פרטי המסלול וקישור לשאלה */
.track__label { margin-top: 24px; font-size: 13px; font-weight: 500; letter-spacing: .12em; color: var(--muted); }
.track p + .track__label { margin-top: 24px; }
.track__learn { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 8px; }
.track__learn li { position: relative; padding-inline-start: 22px; }
.track__learn li::before { content: ""; position: absolute; inset-inline-start: 2px; top: .7em; width: 8px; height: 1px; background: var(--terra-line); }
.track__facts { display: flex; flex-wrap: wrap; gap: 12px 40px; margin: 24px 0 0; padding-top: 18px; border-top: 1px solid var(--line); }
.track__facts dt { font-size: 13px; color: var(--muted); }
.track__facts dd { margin: 2px 0 0; font-weight: 500; }
.track__note { margin-top: 18px; font-size: 15px; color: var(--muted); }
.track .link { display: inline-flex; align-items: center; min-height: 44px; margin-top: 16px; }

/* הכרת WYA: תג ב־hero ורצועה מתחתיו */
.wya-badge {
  display: inline-flex; align-items: center; gap: 10px; margin-top: 22px;
  padding: 8px 16px 8px 14px; border: 1px solid rgba(255, 255, 255, .45); border-radius: 999px;
  background: rgba(20, 30, 25, .28); color: #FFFFFF; font-size: 15px; font-weight: 500;
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.wya-badge svg { width: 20px; height: 20px; flex: none; }
[data-enter] > .wya-badge { animation-delay: 300ms; }
.accredit { padding-block: 56px; border-bottom: 1px solid var(--line); }
.accredit__inner { display: grid; grid-template-columns: auto 1fr; gap: 32px 64px; align-items: center; max-width: 1040px; }
.accredit__seal {
  width: 148px; height: 148px; border-radius: 50%; border: 1px solid var(--terra-line);
  display: grid; place-items: center; align-content: center; gap: 4px; color: var(--terra, #A35A3C);
  box-shadow: inset 0 0 0 8px var(--bg, #F0EADF), inset 0 0 0 9px var(--line);
}
.accredit__seal svg { width: 52px; height: 52px; }
.accredit__seal span { font-size: 15px; font-weight: 500; letter-spacing: .2em; color: var(--ink); }
.accredit h2 { font-size: clamp(28px, 1.6vw + 20px, 44px); line-height: 1.2; letter-spacing: -0.02em; }
.accredit p:not(.eyebrow) { margin-top: 14px; color: var(--muted); max-width: 60ch; }
@media (max-width: 639px) {
  .accredit { padding-block: 56px; }
  .accredit__inner { grid-template-columns: 1fr; }
  .accredit__seal { width: 112px; height: 112px; }
  .accredit__seal svg { width: 40px; height: 40px; }
}

/* תווית "בקרוב" */
.soon {
  display: inline-block; vertical-align: middle; margin-inline-start: 8px; padding: 3px 10px 4px;
  border: 1px solid #D5CDBF; border-radius: 999px;
  font-family: var(--font); font-size: 13px; font-weight: 500; font-style: normal; line-height: 1.2; letter-spacing: .02em;
  color: #8F4E34; background: #F0EADF; white-space: nowrap;
}

/* הרשמה לעדכונים */
.updates__inner { display: grid; grid-template-columns: 5fr 7fr; gap: 40px 96px; align-items: start; }
.updates h2 { font-size: var(--t-h2); line-height: 1.22; letter-spacing: -0.025em; }
.updates__text p:not(.eyebrow) { margin-top: 18px; color: var(--muted); max-width: 44ch; }
.signup { display: grid; gap: 18px; padding: 32px; border: 1px solid var(--line); border-radius: 12px; background: #FBFBFB; }
.signup__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.signup__field { display: grid; gap: 6px; font-size: 15px; font-weight: 500; }
.signup__field small, .signup__interests small { font-weight: 400; color: var(--muted); }
.signup__field input {
  width: 100%; min-height: 48px; padding: 10px 14px; border: 1px solid rgba(37, 48, 41, .25); border-radius: 8px;
  background: #FFFFFF; color: var(--ink); font: 400 16px/1.4 var(--font);
  transition: border-color 150ms ease, box-shadow 150ms ease;
}
.signup__field input:focus { outline: none; border-color: var(--g-dark, #2C6638); box-shadow: 0 0 0 3px rgba(44, 102, 56, .18); }
.signup__interests { margin: 0; padding: 0; border: 0; display: flex; flex-wrap: wrap; gap: 6px 20px; }
.signup__interests legend { padding: 0; margin-bottom: 8px; font-size: 15px; font-weight: 500; }
.signup__interests label, .signup__consent { display: inline-flex; align-items: flex-start; gap: 10px; min-height: 32px; font-size: 15px; cursor: pointer; }
.signup__interests input, .signup__consent input { width: 20px; height: 20px; margin: 2px 0 0; flex: none; accent-color: var(--g-dark, #2C6638); }
.signup__consent { color: var(--muted); font-size: 14px; line-height: 1.5; }
.signup .btn { justify-self: start; }
.signup .btn:disabled { opacity: .6; cursor: progress; }
.signup__msg { font-size: 15px; line-height: 1.6; }
.signup__msg:empty { display: none; }
.signup__msg.is-ok { color: var(--g-dark, #2C6638); font-weight: 500; }
.signup__msg.is-fail { color: var(--ink); }
@media (max-width: 1023px) { .updates__inner { grid-template-columns: 1fr; } }
@media (max-width: 639px) {
  .signup { padding: 20px; }
  .signup__row { grid-template-columns: 1fr; }
  .signup .btn { justify-self: stretch; }
}
html.a11y-contrast .signup, html.a11y-contrast .soon { background: #000 !important; color: #FFF !important; border-color: #FFF !important; }

/* בית הספר: למי זה מתאים */
.fit { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.fit li { display: flex; flex-direction: column; padding: 32px; border: 1px solid var(--line); border-radius: 12px; background: #FBFBFB; }
.fit .num { font-size: 12px; color: var(--terra-line); letter-spacing: .1em; margin-bottom: 18px; font-variant-numeric: tabular-nums; }
.fit h3 { font-size: var(--t-h3); line-height: 1.3; }
.fit p { margin-top: 12px; color: var(--muted); flex: 1; }
.fit .link { align-self: flex-start; display: inline-flex; align-items: center; min-height: 44px; margin-top: 16px; }
@media (max-width: 1023px) { .fit { grid-template-columns: 1fr; } .fit li { padding: 28px; } }

.team { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 360px)); justify-content: center; gap: 48px 24px; }
.teacher__photo { aspect-ratio: 4 / 5; background: var(--g-alt); display: grid; place-items: center; overflow: hidden; border-radius: 999px 999px 0 0; }
.teacher__photo img.placeholder-mark { width: 30%; opacity: .25; }
.teacher__photo img.photo { width: 100%; height: 100%; object-fit: cover; }
.teacher h3 { font-size: var(--t-h3); margin-top: 20px; }
.teacher__role { color: var(--muted); margin-top: 2px; }
.teacher dl { margin: 16px 0 0; border-top: 1px solid var(--line); }
.teacher dl > div { padding-block: 10px; border-bottom: 1px solid var(--line); }
.teacher dt { font-size: 14px; color: var(--muted); }
.teacher dd { margin: 2px 0 0; }
/* שדות שעוד צריך למלא: מסומנים כדי שלא ייצאו לאוויר בטעות */
.todo { color: #8A5A00; background: #FFF4D6; padding: 0 4px; }
@media (max-width: 1023px) { .team { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 639px) { .team { grid-template-columns: 1fr; } }

/* ---------- מנויים ---------- */
.page-head { padding-top: calc(var(--nav) + 72px); padding-bottom: 56px; border-bottom: 1px solid var(--line); }
.page-head h1 { font-size: var(--t-h1); line-height: 1.04; letter-spacing: -0.035em; }
.page-head__lead { font-size: var(--t-lead); line-height: 1.75; max-width: 46ch; margin-top: 24px; color: #46534C; }
.page-head__jump { list-style: none; padding: 0; margin: 32px 0 0; display: flex; flex-wrap: wrap; gap: 10px; }
.page-head__jump a { display: inline-flex; align-items: center; height: 44px; padding-inline: 22px; border: 1px solid var(--line); border-radius: var(--r-pill); text-decoration: none; font-size: 15px; transition: background-color 150ms ease, border-color 150ms ease; }
@media (hover: hover) and (pointer: fine) { .page-head__jump a:hover { background: var(--g-alt); border-color: var(--ink); } }
@media (max-width: 639px) { .page-head { padding-top: calc(var(--nav) + 56px); padding-bottom: 48px; } }

.plans { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--ink); }
.plans li {
  display: flex; justify-content: space-between; align-items: baseline; gap: 24px;
  padding-block: 22px; border-bottom: 1px solid var(--line);
}
.plans li > div { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 24px; }
.plans strong { font-weight: 500; font-size: 18px; min-width: 14ch; }
.plans li > div > span { color: var(--muted); }
.plans b { font-weight: 400; font-size: 22px; white-space: nowrap; font-variant-numeric: tabular-nums; min-width: 8em; text-align: start; }
.plans b small { font-size: 15px; color: var(--muted); }
/* ט.ל.ח. בסוף סעיף בתקנון */
.terms__note { margin-top: 16px; font-size: 14px; color: var(--muted); }
/* "שיעור בודד" בראש הרשימה, מודגש בעדינות */
.plans li.plans__try { background: #FBFBFB; border-inline-start: 3px solid #2C6638; padding-inline: 16px; }
.plans-split { display: grid; grid-template-columns: 1fr 340px; gap: 48px 80px; align-items: start; }
.plans-split__photo { max-width: 340px; }
@media (max-width: 1023px) {
  .plans-split { grid-template-columns: 1fr; }
  .plans-split__photo { max-width: 300px; justify-self: start; }
}
.plans__buy { margin-top: 28px; }
.plans__buy .link { display: inline-flex; align-items: center; min-height: 44px; }
.plans__note { margin-top: 40px; font-size: 15px; color: var(--muted); max-width: 60ch; }
@media (max-width: 639px) {
  .plans li { flex-direction: column; align-items: flex-start; gap: 6px; }
  .plans li > div { flex-direction: column; align-items: flex-start; gap: 4px; }
  .plans strong, .plans b { min-width: 0; }
}

/* ---------- תקנון ---------- */
.terms { padding-top: 56px; }
.terms__layout { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 48px 96px; align-items: start; }
.toc { position: sticky; top: calc(var(--nav) + 32px); border-inline-start: 1px solid var(--line); padding-inline-start: 20px; }
.toc__title { font-size: 13px; font-weight: 500; letter-spacing: .12em; color: var(--muted); margin-bottom: 12px; }
.toc ol { list-style: none; margin: 0; padding: 0; }
.toc a { display: block; padding: 7px 0; font-size: 15px; color: #46534C; text-decoration: none; transition: color 150ms ease; }
@media (hover: hover) and (pointer: fine) { .toc a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; } }
.terms__body { max-width: 72ch; }
.term { padding-bottom: 56px; margin-bottom: 56px; border-bottom: 1px solid var(--line); scroll-margin-top: calc(var(--nav) + 24px); }
.term:last-child { border-bottom: 0; margin-bottom: 0; }
.term h2 { display: flex; align-items: baseline; gap: 14px; font-size: clamp(26px, 1.2vw + 20px, 34px); line-height: 1.25; margin-bottom: 24px; }
.term__num { font-family: var(--font-accent); font-style: normal; color: #8F4E34; font-size: .9em; min-width: 1ch; }
.term h3 { font-size: 20px; font-weight: 500; margin: 40px 0 14px; }
.term p + p { margin-top: 14px; }
.term p, .term li { line-height: 1.85; }
.clauses { list-style: none; margin: 0; padding: 0; }
.clauses > li { position: relative; padding-inline-start: 52px; }
.clauses > li + li { margin-top: 18px; }
.clauses > li[data-n]::before { content: attr(data-n); position: absolute; right: 0; top: 0; font-size: 14px; font-weight: 500; color: var(--muted); font-variant-numeric: tabular-nums; line-height: 1.85rem; direction: ltr; }
.clauses--plain > li { padding-inline-start: 22px; }
.clauses--plain > li::before { content: ""; position: absolute; inset-inline-start: 2px; top: .8em; width: 6px; height: 6px; border-radius: 50%; background: var(--terra-line); }
.clauses strong { font-weight: 500; }
.price-table { width: 100%; border-collapse: collapse; margin: 20px 0; font-size: 16px; }
.price-table th { text-align: start; font-size: 13px; font-weight: 500; color: var(--muted); padding: 0 0 10px; border-bottom: 1px solid var(--ink); }
.price-table td { padding: 12px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.price-table td:last-child, .price-table th:last-child { text-align: end; white-space: nowrap; padding-inline-start: 16px; font-variant-numeric: tabular-nums; }
.notes { margin: 0 0 16px; padding: 0; padding-inline-start: 18px; color: var(--muted); font-size: 15px; }
.notes li + li { margin-top: 6px; }
.callout { margin-top: 28px; padding: 18px 22px; background: var(--g-alt); border-radius: var(--r-card); font-size: 16px; }
.term--kids { background: #FBFBFB; border: 1px solid var(--line); border-radius: var(--r-card); padding: 40px 40px 48px; }
.term--kids h2 { display: block; }
@media (max-width: 1023px) {
  .terms__layout { grid-template-columns: 1fr; gap: 40px; }
  .toc { position: static; border-inline-start: 0; padding: 20px; background: var(--g-alt); border-radius: var(--r-card); }
  .toc ol { columns: 2; column-gap: 24px; }
}
@media (max-width: 639px) {
  .toc ol { columns: 1; }
  .clauses > li { padding-inline-start: 44px; }
  .term--kids { padding: 28px 20px 32px; }
}

/* ---------- אזור התלמידים (תצוגת עיצוב) ---------- */
.demo-banner { margin: 0; padding: 10px var(--gut); background: #FFF4D6; color: #6B4700; font-size: 14px; text-align: center; }
.lms-nav { background: var(--g-main); border-bottom: 1px solid var(--line); }
.lms-nav .wrap { display: flex; align-items: center; gap: 20px; min-height: 76px; }
.lms-nav__title { font-size: 15px; color: var(--muted); padding-inline-start: 20px; border-inline-start: 1px solid var(--line); }
.lms-nav__back { margin-inline-start: auto; display: inline-flex; align-items: center; min-height: 44px; font-size: 15px; }
@media (max-width: 639px) { .lms-nav__title { display: none; } }
.btn--ghost-dark { background: transparent; color: var(--ink); border-color: var(--line); font-weight: 400; height: 44px; padding-inline: 20px; }
@media (hover: hover) and (pointer: fine) { .btn--ghost-dark:hover { background: var(--g-alt); border-color: var(--ink); } }
.btn:disabled { opacity: .4; cursor: not-allowed; transform: none; }
h1[tabindex="-1"]:focus, h2[tabindex="-1"]:focus { outline: none; }

/* כניסה */
.lms-login { padding: 72px 0 96px; display: grid; place-items: center; }
.lms-login__card { width: min(440px, calc(100% - 2 * var(--gut))); background: #FBFBFB; border: 1px solid var(--line); border-radius: 12px; padding: 44px 40px; text-align: center; }
.lms-login__mark { width: 56px; height: 56px; margin: 0 auto 20px; }
.lms-login h1 { font-size: 34px; line-height: 1.2; }
.lms-login__lead { margin-top: 12px; color: var(--muted); font-size: 16px; }
#login-form { margin-top: 28px; text-align: start; }
.field + .field { margin-top: 18px; }
.field label { display: block; font-size: 14px; font-weight: 500; margin-bottom: 6px; }
.field input { width: 100%; height: 48px; padding: 0 14px; font: 400 16px var(--font); color: var(--ink); background: #FFFFFF; border: 1px solid rgba(37, 48, 41, .25); border-radius: 8px; transition: border-color 150ms ease, box-shadow 150ms ease; }
.field input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(44, 102, 56, .18); }
.field input[aria-invalid="true"] { border-color: #A3392C; }
.field__error { margin-top: 6px; font-size: 14px; color: #A3392C; }
.lms-login__submit { width: 100%; margin-top: 26px; }
.lms-login__help { margin-top: 20px; font-size: 15px; color: var(--muted); }
[hidden] { display: none !important; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.lock.lock--big { position: static; display: grid; place-items: center; width: 64px; height: 64px; margin: 0 auto 20px; border-radius: 50%; background: var(--g-alt); color: var(--brand); }
.lock--big svg { width: 28px; height: 28px; }
@media (max-width: 639px) { .lms-login { padding: 40px 0 64px; } .lms-login__card { padding: 32px 22px; } }

/* עמודי הקורסים */
.lms-page { padding: 56px 0 96px; }
.lms-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 40px; }
.lms-head h1 { font-size: clamp(34px, 2vw + 24px, 52px); line-height: 1.15; letter-spacing: -0.02em; }
.lms-head__sub { color: var(--muted); margin-top: 6px; }
.lms-head .eyebrow { margin-bottom: 12px; }
.lms-back { display: inline-flex; align-items: center; min-height: 44px; margin-bottom: 8px; font-size: 15px; }
.lms-sub { font-size: 24px; margin: 72px 0 24px; padding-top: 32px; border-top: 1px solid var(--line); }
.lms-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.lms-card { display: flex; flex-direction: column; height: 100%; background: #FBFBFB; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; text-decoration: none; color: inherit; transition: transform 220ms var(--ease-out), box-shadow 220ms var(--ease-out); }
.lms-card__media { aspect-ratio: 16 / 9; }
.lms-card__media img { transition: transform 600ms var(--ease-out); }
.lms-card__body { display: flex; flex-direction: column; flex: 1; padding: 22px 24px 24px; }
.lms-card__sub { font-size: 13px; color: var(--muted); letter-spacing: .04em; }
.lms-card h3 { font-size: 22px; margin-top: 4px; }
.lms-card__meta { margin-top: 8px; font-size: 15px; color: var(--muted); }
.lms-card__progress { margin-top: 8px; font-size: 14px; color: var(--muted); }
.lms-card__cta { margin-top: auto; align-self: flex-start; height: 44px; padding-inline: 22px; }
.lms-card__body .bar { margin-top: 18px; }
.lms-card .link { margin-top: auto; padding-top: 14px; align-self: flex-start; }
@media (hover: hover) and (pointer: fine) {
  a.lms-card:hover { transform: translateY(-2px); box-shadow: 0 16px 36px -22px rgba(22, 51, 28, .5); }
  a.lms-card:hover .lms-card__media img { transform: scale(1.03); }
}
.lms-card--locked .lms-card__media img { filter: grayscale(.6) brightness(.85); }
.lock { position: absolute; inset: 0; display: grid; place-items: center; color: #FFFFFF; }
.lock svg { width: 36px; height: 36px; padding: 10px; box-sizing: content-box; background: rgba(22, 51, 28, .55); border-radius: 50%; }
.bar { height: 6px; background: rgba(37, 48, 41, .1); border-radius: 99px; overflow: hidden; }
.bar span { display: block; height: 100%; width: 0; background: var(--brand); border-radius: 99px; transition: width 400ms var(--ease-out); }
@media (max-width: 1023px) { .lms-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 639px) {
  .lms-grid { grid-template-columns: 1fr; }
  .lms-head { flex-wrap: wrap; align-items: flex-start; }
}

/* נגן ורשימת שיעורים */
.lms-course { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 32px; align-items: start; }
.player { position: relative; aspect-ratio: 16 / 9; background: var(--deep); border-radius: 10px; overflow: hidden; scroll-margin-top: 16px; }
.player img { width: 100%; height: 100%; object-fit: cover; opacity: .55; }
.player__play { position: absolute; inset: 0; margin: auto; width: 76px; height: 76px; border: 0; border-radius: 50%; background: var(--g-main); color: var(--brand); display: grid; place-items: center; cursor: pointer; transition: transform 160ms var(--ease-out); }
.player__play svg { width: 30px; height: 30px; margin-inline-end: -4px; }
.player__play:active { transform: scale(0.95); }
.lesson-info { padding-top: 24px; }
.lesson-info h2 { font-size: 26px; font-weight: 400; line-height: 1.3; }
.lesson-info__meta { margin-top: 6px; color: var(--muted); font-size: 15px; }
.lesson-info__actions { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 24px; padding-top: 24px; border-top: 1px solid var(--line); }
.lesson-info__nav { display: flex; gap: 10px; }
#mark-done { height: 44px; padding-inline: 22px; }
#mark-done[aria-pressed="true"] { background: var(--g-alt); color: var(--brand); }
.lms-course__side { background: #FBFBFB; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; position: sticky; top: 16px; max-height: calc(100vh - 32px); display: flex; flex-direction: column; }
.side-progress { padding: 18px 20px; border-bottom: 1px solid var(--line); }
.side-progress p { font-size: 14px; color: var(--muted); margin-bottom: 10px; }
.chapters { list-style: none; margin: 0; padding: 0; overflow-y: auto; }
.chapter + .chapter { border-top: 1px solid var(--line); }
.chapter__title { padding: 16px 20px 6px; font-size: 13px; font-weight: 500; color: var(--muted); letter-spacing: .04em; }
.chapter ol { list-style: none; margin: 0; padding: 0 0 10px; }
.lesson { width: 100%; display: grid; grid-template-columns: 28px 1fr auto; gap: 12px; align-items: center; padding: 10px 20px; min-height: 48px; background: none; border: 0; font: 400 15px/1.4 var(--font); color: var(--ink); text-align: start; cursor: pointer; transition: background-color 150ms ease; }
@media (hover: hover) and (pointer: fine) { .lesson:hover { background: var(--g-alt); } }
.lesson.is-current { background: var(--g-alt); box-shadow: inset -3px 0 0 var(--brand); font-weight: 500; }
.lesson__state { width: 26px; height: 26px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; }
.lesson.is-done .lesson__state { background: var(--brand); border-color: var(--brand); color: #FFFFFF; }
.lesson__state svg { width: 14px; height: 14px; }
.lesson.is-locked, .lesson:disabled { cursor: not-allowed; color: var(--muted); }
.lesson.is-locked .lesson__state { border-style: dashed; }
/* מבחן אחרי שיעור */
.quiz { margin-top: 24px; padding: 24px; border: 1px solid var(--line); border-radius: 12px; background: #FBFBFB; }
.quiz[hidden] { display: none; }
.quiz__title { font-size: 19px; font-weight: 500; }
.quiz__note { margin-top: 4px; font-size: 14px; color: var(--muted); }
.quiz__q { margin: 18px 0 0; padding: 0; border: 0; display: grid; gap: 8px; }
.quiz__q legend { padding: 0; margin-bottom: 10px; font-size: 17px; font-weight: 500; }
.quiz__q label { display: flex; align-items: center; gap: 12px; min-height: 48px; padding: 10px 14px; border: 1px solid var(--line); border-radius: 8px; background: #FFFFFF; cursor: pointer; transition: border-color 150ms ease, background-color 150ms ease; }
.quiz__q label:has(input:checked) { border-color: var(--g-dark, #2C6638); background: var(--g-alt, #EEF1EC); }
.quiz__q input { width: 18px; height: 18px; margin: 0; flex: none; accent-color: var(--g-dark, #2C6638); }
.quiz__check { margin-top: 16px; }
.quiz__msg { margin-top: 12px; font-size: 15px; }
.quiz__msg:empty { display: none; }
.quiz__msg.is-wrong { color: #8A3B22; }
.quiz__passed { font-weight: 500; color: var(--g-dark, #2C6638); outline: none; }
.lesson__d { font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; direction: ltr; }
@media (max-width: 1023px) {
  .lms-course { grid-template-columns: 1fr; }
  .lms-course__side { position: static; max-height: none; }
}
@media (max-width: 639px) {
  .lesson-info__actions, .lesson-info__nav { flex-direction: column; }
  .lesson-info__actions .btn { width: 100%; }
}

/* ---------- קריאה לפעולה בסוף: תמונה כהה, כמו בעיצוב ---------- */
.call { position: relative; color: #FFFFFF; background: var(--deep); text-align: center; overflow: hidden; }
.call__bg { position: absolute; inset: 0; }
.call__bg img { width: 100%; height: 100%; object-fit: cover; }
.call__bg::after { content: ""; position: absolute; inset: 0; background: rgba(44, 102, 56, .9); }
.call .wrap { position: relative; }
.call__mark { width: 44px; height: 44px; margin: 0 auto 24px; }
.call .eyebrow { justify-content: center; color: #F0EADF; }
.call .eyebrow::before { display: none; }
.call h2 .accent { color: inherit; }
.call p { margin: 20px auto 0; max-width: 48ch; color: rgba(255, 255, 255, .82); }
.call .btn { margin-top: 36px; }
.call__alt { margin-top: 28px; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 28px; font-size: 15px; }
.call__alt a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; color: rgba(255, 255, 255, .85); text-decoration: none; }
.call__alt svg { width: 18px; height: 18px; }
@media (hover: hover) and (pointer: fine) { .call__alt a:hover { color: #FFFFFF; text-decoration: underline; text-underline-offset: 4px; } }
@media (max-width: 639px) { .call .btn { width: 100%; } }

/* ---------- תחתית כהה ---------- */
footer { background: var(--deep); color: rgba(251, 251, 251, .7); padding-block: 40px calc(40px + var(--bar)); font-size: 14px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 12px 32px; align-items: center; justify-content: space-between; }
footer .logo { color: var(--on-brand); }
footer .logo img { width: 30px; height: 30px; }
footer .logo__name { font-size: 17px; }
footer .logo__name small { color: rgba(251, 251, 251, .55); }
.footer__links { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 24px; }
.footer__links a, .footer__ig { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; color: inherit; text-decoration: none; }
.footer__ig svg { width: 18px; height: 18px; }
@media (hover: hover) and (pointer: fine) { .footer__links a:hover, .footer__ig:hover { color: #FFFFFF; text-decoration: underline; text-underline-offset: 4px; } }
.footer__credit { width: 100%; font-size: 13px; color: rgba(251, 251, 251, .5); }
/* צור קשר בתחתית כל עמוד */
.footer__contact { width: 100%; padding: 0 0 28px; margin-bottom: 12px; border-bottom: 1px solid rgba(251, 251, 251, .14); }
.footer__title { font-size: 22px; font-weight: 400; color: var(--on-brand, #FBFBFB); }
.footer__contact-row { margin-top: 14px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 28px; }
.footer__item { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; color: rgba(251, 251, 251, .9); text-decoration: none; font-size: 16px; }
.footer__item svg, .footer__btn svg { width: 18px; height: 18px; flex: none; }
@media (hover: hover) and (pointer: fine) { .footer__item:hover { color: #FFFFFF; text-decoration: underline; text-underline-offset: 4px; } }
.footer__btns { display: flex; flex-wrap: wrap; gap: 10px; margin-inline-start: auto; }
.footer__btn { min-height: 44px; padding-inline: 18px; font-size: 15px; gap: 8px; }
footer .btn--ghost { color: var(--on-brand, #FBFBFB); border-color: rgba(251, 251, 251, .45); }
.footer__hours { margin-top: 14px; font-size: 14px; line-height: 1.6; color: rgba(251, 251, 251, .7); }
.footer__hours strong { font-weight: 500; color: rgba(251, 251, 251, .9); }
@media (max-width: 639px) {
  .footer__btns { margin-inline-start: 0; width: 100%; }
  .footer__btn { flex: 1 1 0; justify-content: center; }
}
/* שעות מענה ליד כפתורי יצירת הקשר */
.call__hours { margin-top: 18px; font-size: 14px; line-height: 1.6; color: rgba(251, 251, 251, .75); }
.call__hours strong { font-weight: 500; color: rgba(251, 251, 251, .92); }

/* ---------- סרגל פעולה בטלפון ---------- */
/* הסכמה לעוגיות */
.footer__ck { display: inline-flex; align-items: center; min-height: 44px; padding: 0; border: 0; background: none; color: inherit; font: inherit; cursor: pointer; }
@media (hover: hover) and (pointer: fine) { .footer__ck:hover { color: #FFFFFF; text-decoration: underline; text-underline-offset: 4px; } }
.consent {
  position: fixed; z-index: 45; inset-inline-end: 16px; bottom: 16px;
  width: min(460px, calc(100vw - 32px)); max-height: calc(100vh - 32px); overflow-y: auto;
  padding: 22px 22px 18px; border: 1px solid var(--line); border-radius: 14px;
  background: #FBFBFB; color: var(--ink); box-shadow: 0 18px 50px -14px rgba(37, 48, 41, .35);
  animation: consent-in 360ms var(--ease-out) both;
}
@keyframes consent-in { from { opacity: 0; transform: translateY(12px); } }
.consent h2 { font-size: 19px; font-weight: 500; line-height: 1.3; outline: none; }
.consent p { margin-top: 8px; font-size: 15px; line-height: 1.6; color: var(--muted); }
.consent__prefs { margin-top: 14px; display: grid; gap: 4px; border-top: 1px solid var(--line); padding-top: 8px; }
.consent__opt { display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: start; padding: 8px 0; font-size: 14px; color: var(--muted); cursor: pointer; }
.consent__opt input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--g-dark, #2C6638); }
.consent__opt input:disabled { cursor: default; }
.consent__opt strong { display: block; font-weight: 500; font-size: 15px; color: var(--ink); }
.consent__opt small { font-weight: 400; color: var(--muted); }
.consent__btns { margin-top: 16px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; }
.consent__btns .btn { min-height: 44px; padding-inline: 20px; font-size: 15px; }
.consent__more { min-height: 44px; padding: 0 6px; border: 0; background: none; color: var(--ink); font: inherit; font-size: 15px; text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }
@media (max-width: 639px) {
  .consent { inset: auto 0 0 0; width: auto; max-height: 80vh; border-radius: 14px 14px 0 0; border-inline: 0; border-bottom: 0; padding: 20px var(--gut) calc(16px + env(safe-area-inset-bottom)); }
  .consent__btns .btn { flex: 1 1 auto; }
  body.consent-open .a11y-toggle { bottom: calc(var(--consent-h, 0px) + 12px); }
  body.consent-open .actionbar { visibility: hidden; }
}
@media (prefers-reduced-motion: reduce) { .consent { animation: none; } }
html.a11y-contrast .consent { background: #000 !important; color: #FFF !important; border: 2px solid #FFF !important; }
html.a11y-contrast .consent p, html.a11y-contrast .consent__opt, html.a11y-contrast .consent__opt strong, html.a11y-contrast .consent__more { color: #FFF !important; }

.actionbar { display: none; }
@media (max-width: 639px) {
  .actionbar {
    display: block; position: fixed; inset: auto 0 0 0; z-index: 18;
    padding: 12px var(--gut) calc(12px + env(safe-area-inset-bottom));
    background: rgba(251, 251, 251, .96); border-top: 1px solid var(--line);
    transform: translateY(100%); visibility: hidden;
    transition: transform 240ms var(--ease-out), visibility 0s linear 240ms;
  }
  .actionbar.is-shown { transform: none; visibility: visible; transition: transform 240ms var(--ease-out), visibility 0s; }
  .actionbar .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  [data-enter] > * { animation: fade 300ms ease both; }
  .hero__bg img { animation: none; }
  .btn, .btn svg, .nav__link > span, .nav__link svg, .dropdown, .actionbar, .card, .card__media img { transition: none; }
}
@keyframes fade { from { opacity: 0; } }

/* ---------- בורר שפה (עב / EN / RU) ---------- */
/* בחירת שפה בדגלים: כפתור עם דגל השפה הנוכחית שפותח רשימה */
.flag { width: 24px; height: 16px; flex: none; border-radius: 2px; box-shadow: 0 0 0 1px rgba(37, 48, 41, .2); overflow: hidden; display: block; }
.lang-menu { position: relative; margin-inline-start: auto; }
.lang-btn { display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 10px; border: 1px solid var(--line); border-radius: var(--r-pill); background: transparent; color: var(--ink); cursor: pointer; transition: background-color 150ms ease, border-color 150ms ease; }
.lang-btn svg.chev { width: 13px; height: 13px; transition: transform 200ms var(--ease-out); }
.lang-menu.is-open .lang-btn svg.chev { transform: rotate(180deg); }
@media (hover: hover) and (pointer: fine) { .lang-btn:hover { background: var(--g-alt); border-color: var(--ink); } }
.dropdown--lang { min-width: 180px; inset-inline-start: auto; inset-inline-end: 0; top: calc(100% + 10px); transform-origin: top left; }
[dir="ltr"] .dropdown--lang { transform-origin: top right; }
.dropdown--lang a { display: flex; align-items: center; gap: 12px; }
.dropdown--lang a[aria-current] { font-weight: 500; background: var(--g-alt); }
.nav > .wrap > .lang-menu + .btn { margin-inline-start: 4px; }
.lms-nav .lang-menu + .lms-nav__back { margin-inline-start: 12px; }
@media (max-width: 767px) { .nav > .wrap > .lang-menu { margin-inline-start: auto; } .nav > .wrap > .lang-menu + .menu-toggle { margin-inline-start: 0; } }
/* בתפריט הטלפון: שורת דגלים עם שם השפה */
.lang-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 24px; }
.sheet .lang-row a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px; border: 1px solid var(--line); border-radius: var(--r-pill); font-size: 15px; font-weight: 400; }
.sheet .lang-row a[aria-current] { background: var(--g-alt); border-color: var(--ink); font-weight: 500; }

/* ---------- עמודים משמאל לימין (אנגלית ורוסית) ---------- */
[dir="ltr"] .nav__link > span { background-position: left bottom; }
[dir="ltr"] .dropdown { transform-origin: top left; }
[dir="ltr"] .btn svg, [dir="ltr"] .card__arrow svg { transform: scaleX(-1); }
@media (hover: hover) and (pointer: fine) { [dir="ltr"] .btn:hover svg { transform: scaleX(-1) translateX(-3px); } }
[dir="ltr"] .hero__bg::after {
  background:
    linear-gradient(90deg, rgba(31, 43, 36, .8), rgba(31, 43, 36, .55) 42%, rgba(31, 43, 36, .08) 75%),
    linear-gradient(0deg, rgba(31, 43, 36, .35), rgba(0, 0, 0, 0) 45%);
}
@media (max-width: 1023px) { [dir="ltr"] .hero__bg::after { background: linear-gradient(0deg, rgba(31, 43, 36, .82), rgba(31, 43, 36, .35) 70%, rgba(31, 43, 36, .2)); } }
[dir="ltr"] .quote__by, [dir="ltr"] .day time { text-align: left; }
[dir="ltr"] .clauses > li[data-n]::before { right: auto; left: 0; }
[dir="ltr"] .lesson.is-current { box-shadow: inset 3px 0 0 var(--brand); }
[dir="ltr"] .hero h1, [dir="ltr"] .page-head h1 { letter-spacing: -0.02em; }
[dir="ltr"] .hero h1 { max-width: 15ch; }
html[lang="ru"] .hero h1 { max-width: 17ch; }
[dir="ltr"] .eyebrow { letter-spacing: .14em; text-transform: uppercase; font-size: 14px; }

/* רוסית: Assistant ו־Frank Ruhl Libre לא כוללים קירילית, לכן גופנים דומים עם קירילית */
html[lang="ru"] { --font: "Jost", system-ui, sans-serif; --font-accent: "Cormorant Garamond", Georgia, serif; }
html[lang="ru"] .accent { font-weight: 500; }
html[lang="ru"] .hero h1, html[lang="ru"] .page-head h1 { font-size: clamp(40px, 4.4vw + 14px, 80px); }

/* ---------- כפתור נגישות ---------- */
.a11y-toggle {
  position: fixed; z-index: 40; inset-inline-start: 16px; bottom: 16px;
  width: 44px; height: 44px; border-radius: 50%; border: 2px solid #FFFFFF;
  background: #2C6638; color: #FFFFFF; display: grid; place-items: center; cursor: pointer;
  box-shadow: 0 6px 20px -6px rgba(0, 0, 0, .45);
  transition: transform 160ms var(--ease-out);
}
.a11y-toggle svg { width: 26px; height: 26px; }
.a11y-toggle:active { transform: scale(0.95); }
.a11y-toggle:focus-visible { outline: 3px solid #FFBF00; outline-offset: 3px; }
@media (max-width: 767px) { .a11y-toggle { bottom: calc(var(--bar) + 12px); inset-inline-start: 8px; } }
body.menu-open .a11y-toggle, body.menu-open .a11y-panel { display: none; }
.lms-nav__back { white-space: nowrap; }
@media (max-width: 639px) { .lms-nav__back { display: none; } }

.a11y-panel {
  position: fixed; z-index: 41; inset-inline-start: 16px; bottom: 80px;
  width: min(340px, calc(100vw - 32px)); max-height: calc(100vh - 110px); overflow-y: auto;
  background: #FFFFFF; color: #1A1A1A; border: 2px solid #1F4E9C; border-radius: 12px;
  box-shadow: 0 18px 50px -12px rgba(0, 0, 0, .4); padding: 18px;
  font-family: Arial, "Segoe UI", system-ui, sans-serif; font-size: 16px; line-height: 1.5;
}
@media (max-width: 639px) { .a11y-panel { bottom: calc(var(--bar) + 76px); } }
.a11y-panel__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 14px; }
.a11y-panel__head h2 { font: 700 19px/1.3 Arial, system-ui, sans-serif; margin: 0; color: #1A1A1A; }
.a11y-close { width: 40px; height: 40px; border: 1px solid #999; border-radius: 8px; background: #FFFFFF; color: #1A1A1A; cursor: pointer; display: grid; place-items: center; }
.a11y-close svg { width: 18px; height: 18px; }
.a11y-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.a11y-opt {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; min-height: 76px; padding: 10px 6px;
  border: 1px solid #B9B9B9; border-radius: 10px; background: #F4F6FA; color: #1A1A1A;
  font: 400 14px/1.3 Arial, system-ui, sans-serif; text-align: center; cursor: pointer;
}
.a11y-opt svg { width: 24px; height: 24px; }
.a11y-opt[aria-pressed="true"] { background: #1F4E9C; border-color: #1F4E9C; color: #FFFFFF; }
.a11y-opt:focus-visible, .a11y-close:focus-visible, .a11y-panel a:focus-visible { outline: 3px solid #FFBF00; outline-offset: 2px; }
.a11y-size { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 8px 10px; border: 1px solid #B9B9B9; border-radius: 10px; background: #F4F6FA; }
.a11y-size button { width: 44px; height: 44px; border: 1px solid #8A8A8A; border-radius: 8px; background: #FFFFFF; color: #1A1A1A; font: 700 18px Arial, sans-serif; cursor: pointer; }
.a11y-size output { font-weight: 700; min-width: 4ch; text-align: center; }
.a11y-reset { grid-column: 1 / -1; min-height: 44px; border: 1px solid #1A1A1A; border-radius: 10px; background: #FFFFFF; color: #1A1A1A; font: 700 15px Arial, sans-serif; cursor: pointer; }
.a11y-panel__foot { margin-top: 14px; font-size: 14px; text-align: center; }
.a11y-panel__foot a { color: #1F4E9C; font-weight: 700; text-decoration: underline; }

/* מצבי נגישות (מופעלים על <html>) */
html.a11y-zoom-1 body { zoom: 1.12; }
html.a11y-zoom-2 body { zoom: 1.25; }
html.a11y-zoom-3 body { zoom: 1.4; }
html.a11y-zoom-1 .a11y-panel, html.a11y-zoom-2 .a11y-panel, html.a11y-zoom-3 .a11y-panel,
html.a11y-zoom-1 .a11y-toggle, html.a11y-zoom-2 .a11y-toggle, html.a11y-zoom-3 .a11y-toggle { zoom: 1; }
html.a11y-gray body > *:not(.a11y-panel):not(.a11y-toggle) { filter: grayscale(1); }
html.a11y-links a:not(.a11y-panel a) { text-decoration: underline !important; text-underline-offset: 3px; outline: 2px dashed #B8860B; outline-offset: 2px; }
html.a11y-font body, html.a11y-font body * { font-family: Arial, "Segoe UI", system-ui, sans-serif !important; font-style: normal !important; }
html.a11y-spacing body { letter-spacing: .06em; word-spacing: .16em; }
html.a11y-spacing p, html.a11y-spacing li, html.a11y-spacing blockquote { line-height: 2 !important; }
html.a11y-still *, html.a11y-still *::before, html.a11y-still *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
html.a11y-cursor, html.a11y-cursor * { cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40' viewBox='0 0 24 24'%3E%3Cpath d='M4 2l16 10-7 1.5L9.5 21z' fill='black' stroke='white' stroke-width='1.5'/%3E%3C/svg%3E") 4 2, auto !important; }
/* ניגודיות גבוהה: רקע שחור, טקסט לבן, קישורים צהובים */
html.a11y-contrast { --g-main: #000; --g-alt: #000; --brand: #000; --deep: #000; --ink: #FFF; --muted: #FFF; --line: #FFF; --sage: #FFD400; --terra: #FFD400; --terra-line: #FFD400; --action: #FFD400; --action-hover: #FFD400; --on-action: #000; --on-brand: #FFF; --on-brand-muted: #FFF; }
html.a11y-contrast body, html.a11y-contrast .nav, html.a11y-contrast .sheet, html.a11y-contrast .dropdown, html.a11y-contrast footer,
html.a11y-contrast .card, html.a11y-contrast .quote, html.a11y-contrast .lms-card, html.a11y-contrast .lms-login__card, html.a11y-contrast .lms-course__side,
html.a11y-contrast .term--kids, html.a11y-contrast .callout, html.a11y-contrast .toc, html.a11y-contrast .hero__tag, html.a11y-contrast .actionbar { background: #000 !important; color: #FFF !important; border-color: #FFF !important; }
html.a11y-contrast a:not(.btn):not(.a11y-panel a), html.a11y-contrast .nav__link, html.a11y-contrast .lang-btn { color: #FFD400 !important; border-color: #FFD400 !important; }
html.a11y-contrast .btn, html.a11y-contrast .btn--light, html.a11y-contrast .btn--terra { background: #FFD400 !important; color: #000 !important; border: 2px solid #FFD400 !important; }
html.a11y-contrast .btn--ghost, html.a11y-contrast .btn--ghost-dark { background: #000 !important; color: #FFD400 !important; border: 2px solid #FFD400 !important; }
html.a11y-contrast .hero__bg::after, html.a11y-contrast .call__bg::after { background: rgba(0, 0, 0, .85) !important; }
html.a11y-contrast .eyebrow, html.a11y-contrast .card p, html.a11y-contrast .card__foot, html.a11y-contrast .todo { color: #FFF !important; background: transparent !important; }
html.a11y-contrast img.logo-img, html.a11y-contrast .logo img { filter: invert(1); }

/* מקרא: הסבר רמות */
.week-key li.week-key__levels::before { display: none; }
.week-key__levels .stars { margin-inline-end: 2px; }

/* מערכת שעות: כל יום נפתח בלחיצה בטלפון. במחשב כל הימים פתוחים */
.day > summary { list-style: none; cursor: default; }
.day > summary::-webkit-details-marker { display: none; }
@media (max-width: 767px) {
  .day + .day { margin-top: 4px; }
  .day > summary { cursor: pointer; }
  .day > summary h3 { display: flex; align-items: center; justify-content: space-between; min-height: 48px; }
  .day > summary h3::after { content: ""; width: 9px; height: 9px; margin-inline-end: 6px; border-inline-end: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); transition: transform 200ms var(--ease-out); }
  .day[open] > summary h3::after { transform: rotate(-135deg); }
}

/* הירו בטלפון: רק 4 כותרות, בלי התגיות, כדי שכפתור הוואטסאפ ייראה בלי גלילה */
@media (max-width: 767px) {
  .offer { display: flex; flex-wrap: wrap; gap: 10px 22px; }
  .offer__row { display: contents; }
  .offer__items { display: none; }
  .offer__head { width: auto; min-width: 0; min-height: 44px; }
}
/* ---------- drafts 21.11: about / FAQ / articles ---------- */
.teacher__bio { margin-top: 10px; color: var(--muted); font-size: 15px; line-height: 1.7; }
.next-steps { padding-block: 72px; text-align: center; }
.next-steps__inner { display: grid; justify-items: center; gap: 28px; }
.next-steps h2 { font-size: var(--t-h2); }
.next-steps .btn-row { justify-content: center; align-items: center; gap: 16px 32px; }
.faq { padding-block: 56px 80px; }
.faq__inner { max-width: 760px; }
.faq__group { font-size: var(--t-h3); margin: 56px 0 8px; scroll-margin-top: calc(var(--nav) + 24px); }
.faq__group:first-child { margin-top: 0; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 56px; padding-block: 14px; font-size: 17px; font-weight: 500; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 10px; height: 10px; border-inline-end: 1.5px solid var(--brand); border-bottom: 1.5px solid var(--brand); transform: rotate(45deg); transition: transform 200ms ease; margin-inline-end: 4px; }
.faq details[open] summary::after { transform: rotate(-135deg); }
.faq details p { padding-bottom: 20px; color: var(--muted); line-height: 1.8; max-width: 62ch; }
.faq__more { margin-top: 40px; color: var(--muted); font-size: 15px; }
.post__tag { font-size: 16px; letter-spacing: .08em; color: var(--brand); margin-bottom: 8px; }
.post p + p { margin-top: 14px; }
.posts .term { scroll-margin-top: calc(var(--nav) + 24px); }
@media (prefers-reduced-motion: reduce) { .faq summary::after { transition: none; } }

.schedule-page { padding-top: calc(var(--nav) + 96px); }

/* ---------- Home v2 (approved 22.11): why us, how it works, kids video, green/cream rhythm ---------- */
/* ---- first class: "how it works" cards on a brand-green photo ---- */
.flow-sec { position: relative; overflow: hidden; isolation: isolate; color: var(--g-alt); background: var(--brand); padding-block: 88px; }
.flow-sec__bg { position: absolute; inset: 0; z-index: -1; }
.flow-sec__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
.flow-sec__bg::after { content: ""; position: absolute; inset: 0; background: rgba(44,102,56,.92); }
.flow-sec__head { text-align: center; margin-bottom: 40px; }
.flow-sec__head h2 { font-size: var(--t-h2); color: var(--g-alt); }
.flow-sec__head p { margin-top: 12px; color: var(--g-main); font-size: 17px; }
.flow { list-style: none; margin: 0 auto; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; max-width: 1120px; }
.flow > li { display: flex; flex-direction: column; text-align: center; padding: 36px 32px 8px; border-radius: var(--r-card); background: rgba(37,48,41,.22); border: 1px solid rgba(251,251,251,.2); }
.flow__num { width: 80px; height: 80px; margin: 0 auto 24px; border-radius: 50%; border: 1px solid rgba(251,251,251,.75); display: grid; place-items: center; font-size: 26px; font-weight: 300; }
.flow h3 { font-family: var(--font-accent); font-weight: 500; font-size: 26px; line-height: 1.3; color: var(--g-alt); }
.flow h3 .accent, .flow-sec__head h2 .accent { color: inherit; }
.flow > li > p { margin-top: 12px; color: var(--g-main); font-size: 16px; line-height: 1.7; flex: 1; }
.flow details { margin-top: 24px; border-bottom: 1px solid rgba(251,251,251,.25); text-align: start; }
.flow summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 56px; font-size: 16px; color: var(--g-alt); }
.flow summary::-webkit-details-marker { display: none; }
.flow summary::after { content: ""; flex: none; width: 32px; height: 32px; border-radius: 50%; border: 1px solid rgba(251,251,251,.6); background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FBFBFB' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 10l5 5 5-5'/%3E%3C/svg%3E") center / 18px no-repeat; transition: transform 200ms ease; }
.flow details[open] summary::after { transform: rotate(180deg); }
.flow details p { padding-bottom: 18px; color: var(--g-main); font-size: 15px; line-height: 1.7; }
.flow-sec__cta { margin-top: 48px; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 16px 32px; }
.flow-sec__cta .link { color: var(--g-alt); }
@media (prefers-reduced-motion: reduce) { .flow summary::after { transition: none; } }

@media (max-width: 767px) {

  .flow-sec { padding-block: 56px; }
  .flow-sec__head { margin-bottom: 32px; }
  .flow { grid-template-columns: 1fr; gap: 16px; }
  .flow > li { padding: 28px 22px 4px; }
  .flow__num { width: 64px; height: 64px; font-size: 22px; margin-bottom: 18px; }
  .flow h3 { font-size: 22px; }
  .flow-sec__cta { flex-direction: column; }
}

/* ---- simpler backgrounds: cream for every light section, green for dark ones ---- */
main .section--alt { background: var(--g-main); }
body:not(.home) main .section--alt { border-block: 1px solid var(--line); }

/* ---- kids: text + vertical video ---- */
.kids-split { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 48px 88px; align-items: center; }
.kids-split .head { grid-template-columns: 1fr; margin-bottom: 40px; }
.kids-split .head p { margin-top: 16px; color: var(--muted); max-width: 46ch; }
.kids-split .pillars { gap: 0 40px; }
.kids-split .pillars li { padding: 22px 0; text-align: start; border-top: 1px solid var(--line); }
.kids-split .pillars li + li { border-inline-start: 0; }
.kids-split .pillars .num { margin-bottom: 10px; }
.kids-split .pillars-note, .kids-split .pillars-cta { text-align: start; justify-content: flex-start; }
.kids-video { margin: 0; }
.kids-video video { display: block; width: 100%; height: auto; aspect-ratio: 9 / 16; object-fit: cover; border-radius: 999px 999px var(--r-card) var(--r-card); background: var(--line); }
@media (max-width: 900px) {
  .kids-split { grid-template-columns: 1fr; }
  .kids-video { max-width: 300px; margin-inline: auto; }
}
@media (max-width: 767px) {
  .kids-split .pillars { grid-template-columns: 1fr 1fr; gap: 0 20px; }
}
/* ---- why us (v2): brand line + three big figures ---- */
.why { padding-block: 80px; text-align: center; }
.why__head .eyebrow { justify-content: center; }
.why__head .eyebrow::before { display: none; }
.why__head h2 { font-size: var(--t-h2); }
.why__stats { list-style: none; margin: 48px auto 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); max-width: 1240px; }
.why__stats li { padding: 8px 28px; display: grid; justify-items: center; align-content: start; gap: 10px; }
.why__stats li + li { border-inline-start: 1px solid var(--line); }
.why__num { font-family: var(--font-accent); font-weight: 500; font-size: 84px; line-height: 1; color: var(--brand); letter-spacing: -0.02em; }
.why__stats h3 { margin-top: 8px; font-family: var(--font-accent); font-weight: 500; font-size: 22px; line-height: 1.3; }
.why__stats p { color: var(--muted); font-size: 16px; line-height: 1.7; max-width: 28ch; }

/* ---- strict alternation: green / cream ---- */
.call { background: var(--g-main); color: var(--ink); }
.call__bg { display: none; }
.call .eyebrow { color: var(--muted); }
.call h2 .accent { color: var(--sage); }
.call p { color: var(--muted); }
.call__alt a { color: var(--ink); }

@media (max-width: 767px) {
  .why { padding-block: 56px; }
  .why__stats { margin-top: 40px; grid-template-columns: 1fr; }
  .why__stats li { padding: 28px 0; }
  .why__stats li + li { border-inline-start: 0; border-top: 1px solid var(--line); }
  .why__num { font-size: 64px; }
}
.why__stats .soon { vertical-align: middle; margin-inline-start: 6px; font-family: var(--font-body); }
.why__stats p .link { display: inline-block; margin-top: 4px; }
@media (min-width: 768px) and (max-width: 1100px) { .why__stats { grid-template-columns: repeat(2, 1fr); row-gap: 40px; } .why__stats li:nth-child(3) { border-inline-start: 0; } }

@media (max-width: 767px) { .eyebrow { font-size: 14px; } [dir="ltr"] .eyebrow { font-size: 12px; } .post__tag { font-size: 14px; } }

/* ---------- Site search ---------- */
.search-btn { display: inline-grid; place-items: center; width: 40px; height: 40px; margin-inline-start: auto; border: 1px solid var(--line); border-radius: 50%; background: transparent; color: var(--ink); cursor: pointer; transition: background-color 150ms ease, border-color 150ms ease; }
.search-btn:hover { border-color: var(--brand); color: var(--brand); }
.search-btn svg { width: 20px; height: 20px; }
.nav > .wrap > .search-btn + .lang-menu { margin-inline-start: -20px; }
.search { position: fixed; inset: 0; z-index: 200; background: rgba(37, 48, 41, .45); display: flex; justify-content: center; align-items: flex-start; padding: 12vh 16px 16px; }
.search[hidden] { display: none; }
html.search-open { overflow: hidden; }
.search__panel { width: 100%; max-width: 640px; max-height: 76vh; display: flex; flex-direction: column; background: var(--g-alt); border-radius: var(--r-card); box-shadow: 0 24px 60px rgba(37, 48, 41, .25); overflow: hidden; }
.search__bar { display: flex; align-items: center; gap: 12px; padding: 0 16px; border-bottom: 1px solid var(--line); color: var(--muted); }
.search__bar > svg { width: 22px; height: 22px; flex: none; }
.search__input { flex: 1; min-width: 0; height: 64px; border: 0; background: transparent; font: inherit; font-size: 18px; color: var(--ink); outline: none; }
.search__input::-webkit-search-cancel-button { display: none; }
.search__close { display: grid; place-items: center; width: 44px; height: 44px; border: 0; background: transparent; color: var(--muted); cursor: pointer; border-radius: 50%; }
.search__close:hover { color: var(--ink); background: var(--g-main); }
.search__close svg { width: 20px; height: 20px; }
.search__results { list-style: none; margin: 0; padding: 8px; overflow-y: auto; }
.search__results:empty { display: none; }
.search__results a { display: grid; gap: 2px; padding: 12px 14px; border-radius: var(--r-card); text-decoration: none; color: var(--ink); }
.search__results a:hover, .search__results a:focus-visible { background: var(--g-main); outline: none; }
.search__page { font-size: 13px; color: var(--muted); }
.search__results strong { font-weight: 600; font-size: 16px; }
.search__snip { font-size: 14px; color: var(--muted); line-height: 1.6; }
.search__snip mark { background: var(--g-main); color: var(--brand); padding: 0 2px; border-radius: 2px; }
.search__empty { padding: 20px 14px; color: var(--muted); font-size: 15px; }
@media (max-width: 767px) {
  .nav > .wrap > .search-btn + .lang-menu { margin-inline-start: -10px; }
  .search { padding-top: 12px; }
  .search__panel { max-height: calc(100vh - 24px); }
  .search__input { height: 56px; font-size: 16px; }
}
/* ---------- Inner pages: green / cream rhythm (22.11) ---------- */
.page-head.on-dark { border-bottom: 0; }
.on-dark .page-head__lead { color: var(--g-main); }
.on-dark .page-head__jump a { border-color: rgba(251, 251, 251, .35); color: var(--g-alt); }
.on-dark .page-head__jump a:hover { background: rgba(251, 251, 251, .1); border-color: rgba(251, 251, 251, .6); }
.on-dark .plans { border-top-color: rgba(251, 251, 251, .55); }
.on-dark .plans li { border-bottom-color: rgba(251, 251, 251, .18); }
.on-dark .plans li > div > span, .on-dark .plans b small { color: var(--g-main); }
.on-dark .plans li.plans__try { color: var(--ink); border-inline-start-color: var(--terra); }
.on-dark .plans li.plans__try > div > span, .on-dark .plans li.plans__try b small { color: var(--muted); }
.on-dark .plans__note { color: var(--g-main); }
.on-dark .track-group > h3 { color: var(--g-main); border-bottom-color: rgba(251, 251, 251, .55); }
.on-dark .track { border-bottom-color: rgba(251, 251, 251, .18); }
.on-dark .track h4 small, .on-dark .track__label, .on-dark .track__note, .on-dark .track__facts dt { color: var(--g-main); }
.on-dark .track__learn li::before { background: var(--g-main); }
.on-dark .fit li { color: var(--ink); border-color: transparent; }
.on-dark .fit .link { color: var(--brand); }
.on-dark .pillars li + li { border-inline-start-color: rgba(251, 251, 251, .22); }
.on-dark .pillars p, .on-dark .pillars .num { color: var(--g-main); }
.on-dark .teacher__role, .on-dark .teacher__bio { color: var(--g-main); }
.on-dark .teacher__photo { background: rgba(251, 251, 251, .08); }
/* ---------- Reviews link to the original Google review ---------- */
.quote { position: relative; }
.quote__src { display: inline-flex; align-items: center; gap: 4px; margin-inline-start: 10px; font-size: 13px; color: var(--brand); text-decoration: underline; text-underline-offset: 3px; }
.quote__src::before { content: ""; position: absolute; inset: 0; }
.quote__src::after { content: "↗"; font-size: 12px; text-decoration: none; }
.quote:has(.quote__src) { cursor: pointer; transition: border-color 150ms ease, box-shadow 150ms ease; }
.quote:has(.quote__src):hover { border-color: var(--brand); box-shadow: 0 6px 20px rgba(37, 48, 41, .08); }
.quote__src:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; }
/* ---------- Fit sections to one screen (22.11): smaller arches & headings, tighter rhythm ---------- */
:root { --t-h1: clamp(40px, 4.2vw + 12px, 76px); --t-h2: clamp(30px, 2vw + 20px, 50px); }
.hero--offer .wrap { padding-block: 40px 64px; }
.hero .btn-row { margin-top: 28px; }
.arch { max-width: min(440px, calc((100svh - var(--nav) - 150px) * .8)); }
.about__inner { gap: 40px 88px; }
.about__text p { margin-top: 16px; }
.styles { margin-top: 20px; }
.styles li { padding-block: 11px; }
.about__text .link, .about__text .styles + .link { margin-top: 20px; }
.head { margin-bottom: 40px; }
.quote { padding: 26px 26px 22px; }
.quote blockquote { margin: 12px 0 18px; font-size: 17px; line-height: 1.65; }
.reviews__more { margin-top: 24px; }
.kids-split { grid-template-columns: minmax(0, 1fr) min(300px, calc((100svh - var(--nav) - 150px) * .5625)); gap: 40px 72px; }
.kids-split .head { margin-bottom: 24px; }
.kids-split .pillars li { padding: 14px 0; }
.pillars-note { margin-top: 20px; }
.pillars-cta { margin-top: 28px; }
.flow > li { padding: 28px 28px 6px; }
.flow__num { width: 64px; height: 64px; margin-bottom: 18px; }
.flow details { margin-top: 16px; }
.flow-sec__cta { margin-top: 32px; }
.why__stats { margin-top: 36px; }
.page-head { padding-top: calc(var(--nav) + 56px); padding-bottom: 48px; }
.page-head__lead { margin-top: 16px; }
.page-head__jump { margin-top: 24px; }
.call__mark { margin-bottom: 16px; }
.call p { margin-top: 14px; }
.call .btn { margin-top: 26px; }
.call__alt { margin-top: 18px; }
.track { padding-block: 28px; gap: 20px 72px; }
.track-group + .track-group { margin-top: 56px; }
.fit li { padding: 26px; }
.team { grid-template-columns: repeat(auto-fit, minmax(240px, 300px)); }
@media (min-width: 768px) { .why__num { font-size: 72px; } }
@media (max-width: 900px) { .kids-split { grid-template-columns: 1fr; } }:root { --padt: 72px; --padb: 64px; }
@media (max-width: 1023px) { :root { --padt: 64px; --padb: 56px; } }
@media (max-width: 767px) { :root { --padt: 52px; --padb: 48px; } }
.styles li { padding-block: 9px; }
.about__text p { margin-top: 14px; }
.kids-split .pillars li { padding: 12px 0; }
.kids-split .pillars h3 { font-size: 20px; }
.kids-split .pillars .num { margin-bottom: 6px; }
.kids-split .pillars p { margin-top: 6px; }
.reviews .head { margin-bottom: 32px; }
@media (min-width: 768px) and (max-height: 860px) { .hero--offer .offer__items { display: none; } .hero--offer .offer { display: flex; flex-wrap: wrap; gap: 10px 28px; } .hero--offer .offer__row { display: contents; } }@media (min-width: 1024px) {
  .about__inner { grid-template-columns: minmax(0, 1fr) minmax(0, 440px); }
  .about__inner--flip { grid-template-columns: minmax(0, 440px) minmax(0, 1fr); }
  .about__text p, .styles { max-width: 60ch; }
}
.team { grid-template-columns: repeat(auto-fit, minmax(220px, 260px)); }
/* fit pass 2 */
.styles li { grid-template-columns: 6.5em 1fr; }
.styles li > span { font-size: 15px; line-height: 1.55; }
.plans li { padding-block: 16px; }
.plans__note { margin-top: 28px; }
.quote--inline { margin-top: 28px; }
.kids-split .pillars-note { font-size: 15px; }
.teacher h3 { margin-top: 14px; }
#team .head { margin-bottom: 32px; }
/* fit pass 3 */
@media (min-width: 1024px) {
  #story .styles { display: grid; grid-template-columns: 1fr 1fr; column-gap: 32px; }
  #story .styles li { grid-template-columns: 1fr; gap: 4px; }
  #team .head h2 { white-space: nowrap; }
  #team .teacher__photo { aspect-ratio: 1 / 1; }
  #team .teacher__bio { line-height: 1.6; }
  .school-page #about .arch, #about.section--alt .arch { max-width: 300px; }
  .styles li { padding-block: 8px; }
  .plans li { padding-block: 14px; }
}
/* fit pass 4 */
@media (min-width: 1024px) {
  #story .about__text p, #story .styles { max-width: none; }
  #team .head h2 .accent { display: inline; }
  #combined .wrap { display: grid; grid-template-columns: 1fr 1fr; column-gap: 48px; align-items: end; }
  #combined .wrap > :not(.quote):not(.plans__note) { grid-column: 1 / -1; }
  #combined .plans__note { margin-top: 0; }
}
/* fit pass 5: short laptop screens */
@media (min-width: 1024px) and (max-height: 820px) {
  :root { --padt: 56px; --padb: 48px; }
  .head { margin-bottom: 32px; }
  .about__text > p { margin-block: 0 12px; }
  .styles li { padding-block: 6px; }
  .pillars { margin-top: 32px; }
}