/* חומה — עמודים: דף הבית, המחשבונים, המגזין והכתבה, הטיפים, מדורי הביטוח ואזור הניהול. */

/* ---------- טיקר ---------- */
/* ---------- קרוסלת חברות הביטוח ----------
   שתי קבוצות זהות, כל אחת ברוחב מינימלי של המסך המלא. בסוף המחזור
   הקבוצה השנייה נמצאת בדיוק במקום שבו הראשונה הייתה בהתחלה, ולכן
   האיפוס בלתי נראה ואין רגע שבו נשאר חלל ריק. */
@keyframes marquee-rtl { from { transform: translateX(0); } to { transform: translateX(-100%); } }
.marquee {
  display: flex; overflow: hidden; direction: ltr; width: 100%;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 6%, #000 94%, transparent);
          mask-image: linear-gradient(to right, transparent, #000 6%, #000 94%, transparent);
}
.marquee-group {
  display: flex; align-items: center; gap: 12px; flex-shrink: 0;
  min-width: 100%; justify-content: space-around; padding-inline: 6px;
  animation: marquee-rtl 40s linear infinite;
  will-change: transform;
}
/* לא נעצרים כשהעכבר עומד עליהם (החלטת הבעלים, D25); העצירה היא "עצירת אנימציות" בסרגל הנגישות */
/* מחוץ למסך (main.js, mountMarquees) */
.marquee.mq-off .marquee-group { animation-play-state: paused; }
.ins-chip {
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 12px; padding: 14px 26px;
  background: var(--card-solid);
  border: 1px solid color-mix(in oklab, var(--gold) 28%, var(--border-solid));
  box-shadow: 0 1px 2px oklch(0.20 0.04 264 / 6%), 0 10px 22px -18px oklch(0.20 0.04 264 / 55%);
}
.ins-chip img { height: 26px; width: auto; max-width: 96px; object-fit: contain; flex-shrink: 0; }
.ins-word { margin-inline-start: 9px; font-size: 21px; font-weight: 800; letter-spacing: -.01em; color: var(--navy); white-space: nowrap; }
/* לוגואים כהים על שקוף נעלמים על רקע שחור במצב ניגודיות גבוהה — טלאי לבן מתחתם פותר את זה */
.a11y-contrast .ins-chip img { background: #fff !important; border-radius: 4px; padding: 2px; }

/* ---------- סליידר המחשבון ---------- */
.savings-slider {
  -webkit-appearance: none; appearance: none; width: 100%;
  height: 8px; border-radius: 9999px; outline: none; cursor: pointer; margin: 0;
  background: linear-gradient(to left,
    var(--growth) 0%, var(--growth) var(--pct, 50%),
    var(--slider-rail) var(--pct, 50%), var(--slider-rail) 100%);
}
.savings-slider::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none;
  width: 28px; height: 28px; border-radius: 9999px;
  background: var(--growth); border: 3px solid #fff;
  box-shadow: 0 2px 8px rgb(0 0 0 / 0.25); transition: transform .15s ease;
}
.savings-slider::-webkit-slider-thumb:hover,
.savings-slider:focus-visible::-webkit-slider-thumb { transform: scale(1.15); }
.savings-slider::-moz-range-thumb {
  width: 28px; height: 28px; border-radius: 9999px;
  background: var(--growth); border: 3px solid #fff;
  box-shadow: 0 2px 8px rgb(0 0 0 / 0.25); cursor: pointer;
}

/* ---------- תגיות באזור הניהול ---------- */
.src-tag {
  display: inline-block; font-size: 12px; font-weight: 600; white-space: nowrap;
  background: var(--secondary); color: var(--muted-foreground);
  border: 1px solid var(--border-solid); border-radius: 999px; padding: 3px 10px;
  max-width: 190px; overflow: hidden; text-overflow: ellipsis;
}
.topic-tag {
  display: inline-block; font-size: 12px; font-weight: 600; white-space: nowrap;
  border-radius: 999px; padding: 3px 11px; border: 1px solid transparent;
}
.topic-claims { background: color-mix(in oklab, var(--destructive) 10%, transparent);
  color: var(--destructive); border-color: color-mix(in oklab, var(--destructive) 24%, transparent); }
.topic-dup    { background: color-mix(in oklab, oklch(0.62 0.15 62) 14%, transparent);
  color: oklch(0.46 0.13 62); border-color: color-mix(in oklab, oklch(0.62 0.15 62) 30%, transparent); }
.topic-gen    { background: var(--secondary); color: var(--muted-foreground); border-color: var(--border-solid); }
.topic-policy { background: color-mix(in oklab, var(--growth) 11%, transparent);
  color: var(--growth); border-color: color-mix(in oklab, var(--growth) 26%, transparent); }

.msg-cell { max-width: 300px; }
.msg {
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden; font-size: 13.5px; line-height: 1.55; color: var(--foreground);
}

/* ---------- מחשבון דמי ניהול ---------- */
.fee-card { position: relative; }
.fee-num { font-variant-numeric: tabular-nums; letter-spacing: -.01em; }

.fee-eyebrow {
  display: inline-flex; align-items: center; gap: 7px; align-self: flex-start;
  font-size: 12.5px; font-weight: 600; letter-spacing: .04em;
  color: var(--growth);
  background: color-mix(in oklab, var(--growth) 9%, transparent);
  border: 1px solid color-mix(in oklab, var(--growth) 20%, transparent);
  border-radius: 999px; padding: 5px 12px;
}

/* בורר סוג המוצר. flex ולא grid: הכפתורים ברוחב שווה, תווית ארוכה מקבלת את מה שהיא צריכה,
   וכשהטקסט בטלפון מוגדל כפתור שלא נכנס יורד לשורה הבאה במקום לגלוש מהמסך */
.fee-seg {
  display: flex; flex-wrap: wrap; gap: 4px;
  background: var(--secondary); border: 1px solid var(--border);
  border-radius: 12px; padding: 4px;
}
.fee-seg-b {
  font: inherit; font-size: 14px; font-weight: 600; cursor: pointer;
  border: 0; background: transparent; color: var(--muted-foreground);
  border-radius: 9px; padding: 9px 6px;
  flex: 1 1 0; min-width: fit-content;
  transition: background .2s, color .2s, box-shadow .2s;
}
.fee-seg-b:hover { color: var(--foreground); }
.fee-seg-b.on {
  background: var(--card-solid); color: var(--foreground);
  box-shadow: 0 1px 2px oklch(0.30 0.06 258 / .10), 0 3px 10px -4px oklch(0.30 0.06 258 / .22);
}
.fee-seg-b:focus-visible { outline: 2px solid var(--ring); outline-offset: 1px; }

.fee-rule { height: 1px; background: var(--border); }

.fee-grp { display: flex; flex-direction: column; gap: 9px; }
.fee-glab { font-size: 13px; font-weight: 600; color: var(--foreground); }
/* חמישה מוצרים: שלושה ושניים בשורה (גם בטלפון וגם בכרטיס הצר של המחשבון) */
.fee-seg-5 .fee-seg-b { flex-basis: 30%; }
/* ארבעה מוצרים (השוואת המסלולים): שניים בשורה בטלפון, ארבעה במסך רחב */
.fee-seg-4 .fee-seg-b { flex-basis: 40%; }
@media (min-width: 620px) { .fee-seg-4 .fee-seg-b { flex-basis: 20%; } }

.fee-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; margin-top: 2px; }

/* "מה אתה משלם היום" מול "ההצעה של חומה" — זה לצד זה במחשב, זה מעל זה בטלפון */
.fee-vs { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
@media (min-width: 620px) { .fee-vs { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.fee-side {
  display: flex; flex-direction: column; gap: 11px;
  border: 1px solid var(--border); border-radius: 15px; padding: 15px 16px;
  background: var(--card-solid);
}
.fee-side.homa {
  background: color-mix(in oklab, var(--growth) 7%, var(--card-solid));
  border-color: color-mix(in oklab, var(--growth) 26%, transparent);
}
.fee-side.homa .fee-glab { color: var(--growth); }
.fee-side p:empty { display: none; }
.fee-lock {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 2px 10px;
  padding-block: 8px; border-bottom: 1px dashed color-mix(in oklab, var(--growth) 26%, transparent);
}
.fee-lock strong { font-size: 19px; font-weight: 700; color: var(--foreground); }

.fee-hl { color: var(--growth); font-variant-numeric: tabular-nums; }
.fee-tick {
  display: flex; align-items: center; justify-content: center;
  width: 62px; height: 62px; border-radius: 50%;
  background: color-mix(in oklab, var(--growth) 12%, transparent); color: var(--growth);
}

@media (max-width: 700px) {
  .fee-grid { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .fee-seg-b { font-size: 13px; padding: 9px 4px; }
}

/* ---------- מאמר ---------- */
.prose > * { max-width: 100%; }
.prose h2 { font-size: clamp(21px, 2.5vw, 27px); margin-top: 10px; }
.prose p { font-size: 17.5px; line-height: 1.9; color: var(--muted-foreground); }
.prose ul { margin: 0; padding-inline-start: 22px; display: flex; flex-direction: column; gap: 10px; }
.prose li { font-size: 17px; line-height: 1.8; color: var(--muted-foreground); }
.prose strong { color: var(--foreground); font-weight: 600; }
.callout {
  border-inline-start: 4px solid var(--growth);
  background: color-mix(in oklab, var(--growth) 7%, transparent);
  border-radius: 0 14px 14px 0; padding: 20px 24px;
}
.quote { border: 1px solid var(--border); background: var(--secondary); border-radius: 16px; padding: 24px 26px; }

/* ---------- אדמין ---------- */
.adm { width: 100%; border-collapse: collapse; min-width: 940px; }
.adm th, .adm td { padding: 12px 14px; text-align: right; border-bottom: 1px solid var(--border); font-size: 14px; vertical-align: middle; }
.adm thead th { background: var(--secondary); font-weight: 700; font-size: 13px; color: var(--foreground); position: sticky; top: 0; z-index: 2; }
.adm tbody tr:hover { background: color-mix(in oklab, var(--secondary) 60%, transparent); }
.adm-scroll { max-height: 620px; overflow-y: auto; }
.adm-note { width: 170px; border-radius: 8px; padding: 7px 10px; font-size: 13px; }
/* בטלפון: כל שורה כרטיס, עם שם השדה לצד הערך (כמו table.t). טבלה של 940px בגלילה הצידה
   הסתירה את השם כשמגיעים לטלפון (אותו לקח כמו M-039) */
@media (max-width: 720px) {
  .adm-scroll { max-height: none; overflow: visible; }
  .adm, .adm tbody, .adm tr, .adm td { display: block; width: 100%; min-width: 0; }
  .adm thead { display: none; }
  .adm tr { display: flex; flex-direction: column; padding: 4px 0 10px; border-bottom: 1px solid var(--border); }
  .adm tbody tr:last-child { border-bottom: 0; }
  .adm td { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 6px 16px; border-bottom: 0; text-align: start; }
  .adm td[data-h]::before { content: attr(data-h); flex-shrink: 0; font-size: 12px; font-weight: 600; color: var(--muted-foreground); }
  .adm td:first-child:not([data-h]):not([colspan]), .adm .adm-lead-name { order: -1; padding-block: 11px; margin-bottom: 4px; font-size: 15.5px; background: var(--secondary); }
  .adm td[colspan] { justify-content: center; }
  .adm .msg-cell { max-width: none; flex-direction: column; align-items: stretch; gap: 4px; }
  .adm .msg { display: block; -webkit-line-clamp: unset; overflow: visible; }   /* בטלפון אין ריחוף לראות את כל ההודעה */
  .adm-note { width: 100%; min-width: 0; }
  .adm td:has(.adm-note) { flex-direction: column; align-items: stretch; gap: 4px; }
}
.st { font-size: 13px; font-weight: 600; border-radius: 8px; padding: 6px 9px; border: 1px solid var(--border-solid); cursor: pointer; background: var(--card-solid); }
.st-new  { background: color-mix(in oklab, var(--growth) 10%, transparent); border-color: color-mix(in oklab, var(--growth) 30%, transparent); color: oklch(0.44 0.16 252); }
.st-work { background: color-mix(in oklab, var(--amber) 12%, transparent); border-color: color-mix(in oklab, var(--amber) 32%, transparent); color: oklch(0.5 0.13 70); }
.st-won  { background: color-mix(in oklab, var(--sky) 12%, transparent); border-color: color-mix(in oklab, var(--sky) 32%, transparent); color: oklch(0.45 0.1 220); }
.st-lost { background: var(--muted); border-color: var(--border-solid); color: var(--muted-foreground); }

/* ---------- כריכת כתבה ---------- */
.cover { position: relative; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.cover.has-photo::before { display: none; }
.cover picture { display: contents; } /* <picture> של עותקי ה-WebP לא משנה את הפריסה */
/* רקע מטושטש מאחורי תמונת "פוסטר" שמוצגת שלמה בכרטיס (COVER_WHOLE ב-content.js) */
.cover-blur { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: blur(14px) brightness(.85); transform: scale(1.15); }
  .cover::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(to right, oklch(1 0 0 / 5%) 1px, transparent 1px), linear-gradient(to bottom, oklch(1 0 0 / 5%) 1px, transparent 1px); background-size: 32px 32px; pointer-events: none; }
/* העמודה שבצד עמוד כתבה: כרטיס נועה למעלה, מתחתיו "עוד במגזין" (6 כתבות, תמונה רחבה),
   ואחריהן כרטיס נועה שני. העמודה נמתחת לגובה הכתבה; רק הכרטיס השני נצמד למעלה בזמן הגלילה,
   כך ששום דבר לא גולל מתחת לכרטיס (הבעלים, 2026-10-29: כרטיס נצמד מעל הכתבות נראה שבור). */
.art-side { gap: 26px; align-self: stretch; }
.luxury-card.art-side-noa, .luxury-card.art-side-noa:hover {
  border-radius: 18px; padding: 22px 20px; gap: 11px;
  background: color-mix(in oklab, var(--growth) 8%, var(--background));
  border-color: color-mix(in oklab, var(--growth) 26%, transparent);
}
@media (min-height: 720px) { .art-side-noa-end { position: sticky; top: 88px; } }
.art-side-more { gap: 22px; }
.art-side-h { font-size: 13px; font-weight: 700; color: var(--muted-foreground); padding-bottom: 10px; border-bottom: 1px solid var(--border); }
.art-side-card { gap: 6px; text-decoration: none; color: var(--foreground); }
.art-side-card .cover { margin-bottom: 4px; transition: opacity .2s ease; }
.art-side-card:hover .cover { opacity: .88; }
.art-side-title { font-size: 15px; font-weight: 700; line-height: 1.45; }
.art-side-card:hover .art-side-title { color: var(--growth); }
@media (max-width: 1000px) {
  .luxury-card.art-side-noa-end { display: none; } /* מתחת לכתבה: כרטיס אחד מספיק */
  .art-side-more { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 16px; }
  .art-side-h { grid-column: 1 / -1; }
}
@media (max-width: 520px) {
  .art-side-card .cover { height: 112px !important; }
  .art-side-title { font-size: 14px; }
}

/* ======================= מרכז המחשבונים ======================= */
.calc-tabs {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px;
  background: var(--secondary); border: 1px solid var(--border);
  border-radius: 14px; padding: 4px;
}
.calc-tab {
  font: inherit; font-size: 14px; font-weight: 600; text-align: center;
  text-decoration: none; color: var(--muted-foreground);
  border-radius: 10px; padding: 11px 8px;
  transition: background .2s, color .2s, box-shadow .2s;
}
.calc-tab:hover { color: var(--foreground); }
.calc-tab.on {
  background: var(--card-solid); color: var(--foreground);
  box-shadow: 0 1px 2px oklch(0.30 0.06 258 / .10), 0 3px 10px -4px oklch(0.30 0.06 258 / .22);
}
.calc-tab:focus-visible { outline: 2px solid var(--ring); outline-offset: 1px; }
/* חמישה מחשבונים: שניים בשורה בטלפון (האחרון לבדו לרוחב השורה), חמישה במסך רחב */
.calc-tab:last-child:nth-child(odd) { grid-column: 1 / -1; }
@media (min-width: 720px) { .calc-tabs { grid-template-columns: repeat(5, minmax(0, 1fr)); } .calc-tab:last-child:nth-child(odd) { grid-column: auto; } }
@media (max-width: 560px) { .calc-tab { font-size: 12.5px; padding: 10px 4px; } }

/* ---------- הטבלה השנתית ---------- */
.yt-wrap { border: 1px solid var(--border); border-radius: 14px; overflow: hidden; background: var(--card-solid); }
.yt-btn {
  font: inherit; font-size: 13.5px; font-weight: 600; width: 100%; cursor: pointer;
  background: var(--secondary); color: var(--foreground); border: 0;
  padding: 12px 16px; display: flex; align-items: center; justify-content: space-between; gap: 10px;
}
.yt-btn:hover { background: color-mix(in oklab, var(--secondary) 70%, var(--border)); }
.yt-btn:focus-visible { outline: 2px solid var(--ring); outline-offset: -2px; }
.yt-btn .chev { display: flex; transition: transform .25s ease; }
.yt-btn[aria-expanded="true"] .chev { transform: rotate(180deg); }
.yt-scroll { max-height: 320px; overflow: auto; }
table.yt { width: 100%; border-collapse: collapse; font-size: 13px; }
table.yt th, table.yt td {
  padding: 8px 11px; text-align: right; border-bottom: 1px solid var(--border); white-space: nowrap;
}
table.yt thead th {
  font-weight: 600; font-size: 11.5px; color: var(--muted-foreground);
  background: var(--card-solid); position: sticky; top: 0; z-index: 1;
}
table.yt td { font-variant-numeric: tabular-nums; }
table.yt tbody tr:last-child td { border-bottom: 0; }
table.yt tbody tr:last-child td { font-weight: 600; }
@media (max-width: 620px) { .yt-opt { display: none; } }

/* ---------- תרחישים ---------- */
.scen-k { font-size: 11.5px; color: var(--muted-foreground); line-height: 1.4; }
.scen-v { font-size: clamp(15px, 3vw, 18px); font-weight: 700; font-variant-numeric: tabular-nums; letter-spacing: -.02em; }

/* ---------- בורר מצב ופעולות ---------- */
.calc-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.calc-actions .btn { flex: 1 1 160px; }
.mini-note {
  display: flex; gap: 9px; align-items: flex-start;
  background: var(--secondary); border-radius: 12px; padding: 11px 13px;
}
/* ======================= מחשבון על רצועה כהה =======================
   מסמך העיצוב של הבעלים (2026-09-30): רצועה לרוחב המסך ועליה כרטיסים בהירים, תכלת אמון
   לפעולה ולקו הכולל, ירוק חיסכון למה שהכסף עשה. מאז D38 הרצועה בהירה, ומאז D42 (2026-11-11)
   היא כחול-פנינה והכרטיסים לבנים עם פינות עגולות (16px) וצל שכבתי. הצבעים ב-tokens.css (--calc-*, ו-.calc-deck שממפה את הטוקנים
   הרגילים). הגרף עצמו מצויר ב-public/js/stage.js. */
.calc-top { padding-block: 34px 28px; }
/* הרצועה בשפת "פנינה ופלטינה" (D38, שלב 3; עד אז כחול לילה, D28): לבן שעובר לפנינה, זוהר כחול רויאל עדין מלמעלה
   וזוהר זהב עדין בפינה, רשת דקה בדיו שדועכת לקצוות, וקו זהב שמפניה למעלה ולמטה — סימן האיכות של המותג. הכל סטטי. */
.calc-band {
  position: relative; z-index: 1; isolation: isolate; overflow: hidden;
  padding-block: 40px 52px;
  background:
    radial-gradient(70% 60% at 50% -8%, color-mix(in oklab, var(--growth-bright) 12%, transparent), transparent 72%),
    radial-gradient(45% 55% at 0% 100%, color-mix(in oklab, var(--gold) 14%, transparent), transparent 70%),
    radial-gradient(40% 50% at 100% 85%, color-mix(in oklab, var(--growth) 7%, transparent), transparent 70%),
    linear-gradient(180deg, var(--calc-band), var(--calc-band-2));
}
.calc-band::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image:
    linear-gradient(to right, color-mix(in oklab, var(--navy) 5%, transparent) 1px, transparent 1px),
    linear-gradient(to bottom, color-mix(in oklab, var(--navy) 5%, transparent) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(75% 70% at 50% 35%, black, transparent);
}
.calc-band::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    linear-gradient(to left, transparent 6%, var(--gold-line) 50%, transparent 94%) top / 100% 1px no-repeat,
    linear-gradient(to left, transparent 6%, var(--gold-line) 50%, transparent 94%) bottom / 100% 1px no-repeat;
}
/* כרטיס על הרצועה: לבן, קו דק וצל רך, כדי שירחף מעל הפנינה */
.calc-band .deck-card, .calc-band .calc-deck .yt-wrap, .calc-band .calc-deck.solo .luxury-card {
  background: var(--card-solid); border-color: var(--calc-edge);
  box-shadow: var(--calc-shadow);
}
@media (max-width: 720px) { .calc-band { padding-block: 24px 36px; } .calc-top { padding-block: 26px 22px; } }

.calc-deck { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; color: var(--calc-ink); }
@media (min-width: 900px) {
  .calc-deck { grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr); gap: 24px; align-items: start; }
}
.calc-deck.solo { display: block; max-width: 560px; margin-inline: auto; }
.deck-col { display: flex; flex-direction: column; gap: 16px; min-width: 0; }

.deck-card, .calc-deck .yt-wrap, .calc-deck.solo .luxury-card {
  background: var(--calc-card); border: 1px solid var(--calc-edge); border-radius: var(--calc-radius);
  box-shadow: var(--calc-shadow);
}
.deck-card { display: flex; flex-direction: column; gap: 18px; padding: 28px; min-width: 0; }
.calc-deck.solo .luxury-card:hover { transform: none; background: var(--calc-card); border-color: var(--calc-edge); }
/* טופס הפרטים והתודה מגיעים עם פינות עגולות ב-style; כאן הם בשפת המחשבון */
.calc-deck.solo .luxury-card { backdrop-filter: none; border-radius: var(--calc-radius) !important; }
@media (max-width: 560px) { .deck-card { padding: 18px 16px; } }

.deck-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 12px; }
.deck-title { font-size: 20px; font-weight: 700; line-height: 1.4; color: var(--calc-blue); margin: 0; }
.deck-live { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 600; color: var(--calc-green-ink);
  background: var(--calc-green-wash); border-radius: 999px; padding: 4px 11px; }
.deck-live i { width: 8px; height: 8px; border-radius: 50%; background: var(--calc-green); flex-shrink: 0; }
/* כרטיס הנתונים (D42): קו זהב דק מתחת לכותרת, סימן האיכות של המותג */
.deck-controls > .deck-head { padding-block-end: 16px; border-block-end: 1px solid var(--gold-line); }

/* הכתוביות של השדות (D42): גדולות וכהות, עם שורת הסבר בעברית פשוטה מתחת (.cs-hint) */
.calc-deck .fee-grp { gap: 10px; }
.calc-deck .fee-glab { font-size: 16px; font-weight: 700; line-height: 1.45; color: var(--calc-ink); }
.calc-deck :where(.xs.muted) { font-size: 13px; }
.cs { display: flex; flex-direction: column; gap: 9px; min-width: 0; }
.cs-top { align-items: baseline; }
.cs-l { font-size: 16px; font-weight: 700; line-height: 1.45; color: var(--calc-ink); }
.cs-v { font-size: 20px; font-weight: 700; line-height: 1.3; color: var(--calc-blue); }
.cs-c .cs-l { font-size: 15px; font-weight: 600; }
.cs-c .cs-v { font-size: 18px; }
/* כתוביות של סליידרים שעוד כתובות עם .sm (ביטוח משכנתא, הוזלת ביטוחים) */
.calc-deck .kv > label.sm { font-size: 15px; line-height: 1.45; color: var(--calc-ink); }
.cs-hint { margin: -5px 0 0; font-size: 13.5px; line-height: 1.6; color: var(--calc-ink-2); }

/* הרכיבים הקיימים בשפת המחשבון (D42: פינות רכות, הבחירה בכחול מלא), מעבר צבע בלבד, בלי קפיצה בריחוף */
.calc-deck .fee-seg { border-radius: 12px; background: var(--secondary); border-color: var(--calc-edge); padding: 5px; gap: 5px; }
.calc-deck .fee-seg-b { border-radius: 8px; font-size: 15px; padding: 11px 8px; }
.calc-deck .fee-seg-b:not(:disabled):hover { background: color-mix(in oklab, var(--calc-blue) 8%, transparent); color: var(--calc-ink); }
/* בטלפון: קצת קטן יותר, כדי שחמשת המוצרים יישארו שלושה ושניים בשורה (הכלל הכללי של 700px מפסיד ל-.calc-deck) */
@media (max-width: 700px) { .calc-deck .fee-seg-b { font-size: 14px; padding: 10px 5px; } }
.calc-deck .fee-seg-b.on, .calc-deck .fee-seg-b.on:hover { background: var(--calc-blue); color: var(--primary-foreground);
  box-shadow: 0 1px 2px color-mix(in oklab, var(--calc-ink) 14%, transparent), 0 6px 14px -6px color-mix(in oklab, var(--calc-blue) 60%, transparent); }
.calc-deck .fee-rule { background: var(--calc-line-2); }
/* רק הבורר הנפתח (מסלול): שדות הטופס (שם, טלפון) נשארים כמו בשאר האתר */
.calc-deck .pop-sel select.pop-i { font-size: 16px; font-weight: 600; min-height: 50px; }
.calc-deck .pop-i { border-radius: var(--calc-radius-sm); }
.calc-deck .fee-eyebrow { border-radius: var(--calc-radius-sm); }
.calc-deck .btn { border-radius: 12px; font-size: 16px; font-weight: 700; padding: 15px 24px; }
.calc-deck .btn-growth { box-shadow: 0 8px 20px -10px color-mix(in oklab, var(--calc-blue) 70%, transparent); transition: background-color .2s ease-in-out; }
.calc-deck .btn-growth:hover { background: var(--calc-blue-deep); transform: none; box-shadow: none; }
.calc-deck .btn-navy:hover { background: var(--calc-blue-deep); transform: none; }
.calc-deck .btn-ghost { background: var(--calc-card); border-color: var(--calc-line); backdrop-filter: none; }
.calc-deck .btn-ghost:hover { transform: none; border-color: var(--calc-blue); }
.calc-deck :where(a, button, input, select, textarea, canvas):focus-visible { outline: 2px solid var(--calc-blue); outline-offset: 2px; }
.calc-deck .savings-slider { height: 8px; border-radius: 999px; }
/* מסך מגע: הפס נראה 8px, אבל אזור הנגיעה 44px (ריפוד שקוף, והשוליים השליליים שומרים על הפריסה) */
@media (pointer: coarse) {
  .calc-deck .savings-slider { box-sizing: content-box; padding-block: 19px; margin-block: -19px; background-clip: content-box; }
}
.calc-deck .savings-slider::-webkit-slider-thumb {
  width: 26px; height: 26px; background: var(--calc-blue); border: 4px solid var(--calc-card);
  box-shadow: 0 0 0 1px var(--calc-blue), 0 3px 8px color-mix(in oklab, var(--calc-blue) 45%, transparent);
}
.calc-deck .savings-slider::-moz-range-thumb {
  width: 18px; height: 18px; background: var(--calc-blue); border: 4px solid var(--calc-card);
  box-shadow: 0 0 0 1px var(--calc-blue);
}
.calc-deck .yt-wrap { overflow: hidden; }
.calc-deck .yt-btn { background: var(--calc-card); }
.yt-note { margin: 0; padding: 10px 16px 2px; font-size: 13px; line-height: 1.5; color: var(--calc-ink-3); }

/* התוצאה הראשית: תווית קטנה, מספר גדול, הסבר */
.deck-result { gap: 8px; }
.deck-result .rl { font-size: 15px; font-weight: 600; line-height: 1.6; color: var(--calc-ink-2); }
.deck-result .rn { font-size: 14px; line-height: 1.6; color: var(--calc-ink-2); }
.deck-big {
  font-size: clamp(34px, 8.6vw, 48px); font-weight: 700; line-height: 1.1;
  letter-spacing: -.02em; color: var(--calc-blue); text-wrap: balance;
}
.deck-mid { font-size: 28px; font-weight: 700; line-height: 1.2; letter-spacing: -.01em; }
.deck-mid.dep { color: var(--calc-blue); }
.deck-mid.gain { color: var(--calc-green); }
.deck-mid.loss { color: var(--calc-red); }
/* מספר שהשתנה נכנס בדהייה קצרה (fadeSwap ב-stage.js) */
@keyframes num-in { from { opacity: .15; } to { opacity: 1; } }
.num-in { animation: num-in .2s ease-in-out both; }

/* מקרא */
.deck-legend { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 13px; color: var(--calc-ink-2); }
.deck-legend span, .tip-r > span { display: inline-flex; align-items: center; gap: 7px; }
.deck-key { display: inline-block; flex-shrink: 0; width: 12px; height: 12px; border-radius: 2px; vertical-align: middle; }
.rl .deck-key { margin-inline-end: 7px; }
.deck-key.dep { background: var(--calc-blue-soft); box-shadow: inset 0 0 0 1px var(--calc-blue-edge); }
.deck-key.gain { background: var(--calc-green); }
.deck-key.loss { background: color-mix(in oklab, var(--calc-red) 14%, transparent); outline: 1px dashed var(--calc-red); outline-offset: -1px; }
.deck-key.total { height: 3px; width: 16px; border-radius: 2px; background: var(--calc-blue); }
.deck-key.real {
  height: 2px; width: 16px; border-radius: 0;
  background-image: linear-gradient(to right, var(--calc-ink-2) 55%, transparent 0%);
  background-size: 8px 2px; background-repeat: repeat-x;
}
.deck-key.goal {
  height: 2px; width: 16px; border-radius: 0;
  background-image: linear-gradient(to right, var(--calc-ink-2) 60%, transparent 0%);
  background-size: 7px 2px; background-repeat: repeat-x;
}

/* הגרף וחלונית הפירוט */
.deck-chart { position: relative; }
/* pan-y: גרירה אופקית מראה את הפירוט, גלילה רגילה נשארת; pinch-zoom: הגדלה בשתי אצבעות לא נחסמת */
.calc-deck .deck-chart canvas { display: block; width: 100%; height: 270px; max-width: 100%; touch-action: pan-y pinch-zoom; cursor: crosshair; border-radius: 2px; }
@media (max-width: 560px) { .calc-deck .deck-chart canvas { height: 230px; } }
.deck-tip {
  position: absolute; top: 0; z-index: 2; pointer-events: none;
  display: flex; flex-direction: column; gap: 4px; min-width: min(168px, 100%); max-width: 100%;
  background: var(--calc-card); border: 1px solid var(--calc-line); border-radius: var(--calc-radius-sm);
  box-shadow: 0 1px 3px color-mix(in oklab, var(--calc-ink) 12%, transparent), 0 8px 24px -12px color-mix(in oklab, var(--calc-ink) 30%, transparent);
  padding: 10px 12px; font-size: 12px; color: var(--calc-ink-2);
  opacity: 0; visibility: hidden; transition: opacity .1s ease-in, visibility 0s linear .1s;
}
.deck-tip.on { opacity: 1; visibility: visible; transition: opacity .15s ease-out, visibility 0s; }
.tip-h { font-size: 13px; font-weight: 700; color: var(--calc-ink); }
.tip-r { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2px 14px; }
.tip-r b { font-weight: 700; color: var(--calc-ink); font-variant-numeric: tabular-nums; }
.deck-hint { font-size: 13px; line-height: 1.5; color: var(--calc-ink-3); margin: -6px 0 0; }
/* ההסבר מתאים למכשיר: עכבר ומקלדת במחשב, נגיעה בטלפון */
@media (hover: none) { .deck-hint .by-mouse { display: none; } }
@media (hover: hover) { .deck-hint .by-touch { display: none; } }

/* אבני הדרך */
.deck-miles {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px;
}
@media (min-width: 560px) { .deck-miles { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.mile {
  display: flex; flex-direction: column; gap: 2px; min-width: 0;
  border-radius: var(--calc-radius-sm); padding: 9px 11px;
  border: 1px solid var(--calc-line-2);
  transition: border-color .4s ease-out, background-color .4s ease-out;
}
.mile-p { display: flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 600; color: var(--calc-ink-2); }
.mile-p i {
  width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0;
  border: 2px solid var(--calc-line); transition: background-color .4s ease-out, border-color .4s ease-out;
}
.mile strong { font-size: 16px; font-weight: 700; color: var(--calc-ink); }
.mile-t { font-size: 13px; line-height: 1.45; color: var(--calc-ink-3); }
.mile.lit { border-color: color-mix(in oklab, var(--calc-green) 45%, var(--calc-line-2)); background: var(--calc-green-wash); }
.mile.lit .mile-p i { background: var(--calc-green); border-color: var(--calc-green); }
.mile.lit .mile-t { color: var(--calc-green-ink); }

/* ממה מורכב הסכום: פס שמתמלא כשהגרף מצטייר */
.deck-split {
  display: flex; height: 12px; border-radius: 2px; overflow: hidden; gap: 2px;
  background: var(--calc-line-2);
}
.deck-split i { display: block; height: 100%; transition: transform .8s cubic-bezier(.22, 1, .36, 1); }
/* ב-RTL הפס מתחיל מימין */
.deck-split i { transform-origin: right center; }
.deck-split .dep { background: var(--calc-blue-soft); box-shadow: inset 0 0 0 1px var(--calc-blue-edge); }
.deck-split .gain { background: var(--calc-green); }
.deck-split.pending i { transform: scaleX(0); }
.deck-parts { display: flex; flex-wrap: wrap; gap: 14px 24px; }
.deck-parts > * { flex: 1 1 200px; min-width: 0; }
.deck-parts .rl { font-size: 13px; line-height: 1.5; color: var(--calc-ink-2); display: flex; align-items: center; }
.deck-parts .rn { font-size: 13px; line-height: 1.5; color: var(--calc-ink-3); }

/* "השורה התחתונה": שלוש קוביות קטנות. flex-wrap ולא grid, כדי שבטקסט מוגדל קובייה תרד שורה */
.deck-tiles { display: flex; flex-wrap: wrap; gap: 10px; }
.deck-tiles > * { flex: 1 1 170px; min-width: 0; }
.deck-tile {
  display: flex; flex-direction: column; gap: 3px;
  border: 1px solid var(--calc-line-2); border-radius: var(--calc-radius-sm); padding: 12px 14px;
}
.deck-tile .rl { font-size: 13px; line-height: 1.5; color: var(--calc-ink-2); display: flex; align-items: center; gap: 7px; }
.deck-tile strong { font-size: 22px; font-weight: 700; line-height: 1.25; color: var(--calc-ink); }
.deck-tile .rn { font-size: 13px; line-height: 1.5; color: var(--calc-ink-3); }

/* מחשבון הביטוחים בבמה: אפור למה שמשולם היום, ירוק לחלק שאפשר להוזיל, פינות 2px.
   העמודות גדלות אחת אחרי השנייה כשהן מגיעות למסך (stageReveal); עד אז .pending */
.save-rows { display: flex; flex-direction: column; gap: 14px; }
.calc-deck .save-row.off { opacity: 1; }
.calc-deck .save-row.off .save-bar { border-style: dashed; }
.calc-deck .save-bar { height: 14px; border-radius: 2px; background: var(--calc-card); border-color: var(--calc-line); }
.calc-deck .save-fill {
  border-radius: 1px; background: var(--calc-line);
  transform-origin: right center;   /* ב-RTL העמודה מתחילה מימין */
  transition: width .25s ease, transform .8s cubic-bezier(.22, 1, .36, 1);
  transition-delay: 0s, calc(var(--i, 0) * 90ms);
}
.calc-deck .save-cut { border-radius: 1px; background: var(--calc-green); }
.save-rows.pending .save-fill { transform: scaleX(0); }
.deck-key.now { background: var(--calc-line); }
/* טווח ("₪65 – ₪182") ארוך ממספר אחד: קצת קטן יותר, כדי שלא יישבר לשלוש שורות בטלפון */
.deck-big.range { font-size: clamp(28px, 7vw, 42px); }

/* מחשבון דמי הניהול בבמה */
.deck-big.gain { color: var(--calc-green); }
/* תוצאה במילים ("אתה כבר במקום טוב"): משפט, לא מספר */
.deck-say { font-size: 18px; font-weight: 700; line-height: 1.5; color: var(--calc-ink); }
.deck-ends { display: flex; flex-wrap: wrap; gap: 10px; }
.deck-ends > * { flex: 1 1 200px; min-width: 0; }
.calc-deck .fee-side { border-radius: var(--calc-radius-sm); border-color: var(--calc-line-2); }
.calc-deck .fee-side.homa { background: var(--calc-blue-wash); border-color: var(--calc-blue-soft); }
.calc-deck .fee-side.homa .fee-glab { color: var(--calc-blue); }
.calc-deck .fee-lock { border-bottom-color: var(--calc-blue-soft); }

/* ---------- מסלולים אמיתיים בריבית דריבית וביעד חיסכון (D31) ---------- */
.trk-about { line-height: 1.65; margin: 0; }
.trk-risk { white-space: nowrap; font-weight: 600; color: var(--calc-ink-2); }
.trk-src { display: flex; flex-direction: column; gap: 6px; padding: 12px 14px; border-radius: var(--calc-radius-sm); background: var(--calc-blue-wash); border: 1px solid var(--calc-line-2); border-inline-start: 3px solid var(--calc-blue); }
.trk-src p { margin: 0; font-size: 13px; line-height: 1.65; color: var(--calc-ink-2); }
.trk-src strong { color: var(--calc-ink); }
/* ink-2, not ink-3: ink-3 on the blue wash is just under 4.5:1, and this line carries the source and the disclaimer */
.trk-src .trk-src-s { font-size: 12.5px; color: var(--calc-ink-2); }
.trk-reset { align-self: flex-start; display: inline-flex; align-items: center; gap: 6px; font: inherit; font-size: 13px; font-weight: 700; color: var(--calc-blue); background: var(--calc-card); border: 1px solid var(--calc-blue-soft); border-radius: var(--calc-radius-sm); padding: 6px 12px; cursor: pointer; }
.trk-reset:hover { border-color: var(--calc-blue); }
.trk-reset[hidden] { display: none; }

/* ---------- ריבית דריבית: המסלול שלך מול מחקה S&P 500 (spBlock) ---------- */
.deck-key.band { background: color-mix(in oklab, var(--calc-blue) 15%, transparent); box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--calc-blue) 40%, transparent); }
/* אזהרה (דמי ניהול מעל התקרה, אופק קצר): זהב רך, טקסט כהה */
.calc-warn { margin: 0; padding: 10px 12px; border-radius: var(--calc-radius-sm); font-size: 13px; line-height: 1.65; color: var(--calc-ink);
  background: var(--gold-soft); border: 1px solid var(--gold); border-inline-start: 3px solid var(--gold-deep); }
.calc-warn[hidden] { display: none; }
.calc-warn.strong { font-size: 14px; }
.sp-lead, .sp-note { margin: -6px 0 0; font-size: 14px; line-height: 1.7; color: var(--calc-ink-2); }
.sp-note { margin: 0; }
/* השורה שמתחת לכותרת: מודגשת בשחור (בעל העסק, 2026-10-12) */
.sp-lead { font-weight: 700; color: var(--calc-ink); }
.sp-sum { display: flex; flex-direction: column; gap: 6px; padding: 14px 16px; border-radius: var(--calc-radius-sm); background: var(--calc-blue-wash); border: 1px solid var(--calc-line-2); }
.sp-story p { margin: 0; font-size: 15px; line-height: 1.85; color: var(--calc-ink-2); }
.sp-head { font-size: 16px; font-weight: 700; line-height: 1.7; color: var(--calc-ink); }
.sp-story p.sp-head { color: var(--calc-ink); }
.sp-gap { color: var(--calc-blue); }
/* הטבלאות: בלי גלילה הצידה בטלפון (M-039); תוויות נשברות, המספרים לא */
.sp-scroll { min-width: 0; }
.sp-t { width: 100%; border-collapse: collapse; font-size: 14px; color: var(--calc-ink); table-layout: fixed; }
.sp-t caption { caption-side: top; text-align: start; font-size: 15px; font-weight: 700; color: var(--calc-blue); padding-block-end: 8px; }
.sp-t th, .sp-t td { padding: 9px 8px; border-bottom: 1px solid var(--calc-line-2); text-align: start; vertical-align: top; line-height: 1.45; }
.sp-t thead th { font-size: 12px; font-weight: 700; color: var(--calc-ink-2); border-bottom-color: var(--calc-line); }
.sp-t tbody th { font-weight: 500; color: var(--calc-ink-2); font-size: 13px; width: 38%; }
.sp-t td { font-variant-numeric: tabular-nums; font-weight: 600; }
.sp-t .nw { white-space: nowrap; }
.sp-t td small { display: block; font-size: 11.5px; font-weight: 400; color: var(--calc-ink-3); margin-block-start: 2px; }
.sp-t .sp-key td, .sp-t .sp-key th { background: var(--calc-blue-wash); }
/* ink-3 על הרקע הכחול הבהיר יוצא כ-4.47:1, מתחת ל-4.5:1 (IS 5568): בשורה המודגשת ink-2 */
.sp-t .sp-key td small, .sp-t .sp-key td::before { color: var(--calc-ink-2); }
.sp-t .sp-key strong { font-size: 15px; }
.sp-t .sp-diff td { color: var(--calc-blue); }
.sp-t .sp-diff th, .sp-t .sp-diff td { border-bottom: 0; }
@media (max-width: 420px) { .sp-t { font-size: 13px; } .sp-t th, .sp-t td { padding: 8px 5px; } .sp-t tbody th { width: 34%; } .sp-t .sp-key strong { font-size: 13.5px; } }
/* אין מקום לשלוש עמודות (טלפון של 320px, או טקסט מוגדל: font-size בפיקסלים מוגדל גם הוא, ולכן em עוקב):
   כל שורה נהיית כרטיס, התווית מעל, ושני הערכים זה ליד זה עם שם העמודה (data-l) מעליהם */
.sp-scroll { container-type: inline-size; font-size: 14px; }
@container (max-width: 21em) {
  .sp-t, .sp-t tbody, .sp-t caption { display: block; }
  .sp-t thead { display: none; }   /* שמות העמודות מופיעים בכל תא (data-l) */
  .sp-t tr { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 2px 10px; padding: 8px 4px; border-bottom: 1px solid var(--calc-line-2); }
  .sp-t tbody th { grid-column: 1 / -1; width: auto; padding: 0; border: 0; font-weight: 600; color: var(--calc-ink); }
  .sp-t td { padding: 0; border: 0; min-width: 0; }
  .sp-t td::before { content: attr(data-l); display: block; font-size: 11.5px; font-weight: 400; color: var(--calc-ink-3); }
  .sp-t .nw { white-space: normal; }
  .sp-t .sp-key strong { font-size: inherit; }
}
.sp-disc { margin: 0; padding: 12px 14px; border-radius: var(--calc-radius-sm); font-size: 13px; line-height: 1.7; color: var(--calc-ink);
  background: var(--calc-card); border: 1px solid var(--calc-line); border-inline-start: 3px solid var(--calc-ink-2); }
/* הגרף בתוך כרטיס ההשוואה: בלי מסגרת נוספת (כרטיס בתוך כרטיס) */
.sp-cmp .deck-card { border: 0; box-shadow: none; padding: 0; background: none; }
.lg-t { font-style: normal; }

/* ---------- השוואת מסלולים (compare.js) ---------- */
/* הטבלה צריכה רוחב: עמודת הבחירה צרה יותר מבשאר המחשבונים */
@media (min-width: 900px) { .calc-deck.cmp-deck { grid-template-columns: minmax(280px, 340px) minmax(0, 1fr); } }
.cmp-seg-5 .fee-seg-b { flex-basis: 28%; }
@media (min-width: 620px) { .cmp-seg-5 .fee-seg-b { flex-basis: 16%; } }
.fee-seg-b:disabled { opacity: .45; cursor: not-allowed; }
.cmp-note { line-height: 1.6; }
.cmp-about { display: flex; flex-direction: column; gap: 8px; padding: 12px 14px; border-radius: var(--calc-radius-sm); background: var(--calc-blue-wash); border: 1px solid var(--calc-line-2); }
.cmp-about p { margin: 0; font-size: 13.5px; line-height: 1.7; color: var(--calc-ink-2); }
.cmp-risk-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 12px; }
.cmp-risk { display: inline-flex; gap: 4px; flex-shrink: 0; }
.cmp-risk i { width: 18px; height: 6px; border-radius: 3px; background: var(--calc-line); }
.cmp-risk i.on { background: var(--calc-blue); }
.cmp-cos { border: 0; padding: 0; margin: 0; min-width: 0; }
.cmp-cos legend { padding: 0; margin-block-end: 9px; float: inline-start; }
.cmp-cos-act { display: flex; gap: 14px; justify-content: flex-end; }
.cmp-link { font: inherit; font-size: 13px; font-weight: 600; color: var(--calc-blue); background: none; border: 0; padding: 2px 0; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
/* מסך מגע: אזור לחיצה של 44px לפחות, בלי לשנות את המראה */
/* מסך מגע: יעדי לחיצה של העמודים לפחות 44px (ראו components.css). תגית קטגוריה: אזור נגיעה שקוף, כדי שהתגית תישאר קטנה */
@media (pointer: coarse) {
  .cmp-link { min-height: 44px; min-width: 44px; padding: 0 6px; }
  .calc-tab, .hub-tab, .ctd-chip, .cmp-chip, .trk-reset, .hub-more { min-height: 44px; }
  .calc-tab { display: flex; align-items: center; justify-content: center; }
  .crumbs a { display: inline-flex; align-items: center; min-height: 44px; }
  a.tip-cat { position: relative; }
  a.tip-cat::after { content: ""; position: absolute; inset: -9px 0; }
  /* קישורים קטנים שעומדים לבד: הטלפון והמייל מתחת לכרטיס יצירת הקשר, "לפירוט" בשורת הבדיקות, "פרטיות" מתחת לטופס */
  .ctd-more li > a, .hq-checks .hq-link, .ctd-trust a { position: relative; z-index: 1; } /* מעל השורה שאחריהם, שאחרת מכסה את האזור */
  .ctd-more li > a::after { content: ""; position: absolute; inset: -11px 0; }
  .hq-checks .hq-link::after { content: ""; position: absolute; inset: -8px 0; }
  .ctd-trust a::after { content: ""; position: absolute; inset: -15px -5px; }
}
.cmp-link:disabled { color: var(--calc-ink-3); text-decoration: none; cursor: default; }
.cmp-chips { clear: both; display: flex; flex-wrap: wrap; gap: 8px; }
.cmp-chip { position: relative; display: inline-flex; align-items: center; gap: 7px; padding: 8px 12px; border: 1px solid var(--calc-line); border-radius: var(--calc-radius-sm); background: var(--calc-card); font-size: 14px; cursor: pointer; }
.cmp-chip input { width: 16px; height: 16px; margin: 0; accent-color: var(--calc-blue); flex-shrink: 0; }
.cmp-chip.on { border-color: var(--calc-blue); background: var(--calc-blue-wash); }
.cmp-chip:has(input:focus-visible) { outline: 2px solid var(--calc-blue); outline-offset: 2px; }

.cmp-hint { margin: -6px 0 0; line-height: 1.6; }
.cmp-swipe { white-space: nowrap; }
@media (min-width: 1100px) { .cmp-swipe { display: none; } }
.cmp-scroll { overflow-x: auto; overscroll-behavior-x: contain; border: 1px solid var(--calc-line-2); border-radius: var(--calc-radius-sm); }
.cmp-scroll:focus-visible { outline: 2px solid var(--calc-blue); outline-offset: 2px; }
table.cmp-t { width: 100%; min-width: 760px; border-collapse: collapse; font-size: 13.5px; }
table.cmp-t th, table.cmp-t td { padding: 10px 10px; text-align: start; border-bottom: 1px solid var(--calc-line-2); vertical-align: middle; }
table.cmp-t td { font-variant-numeric: tabular-nums; white-space: nowrap; }
table.cmp-t thead th { background: var(--secondary); font-size: 12px; font-weight: 600; color: var(--calc-ink-2); vertical-align: bottom; }
table.cmp-t tbody tr:last-child > * { border-bottom: 0; }
table.cmp-t .cmp-rank { width: 44px; text-align: center; color: var(--calc-ink-2); }
table.cmp-t .cmp-name { position: sticky; inset-inline-start: 0; z-index: 1; background: var(--calc-card); min-width: 150px; max-width: 220px; font-weight: 400; box-shadow: inset 1px 0 0 var(--calc-line-2); }
/* ^ the line between the sticky column and the scrolling ones: on its left edge, the site is RTL only (D11);
   a border would not move with a sticky cell in a collapsed table */
table.cmp-t thead .cmp-name { background: var(--secondary); }
@media (max-width: 560px) { table.cmp-t .cmp-name { min-width: 120px; max-width: 40vw; } table.cmp-t .cmp-rank { width: 34px; padding-inline: 4px; } }
table.cmp-t .cmp-name strong { display: block; font-size: 14px; font-weight: 700; color: var(--calc-ink); }
table.cmp-t .cmp-name span { display: block; font-size: 11.5px; line-height: 1.45; color: var(--calc-ink-3); white-space: normal; }
.cmp-sort { font: inherit; font-weight: 600; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; display: inline-flex; align-items: flex-end; gap: 4px; text-align: start; line-height: 1.35; }
.cmp-sort.on { color: var(--calc-blue); }
.cmp-sort:hover { color: var(--calc-ink); }
.cmp-arrow { font-size: 10px; flex-shrink: 0; }
.cmp-sort:not(.on) .cmp-arrow { opacity: .55; }
table.cmp-t td.cmp-x { font-weight: 700; color: var(--calc-ink); background: var(--calc-blue-wash); }
.cmp-mark { font-size: 10px; margin-inline-start: 5px; color: var(--calc-blue); }
.cmp-na { font-size: 12px; color: var(--calc-ink-3); font-weight: 400; }
.cmp-legend { margin: 0; line-height: 1.7; }

/* בטלפון (גם לרוחב) ובכל מסך מגע: כרטיסים במקום הטבלה. עמודת השם ה"קפואה" נעלמה בגלילה
   בטלפונים אמיתיים (M-039), אז במסך מגע לא מסתמכים עליה בכלל */
.cmp-mobile { display: none; }
@media (max-width: 860px), (pointer: coarse) {
  .cmp-scroll, .cmp-hint { display: none; }
  .cmp-mobile { display: flex; flex-direction: column; gap: 12px; }
}
.cmp-sortbar { display: flex; align-items: flex-end; gap: 10px; }
.cmp-sortbar .pop-f { flex: 1 1 auto; min-width: 0; }
.cmp-dir { flex-shrink: 0; min-height: 44px; padding: 0 12px; font: inherit; font-size: 13px; font-weight: 600; color: var(--calc-blue); background: var(--calc-card); border: 1px solid var(--calc-line); border-radius: var(--calc-radius-sm); cursor: pointer; }
.cmp-dir:focus-visible { outline: 2px solid var(--calc-blue); outline-offset: 2px; }
.cmp-cards { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.cmp-card { border: 1px solid var(--calc-line-2); border-radius: var(--calc-radius-sm); background: var(--calc-card); overflow: hidden; }
.cmp-card-h { display: flex; align-items: flex-start; gap: 10px; padding: 12px 14px; background: var(--secondary); border-bottom: 1px solid var(--calc-line-2); }
.cmp-card-rank { flex-shrink: 0; min-width: 28px; height: 28px; padding: 0 9px; border-radius: 14px; white-space: nowrap; display: inline-flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 700; color: var(--calc-blue); background: var(--calc-card); border: 1px solid var(--calc-line); font-variant-numeric: tabular-nums; }
.cmp-card-n { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.cmp-card-n strong { font-size: 15px; font-weight: 700; color: var(--calc-ink); }
.cmp-card-n > span { font-size: 12px; line-height: 1.45; color: var(--calc-ink-3); overflow-wrap: anywhere; }
/* כמה עמודות שנכנסות (שתיים בטלפון, יותר במסך רחב); קו מעל כל תא, והשורה הראשונה נצמדת לכותרת */
.cmp-card-g { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); margin: -1px 0 0; }
.cmp-card-g > div { display: flex; flex-direction: column; gap: 3px; padding: 9px 14px; border-top: 1px solid var(--calc-line-2); min-width: 0; }
.cmp-card-g dt { font-size: 11.5px; line-height: 1.4; color: var(--calc-ink-2); }
.cmp-card-g dd { margin: 0; font-size: 14px; font-weight: 600; color: var(--calc-ink); font-variant-numeric: tabular-nums; }
.cmp-card-g > div.on dt { color: var(--calc-blue); font-weight: 700; }
.cmp-card-g > div.cmp-x { background: var(--calc-blue-wash); }
.cmp-card-g > div.cmp-x dd { font-weight: 700; }

.cmp-bars { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.cmp-bars li { display: grid; grid-template-columns: minmax(0, 9em) minmax(0, 1fr) auto; align-items: center; gap: 10px; font-size: 13.5px; }
.cmp-bar-l { overflow-wrap: anywhere; line-height: 1.35; }
.cmp-bar-t { height: 14px; background: var(--calc-line-2); border-radius: 2px; overflow: hidden; }
.cmp-bar-t i { display: block; height: 100%; background: var(--calc-blue-soft); box-shadow: inset 0 0 0 1px var(--calc-blue-edge); border-radius: 2px; }
.cmp-bar-t i.neg { background: color-mix(in oklab, var(--calc-red) 14%, transparent); box-shadow: inset 0 0 0 1px var(--calc-red); }
.cmp-bar-v { font-weight: 700; font-variant-numeric: tabular-nums; min-width: 4.5em; text-align: end; }
@media (max-width: 420px) { .cmp-bars li { grid-template-columns: minmax(0, 1fr) auto; } .cmp-bar-t { grid-column: 1 / -1; grid-row: 2; } }

.cmp-picks { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 10px; }
.cmp-sliders { display: flex; flex-direction: column; gap: 14px; }
.cmp-fee-out { display: flex; flex-direction: column; gap: 10px; padding-block-start: 14px; border-top: 1px solid var(--calc-line-2); }
.cmp-fee-out > .rl { font-size: 13px; line-height: 1.6; color: var(--calc-ink-2); }
.cmp-fee-out > .rn { font-size: 14px; line-height: 1.6; color: var(--calc-ink-2); }
.cmp-inline { color: var(--calc-blue); font-weight: 600; }
.cmp-cta-btns { display: flex; flex-wrap: wrap; gap: 10px; }
.cmp-cta-btns > * { flex: 1 1 220px; justify-content: center; }
.cmp-disc { margin: 0; line-height: 1.7; font-size: 12.5px; }
.cmp-disc a { color: var(--calc-blue); }
.cmp-xlink { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border: 1px solid var(--border); border-radius: 12px; background: var(--card-solid); color: var(--foreground); text-decoration: none; transition: border-color .2s; }
.cmp-xlink:hover { border-color: var(--growth); }
.cmp-xlink:focus-visible { outline: 2px solid var(--ring); outline-offset: 2px; }
.cmp-xlink strong { font-size: 15px; line-height: 1.45; }
.cmp-xlink-i { display: flex; flex-shrink: 0; color: var(--growth); }
.cmp-xlink-go { display: flex; flex-shrink: 0; margin-inline-start: auto; color: var(--growth); transform: rotate(90deg); }
.cmp-wait { align-items: center; text-align: center; padding-block: 40px; }
.cmp-spin { width: 28px; height: 28px; border-radius: 50%; border: 3px solid var(--calc-line); border-top-color: var(--calc-blue); animation: cmp-spin .9s linear infinite; }
@keyframes cmp-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .cmp-spin { animation: none; } }
.a11y-no-motion .cmp-spin { animation: none; }
/* בתוך מחשבון בעמודה צרה (דף הבית, ליד סרטון ההדגמה) הכרטיסים תמיד זה מתחת לזה */
.calc-duo .calc-deck { grid-template-columns: minmax(0, 1fr); }
.calc-duo .fee-vs { grid-template-columns: minmax(0, 1fr); }
@media (min-width: 620px) { .calc-duo .fee-vs { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }

/* מחשבון ביטוח המשכנתא (calcCard, עמוד ביטוח משכנתא) בשפת המחשבונים */
.mort-save {
  border: 1px solid var(--calc-blue-soft); background: var(--calc-blue-wash);
  border-radius: var(--calc-radius-sm); padding: 18px;
}
.mort-k { font-size: 12px; font-weight: 700; letter-spacing: .04em; color: var(--calc-blue); }
.mort-v { font-size: clamp(26px, 6vw, 32px); line-height: 1.1; font-weight: 700; color: var(--calc-green); }
.mort-u { color: var(--calc-ink-2); }
.mort-row { gap: 16px; margin-top: 13px; padding-top: 13px; border-top: 1px solid var(--calc-blue-soft); color: var(--calc-ink-2); }
.calc-deck .chip { border-radius: var(--calc-radius-sm); }
.calc-deck .pill { border-radius: var(--calc-radius-sm); }
.calc-deck .glass-input { border-radius: var(--calc-radius-sm) !important; background: var(--card-solid); backdrop-filter: none; }

/* סרטון ההדגמה מעל מחשבון דמי הניהול בעמוד המחשבונים */
.calc-demo { max-width: 760px; margin: 0 auto 16px; }

/* רצועה מעוגלת בתוך עמוד (דף הבית, ביטוח משכנתא): אותו רקע, בלי רוחב מסך מלא.
   overflow: clip ולא hidden, כדי שאלמנט sticky בתוכה ימשיך לעבוד */
.calc-band.inset { border-radius: 24px; padding: 28px; overflow: clip; border: 1px solid var(--border-solid); }
@media (max-width: 720px) { .calc-band.inset { border-radius: 18px; padding: 14px; } }
/* מסך צר מאוד (זום של אנדרואיד): בתוך הרצועה לא נשאר מקום לטלפון ולטקסט זה לצד זה,
   ולכן סרטון ההדגמה נערם — הטלפון למעלה והצעדים מתחתיו */
@media (max-width: 300px) {
  .calc-band.inset { padding: 8px; }
  .calc-band.inset .demo { grid-template-columns: minmax(0, 1fr); }
  .calc-band.inset .demo-phone { width: min(100%, 120px); margin-inline: auto; }
}

/* השוואת תרחישים: שמרני בתכלת, אופטימי בירוק, הבחירה שלך מודגשת */
.deck-scen { display: flex; flex-wrap: wrap; gap: 8px; }
.deck-scen > * { flex: 1 1 0; min-width: fit-content; }
.scen-c {
  display: flex; flex-direction: column; gap: 3px; align-items: center; text-align: center;
  border: 1px solid var(--calc-line); border-radius: var(--calc-radius-sm); padding: 12px 10px 10px;
  transition: background-color .2s ease-in-out;
}
.scen-c.s-low { border-color: var(--calc-blue-soft); }
.scen-c.s-high { border-color: color-mix(in oklab, var(--calc-green) 50%, var(--calc-line)); }
.scen-c.on { box-shadow: inset 0 0 0 1px var(--calc-blue); border-color: var(--calc-blue); background: var(--calc-blue-wash); }
.scen-c .scen-v { color: var(--calc-ink); }
.scen-d {
  align-self: stretch; margin-top: 6px; padding-top: 7px; border-top: 1px solid var(--calc-line-2);
  font-size: 13px; font-weight: 600; color: var(--calc-ink-2); line-height: 1.4;
}

/* ======================= טיפים זהב ======================= */
.tip-fil {
  font: inherit; font-size: 13.5px; font-weight: 600; cursor: pointer;
  color: var(--muted-foreground); background: var(--card-solid);
  border: 1px solid var(--border-solid); border-radius: 999px; padding: 8px 16px;
  transition: color .2s, border-color .2s, background .2s;
}
.tip-fil:hover { color: var(--foreground); border-color: var(--gold-line); }
.tip-fil.on {
  color: var(--foreground); background: var(--gold-soft);
  border-color: color-mix(in oklab, var(--gold) 55%, transparent);
}
.tip-fil:focus-visible { outline: 2px solid var(--ring); outline-offset: 2px; }

.tips-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; }
@media (min-width: 700px)  { .tips-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1040px) { .tips-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.tip {
  position: relative; display: flex; flex-direction: column; gap: 9px;
  background: var(--card-solid); border: 1px solid var(--border-solid);
  border-radius: 16px; padding: 20px 21px 22px; overflow: hidden;
  box-shadow: 0 1px 2px oklch(0.20 0.04 264 / 5%), 0 14px 34px -24px oklch(0.20 0.04 264 / 45%);
}
/* קו הזהב בראש הכרטיס — הסימן של המדור */
.tip::before {
  content: ""; position: absolute; inset-inline: 0; top: 0; height: 2px;
  background: linear-gradient(to left, var(--gold), color-mix(in oklab, var(--gold) 18%, transparent));
}
.tip-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 10px; }
.tip-cat {
  font-size: 11.5px; font-weight: 700; letter-spacing: .02em;
  border-radius: 6px; padding: 4px 9px; white-space: nowrap;
}
.tc-0 { background: color-mix(in oklab, var(--growth) 10%, transparent); color: oklch(0.44 0.15 253); }
.tc-1 { background: color-mix(in oklab, var(--sky) 14%, transparent);    color: oklch(0.43 0.10 222); }
.tc-2 { background: var(--gold-soft);                                    color: var(--gold-deep); }
.tc-3 { background: var(--secondary);                                    color: var(--muted-foreground); }
.tip-n {
  font-size: 12px; font-weight: 800; letter-spacing: .04em;
  color: color-mix(in oklab, var(--gold) 70%, var(--muted-foreground));
  font-variant-numeric: tabular-nums;
}
.tip-h { font-size: 17.5px; font-weight: 700; line-height: 1.35; letter-spacing: -.015em; }
.tip-b { font-size: 14.5px; line-height: 1.8; color: var(--muted-foreground); }

/* ---- טופס הוספת טיפ באזור הניהול ---- */
.adm-tabs { display: flex; gap: 8px; margin-top: 16px; }
.artform { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
.art-block { border: 1px solid var(--border); border-radius: 14px; padding: 12px 14px; display: flex; flex-direction: column; gap: 8px; background: color-mix(in oklab, var(--secondary) 35%, transparent); }
@media (min-width: 860px) {
  .artform { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .artform .wide { grid-column: 1 / -1; }
}
.tipform { display: grid; grid-template-columns: minmax(0, 1fr); gap: 11px; }
@media (min-width: 720px) { .tipform .wide { grid-column: 1 / -1; } }
/* ================= מחשבון הוזלת הביטוחים ================= */
.save-row { display: flex; flex-direction: column; gap: 6px; }
.save-row.off { opacity: .45; }
.save-bar {
  height: 12px; border-radius: 99px; background: var(--secondary);
  border: 1px solid var(--border); overflow: hidden; display: flex;
}
/* בלי opacity על ההורה — היא הייתה מחווירה גם את החלק הצבעוני שבתוכה */
.save-fill {
  height: 100%; border-radius: 99px; display: flex; justify-content: flex-start;
  background: color-mix(in oklab, var(--muted-foreground) 30%, var(--secondary));
  transition: width .25s ease;
}
.save-cut {
  height: 100%; border-radius: 99px; background: var(--growth);
  transition: width .25s ease;
}
.save-legend {
  display: flex; flex-wrap: wrap; gap: 7px 18px; margin-top: 2px;
  font-size: 12.5px; color: var(--muted-foreground);
}
.save-legend span { display: inline-flex; align-items: center; gap: 7px; }
.save-legend i { width: 14px; height: 8px; border-radius: 99px; flex-shrink: 0; }
.save-legend i.now { background: color-mix(in oklab, var(--muted-foreground) 32%, transparent); }
.save-legend i.cut { background: var(--growth); }

/* ================= מדור הביטוחים הפרטיים ================= */
.cover-hero {
  display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px;
  border: 1px solid var(--border-solid); border-radius: 20px;
  background: var(--card-solid); padding: 26px 24px; position: relative; overflow: hidden;
  box-shadow: 0 1px 2px oklch(0.20 0.04 264 / 5%), 0 18px 40px -26px oklch(0.20 0.04 264 / 50%);
}
.cover-hero::before {
  content: ""; position: absolute; inset-inline: 0; top: 0; height: 3px;
  background: linear-gradient(to left, var(--growth), var(--gold));
}
@media (min-width: 860px) { .cover-hero { grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 30px; align-items: start; } }

.layer-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; }
@media (min-width: 560px) { .layer-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.layer {
  display: flex; flex-direction: column; gap: 4px;
  border: 1px solid var(--border); border-radius: 13px; padding: 13px 15px;
  background: color-mix(in oklab, var(--secondary) 55%, transparent);
}
.layer strong { font-size: 14.5px; font-weight: 700; line-height: 1.35; }
.layer span { font-size: 13px; line-height: 1.65; color: var(--muted-foreground); }

.cover-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
@media (min-width: 700px)  { .cover-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.cov-card {
  display: flex; flex-direction: column; gap: 8px;
  border: 1px solid var(--border-solid); border-radius: 16px; padding: 19px 20px;
  background: var(--card-solid);
  box-shadow: 0 1px 2px oklch(0.20 0.04 264 / 5%), 0 14px 32px -26px oklch(0.20 0.04 264 / 48%);
}
.cov-card .ci {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: 11px; flex-shrink: 0;
  background: color-mix(in oklab, var(--growth) 10%, transparent); color: var(--growth);
}
.cov-card h3 { font-size: 16.5px; font-weight: 700; line-height: 1.35; }
.cov-card p { font-size: 14px; line-height: 1.75; color: var(--muted-foreground); }
.cov-card .cw {
  font-size: 12.5px; line-height: 1.6; color: var(--gold-deep);
  background: var(--gold-soft); border-radius: 9px; padding: 8px 11px; margin-top: auto;
}
/* ============ עמודי הקטגוריות ומדור הלשוניות ============ */
.cat-top {
  padding: 26px 0 40px; position: relative; overflow: hidden;
  border-bottom: 1px solid var(--border);
  background:
    radial-gradient(120% 90% at 85% 0%, color-mix(in oklab, var(--growth) 9%, transparent), transparent 60%),
    color-mix(in oklab, var(--secondary) 50%, transparent);
}
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; font-size: 12.5px;
  color: var(--muted-foreground); margin-bottom: 20px; }
.crumbs a { color: var(--muted-foreground); text-decoration: none; }
.crumbs a:hover { color: var(--growth); }
.crumbs span[aria-current] { color: var(--foreground); font-weight: 600; }

.cat-hero { display: grid; grid-template-columns: minmax(0, 1fr); gap: 22px; align-items: start; }
@media (min-width: 900px) { .cat-hero { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; } }
.cat-ico {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 13px; flex-shrink: 0;
  background: var(--growth-wash); color: var(--growth);
  border: 1px solid color-mix(in oklab, var(--growth) 20%, transparent);
}
.cat-intro { gap: 13px; }
.cat-intro p { font-size: 15.5px; line-height: 1.85; color: var(--muted-foreground); margin: 0; }
@media (min-width: 900px) {
  .cat-intro { padding-inline-start: 26px; border-inline-start: 2px solid var(--gold-line); }
}

/* הבעיה מול הפתרון — שני כרטיסים בעלי משקל חזותי שונה */
.pc-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; }
@media (min-width: 860px) { .pc-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.pc {
  border: 1px solid var(--border-solid); border-radius: 18px; padding: 22px 23px;
  display: flex; flex-direction: column; gap: 13px; background: var(--card-solid);
}
.pc-prob { background: color-mix(in oklab, var(--secondary) 62%, transparent); }
.pc-fix {
  border-color: color-mix(in oklab, var(--growth) 26%, transparent);
  box-shadow: 0 1px 2px oklch(0.20 0.04 259 / 5%), 0 16px 38px -26px oklch(0.20 0.04 259 / 52%);
  position: relative; overflow: hidden;
}
.pc-fix::before {
  content: ""; position: absolute; inset-inline: 0; top: 0; height: 3px; background: var(--grad-brand);
}
.pc-lab {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12.5px; font-weight: 700; letter-spacing: .06em;
}
.pc-prob .pc-lab { color: var(--muted-foreground); }
.pc-fix  .pc-lab { color: var(--growth); }
.pc-list { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 11px; }
.pc-list li {
  font-size: 14.5px; line-height: 1.75; color: var(--muted-foreground);
  padding-inline-start: 17px; position: relative;
}
.pc-list li::before {
  content: ""; position: absolute; inset-inline-start: 0; top: 9px;
  width: 6px; height: 6px; border-radius: 50%; background: var(--border-solid);
}
.pc-fix .pc-list li::before { background: var(--growth); }
.pc-fix .pc-list li { color: var(--foreground); }
/* "למי הבדיקה מתאימה" (fitCard ב-pages.js): אותם שני כרטיסים, ושורת סיום */
.fit-end { margin: 16px 0 0; font-size: 15px; font-weight: 600; line-height: 1.6; color: var(--foreground); }

.note-card {
  border: 1px solid var(--border-solid); border-radius: 16px; padding: 19px 21px;
  background: var(--card-solid); display: flex; flex-direction: column; gap: 7px;
  border-inline-start: 3px solid var(--gold);
}
.note-card strong { font-size: 16px; font-weight: 700; line-height: 1.35; }
.note-card p { margin: 0; font-size: 14px; line-height: 1.75; color: var(--muted-foreground); }

/* הכרטיס הפותח בעמודי הכיסויים (insOpen ב-pages.js): שאלה, שלוש עובדות ממוספרות, דוגמה להמחשה */
.hub-card.ins-open { gap: 20px; }
.ins-hook { margin: 0; font-size: 24px; font-weight: 700; line-height: 1.4; color: var(--foreground); text-wrap: balance; }
@media (max-width: 560px) { .ins-hook { font-size: 20px; } }
.ins-facts { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; }
@media (min-width: 720px) { .ins-facts { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.ins-fact {
  display: flex; flex-direction: column; gap: 6px; position: relative; overflow: hidden;
  border: 1px solid var(--border-solid); border-radius: 14px; padding: 16px 17px 17px;
  background: var(--card-solid);
}
.ins-fact::before { content: ""; position: absolute; inset-inline: 0; top: 0; height: 2px; background: var(--gold-line); }
/* בטלפון: המספר והכותרת בשורה אחת, כדי ששלוש העובדות לא ידחפו את הכפתורים הרחק למטה */
@media (max-width: 719px) {
  .ins-fact { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: baseline; column-gap: 10px; row-gap: 4px; padding: 13px 15px 14px; }
  .ins-fact span:last-child { grid-column: 1 / -1; }
}
.ins-fact-n { font-size: 13px; font-weight: 700; letter-spacing: .06em; color: var(--growth); }
.ins-fact strong { font-size: 16px; font-weight: 700; line-height: 1.35; }
.ins-fact span:last-child { font-size: 13.5px; line-height: 1.7; color: var(--muted-foreground); }
.ins-example {
  display: flex; flex-direction: column; gap: 6px; border-radius: 14px; padding: 15px 18px;
  background: color-mix(in oklab, var(--secondary) 62%, transparent);
  border-inline-start: 3px solid var(--gold);
}
.ins-example-lab { font-size: 12.5px; font-weight: 700; letter-spacing: .04em; color: var(--muted-foreground); }
.ins-example p { margin: 0; font-size: 15px; line-height: 1.8; color: var(--foreground); }
.ins-now { border-inline-start: 3px solid var(--growth); }
.ins-now-p { margin: 0; font-size: 15px; line-height: 1.85; color: var(--muted-foreground); }
.ins-src { color: var(--growth); text-decoration: underline; overflow-wrap: anywhere; }

/* כתבה מובילה במגזין: תמונה וטקסט זה לצד זה במסך רחב, זה מעל זה בטלפון */
.art-feat { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); border-radius: 20px; overflow: hidden; text-decoration: none; }
.art-feat-body { gap: 14px; padding: 38px 34px; }
@media (max-width: 720px) {
  .art-feat { grid-template-columns: minmax(0, 1fr); }
  .art-feat .cover { height: 220px !important; }
  .art-feat-body { padding: 24px 20px 26px; }
}
/* תמונת "פוסטר" (COVER_WHOLE) בכתבה המובילה: בלי מסגרת בגובה קבוע. התמונה בצורה שלה, ממורכזת בגובה ועם מרווח מסביב */
.art-feat .cover-whole { align-self: center; justify-self: stretch; margin: 22px; margin-inline-end: 0; border-radius: 14px; }
@media (max-width: 720px) {
  .art-feat .cover.cover-whole { height: auto !important; margin: 16px 16px 0; }
}

/* עמוד הבית: קליפ ההדגמה, המחשבון וכתבות מתחלפות מהמגזין (.duo-mag), בסדר הזה גם בקוד.
   בטלפון: הקליפ שורה מעל המחשבון, והכתבות רצועה שגוללים הצידה מתחת לו.
   במסך רחב הרשת מעמידה את הקליפ ומתחתיו הכתבות בעמודה שליד המחשבון, לכל אורכו. */
.calc-duo { display: flex; flex-direction: column; gap: 14px; width: 100%; max-width: 620px; margin-inline: auto; }
.duo-mag { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.duo-mag-h { font-size: 15.5px; font-weight: 700; color: var(--foreground); }
/* ריפוד ברשימה הגוללת, כדי שמסגרת הפוקוס של כרטיס לא תיחתך בשוליים */
.duo-mag-list { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 6px; margin: -6px; scroll-padding-inline: 6px; overscroll-behavior-x: contain; }
.duo-art { flex: 0 0 min(72%, 240px); scroll-snap-align: start; display: flex; flex-direction: column; gap: 5px; min-width: 0; color: var(--foreground); text-decoration: none; }
.duo-art .cover { height: 124px !important; margin-block-end: 4px; }
.duo-art .cover img { transition: transform .6s ease; }
.duo-art:hover .cover img { transform: scale(1.03); }
.duo-art-c { font-size: 12.5px; font-weight: 700; color: var(--growth); }
.duo-art-t { font-size: 15px; font-weight: 700; line-height: 1.45; text-wrap: pretty; }
.duo-art:hover .duo-art-t { color: var(--growth-deep); }
.duo-art-m { font-size: 12.5px; color: var(--muted-foreground); }
/* על הרצועה עצמה (מתחת ל-1040px אין לכתבות כרטיס משלהן): דיו רך, כי האפור גבולי בפינות הרצועה (D42) */
.calc-band .duo-art-m { color: var(--navy-soft); }
.duo-mag > .hq-link { align-self: flex-start; font-size: 14px; }
@media (min-width: 1040px) {
  .calc-duo { display: grid; grid-template-columns: 270px minmax(0, 620px); grid-template-rows: auto 1fr; justify-content: center; gap: 20px 34px; max-width: none; align-items: start; }
  .calc-duo > .demo { grid-column: 1; grid-row: 1; grid-template-columns: minmax(0, 1fr); gap: 16px; padding: 14px 14px 18px; }
  .calc-duo > #calc { grid-column: 2; grid-row: 1 / span 2; }
  .calc-duo > .duo-mag { grid-column: 1; grid-row: 2; }
  .calc-duo > .demo .demo-phone { width: min(100%, 200px); margin-inline: auto; }
  .duo-mag {
    gap: 14px; padding: 18px 16px 8px; border-radius: 20px;
    background: var(--card); border: 1px solid var(--border);
    box-shadow: 0 14px 34px -26px color-mix(in oklab, var(--navy) 60%, transparent);
  }
  .duo-mag-h { padding-block-end: 10px; border-block-end: 1px solid var(--border); }
  .duo-mag-list { flex-direction: column; gap: 20px; overflow: visible; scroll-snap-type: none; padding: 0; margin: 0; }
  .duo-art { flex: none; }
  .duo-art .cover { height: 140px !important; }
}
.fee-dot { width: 9px; height: 9px; border-radius: 50%; flex-shrink: 0; display: inline-block; }

/* ---------- צור קשר בדף הבית: טופס + דרכי התקשרות ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; align-items: start; }
@media (min-width: 860px) { .contact-grid { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 22px; } }
.contact-form { border-radius: 20px; padding: 24px 22px; }
.contact-ways { display: grid; grid-template-columns: minmax(0, 1fr); gap: 11px; }
@media (min-width: 560px) and (max-width: 859px) { .contact-ways { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.contact-way {
  gap: 13px; border-radius: 14px; padding: 15px 17px;
  text-decoration: none; color: var(--foreground); align-items: center;
}
.contact-ic { color: var(--growth); display: flex; flex-shrink: 0; }
.contact-v {
  font-size: 17px; font-weight: 700; color: var(--foreground);
  overflow-wrap: anywhere; text-align: start;
}

/* ======================= עמודים עצמאיים ======================= */
/* אותו מבנה כמו מרכז המחשבונים (public/js/pages.js): ראש ממורכז, לשוניות
   בין העמודים האחים, וכרטיסים בעמודה אחת. */
.hub { padding-top: 34px; }
.hub-wrap { max-width: 800px; display: flex; flex-direction: column; gap: 18px; }
.hub-wrap.wide { max-width: 1120px; }
.hub-head { display: flex; flex-direction: column; gap: 9px; align-items: center; text-align: center; }
.hub-head .fee-eyebrow { align-self: center; }
.hub-h1 { line-height: 1.18; }
.hub-lede { line-height: 1.8; max-width: 60ch; }

.hub-tabs {
  display: flex; flex-wrap: wrap; gap: 4px;
  background: var(--secondary); border: 1px solid var(--border);
  border-radius: 14px; padding: 4px;
}
.hub-tab {
  flex: 1 1 auto; display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 600; line-height: 1.25; text-align: center;
  text-decoration: none; color: var(--muted-foreground);
  border-radius: 10px; padding: 11px 10px;
  transition: background .2s, color .2s, box-shadow .2s;
}
.hub-tab:hover { color: var(--foreground); }
.hub-tab.on {
  background: var(--card-solid); color: var(--foreground);
  box-shadow: 0 1px 2px oklch(0.30 0.06 258 / .10), 0 3px 10px -4px oklch(0.30 0.06 258 / .22);
}
.hub-tab:focus-visible { outline: 2px solid var(--ring); outline-offset: 1px; }
/* בטלפון: שלוש לשוניות בשורה, והלשונית הכללית ("כל הכיסויים") בשורה משלה */
@media (max-width: 719px) {
  .hub-tab { flex: 1 1 calc(33.333% - 4px); }
  .hub-tab.all { flex-basis: 100%; }
}
@media (max-width: 560px) { .hub-tab { font-size: 12.5px; padding: 10px 4px; } }

/* ראש עמוד על רצועה כהה (hubPage עם dark): אותה רצועה כמו במחשבונים, כותרת בהירה, והלשוניות עולות מעט על הרצועה */
.hub-band { padding-block: 44px 64px; }
.hub-band .hub-wrap { gap: 0; }
/* מאז D38 (שלב 3) הרצועה בהירה: כותרת בדיו, פתיח באפור פלטינה, והתווית בצבעים הרגילים שלה */
.hub-band .hub-h1 { color: var(--foreground); }
.hub-band .hub-lede { color: var(--muted-foreground); }
.hub-band .hub-head { gap: 12px; }
.hub-after-band { padding-top: 0; }
.hub-after-band .hub-tabs { margin-top: -26px; position: relative; z-index: 2; box-shadow: 0 14px 34px -18px color-mix(in oklab, var(--navy) 80%, transparent); }
@media (max-width: 720px) { .hub-band { padding-block: 28px 52px; } .hub-after-band .hub-tabs { margin-top: -22px; } }

.hub-body { display: flex; flex-direction: column; gap: 16px; }
.hub-card { border-radius: 20px; padding: 26px 24px; display: flex; flex-direction: column; gap: 16px; }
@media (max-width: 560px) { .hub-card { padding: 22px 18px; } }
.hub-card-h { display: flex; flex-direction: column; gap: 8px; }
.hub-card-h .eyebrow { margin: 0; }
.hub-actions { gap: 9px; }
.hub-more {
  display: inline-flex; align-items: center; gap: 6px; align-self: flex-start;
  color: var(--growth); font-weight: 600; font-size: 14.5px; text-decoration: none;
}
.hub-more:hover { text-decoration: underline; }
.hub-callout {
  display: flex; flex-direction: column; gap: 7px; border-radius: 14px; padding: 16px 18px;
  background: color-mix(in oklab, var(--growth) 7%, transparent);
  border: 1px solid color-mix(in oklab, var(--growth) 22%, transparent);
}
.hub-notes, .hub-covers, .hub-checks { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
@media (min-width: 640px) { .hub-notes, .hub-covers, .hub-checks { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.hub-cover {
  display: flex; gap: 14px; align-items: flex-start; padding: 16px; border-radius: 16px;
  border: 1px solid var(--border); background: color-mix(in oklab, white 55%, transparent);
  text-decoration: none; color: inherit; transition: border-color .2s, transform .2s;
}
.hub-cover:hover { border-color: color-mix(in oklab, var(--growth) 40%, transparent); transform: translateY(-2px); }
.hub-arts { display: flex; flex-direction: column; }
.hub-art {
  display: flex; gap: 12px; align-items: flex-start; padding: 12px 0;
  border-bottom: 1px solid var(--border); text-decoration: none;
}
.hub-art:first-child { padding-top: 0; }
.hub-art:last-child { border-bottom: 0; padding-bottom: 0; }
.hub-art-img { display: block; width: 64px; height: 64px; flex-shrink: 0; border-radius: 12px; overflow: hidden; }
.hub-steps { display: flex; flex-direction: column; gap: 10px; }
.hub-step {
  display: flex; gap: 15px; align-items: flex-start; padding: 16px 18px; border-radius: 14px;
  background: color-mix(in oklab, var(--secondary) 65%, transparent);
}
.hub-step-n { font-size: 13px; font-weight: 800; color: var(--growth); letter-spacing: .12em; padding-top: 3px; }
.hub-why { display: flex; gap: 18px; padding: 20px 0; border-bottom: 1px solid var(--border); }
.hub-why:first-child { padding-top: 0; }
.hub-why:last-child { border-bottom: 0; padding-bottom: 0; }
.hub-why-n { font-size: 13px; font-weight: 800; color: var(--border-solid); padding-top: 5px; }
.hub-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.hub-list li { display: flex; gap: 9px; align-items: flex-start; font-size: 15.5px; line-height: 1.75; color: var(--muted-foreground); }
.hub-list li svg { color: var(--growth); flex-shrink: 0; margin-top: 5px; }
.hub-check { border-radius: 18px; padding: 24px 22px; gap: 12px; }
.hub-tags { display: flex; flex-direction: column; gap: 8px; align-items: center; text-align: center; }
.hub-tags .row { justify-content: center; }
.hub-empty { text-align: center; padding: 30px 0; }
@media (min-width: 560px) { .hub-ways { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.legal-card { gap: 12px; }
a.tip-cat { text-decoration: none; }

/* שאלות ותשובות (דף הבית, /faq, עמודי הכיסויים) */
.faq-item { border-radius: 14px; overflow: hidden; }
.faq-q {
  width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 18px 22px; text-align: start; font-size: 16.5px; font-weight: 600; line-height: 1.45;
}
.faq-chev { color: var(--growth); flex-shrink: 0; display: flex; transition: transform .3s ease; }
.faq-item.open .faq-chev { transform: rotate(180deg); }
.faq-a { padding: 0 22px 20px; font-size: 15px; line-height: 1.85; color: var(--muted-foreground); }
@media (max-width: 560px) { .faq-q { padding: 16px 16px; font-size: 15.5px; } .faq-a { padding: 0 16px 18px; } }

/* העמוד הנוכחי בתפריט המובייל */
.drawer-a[aria-current="page"] { background: var(--hdr-wash); color: var(--growth-deep); box-shadow: inset -2px 0 0 var(--hdr-gold); }
.dropdown .drop-a[aria-current="page"] { background: var(--secondary); }

/* ---------- אזור הפתיחה בדף הבית ----------
   עמודה ממורכזת: טקסט וכפתורים, ואז שורת האמון והצעדים.
   */
.hero-top { display: flex; flex-direction: column; align-items: center; gap: 22px; max-width: 780px; margin-inline: auto; text-align: center; }
.hero-copy { display: flex; flex-direction: column; align-items: center; gap: 17px; min-width: 0; width: 100%; }

.hero-h1 { font-size: clamp(34px, 5.4vw, 60px); line-height: 1.15; font-weight: 800; text-wrap: balance; margin: 0; }
.hero-h1 span { color: var(--growth); }
.hero-lead { max-width: 660px; margin: 0; text-wrap: balance; }
.hero-cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; width: 100%; }
.hero-cta .btn { flex: 0 0 auto; }

.hero-checks { list-style: none; margin: 0; padding: 0; }
.hero-checks {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; width: 100%;
  padding-top: 16px; border-top: 1px solid var(--border); font-size: 14.5px;
}
.hero-checks li { display: flex; align-items: center; gap: 7px; }
.hero-ck { color: var(--growth); display: inline-flex; }
/* כניסה עדינה ברצף. הסטייה של --hel ממשיכה אנימציה שכבר רצה כש-render() בונה את העמוד מחדש */
@keyframes hero-rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.hero-anim [data-i] { animation: hero-rise 620ms cubic-bezier(0.22, 1, 0.36, 1) both; animation-delay: calc(var(--i, 0) * 110ms - var(--hel, 0ms)); }
.hero-anim [data-i="0"] { --i: 0; } .hero-anim [data-i="1"] { --i: 1; } .hero-anim [data-i="2"] { --i: 2; }
.hero-anim [data-i="3"] { --i: 3; } .hero-anim [data-i="4"] { --i: 4; }
@media (prefers-reduced-motion: reduce) { .hero-anim [data-i] { animation: none; } }

/* נייד */
@media (max-width: 720px) {
  .hero-cta .btn { flex: 1 1 100%; }
}

/* ---------- הסרטון "ככה זה עובד" (public/js/film.js) ----------
   במקום שלושת הצעדים באזור הפתיחה. במה מונפשת, שורת הסבר ופס התקדמות.
   כל השהיית אנימציה מקוזזת ב--ft: הזמן שכבר עבר במערכה הנוכחית כש-render()
   בנה את העמוד מחדש, כדי שהאנימציה תמשיך מאותה נקודה. */
.hf {
  position: relative; width: 100%; text-align: start;
  container-type: inline-size;   /* הטקסט המתחלף לא משנה את רוחב עמודת הפתיחה; וגובה הבמה נמדד מהרוחב (cqi) */
  border: 1px solid var(--border-solid); border-radius: 18px; background: var(--card-solid);
  box-shadow: 0 30px 60px -30px color-mix(in oklab, var(--navy) 50%, transparent);
  overflow: hidden; isolation: isolate;
  --hf-glow: color-mix(in oklab, var(--growth) 13%, transparent);
  --hf-line-soft: color-mix(in oklab, var(--border-solid) 55%, var(--card-solid));
  --hf-shadow-s: 0 2px 6px -2px color-mix(in oklab, var(--navy) 18%, transparent);
  --hf-shadow-m: 0 14px 30px -18px color-mix(in oklab, var(--navy) 45%, transparent);
  --hf-shadow-l: 0 30px 60px -30px color-mix(in oklab, var(--navy) 50%, transparent);
  --hf-flag: var(--destructive);
  --hf-flag-soft: color-mix(in oklab, var(--destructive) 12%, var(--card-solid));
}
.hf-paused *, .hf-paused *::before, .hf-paused *::after { animation-play-state: paused !important; }

/* היחס 16:8 (רוחב הסרטון, cqi) הוא גובה מינימלי בלבד: כשעמודת הסרטון צרה (שתי עמודות במחשב) הכרטיסים
   גבוהים מהיחס, והבמה גדלה לגובה הכרטיס הגבוה במקום לחתוך אותו למעלה ולמטה. לא aspect-ratio: איתו הגובה לא גדל */
.hf-stage {
  position: relative; display: grid; min-height: min(50cqi, 440px); overflow: hidden;
  background: radial-gradient(120% 96% at 50% 46%, var(--hf-glow), transparent 62%), var(--card-solid);
}
.hf-brick { position: absolute; inset: 0; width: 100%; height: 100%; color: var(--border-solid); opacity: .46; pointer-events: none; }
.hf-vignette {
  position: absolute; inset: 0; pointer-events: none; opacity: .55;
  background: radial-gradient(112% 106% at 50% 50%, transparent 46%, var(--muted));
}
.hf-reel { position: relative; display: grid; place-items: center; padding-block: 26px; transition: opacity 275ms ease; }
.hf-looping .hf-reel { opacity: 0; }

/* שלושתם באותו תא, ממורכזים; התזוזות הצידה הן transform. הם בזרימה, כך שהגבוה מביניהם קובע את גובה הבמה */
.hf-doc, .hf-checks, .hf-result { position: relative; grid-area: 1 / 1; }

/* המסמך */
.hf-doc {
  width: clamp(186px, 32%, 304px); background: var(--card-solid);
  border: 1px solid var(--border-solid); border-radius: 13px; box-shadow: var(--hf-shadow-m);
  padding: 15px 15px 13px; z-index: 3;
  transition: transform 575ms cubic-bezier(.2,.84,.24,1), opacity 400ms ease, filter 400ms ease;
}
.hf-s1 .hf-doc { animation: hf-doc-in 675ms cubic-bezier(.17,.84,.26,1) calc(0ms - var(--ft, 0ms)) both; }
@keyframes hf-doc-in {
  from { transform: translateX(76%) translateY(13%) rotate(7deg) scale(.86); opacity: 0; }
  55% { opacity: 1; }
  to { transform: none; opacity: 1; }
}
.hf-s2 .hf-doc { transform: translateX(56%) scale(.95); }
.hf-s3 .hf-doc { transform: translateX(56%) scale(.88); opacity: .2; filter: blur(1.6px); }

.hf-doc-head { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; padding-bottom: 10px; border-bottom: 1px solid var(--hf-line-soft); }
.hf-doc-title { font-weight: 700; font-size: clamp(12.5px, 1.55vw, 15px); line-height: 1.2; }
.hf-doc-year { font-size: clamp(10px, 1.1vw, 11.5px); color: var(--muted-foreground); font-weight: 600; letter-spacing: .06em; }
.hf-row {
  position: relative; display: flex; align-items: center; justify-content: space-between; gap: 8px;
  padding: 7.5px 0; border-bottom: 1px solid var(--hf-line-soft); font-size: clamp(11px, 1.35vw, 13px);
}
.hf-row:last-child { border-bottom: 0; }
.hf-k { color: var(--muted-foreground); }
.hf-v { font-weight: 700; font-variant-numeric: tabular-nums; }
.hf-alert .hf-v { color: var(--hf-flag); }
.hf-halo {
  position: absolute; inset: -1px -8px; border-radius: 7px; background: var(--hf-flag-soft);
  opacity: 0; z-index: -1; transform: scaleX(.9); transform-origin: 100% 50%;
}
.hf-s2 .hf-alert .hf-halo { animation: hf-halo 350ms cubic-bezier(.2,.9,.3,1) calc(1000ms - var(--ft, 0ms)) both; }
.hf-s2 .hf-alert:nth-child(4) .hf-halo { animation-delay: calc(1400ms - var(--ft, 0ms)); }
.hf-s3 .hf-alert .hf-halo { opacity: 1; transform: none; }
@keyframes hf-halo { to { opacity: 1; transform: scaleX(1); } }
.hf-doc-foot { margin-top: 11px; display: flex; gap: 5px; flex-wrap: wrap; }
.hf-tag {
  font-size: clamp(9px, 1.05vw, 10.5px); font-weight: 600; letter-spacing: .03em;
  padding: 3px 8px; border-radius: 99px; background: var(--growth-wash); color: var(--muted-foreground); opacity: 0;
}
.hf-s1 .hf-tag { animation: hf-tag-in 250ms ease calc(750ms - var(--ft, 0ms)) both; }
.hf-s1 .hf-tag:nth-child(2) { animation-delay: calc(825ms - var(--ft, 0ms)); }
.hf-s1 .hf-tag:nth-child(3) { animation-delay: calc(900ms - var(--ft, 0ms)); }
.hf-s2 .hf-tag, .hf-s3 .hf-tag { opacity: 1; }
@keyframes hf-tag-in { from { opacity: 0; transform: translateY(5px); } to { opacity: 1; transform: none; } }

/* מסגרת הסריקה והקרן */
.hf-frame { position: absolute; inset: -12px; pointer-events: none; opacity: 0; transition: opacity 250ms ease; }
.hf-s2 .hf-frame { opacity: 1; }
.hf-frame span { position: absolute; width: 19px; height: 19px; border: 2px solid var(--growth); }
.hf-frame span:nth-child(1) { inset-block-start: 0; inset-inline-start: 0; border-inline-end: 0; border-block-end: 0; border-start-start-radius: 6px; }
.hf-frame span:nth-child(2) { inset-block-start: 0; inset-inline-end: 0; border-inline-start: 0; border-block-end: 0; border-start-end-radius: 6px; }
.hf-frame span:nth-child(3) { inset-block-end: 0; inset-inline-start: 0; border-inline-end: 0; border-block-start: 0; border-end-start-radius: 6px; }
.hf-frame span:nth-child(4) { inset-block-end: 0; inset-inline-end: 0; border-inline-start: 0; border-block-start: 0; border-end-end-radius: 6px; }
.hf-s2 .hf-frame span { animation: hf-corner 275ms cubic-bezier(.2,1.5,.4,1) calc(0ms - var(--ft, 0ms)) both; }
.hf-s2 .hf-frame span:nth-child(2) { animation-delay: calc(35ms - var(--ft, 0ms)); }
.hf-s2 .hf-frame span:nth-child(3) { animation-delay: calc(70ms - var(--ft, 0ms)); }
.hf-s2 .hf-frame span:nth-child(4) { animation-delay: calc(105ms - var(--ft, 0ms)); }
@keyframes hf-corner { from { opacity: 0; transform: scale(.4); } to { opacity: 1; transform: scale(1); } }
.hf-beam {
  position: absolute; inset-inline: -7px; inset-block-start: 0; height: 70px; opacity: 0; pointer-events: none;
  background: linear-gradient(to bottom, transparent, var(--hf-glow) 55%, transparent);
  border-bottom: 1.5px solid var(--growth);
}
.hf-s2 .hf-beam { animation: hf-sweep 1450ms cubic-bezier(.45,0,.55,1) calc(175ms - var(--ft, 0ms)) 2 both; }
@keyframes hf-sweep {
  0% { opacity: 0; transform: translateY(-64px); }
  12% { opacity: 1; } 86% { opacity: 1; }
  100% { opacity: 0; transform: translateY(calc(100% + 10px)); }
}

/* מערכה 2: מה נבדק */
.hf-checks {
  transform: translateX(-56%); width: min(41%, 306px);
  display: flex; flex-direction: column; gap: 10px;
  opacity: 0; pointer-events: none; z-index: 4; transition: opacity 225ms ease;
}
.hf-s2 .hf-checks { opacity: 1; }
.hf-h3 { margin: 0 0 2px; font-weight: 700; font-size: clamp(12px, 1.55vw, 14.5px); color: var(--muted-foreground); }
.hf-check {
  display: flex; align-items: center; gap: 10px; background: var(--card-solid);
  border: 1px solid var(--border-solid); border-radius: 10px; padding: 8px 11px;
  font-size: clamp(11px, 1.5vw, 13.5px); font-weight: 600; box-shadow: var(--hf-shadow-s); opacity: 0;
}
.hf-s2 .hf-check { animation: hf-check-in 300ms cubic-bezier(.2,.9,.3,1) calc(350ms - var(--ft, 0ms)) both; }
.hf-s2 .hf-check:nth-child(3) { animation-delay: calc(750ms - var(--ft, 0ms)); }
.hf-s2 .hf-check:nth-child(4) { animation-delay: calc(1150ms - var(--ft, 0ms)); }
.hf-s2 .hf-check:nth-child(5) { animation-delay: calc(1550ms - var(--ft, 0ms)); }
@keyframes hf-check-in { from { opacity: 0; transform: translateX(-16px); } to { opacity: 1; transform: none; } }
.hf-dot {
  width: 18px; height: 18px; flex: none; border-radius: 50%; border: 1.5px solid var(--border-solid);
  display: grid; place-items: center; color: var(--good);
}
.hf-dot svg { width: 10px; height: 10px; stroke-dasharray: 14; stroke-dashoffset: 14; }
.hf-s2 .hf-dot { animation: hf-dot-fill 225ms ease calc(750ms - var(--ft, 0ms)) both; }
.hf-s2 .hf-dot svg { animation: hf-tick 225ms ease calc(750ms - var(--ft, 0ms)) both; }
.hf-s2 .hf-check:nth-child(3) .hf-dot, .hf-s2 .hf-check:nth-child(3) .hf-dot svg { animation-delay: calc(1150ms - var(--ft, 0ms)); }
.hf-s2 .hf-check:nth-child(4) .hf-dot, .hf-s2 .hf-check:nth-child(4) .hf-dot svg { animation-delay: calc(1550ms - var(--ft, 0ms)); }
.hf-s2 .hf-check:nth-child(5) .hf-dot, .hf-s2 .hf-check:nth-child(5) .hf-dot svg { animation-delay: calc(1950ms - var(--ft, 0ms)); }
@keyframes hf-dot-fill { to { border-color: var(--good); background: var(--good-soft); } }
@keyframes hf-tick { to { stroke-dashoffset: 0; } }
.hf-note { margin-inline-start: auto; font-size: clamp(9.5px, 1.1vw, 11px); font-weight: 600; color: var(--muted-foreground); }

/* מערכה 3: ההמלצה */
.hf-result {
  transform: translateX(-40%) scale(.94); width: min(47%, 344px);
  background: var(--card-solid); border: 1px solid var(--border-solid); border-radius: 15px;
  box-shadow: var(--hf-shadow-l); padding: 16px 17px 14px;
  opacity: 0; pointer-events: none; z-index: 5;
  transition: opacity 275ms ease, transform 425ms cubic-bezier(.19,.86,.24,1);
}
.hf-s3 .hf-result { opacity: 1; transform: translateX(-40%) scale(1); }
.hf-result-head { display: flex; align-items: center; gap: 7px; margin-bottom: 11px; }
.hf-seal { width: 19px; height: 19px; color: var(--gold-deep); flex: none; }
.hf-result-head span { font-weight: 700; font-size: clamp(13px, 1.6vw, 15px); }
.hf-swap { display: flex; flex-direction: column; gap: 8px; }
.hf-swap-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: clamp(11px, 1.4vw, 13px); opacity: 0; }
.hf-s3 .hf-swap-row { animation: hf-row-in 275ms cubic-bezier(.2,.9,.3,1) calc(250ms - var(--ft, 0ms)) both; }
.hf-s3 .hf-swap-row:nth-child(2) { animation-delay: calc(340ms - var(--ft, 0ms)); }
.hf-s3 .hf-swap-row:nth-child(3) { animation-delay: calc(430ms - var(--ft, 0ms)); }
@keyframes hf-row-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.hf-nums { display: flex; align-items: center; gap: 7px; font-variant-numeric: tabular-nums; font-weight: 700; }
.hf-was { color: var(--muted-foreground); text-decoration: line-through; text-decoration-thickness: 1px; font-weight: 600; }
.hf-arrow { color: var(--growth); font-size: 14px; line-height: 1; }
.hf-now { color: var(--good); }
.hf-headline { margin-top: 13px; padding-top: 13px; border-top: 1px solid var(--hf-line-soft); display: flex; flex-direction: column; gap: 3px; }
.hf-big {
  font-weight: 800; font-size: clamp(26px, 4.6vw, 40px); line-height: 1; color: var(--growth);
  font-variant-numeric: tabular-nums; display: flex; align-items: baseline; gap: 5px;
}
.hf-shekel { font-size: .6em; font-weight: 700; }
.hf-n { unicode-bidi: isolate; direction: ltr; }
.hf-cap { font-size: clamp(10px, 1.2vw, 11.5px); color: var(--muted-foreground); font-weight: 600; }
.hf-fine { margin: 10px 0 0; font-size: clamp(9px, 1.05vw, 10.5px); color: var(--muted-foreground); line-height: 1.4; }

/* שורת ההסבר ופס ההתקדמות */
.hf-narration {
  display: flex; align-items: flex-start; gap: 14px;
  padding: clamp(15px, 2.4vw, 22px) clamp(16px, 2.6vw, 26px);
  border-top: 1px solid var(--border-solid); background: var(--card-solid);
}
.hf-badge {
  width: 34px; height: 34px; flex: none; border-radius: 50%; margin-top: 2px;
  background: var(--growth); color: var(--growth-foreground);
  display: grid; place-items: center; font-weight: 700; font-size: 16px; line-height: 1;
}
.hf-title { font-weight: 700; font-size: clamp(17px, 2.7vw, 24px); line-height: 1.25; text-wrap: balance; }
.hf-body { margin: 3px 0 0; font-size: clamp(13px, 1.9vw, 15.5px); color: var(--muted-foreground); font-weight: 300; max-width: 60ch; line-height: 1.6; }
.hf-text { flex: 1; min-width: 0; display: grid; }
.hf-say { grid-area: 1 / 1; visibility: hidden; }
.hf-say.is-on { visibility: visible; }
.hf-swapping .hf-say.is-on { animation: hf-cap-in 250ms ease both; }
@keyframes hf-cap-in { from { opacity: 0; transform: translateY(7px); } to { opacity: 1; transform: none; } }
.hf-progress { display: flex; gap: 4px; background: var(--card-solid); }
.hf-progress span { flex: 1; height: 2px; background: var(--hf-line-soft); overflow: hidden; }
.hf-progress i { display: block; height: 100%; background: var(--growth); transform: scaleX(0); transform-origin: 100% 50%; }

/* טלפון: הכול בעמודה אחת, המסמך למעלה והכרטיסים מתחתיו */
@media (max-width: 660px) {
  .hf { border-radius: 15px; }
  .hf-stage { min-height: 112.5cqi; }
  .hf-doc { width: min(56%, 204px); padding: 12px 12px 11px; transform: translateY(-3%); }
  .hf-row { padding: 6px 0; }
  .hf-s1 .hf-doc { animation-name: hf-doc-in-sm; }
  @keyframes hf-doc-in-sm {
    from { transform: translateY(-9%) translateX(48%) rotate(7deg) scale(.85); opacity: 0; }
    55% { opacity: 1; }
    to { transform: translateY(-3%); opacity: 1; }
  }
  .hf-s2 .hf-doc { transform: translateY(-38%) scale(.62); }
  .hf-s3 .hf-doc { transform: translateY(-40%) scale(.6); opacity: .18; }
  .hf-checks, .hf-result { align-self: end; }
  .hf-checks { transform: none; width: min(90%, 344px); gap: 7px; }
  .hf-check { padding: 6px 10px; }
  .hf-s2 .hf-check { animation-name: hf-check-in-sm; }
  @keyframes hf-check-in-sm { from { opacity: 0; transform: translateY(11px); } to { opacity: 1; transform: none; } }
  .hf-result { transform: scale(.95); width: min(92%, 344px); padding: 14px 15px 12px; }
  .hf-s3 .hf-result { transform: none; }
  .hf-narration { gap: 12px; }
}
/* מסך צר מאוד (טלפון עם גופן מוגדל): האיור מוצג כמו בטלפון רגיל, בחצי גודל, במקום להיחתך. הטקסט שמתחתיו נשאר גדול */
@media (max-width: 300px) { .hf-stage { zoom: .5; } }

/* פחות תנועה (הגדרת המערכת או סרגל הנגישות): בלי אנימציות, כל מערכה מוצגת כשהיא כבר בנויה */
@media (prefers-reduced-motion: reduce) {
  .hf *, .hf *::before, .hf *::after { animation: none !important; transition: none !important; }
}
@media (prefers-reduced-motion: reduce) {
  .hf-tag, .hf-s2 .hf-check, .hf-s3 .hf-swap-row, .hf-s2 .hf-halo { opacity: 1; }
  .hf-s2 .hf-dot { border-color: var(--good); background: var(--good-soft); }
  .hf-s2 .hf-dot svg { stroke-dashoffset: 0; }
}
.a11y-no-motion .hf-tag, .a11y-no-motion .hf-s2 .hf-check, .a11y-no-motion .hf-s3 .hf-swap-row, .a11y-no-motion .hf-s2 .hf-halo { opacity: 1; }
.a11y-no-motion .hf-s2 .hf-dot { border-color: var(--good); background: var(--good-soft); }
.a11y-no-motion .hf-s2 .hf-dot svg { stroke-dashoffset: 0; }

/* ---------- מסך צר מאוד (פחות מ־300px) ----------
   זה מה שקורה כשכרום באנדרואיד מגדיל את כל העמוד לפי גודל הגופן בטלפון (זום של פי 2
   בטלפון של 360px = 180px). כרטיס בתוך כרטיס, כל אחד עם שוליים משלו, השאיר לטקסט
   כ־80px. כאן מקטינים את השוליים בצדדים. בטלפון רגיל (320px ומעלה) זה לא חל. */
@media (max-width: 300px) {
  .wrap { padding-inline: 10px; }
  .luxury-card, .hub-card, .hub-check, .fee-card, .pc, .cover-hero, .contact-form,
  .tip, .cov-card, .note-card, .demo, .fee-side, .deck-tile,
  .hub-step, .hub-callout, .hub-cover, .layer, .ins-fact, .ins-example, .callout, .quote, .art-feat-body, .deck-card,
  .consent-in, .pop-in, .faq-q, .faq-a, .noa-log, .noa-foot, .mini-note { padding-inline: 12px !important; }
  .btn { padding-inline: 12px; }
  .tip-cat { white-space: normal; }
  .hub-tab, .calc-tab { padding-inline: 4px; }
  /* טבלה ככרטיסים: שם העמודה מעל הערך, לא לצדו */
  table.t td { flex-direction: column; align-items: stretch; gap: 2px; }
  table.t td::before { max-width: none; }
  table.t td:not(:first-child) { text-align: start; }
}

/* ============================================================================
   יצירת קשר, כרטיס זכוכית כהה (דף הבית בלבד; /contact נשאר בהיר). טוקנים ב-tokens.css.
   ========================================================================== */
.ctd { background: linear-gradient(to bottom, var(--homa-night), var(--homa-deep)); color: var(--on-dark); padding-block: 72px 80px; }
.ctd-wrap { display: flex; flex-direction: column; align-items: center; gap: 22px; }
.ctd-wrap > .reveal { width: 100%; display: flex; justify-content: center; }
.ctd-pill {
  display: inline-flex; align-items: center; gap: 9px; padding: 6px 14px; border-radius: 999px;
  border: 1px solid var(--glass-border); background: color-mix(in srgb, var(--on-dark) 4%, transparent);
  font-size: 13px; color: var(--on-dark-2);
}
.ctd-dot { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--on-dark-3); flex-shrink: 0; }
.ctd-pill.on .ctd-dot { background: var(--online); }
.ctd-pill.on .ctd-dot::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--online);
  animation: ctd-pulse 2s ease-out infinite;
}
@keyframes ctd-pulse { from { transform: scale(1); opacity: .6; } to { transform: scale(3.2); opacity: 0; } }

.ctd-card {
  width: 100%; max-width: 480px; padding: 28px; border-radius: 22px;
  background: var(--glass-bg); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
  border: 1px solid var(--glass-border); box-shadow: 0 30px 80px color-mix(in srgb, var(--shadow-ink) 45%, transparent);
}
@media (max-width: 559px) { .ctd-card { padding: 22px; } .ctd { padding-block: 52px 60px; } }
/* :not(.reveal-now): בציור חוזר (שגיאת טופס, שליחה) הכרטיס לא נכנס שוב (global.css) */
html.reveal-ready .ctd-card.reveal.is-visible:not(.reveal-now) { animation: ctd-rise 700ms cubic-bezier(0.215, 0.61, 0.355, 1) forwards; }
@keyframes ctd-rise { from { opacity: 0; transform: translateY(60px); } to { opacity: 1; transform: translateY(0); } }

.ctd-title { font-family: Rubik, inherit; font-weight: 800; font-size: 26px; line-height: 1.25; letter-spacing: -0.02em; color: var(--on-dark); margin: 0 0 8px; }
.ctd-sub { font-size: 14px; line-height: 1.6; color: var(--on-dark-2); margin: 0 0 20px; }

.ctd-wa {
  display: flex; align-items: center; gap: 12px; padding: 14px; border-radius: 14px; text-decoration: none;
  background: color-mix(in srgb, var(--whatsapp) 8%, transparent); border: 1px solid color-mix(in srgb, var(--whatsapp) 25%, transparent);
  transition: border-color .2s, transform .2s;
}
.ctd-wa:hover { border-color: color-mix(in srgb, var(--whatsapp) 60%, transparent); transform: translateY(-2px); }
.ctd-wa-ic { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; flex-shrink: 0; border-radius: 10px; background: var(--whatsapp); color: var(--on-dark); }
.ctd-wa strong { color: var(--whatsapp-ink); font-weight: 600; font-size: 15px; }
.ctd-wa span.col span { font-size: 12px; color: var(--on-dark-3); }

.ctd-or { display: flex; align-items: center; gap: 12px; margin: 20px 0; font-size: 11px; letter-spacing: 0.15em; color: var(--on-dark-3); }
.ctd-or::before, .ctd-or::after { content: ""; flex: 1; height: 1px; background: var(--glass-border); }

.ctd-f { display: flex; flex-direction: column; gap: 6px; }
.ctd-l { font-size: 13px; color: var(--on-dark-2); }
.ctd-l span { color: var(--whatsapp-ink); }
.ctd-i {
  width: 100%; height: 48px; padding: 0 14px; border-radius: 12px; font: inherit; font-size: 15px; color: var(--on-dark); outline: none;
  background: var(--field-bg); border: 1px solid var(--field-line);
  transition: border-color .16s, box-shadow .16s;
}
.ctd-i::placeholder { color: var(--on-dark-3); opacity: .8; }
.ctd-i:focus { border-color: var(--homa-blue); box-shadow: 0 0 0 3px color-mix(in srgb, var(--homa-blue) 25%, transparent); }
.ctd-i.bad { border-color: var(--error-line-on-dark); }
.ctd-e { font-size: 12.5px; line-height: 1.5; color: var(--error-on-dark); }

.ctd-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.ctd-chip {
  display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 999px; font: inherit; font-size: 13px;
  color: var(--on-dark-2); background: transparent; border: 1px solid var(--field-line); cursor: pointer;
  transition: background .16s, border-color .16s, color .16s;
}
.ctd-chip:hover { border-color: color-mix(in srgb, var(--on-dark) 30%, transparent); }
.ctd-chip:focus-visible, .ctd-send:focus-visible, .ctd-wa:focus-visible, .ctd-ghost:focus-visible, .ctd-more a:focus-visible { outline: 2px solid var(--on-dark); outline-offset: 3px; }
.ctd-chip-v { display: none; }
.ctd-chip.on { color: var(--on-dark); background: color-mix(in srgb, var(--homa-blue) 18%, transparent); border-color: var(--homa-blue); }
.ctd-chip.on .ctd-chip-v { display: inline-flex; }

.ctd-send {
  display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; min-height: 52px; padding: 8px 16px; border: 0; border-radius: 14px; cursor: pointer;
  font-family: Rubik, inherit; font-weight: 700; font-size: 18px; color: var(--on-dark);
  background: linear-gradient(135deg, var(--homa-blue), var(--homa-cyan-deep));
  transition: filter .2s, box-shadow .2s;
}
.ctd-send:hover:not(:disabled) { filter: brightness(1.08); box-shadow: 0 10px 30px color-mix(in srgb, var(--homa-blue) 40%, transparent); }
.ctd-send:disabled { opacity: .75; cursor: default; }
.ctd-spin { width: 18px; height: 18px; border-radius: 50%; border: 2.5px solid color-mix(in srgb, var(--on-dark) 35%, transparent); border-top-color: var(--on-dark); animation: ctd-rot .7s linear infinite; }
@keyframes ctd-rot { to { transform: rotate(360deg); } }
.ctd-trust { margin: 0; text-align: center; font-size: 12px; color: var(--on-dark-3); }

.ctd-done { align-items: center; text-align: center; gap: 14px; padding-block: 18px; }
.ctd-done .ctd-sub { margin: 0; }
.ctd-tick {
  display: flex; align-items: center; justify-content: center; width: 64px; height: 64px; border-radius: 50%;
  color: var(--whatsapp-ink); background: color-mix(in srgb, var(--whatsapp) 12%, transparent); border: 1px solid color-mix(in srgb, var(--whatsapp) 30%, transparent);
}
.ctd-tick path { stroke-dasharray: 26; stroke-dashoffset: 26; animation: ctd-draw .6s .15s ease-out forwards; }
@keyframes ctd-draw { to { stroke-dashoffset: 0; } }
.ctd-ghost { padding: 10px 20px; border-radius: 999px; font: inherit; font-size: 14px; color: var(--on-dark); background: transparent; border: 1px solid var(--field-line); cursor: pointer; }
.ctd-ghost:hover { border-color: color-mix(in srgb, var(--on-dark) 40%, transparent); }

.ctd-more { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 22px; font-size: 14px; color: var(--on-dark-2); }
.ctd-more li > a, .ctd-more li > span { display: inline-flex; align-items: center; gap: 8px; color: inherit; text-decoration: none; }
.ctd-more a:hover { color: var(--on-dark); text-decoration: underline; }

@media (prefers-reduced-motion: reduce) {
  .ctd-pill.on .ctd-dot::after, .ctd-spin { animation: none; }
  html.reveal-ready .ctd-card.reveal.is-visible { animation: none; opacity: 1; }
  .ctd-tick path { animation: none; stroke-dashoffset: 0; }
  .ctd-wa, .ctd-wa:hover { transition: none; transform: none; }
}
.a11y-no-motion .ctd-pill.on .ctd-dot::after, .a11y-no-motion .ctd-spin { animation: none; }
.a11y-no-motion .ctd-tick path { animation: none; stroke-dashoffset: 0; }

/* =====================================================================/* ============================================================================
   "מהחלל, אל הבית שלך" — פתיחת דף הבית (public/js/hero.js). transform ו-opacity בלבד.
   ברירת המחדל סטטית (הסצנה הסופית: הבית בזריחה); .cine-on נדלקת ב-JS רק כשמותר להזיז:
   הדבקה (sticky) של 100% מגובה המסך (מסך גלילה אחד; במחשב היה 130% עד D38). האנימציה: @keyframes cine-* (0% = תחילת
   ההדבקה, 100% = סופה), שרצים לפי הגלילה (.cine-css, animation-timeline) או מושהים ומוזזים ב-JS.
   ========================================================================== */
/* הסצנה מתחילה בראש המסך ועוברת מאחורי הסרגל (D38: הסרגל "אי צף" שקוף, ובלי זה נשאר מתחתיו פס שחור בגובה המקום שהוא תופס).
   --hdr-h: המקום שהסרגל תופס בדף; hero.js מודד ומעדכן, וברירת המחדל זהה כדי שלא תהיה קפיצה בטעינה */
.cine { --hdr-h: 84px; --pin: 1; --stage: 100svh; margin-top: calc(-1 * var(--hdr-h)); position: relative; background: var(--homa-night); color: var(--on-dark); }


@media (max-width: 720px) { .cine { --hdr-h: 64px; } }
.cine-stage { position: relative; height: calc(clamp(240px, 42svh, 420px) + var(--hdr-h)); overflow: hidden; contain: paint; }
/* מעבר רך מהסצנה אל אזור הפתיחה שמתחתיה (כהה), במקום קו חיתוך חד */
.cine-stage::after { content: ""; position: absolute; inset-inline: 0; bottom: 0; height: 22%; z-index: 4; pointer-events: none;
  background: linear-gradient(to bottom, transparent, color-mix(in srgb, var(--homa-night) 70%, transparent) 60%, var(--homa-night)); }
.sp-stars, .sp-clouds, .sp-flash, .cine-a, .cine-c { position: absolute; inset: 0; }
.sp-stars picture, .cine-a picture { display: contents; } /* <picture> (חיתוך לאורך לטלפון) לא משנה את הפריסה */
.sp-img, .cine-img { display: block; width: 100%; height: 100%; object-fit: cover; }
.cine-img { object-position: 50% 82%; }
/* הסטטי: רק הבית והלוגו */
.sp-stars, .sp-earth, .sp-clouds, .sp-flash { display: none; }

.cine-c { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; text-align: center; padding-inline: 16px; padding-top: var(--hdr-h); z-index: 3; }
.cine-logo { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 14px; }
/* הלוגו התלת־ממדי (hero.js: markHtml): בלי צל ובלי רקע, רק התמונה. סטטי: הפרוסה הקדמית בלבד; מצב מונפש: ראו .cine-on */
.cine-mark { position: relative; display: block; width: 96px; height: 85px; }
.cm { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; display: none; }
.cm-f { display: block; }
.cine-name { margin: 0; font-family: Rubik, inherit; font-weight: 800; letter-spacing: -0.02em; font-size: clamp(64px, 15vw, 150px); line-height: 1; color: var(--on-dark); text-shadow: 0 4px 24px color-mix(in srgb, var(--homa-night) 75%, transparent), 0 0 2px color-mix(in srgb, var(--homa-night) 90%, transparent); }
.cine-tag { margin: 0; font-weight: 600; font-size: clamp(18px, 3vw, 28px); color: var(--on-dark); text-shadow: 0 2px 14px color-mix(in srgb, var(--homa-night) 85%, transparent), 0 0 2px color-mix(in srgb, var(--homa-night) 90%, transparent); }
/* מעט כהות מעל תמונת הבית, כדי שהשם והסיסמה יהיו קריאים גם מול השמש והבית */
.cine-a::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(to bottom, color-mix(in srgb, var(--homa-night) 55%, transparent), color-mix(in srgb, var(--homa-night) 20%, transparent) 55%, color-mix(in srgb, var(--homa-night) 40%, transparent)); }

/* ---- מצב מונפש: במה בגובה המסך, השכבות נדלקות ---- */
.cine-on { height: calc(var(--stage) * (1 + var(--pin))); }
.cine-on .cine-stage { position: sticky; top: 0; height: var(--stage); contain: none;
  background: linear-gradient(to bottom, var(--homa-night), var(--homa-deep) 55%, var(--homa-navy)); }
/* הכוכבים: עדינים, רק ברקע של השמיים (ההשראה: שמיים כחולים-כהים עם כוכבים חלשים, לא שדה כוכבים) */
.cine-gl .sp-stars, .cine-wait .sp-stars { --sm: linear-gradient(to bottom, color-mix(in srgb, var(--homa-night) 50%, transparent) 25%, transparent 72%); mask-image: var(--sm); -webkit-mask-image: var(--sm); }
.cine-on .sp-stars, .cine-on .sp-clouds, .cine-on .sp-flash { display: block; }
.cine-on .sp-earth { display: block; }
/* כדור הארץ: ריבוע במרכז הבמה. הזום מתכנס אל ישראל (51% / 43% מהתמונה), ולכן הנקודה הזו יושבת במרכז
   המסך מההתחלה (margin שלילי) והיא גם מרכז ההגדלה (transform-origin). */
.sp-earth { --ew: clamp(240px, 66vmin, 640px); position: absolute; width: var(--ew); height: var(--ew); inset-inline-start: 50%; top: 50%;
  margin-inline-start: calc(var(--ew) * -0.49); margin-top: calc(var(--ew) * -0.43); transform-origin: 51% 43%; z-index: 1; }
/* הדף RTL: inline-start הוא הצד הימני, ולכן 49% משם = 51% משמאל, כמו ב-transform-origin (שהוא פיזי) */
.sp-earth .sp-img { border-radius: 50%; }
/* זוהר האטמוספרה: טבעת כחולה דקה על שפת הדיסקה, ומעטפת רכה סביבה */
.sp-glow { position: absolute; inset: -7%; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, transparent 42.5%, color-mix(in srgb, var(--homa-sky) 85%, white) 43.5%, color-mix(in srgb, var(--homa-sky) 55%, transparent) 45%, color-mix(in srgb, var(--homa-blue) 18%, transparent) 48%, transparent 51%); }
/* הכדור התלת־ממדי (globe.js): מחליף את התמונה כשהמפות נטענו (cine-gl); הזום שלו נעשה בתוך ה-canvas */
.sp-globe { position: absolute; inset: 0; z-index: 1; display: none; }
.sp-globe canvas { display: block; width: 100%; height: 100%; }
.cine-on.cine-gl .sp-globe { display: block; }
.cine-gl .sp-earth, .cine-wait .sp-earth { display: none; }
/* בזמן שהמפות נטענות (cine-wait) הבמה כהה עם הכוכבים בלבד; הכדור מופיע בהדרגה, בלי קפיצה. ה-opacity של
   .sp-globe עצמו שייך לאנימציית הגלילה, ולכן ההופעה היא על ה-canvas
   (transition ולא animation: כשהבמה חוזרת לדף אחרי render, hero.js: takeCine, היא לא מופיעה שוב מאפס) */
.cine-on.cine-wait .sp-globe { display: block; }
/* בזמן ההמתנה מוצג "הפריים הראשון" של הכדור (hero.js: POSTER), והכדור החי מחליף אותו באותו פריים, בלי מעבר:
   השניים זהים (אותה זווית, אותם עננים), ומעבר הדרגתי היה מכפיל לרגע את זוהר האטמוספרה. קודם הבמה הייתה ריקה עד
   שהמפות נטענו ואז הכדור הופיע בהדרגה (700ms), שנייה ויותר של שמיים ריקים בכל רענון (M-073).
   התמונה רחבה (4:1) ובגובה הבמה, במרכז: מה שהמצלמה של הכדור רואה בכל רוחב מסך (scripts/globe-poster.mjs).
   left + translate: מירכוז, זהה בשני הכיוונים (כמו קישור הדילוג ב-global.css) */
.sp-globe picture { display: contents; }
.sp-poster { display: none; position: absolute; top: 0; left: 50%; height: 100%; width: auto; max-width: none; transform: translateX(-50%); pointer-events: none; }
.cine-wait .sp-poster, .cine-fade .sp-poster { display: block; }
/* רענון באמצע הפתיחה: הכדור כבר במבט אחר מהתמונה, ולכן מעבר הדרגתי מעליה (hero.js: cine-fade) */
.cine-fade .sp-globe canvas { transition: opacity 600ms ease-out; }
.sp-globe canvas { opacity: 0; }
.cine-gl .sp-globe canvas { opacity: 1; }
.sp-clouds { z-index: 2; }
.sp-clouds .sp-img { object-fit: cover; }
.sp-flash { z-index: 2; background: color-mix(in srgb, var(--on-dark) 92%, var(--homa-sky)); pointer-events: none; }
.cine-on .cine-a { z-index: 2; }

/* ---- נגיעת ההייטק (D38): פינות כוונת זהב בקצוות המסך, כמו עינית של מצלמה, וקואורדינטות מרכז ישראל בתחתית
   (hero.js: .cine-hud). רק במצב המונפש. הפינות בקצוות ולא סביב הלוגו, כדי שלא יחתכו את השם בשום רוחב מסך ---- */
.cine-hud { display: none; position: absolute; z-index: 3; pointer-events: none;
  inset-block: calc(var(--hdr-h) + 3vmin) 5vmin; inset-inline: max(16px, 4vw); }
.cine-on .cine-hud { display: block; opacity: 0; }
.hud-c { position: absolute; width: 26px; height: 26px; border: 0 solid var(--gold); }
.hud-c:nth-child(1) { top: 0; inset-inline-start: 0; border-block-start-width: 1.5px; border-inline-start-width: 1.5px; }
.hud-c:nth-child(2) { top: 0; inset-inline-end: 0; border-block-start-width: 1.5px; border-inline-end-width: 1.5px; }
.hud-c:nth-child(3) { bottom: 0; inset-inline-start: 0; border-block-end-width: 1.5px; border-inline-start-width: 1.5px; }
.hud-c:nth-child(4) { bottom: 0; inset-inline-end: 0; border-block-end-width: 1.5px; border-inline-end-width: 1.5px; }
.hud-read { position: absolute; inset-inline: 0; bottom: 4px; text-align: center;
  font-size: 12px; font-weight: 500; letter-spacing: .24em; font-variant-numeric: tabular-nums; color: var(--gold);
  text-shadow: 0 0 10px var(--homa-night), 0 0 2px var(--homa-night); }

/* ---- האנימציה (0% = תחילת ההדבקה, 100% = סופה), מושהית; JS מזיז את currentTime (מצב js) ---- */
.cine-on .sp-stars { animation: cine-stars 1000ms linear both paused; }
.cine-on .sp-earth { animation: cine-earth 1000ms linear both paused; }
.cine-on .sp-globe { animation: cine-globe 1000ms linear both paused; }
.cine-on .sp-clouds { animation: cine-clouds 1000ms linear both paused; }
.cine-on .sp-flash { animation: cine-flash 1000ms linear both paused; }
.cine-on .cine-a { animation: cine-house 1000ms linear both paused; }
/* שכבות שבתחילת הגלילה (0%) שקופות: זה גם הערך שלהן בלי האנימציה. בלי זה, בכל רגע שהאנימציה לפי הגלילה עוד לא
   חלה (הפריים הראשון אחרי רענון, משיכה-לרענון בטלפון, או כשגובה הדף משתנה בזמן הטעינה וציר הגלילה מתאפס לרגע)
   הן הופיעו במלואן: תמונת הבית, העננים והבזק האור הלבן קפצו מעל הכדור (בעל העסק, 2026-10-11; M-051).
   כשהאנימציה פעילה היא גוברת על הערך הזה. */
.cine-on .sp-clouds, .cine-on .sp-flash, .cine-on .cine-a { opacity: 0; }
.cine-on .cine-logo { animation: cine-logo 1000ms linear both paused; transform-origin: 50% 50%; }
/* הלוגו מסתובב סיבוב שלם על הציר האנכי בזמן הגלילה, ונעצר מול הפנים כשהוא מתחיל לעלות לכותרת */
.cine-on .cine-mark { transform-style: preserve-3d; animation: cine-spin 1000ms linear both paused; }
.cine-on .cm { display: block; backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.cine-on .cm-f { transform: translateZ(4px); }
.cine-on .cm-b { transform: translateZ(-4px) rotateY(180deg); }
/* העובי: שבע פרוסות כהות בין הפנים הקדמיות לאחוריות, הנראות רק כשהמגן על הצד */
.cine-on .cm-m { transform: translateZ(calc(var(--z) * 1px)); filter: brightness(0.5) saturate(0.8); backface-visibility: visible; -webkit-backface-visibility: visible; }
.cine-on .cine-tag { animation: cine-tag 1000ms linear both paused; }
.cine-on .cine-hud { animation: cine-hud 1000ms linear both paused; }
/* מצב css: הדפדפן מריץ לפי גלילת הדף, מראש הדף (הסצנה היא הדבר הראשון בו) ועד סוף ההדבקה */
.cine-css .sp-stars, .cine-css .sp-earth, .cine-css .sp-globe, .cine-css .sp-clouds, .cine-css .sp-flash, .cine-css .cine-a, .cine-css .cine-logo, .cine-css .cine-mark, .cine-css .cine-tag, .cine-css .cine-hud {
  animation-play-state: running; animation-timeline: scroll(root block); animation-range: 0px calc(var(--stage) * var(--pin)); }

/* הכוכבים מתרחקים לאט ונעלמים כשכדור הארץ ממלא את המסך */
@keyframes cine-stars { 0% { transform: scale(1); opacity: 1; } 45% { opacity: 1; } 62% { transform: scale(1.22); opacity: 0; } 100% { transform: scale(1.22); opacity: 0; } }
/* מתקרבים: כדור הארץ גדל פי 8 (ממלא את המסך בערך ב-40%), ונעלם מאחורי העננים */
@keyframes cine-earth { 0% { transform: scale(1); opacity: 1; } 68% { opacity: 1; } 78% { transform: scale(8); } 84% { opacity: 0; } 100% { transform: scale(8); opacity: 0; } }
/* הכדור התלת־ממדי מתקרב בתוך ה-canvas; כאן רק נעלם מאחורי העננים */
@keyframes cine-globe { 0%, 68% { opacity: 1; } 84% { opacity: 0; } 100% { opacity: 0; } }
/* חוצים את שכבת העננים */
@keyframes cine-clouds { 0%, 50% { opacity: 0; transform: scale(0.8); } 70% { opacity: 0.95; } 90% { opacity: 0; transform: scale(2.4); } 100% { opacity: 0; transform: scale(2.4); } }
/* הבזק קצר של אור כשנכנסים לאטמוספרה */
@keyframes cine-flash { 0%, 68% { opacity: 0; } 74% { opacity: 0.55; } 82% { opacity: 0; } 100% { opacity: 0; } }
/* הנחיתה: הבית בזריחה מתגלה ומתייצב */
@keyframes cine-house { 0%, 66% { opacity: 0; transform: scale(1.35); } 86% { opacity: 1; } 100% { opacity: 1; transform: scale(1); } }
/* הלוגו והשם עולים לכותרת ומצטמצמים בסוף */
@keyframes cine-logo { 0%, 60% { transform: translateY(0) scale(1); } 100% { transform: translateY(calc((var(--stage) - var(--hdr-h)) / -2 + 56px)) scale(0.45); } }
@keyframes cine-spin { 0% { transform: perspective(700px) rotateY(0deg); } 60%, 100% { transform: perspective(700px) rotateY(360deg); } }
/* העינית: מופיעה כשכדור הארץ מתחיל להתקרב, נסגרת מעט פנימה (המיקוד), ונעלמת לפני שכבת העננים (68%) */
@keyframes cine-hud { 0%, 12% { opacity: 0; transform: scale(1.06); } 26% { opacity: 1; } 52% { opacity: 1; transform: scale(1); } 62%, 100% { opacity: 0; transform: scale(.985); } }
/* הסיסמה נעלמת לפני שהלוגו מתחיל לעלות (60%), כדי שבטקסט מוגדל השם לא יעבור מעליה */
@keyframes cine-tag { 0%, 48% { opacity: 1; visibility: visible; } 59%, 100% { opacity: 0; visibility: hidden; } }
/* will-change רק בזמן שהבמה על המסך */
.cine-live .sp-stars, .cine-live .sp-earth, .cine-live .sp-globe, .cine-live .sp-clouds, .cine-live .sp-flash, .cine-live .cine-a, .cine-live .cine-logo, .cine-live .cine-mark, .cine-live .cine-tag, .cine-live .cine-hud { will-change: transform, opacity; }

/* ============================================================================
   דף הבית: הפתיחה ואזור צור קשר כהים, על הרקע הקבוע שעובר לפי הגלילה (public/js/hero.js: bgHtml).
   .home-night (מאז D38; לפני כן כל main.home-dark) מחליף את משתני הצבע לאור-על-כהה בתוכו בלבד, כך שכל רכיב קיים
   (כפתורים, כרטיסים, הטופס) מתכהה מעצמו. האזורים שביניהם (.hq-sec) בהירים ואטומים, ומסתירים את הרקע הקבוע.
   main.home-dark נשאר כסימן לדף הבית (הסרגל העליון, components.css).
   ========================================================================== */
.home-dark { position: relative; }
.home-night {
  --foreground: var(--on-dark-1);
  --card-foreground: var(--on-dark-1);
  --muted-foreground: var(--on-dark-2);
  --secondary: color-mix(in srgb, var(--on-dark) 5%, transparent);
  --secondary-foreground: var(--on-dark-1);
  --muted: color-mix(in srgb, var(--on-dark) 5%, transparent);
  --accent: color-mix(in srgb, var(--on-dark) 8%, transparent);
  --border: var(--glass-border);
  --border-solid: color-mix(in srgb, var(--on-dark) 16%, transparent);
  --input: color-mix(in srgb, var(--on-dark) 16%, transparent);
  --card: var(--glass-bg);
  --card-solid: var(--card-on-dark);
  --growth: var(--link-on-dark);
  --growth-wash: color-mix(in srgb, var(--homa-blue) 20%, transparent);
  --gold-deep: var(--gold);
  --primary: var(--homa-blue);
  --primary-foreground: var(--on-dark);
  position: relative; color: var(--foreground);
}
.home-night a:hover { color: var(--on-dark); }
.home-night .luxury-card { background: var(--glass-bg); border-color: var(--glass-border); box-shadow: 0 20px 50px color-mix(in srgb, var(--shadow-ink) 35%, transparent); }
/* בטלפון ובטאבלט הרקע מאחורי הכרטיסים הוא צבע אחיד (hero.js: בלי מעבר רקע), כך שטשטוש הזכוכית לא נראה בכלל,
   אבל כל אלמנט עם backdrop-filter מחושב מחדש בכל פריים של גלילה, וזה מה שמאט גלילה בטלפונים (M-045) */
@media (max-width: 1023px), (pointer: coarse) {
  .home-night .luxury-card, .home-night .glass-input, .home-night .ctd-card { -webkit-backdrop-filter: none; backdrop-filter: none; }
}
.home-night .luxury-card:hover { background: color-mix(in srgb, var(--card-on-dark-hover) 78%, transparent); border-color: color-mix(in srgb, var(--link-on-dark) 40%, transparent); box-shadow: 0 20px 50px color-mix(in srgb, var(--shadow-ink) 45%, transparent); }
.home-night .btn-ghost { background: color-mix(in srgb, var(--on-dark) 5%, transparent); border-color: color-mix(in srgb, var(--on-dark) 20%, transparent); color: var(--on-dark); }
.home-night .btn-ghost:hover { color: var(--on-dark); border-color: color-mix(in srgb, var(--on-dark) 50%, transparent); }
.home-night .btn-growth { background: var(--homa-blue); color: var(--on-dark); }

.home-bg { position: fixed; inset: 0; z-index: -1; pointer-events: none; background: var(--homa-night); --bgp: 0.3; }
/* בטלפון שורת הכתובת מתכווצת בגלילה, ושכבה קבועה עם inset: 0 משנה גובה תוך כדי (המעבר הצבעוני נמתח).
   גובה קבוע של המסך הגדול (lvh) מונע את זה. מחוץ לטלפון לא משתנה כלום. */
@media (max-width: 767px) { .home-bg { inset: 0 0 auto; height: 100vh; height: 100lvh; } }
.home-bg i { position: absolute; inset: 0; }
.hb-navy { background: var(--homa-navy); opacity: min(1, var(--bgp) / 0.35); }
.hb-deep { background: var(--homa-deep); opacity: max(0, min(1, (var(--bgp) - 0.35) / 0.3)); }
.hb-blue { background: linear-gradient(to bottom, var(--homa-deep), var(--homa-royal)); opacity: max(0, min(1, (var(--bgp) - 0.78) / 0.22)); }
.ctd { background: none; }

/* ---- סקשן הסיום ---- */
.cl { padding-block: 96px 120px; text-align: center; color: var(--on-dark); }
.cl-h { font-family: Rubik, inherit; font-weight: 800; font-size: clamp(40px, 9vw, 96px); line-height: 1.05; letter-spacing: -0.02em; color: var(--on-dark); margin: 0 0 22px; }
.cl-w { display: inline-block; overflow: hidden; vertical-align: top; padding-block: 0.12em 0.22em; margin-block: -0.12em -0.22em; }
.cl-w > span { display: inline-block; }
.cl-sub { font-size: 16px; color: color-mix(in srgb, var(--on-dark) 78%, transparent); margin: 0 auto; max-width: 560px; line-height: 1.7; }
html.reveal-ready .cl .cl-w > span { transform: translateY(105%); }
html.reveal-ready .cl.reveal-now .cl-w > span { transform: none; }
html.reveal-ready .cl.is-visible:not(.reveal-now) .cl-w > span { animation: cl-up 800ms cubic-bezier(0.22, 1, 0.36, 1) forwards; animation-delay: calc(var(--i) * 80ms); }
@keyframes cl-up { from { transform: translateY(105%); } to { transform: translateY(0); } }
html.reveal-ready .cl.reveal { opacity: 1; animation: none; }
@media (prefers-reduced-motion: reduce) {
  html.reveal-ready .cl .cl-w > span, html.reveal-ready .cl.is-visible .cl-w > span { transform: none; animation: none; }
}
.a11y-no-motion .cl .cl-w > span, html.a11y-no-motion.reveal-ready .cl .cl-w > span { transform: none !important; animation: none !important; }
/* הרקע הקבוע של דף הבית עובר מתחת לפוטר; הפוטר נשאר בהיר ואטום */
html:not(.a11y-contrast) body.is-home footer { background: var(--background) !important; }
/* לוגואי המבטחים הם בצבעי המותג שלהם: על רקע כהה הם יושבים על לוח בהיר */
.home-night .ins-chip { background: color-mix(in srgb, var(--on-dark) 94%, transparent); border-color: transparent; }

/* ============================================================================
   דף הבית, "יוקרה שקטה" (D38, בריף הבעלים 2026-10-17). שמונה אזורים: פתיחה, אמון, מחשבון, שירותים,
   איך זה עובד, מגזין, שאלות, צור קשר. כל אזור: תווית, כותרת, לכל היותר שתי שורות, פעולה אחת.
   מרווח אחיד בין אזורים (112px במחשב, 64px בטלפון), גריד של 8px. מאז D41 (2026-11-08) גם עובדות, רצועת פעולה,
   כרטיסים עם צל ואזור "איך זה עובד" כחול.
   ========================================================================== */
/* D41 ("פנינה חיה", השילוב שהבעלים בחר 2026-11-08): עומק במקום לבן שטוח. הילה כחולה וזהובה רכה בפינות כל אזור,
   סטטית (אנימציה אינסופית ברקע עולה בגלילה בטלפון, M-057/M-058); כרטיסים לבנים עם צל שכבתי; כותרות גדולות יותר */
.hq-sec { position: relative; padding-block: 112px; overflow: clip;
  background: radial-gradient(520px 420px at 100% 0%, var(--lx-glow-blue), transparent 70%),
              radial-gradient(560px 460px at 0% 100%, var(--lx-glow-gold), transparent 70%), var(--background); }
.hq-alt { background: radial-gradient(520px 420px at 0% 0%, var(--lx-glow-blue), transparent 70%), var(--lx-alt); border-block: 1px solid var(--border); }
.hq-narrow { max-width: 860px; }
.hq-head { display: flex; flex-direction: column; align-items: center; gap: 16px; max-width: 760px; margin: 0 auto 56px; text-align: center; }
/* התווית: קו זהב דק משני הצדדים (זהב על בהיר חלש מדי לטקסט, ולכן הטקסט עצמו כחול באזורים הבהירים) */
.hq-eyebrow { display: inline-flex; align-items: center; gap: 12px; font-size: 13.5px; font-weight: 500; letter-spacing: .14em; color: var(--muted-foreground); }
.hq-eyebrow::before, .hq-sec .hq-eyebrow::after { content: ""; width: 28px; height: 1px; background: var(--gold); flex-shrink: 0; }
.hq-sec .hq-eyebrow { color: var(--growth); }
.hq-h2 { margin: 0; font-size: clamp(32px, 4.6vw, 52px); font-weight: 600; line-height: 1.16; letter-spacing: -.012em; color: var(--foreground); text-wrap: balance; }
/* המילים המודגשות בכותרת: מעבר צבע בכחול המותג (כותרת גדולה: 3:1 מספיק גם לקצה הבהיר) */
.hq-hi { background: var(--grad-brand); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hq-lead { margin: 0; max-width: 60ch; font-size: 17px; line-height: 1.8; color: var(--muted-foreground); text-wrap: pretty; }
.hq-foot { display: flex; justify-content: center; margin-top: 40px; }
/* "לכל ה...": קישור שקט אחד בכל אזור, לא כפתור מסגרת. החץ זז קדימה בריחוף */
.hq-link { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; font-size: 15px; font-weight: 500; color: var(--growth); text-decoration: none; }
/* החץ של ico("chev") מצויר כלפי מטה; מסובב כך שיצביע קדימה (שמאלה ב-RTL), כמו בתפריט המובייל */
.hq-link svg, .hq-more svg { transform: rotate(90deg); transition: transform .3s ease; }
.hq-link:hover svg, .hq-card:hover .hq-more svg { transform: rotate(90deg) translateY(4px); }
.hq-link:hover { color: var(--growth-deep); text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1px; }
.hq-fine { margin: 24px auto 0; max-width: 720px; font-size: 12.5px; line-height: 1.75; color: var(--muted-foreground); text-align: center; }
.hq-fine a { color: var(--growth); text-decoration: underline; }

/* 1. אזור הפתיחה: על החלל, כותרת במשקל מדויק, משפט אחד, כפתור אחד */
.hq-hero { position: relative; padding-block: 72px 104px; }
.hq-hero .hero-copy { gap: 24px; }
.hq-hero .hero-h1 { font-weight: 600; letter-spacing: -.015em; font-size: clamp(36px, 5.6vw, 64px); line-height: 1.12; }
.hq-hero .hero-lead { max-width: 34em; font-size: clamp(17px, 1.6vw, 19px); }
.hq-hero .hero-cta { align-items: center; gap: 12px 28px; }
.hq-quiet { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-size: 15px; color: var(--foreground); text-decoration: none; border-bottom: 1px solid var(--gold-line); }
.hq-quiet:hover { border-bottom-color: var(--gold); }
.hero-fine { margin: 0; font-size: 13.5px; letter-spacing: .04em; color: var(--muted-foreground); }

/* 2. שורת אמון: ארבע עובדות מהאתר (D41) מעל רצועת המבטחים */
.hq-trust { padding-block: 56px 48px; border-bottom: 1px solid var(--border); }
.hq-trust-l { margin: 0 0 20px; text-align: center; font-size: 13px; letter-spacing: .1em; color: var(--muted-foreground); }
.hq-proof { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-bottom: 48px; }
.hq-stat { display: flex; flex-direction: column; gap: 6px; padding: 22px 20px; border-radius: 16px; background: var(--lx-card); border: 1px solid var(--lx-line); border-top: 2px solid var(--gold); box-shadow: var(--lx-shadow); }
.hq-stat-n { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 6px; font-size: clamp(32px, 4vw, 44px); font-weight: 700; line-height: 1; color: var(--foreground); font-variant-numeric: tabular-nums; }
.hq-stat-n small { font-size: 16px; font-weight: 500; color: var(--muted-foreground); }
.hq-stat-l { font-size: 14.5px; line-height: 1.5; color: var(--muted-foreground); }

/* 3. המחשבון: שאר המחשבונים כשורה שקטה אחת */
.hq-more-calcs { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 4px 28px; margin-top: 32px; font-size: 15px; }
.hq-more-calcs a:not(.hq-link) { display: inline-flex; align-items: center; min-height: 44px; color: var(--foreground); text-decoration: none; }
.hq-more-calcs a:not(.hq-link):hover { color: var(--growth); }

/* 4. השירותים: שישה כרטיסים, שלושה בשורה לכל היותר. במחשב: אור שעוקב אחרי העכבר והטיה קלה (homeFx.js) */
.hq-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.hq-card {
  position: relative; overflow: hidden;
  display: flex; flex-direction: column; gap: 12px; padding: 32px 28px; border-radius: 16px;
  background: var(--lx-card); border: 1px solid var(--lx-line); box-shadow: var(--lx-shadow); color: var(--foreground); text-decoration: none;
  transition: border-color .3s ease, transform .35s cubic-bezier(.2,.7,.2,1), box-shadow .35s ease;
}
.hq-card:hover { border-color: var(--lx-line-hover); transform: translateY(-4px); box-shadow: var(--lx-shadow-hover); color: var(--foreground); }
.hq-card::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .3s ease;
  background: radial-gradient(340px circle at var(--mx, 50%) var(--my, 0%), var(--lx-spot), transparent 60%); }
.hq-card:hover::before { opacity: 1; }
.hq-card > :not(.hq-tag) { position: relative; }
/* הכניסה בגלילה (.reveal, global.css) נשארת על הפריים האחרון (forwards) ומחזיקה transform: בלי זה ההרמה בריחוף וההטיה לא עובדות.
   אחרי שהכניסה הסתיימה השקיפות נשארת 1 מ-.is-visible */
html.reveal-ready .hq-card.reveal.is-visible, html.reveal-ready .hq-art.reveal.is-visible { animation-fill-mode: backwards; }
.hq-ic { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 14px; color: var(--growth-foreground); background: var(--lx-ic); box-shadow: var(--lx-ic-ring); transition: transform .4s cubic-bezier(.2,.7,.2,1); }
.hq-card:hover .hq-ic { transform: translateY(-2px) rotate(-6deg); }
.hq-tag { position: absolute; inset-block-start: 18px; inset-inline-end: 18px; font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: var(--lx-chip); color: var(--growth-deep); }
.hq-card-t { font-size: 20px; font-weight: 600; line-height: 1.35; }
.hq-card-p { font-size: 15px; line-height: 1.75; color: var(--muted-foreground); }
.hq-more { display: inline-flex; align-items: center; gap: 4px; margin-top: auto; padding-top: 8px; font-size: 14.5px; font-weight: 500; color: var(--growth); }

/* 5. איך זה עובד (D41): רצועה בכחול עמוק-רך עם פינות מעוגלות, שלבים על קו שמתמלא כשהם נכנסים למסך, והסרטון לצדם.
   הסרטון נשאר בהיר: החלפת הצבעים חלה רק על הכותרת, השלבים והשורות שמתחת, לא על .hf */
.hq-blue { background: var(--lx-blue); border-radius: clamp(0px, 3vw, 36px); margin-inline: clamp(0px, 2.4vw, 28px); }
.hq-blue :is(.hq-head, .hq-steps-w, .hq-checks, .hq-fine) {
  --ring: var(--lx-on-blue);
  --foreground: var(--lx-on-blue); --muted-foreground: var(--lx-on-blue-2); --growth: var(--lx-on-blue); --growth-deep: var(--lx-on-blue);
  --border-solid: var(--lx-on-blue-line);
}
.hq-blue .hq-eyebrow { color: var(--lx-on-blue); }
.hq-blue .hq-hi { background: none; color: var(--lx-on-blue); box-shadow: inset 0 -.16em 0 var(--gold-line); }
.hq-blue .hq-link, .hq-blue .hq-fine a { text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1px; }
.hq-process { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: center; }
.hq-steps-w { position: relative; }
.hq-rail { position: absolute; inset-block: 44px; inset-inline-start: 23px; width: 2px; border-radius: 2px; background: var(--border-solid); }
.hq-rail i { position: absolute; inset: 0; border-radius: 2px; background: var(--lx-rail); transform-origin: top; transform: scaleY(0); transition: transform 1.4s cubic-bezier(.4,0,.2,1); }
.hq-lit .hq-rail i { transform: scaleY(1); }
.hq-steps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.hq-steps li { display: flex; gap: 22px; padding-block: 18px; }
.hq-step-n { flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 50%;
  font-size: 15px; font-weight: 600; letter-spacing: .04em; font-variant-numeric: tabular-nums; color: var(--foreground);
  background: var(--lx-node); border: 2px solid var(--border-solid); transition: border-color .5s ease, box-shadow .5s ease; }
.hq-lit .hq-steps li .hq-step-n { border-color: var(--lx-node-lit); box-shadow: 0 0 0 7px var(--lx-node-halo); }
.hq-lit .hq-steps li:nth-child(2) .hq-step-n { transition-delay: .5s; }
.hq-lit .hq-steps li:nth-child(3) .hq-step-n { transition-delay: 1s; }
.hq-step-t { margin: 10px 0 6px; font-size: 21px; font-weight: 600; }
.hq-step-p { margin: 0; font-size: 15.5px; line-height: 1.75; color: var(--muted-foreground); }
.hq-film { min-width: 0; }
.hq-checks { margin: 56px auto 0; max-width: 880px; text-align: center; font-size: 15px; line-height: 1.9; color: var(--muted-foreground); }
.hq-checks strong { font-weight: 500; color: var(--foreground); }
.hq-checks .hq-link { min-height: 0; margin-inline-start: 8px; }

/* 6. מגזין: כרטיס עם תמונה שמתקרבת בריחוף, תווית קטגוריה וכותרת */
.hq-art { display: flex; flex-direction: column; min-width: 0; overflow: hidden; border-radius: 16px; color: var(--foreground); text-decoration: none;
  background: var(--lx-card); border: 1px solid var(--lx-line); box-shadow: var(--lx-shadow);
  transition: transform .35s cubic-bezier(.2,.7,.2,1), box-shadow .35s ease, border-color .3s ease; }
.hq-art:hover { transform: translateY(-5px); box-shadow: var(--lx-shadow-hover); border-color: var(--lx-line-hover); color: var(--foreground); }
.hq-art .cover { position: relative; border-radius: 0; overflow: hidden; }
.hq-art .cover::after { content: ""; position: absolute; inset: 0; background: var(--lx-img-shade); opacity: 0; transition: opacity .4s ease; pointer-events: none; }
.hq-art:hover .cover::after { opacity: 1; }
.hq-art .cover img { transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.hq-art:hover .cover img { transform: scale(1.06); }
.hq-art-c { align-self: flex-start; margin: 18px 22px 0; padding: 3px 10px; border-radius: 999px; background: var(--lx-chip); font-size: 12.5px; font-weight: 600; letter-spacing: .06em; color: var(--growth-deep); }
.hq-art-t { margin: 10px 22px 24px; font-size: 19px; font-weight: 600; line-height: 1.4; text-wrap: pretty; }
.hq-art:hover .hq-art-t { color: var(--growth-deep); }
.hq-mag-msg { grid-column: 1 / -1; text-align: center; margin-inline: auto; }

/* 7. שאלות נפוצות בדף הבית: כרטיסים עם צל, השאלה הפתוחה במסגרת זהב והחץ בעיגול כחול */
#faq .faq-item { background: var(--lx-card); border: 1px solid var(--lx-line); box-shadow: var(--lx-shadow); transition: border-color .3s ease; }
#faq .faq-item.open { border-color: var(--lx-line-hover); }
#faq .faq-chev { width: 32px; height: 32px; align-items: center; justify-content: center; border-radius: 50%; background: var(--lx-chip); }
#faq .faq-item.open .faq-chev { background: var(--growth); color: var(--growth-foreground); }

/* רצועת הפעולה (D41) לפני השאלות: כהה עם רשת זהב שזזה לאט (homeFx.js, רק כשהיא על המסך ותנועה מותרת) */
.hq-act-sec { padding-block: 72px; }
.hq-act { position: relative; overflow: hidden; isolation: isolate; display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 32px; align-items: center;
  padding: clamp(36px, 6vw, 72px) clamp(22px, 5vw, 64px); border-radius: 28px; background: var(--lx-act); color: var(--on-dark); --ring: var(--on-dark); }
.hq-net { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; }
.hq-act-h { margin: 0 0 10px; font-size: clamp(28px, 4vw, 44px); font-weight: 700; line-height: 1.15; color: var(--on-dark); text-wrap: balance; }
.hq-act-p { margin: 0; max-width: 46ch; font-size: 16.5px; line-height: 1.75; color: var(--on-dark-2); text-wrap: pretty; }
.hq-act-do { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; min-width: 0; }
/* בטקסט מוגדל (D26) הכפתור נשבר לשתי שורות במקום לצאת מהרצועה */
.hq-act-do > * { max-width: 100%; }
.hq-act .btn-shine { position: relative; overflow: hidden; background: var(--on-dark); color: var(--navy); font-size: 17px; padding: 15px 28px; border-radius: 999px; }
.hq-act .btn-shine:hover { background: var(--on-dark); color: var(--growth-deep); }
/* הברק זז ב-background-position ולא ב-transform: transform של ילד מגדיל את רוחב הגלילה של הכפתור, והוא נראה כטקסט חתוך */
.btn-shine::after { content: ""; position: absolute; inset: 0; background: var(--lx-shine) no-repeat; background-size: 250% 100%; background-position: 100% 0; animation: lx-shine 3.6s ease-in-out infinite; pointer-events: none; }
.hq-act:not(.lx-on) .btn-shine::after { animation-play-state: paused; }
@keyframes lx-shine { 0% { background-position: 200% 0; } 60%, 100% { background-position: -100% 0; } }
.hq-act .hq-quiet { color: var(--on-dark); }
.hq-act-fine { font-size: 13.5px; color: var(--on-dark-3); }

/* 8. צור קשר: כותרת הסגירה מעל הטופס */
/* display: block ולא flex כמו שאר ה-.reveal ב-.ctd-wrap: בתוך flex הרווחים בין המילים נעלמים */
.ctd-wrap > .cl.hq-close { display: block; width: auto; padding: 0; margin: 0 0 8px; font-size: clamp(36px, 6vw, 68px); font-weight: 600; text-align: center; }

@media (max-width: 900px) {
  .hq-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  /* שלוש כתבות לא נשברות ל-2+1 (כתבה אחת יתומה בשורה): שלוש בשורה עד הטלפון */
  .hq-grid.hq-mag { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
  .hq-art-t { font-size: 16.5px; margin: 8px 16px 18px; }
  .hq-art-c { margin: 14px 16px 0; }
  .hq-process { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .hq-proof { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hq-stat:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .hq-act { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 720px) {
  .hq-sec { padding-block: 64px; }
  .hq-trust { padding-block: 40px; }
  .hq-head { margin-bottom: 40px; }
  .hq-hero { padding-block: 48px 72px; }
  .hq-card { padding: 24px 22px; }
  .hq-act-sec { padding-block: 48px; }
}
@media (max-width: 560px) {
  .hq-grid, .hq-grid.hq-mag { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  /* בטלפון כרטיס שירות הוא שורה: אייקון בצד, שם ומשפט. כל הכרטיס הוא הקישור, אז "לעמוד המלא" מיותר */
  .hq-svc { display: grid; grid-template-columns: 48px minmax(0, 1fr); column-gap: 16px; row-gap: 4px; padding: 20px; }
  .hq-svc .hq-ic { grid-row: span 2; }
  .hq-svc .hq-more, .hq-tag { display: none; }
  .hq-card-t { font-size: 17px; }
  .hq-card-p { font-size: 14.5px; line-height: 1.65; }
  /* המגזין בטלפון: תמונה קטנה בצד וכותרת, במקום שלוש תמונות גדולות זו מתחת לזו */
  .hq-art { display: grid; grid-template-columns: 112px minmax(0, 1fr); grid-template-rows: auto 1fr; column-gap: 14px; row-gap: 4px; align-items: start; }
  .hq-art .cover { grid-row: span 2; height: 100% !important; min-height: 92px; }
  .hq-art-c { margin: 12px 0 0; margin-inline-end: 14px; justify-self: start; font-size: 12px; }
  .hq-art-t { margin: 2px 0 12px; margin-inline-end: 14px; font-size: 16px; }
  .hq-hero .hero-cta { flex-direction: column; }
  .hq-hero .hero-cta .btn { width: 100%; }
  .hq-proof { gap: 10px; }
  .hq-stat { padding: 16px 14px; }
  .hq-stat-n small { font-size: 14px; }
  .hq-blue { margin-inline: 0; border-radius: 0; }
  .hq-act { border-radius: 20px; }
  .hq-act .btn-shine { width: 100%; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
  .hq-card, .hq-card:hover, .hq-art, .hq-art:hover, .hq-art .cover img, .hq-art:hover .cover img, .hq-card:hover .hq-ic { transition: none; transform: none; }
  .hq-rail i { transition: none; transform: scaleY(1); }
  .btn-shine::after { animation: none; display: none; }
}
.a11y-no-motion .hq-card, .a11y-no-motion .hq-card:hover, .a11y-no-motion .hq-art:hover, .a11y-no-motion .hq-art:hover .cover img, .a11y-no-motion .hq-card:hover .hq-ic { transform: none !important; }
.a11y-no-motion .hq-rail i { transform: scaleY(1); }
.a11y-no-motion .btn-shine::after { display: none; }
/* ניגודיות גבוהה: בלי מעברי צבע ורקעים מצוירים */
.a11y-contrast :is(.hq-sec, .hq-alt, .hq-blue, .hq-act, .hq-ic, .hq-hi) { background-image: none !important; }
.a11y-contrast .hq-hi { -webkit-background-clip: border-box; background-clip: border-box; box-shadow: none !important; }
.a11y-contrast .hq-card::before, .a11y-contrast .hq-art .cover::after { display: none; }
.a11y-contrast .hq-net, .a11y-contrast .btn-shine::after { display: none; }
/* הכפתור הלבן ברצועה נראה כקישור על שחור: מסגרת צהובה, כמו .btn-growth (global.css) */
.a11y-contrast .btn-shine { border: 2px solid #ff0 !important; }
/* ============================================================================
   דפי נחיתה לקמפיינים (/lp/<slug>, public/js/landing.js)
   אותו מבנה כמו העמודים העצמאיים; כאן רק מה שחדש: עובדות עם מקור, תוצאת הכלי,
   תיבת ההסכמה בטופס, ופס פעולה דביק בטלפון.
   ========================================================================== */
.lp-lede { max-width: 640px; }
.lp-cta { margin-top: 6px; }
.lp-checks { max-width: 560px; }
.lp-facts { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.lp-facts li { display: flex; gap: 10px; align-items: flex-start; }
.lp-fact-ic { color: var(--growth); display: flex; flex-shrink: 0; padding-top: 3px; }
.lp-illus {
  font-size: 11.5px; font-weight: 700; color: var(--calc-blue); white-space: nowrap;
  border: 1px solid var(--calc-blue-soft); border-radius: 999px; padding: 3px 10px;
}
.lp-deck { gap: 18px; }
.lp-seg { flex-wrap: wrap; }
.lp-seg .fee-seg-b { flex: 1 1 auto; min-height: 44px; }
.lp-res { display: flex; flex-direction: column; gap: 10px; }
.lp-res-row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; color: var(--calc-ink); }
.lp-res-row.gap { padding-top: 10px; border-top: 1px solid var(--calc-line-2); }
.lp-big { font-size: 26px; font-weight: 700; color: var(--calc-blue); white-space: nowrap; }
@media (max-width: 560px) { .lp-big { font-size: 22px; } }
.lp-finds { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.lp-find { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: 6px;
  background: var(--calc-card); border: 1px solid var(--calc-line-2); color: var(--calc-ink); }
.lp-find-ic { display: flex; flex-shrink: 0; padding-top: 2px; color: var(--calc-blue); }
.lp-find.flag { border-inline-start: 3px solid var(--amber); }
.lp-find.flag .lp-find-ic { color: var(--gold-deep); }
.lp-find.ok .lp-find-ic { color: var(--calc-green-ink); }
.lp-consent { display: flex; gap: 10px; align-items: flex-start; cursor: pointer; }
.lp-consent input { width: 20px; height: 20px; flex-shrink: 0; margin-top: 2px; accent-color: var(--growth); }
.lp-consent.bad span { color: var(--destructive); }

/* פס פעולה דביק: רק בטלפון. נועה עולה מעליו, ושניהם עולים מעל באנר העוגיות */
.lp-sticky, .lp-pad { display: none; }
#lp-tool, #lp-form { scroll-margin-top: 96px; }
@media (max-width: 720px) {
  .lp-sticky {
    position: fixed; inset-inline: 0; bottom: 0; z-index: 390;
    display: flex; gap: 8px; padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    background: color-mix(in oklab, white 90%, transparent); backdrop-filter: blur(16px);
    border-top: 1px solid var(--border);
  }
  .lp-sticky .btn { flex: 1; min-height: 48px; padding-inline: 10px; }
  .lp-pad { display: block; height: calc(76px + env(safe-area-inset-bottom)); }
  body:not(.has-consent):has(.lp-sticky) .noa-fab,
  body:not(.has-consent):has(.lp-sticky) .a11y-btn { bottom: calc(80px + env(safe-area-inset-bottom)); }
  body.has-consent .lp-sticky { display: none; }
}


/* דף הבית ארוך (כ-12,000px בטלפון): בטעינה הדפדפן פרס את כולו בבת אחת, כשנייה של עבודה בטלפון איטי, בזמן שהפתיחה
   כבר על המסך (B-087). האזורים שמתחת לפתיחה נפרסים רק כשהם מתקרבים למסך; auto זוכר את הגובה האמיתי אחרי הפעם הראשונה.
   cv-off (main.js: unlazy) מכבה את זה לפני חישוב של מיקום בדף ולפני בנייה מחדש כשהעמוד כבר גלול: גובה משוער של אזור
   שעוד לא צויר היה מזיז את היעד או את מה שעל המסך. cv-warm (main.js: warmLazy) פורס אזור ברקע, אחד אחד, כשהדף כבר עלה */
html:not(.cv-off) .home-dark > section:not(.cine):not(.cv-warm), html:not(.cv-off) body.is-home footer:not(.cv-warm) { content-visibility: auto; contain-intrinsic-size: auto 900px; }
/* הפתיחה המוכנה מראש היא המצב המונפש (homePrerender ב-main.js). מי שביקש בלי תנועה מקבל מהקוד את הבמה הסטטית, שנראית
   אחרת לגמרי: עד שהקוד רץ לא מציגים לו את המונפשת, אחרת היא הייתה זזה בגלילה ואז מתחלפת מול העיניים. hero.js מוריד את
   cine-on במצב הזה, כך שהכלל לא נוגע בבמה האמיתית */
@media (prefers-reduced-motion: reduce) { .cine.cine-on { display: none; } }

/* ---- ליטוש דף הבית (2026-10-24, בקשת הבעלים: "לשפר את הקיים", בלי להסיר דבר) ---- */
/* עברית לא מרווחים בין האותיות: ריווח רחב מפרק מילה לאותיות בודדות ("ב ד י ק ת"). התוויות נשארות קטנות ושקטות */
.hq-eyebrow { letter-spacing: .03em; }
.brandsub, .hdr .brandsub { letter-spacing: .02em; }
.hdr-name { letter-spacing: .01em; }
.hero-fine { letter-spacing: 0; text-wrap: balance; }
.hq-trust-l { letter-spacing: .02em; text-wrap: balance; }
.hq-art-c { letter-spacing: .01em; }
.ctd-or { letter-spacing: .03em; }
/* בלי מילה בודדת בשורה האחרונה של פסקה */
.hq-card-p, .hq-step-p, .hq-hero .hero-lead, .hq-checks, .ctd-sub, .hq-fine, .demo-steps li, .faq-a, .hq-art-t { text-wrap: pretty; }
/* לוגואי המבטחים: כל הלוחות באותו גובה (השם ליד הסמל של מגדל הגביה את הלוח שלו) */
.ins-chip { height: 56px; padding-block: 0; }
.ins-word { line-height: 1; }
/* כפתור השליחה בסוף הדף: צבע אחד, כמו הכפתור הראשי בפתיחה, בלי מעבר לטורקיז */
.ctd-send { background: var(--homa-blue); }
/* אחרי צור קשר בא ישר הפוטר: המרווח התחתון של main (מקום לכפתורים הצפים) השאיר פס כחול ריק */
#main.home-dark { padding-bottom: 0; }
/* בטלפון רצועת המחשבון נמתחת עד קצות המסך: בלי מסגרת בתוך מסגרת, ולכרטיסים יש כ־40px יותר */
@media (min-width: 301px) and (max-width: 560px) {
  #calcs .calc-band.inset { margin-inline: -18px; border-radius: 0; border-inline: 0; padding: 14px 10px; }
}
/* שורת האמון נשברת בנקודה שבין שני החלקים, לא באמצע משפט. inline-block ולא nowrap: בטקסט מוגדל (D26) חלק שלא נכנס בשורה עדיין נשבר בתוכו */
.hq-trust-l > span { display: inline-block; }
/* הפוטר בטלפון: שבעת קישורי הניווט בשני טורים, במקום רשימה ארוכה אחת */
@media (max-width: 560px) {
  footer .g3 > .ftr-links:nth-child(2) { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 16px; }
  footer .g3 > .ftr-links:nth-child(2) > :first-child { grid-column: 1 / -1; }
}

/* ============================================================================
   D41 שלב 2 (2026-11-09): העמודים הפנימיים (hubPage: הביטוחים, משכנתא, אודות, התהליך, הבדיקות, שאלות, מגזין, טיפים,
   צור קשר) מקבלים את שפת דף הבית: הילות רכות ברקע, כרטיסים לבנים עם צל שכבתי, אייקונים כחולים עם טבעת זהב,
   כותרות גדולות יותר, ובסוף עמודי הביטוחים רצועת פעולה כהה עם רשת זהב (actStrip ב-pages.js, התנועה ב-homeFx.js).
   אותם טוקנים (--lx-*), בלי טשטוש ובלי אנימציה ברקע (M-057/M-058).
   ========================================================================== */
.sec.hub { background: radial-gradient(560px 460px at 100% 12%, var(--lx-glow-blue), transparent 70%),
  radial-gradient(620px 520px at 0% 70%, var(--lx-glow-gold), transparent 70%); }
.sec.hub-after-band { background: radial-gradient(620px 520px at 0% 40%, var(--lx-glow-gold), transparent 70%),
  radial-gradient(560px 460px at 100% 85%, var(--lx-glow-blue), transparent 70%); }
.hub-h1 { font-size: clamp(30px, 4.4vw, 48px); font-weight: 600; letter-spacing: -.012em; text-wrap: balance; }
.hub-head .fee-eyebrow { background: var(--lx-card); border-color: var(--lx-line); box-shadow: var(--lx-shadow); }

/* הלשוניות: הפעילה בכחול עם קו זהב דק מתחתיה */
.hub-tabs { background: var(--lx-card); border-color: var(--lx-line); box-shadow: var(--lx-shadow); border-radius: 16px; }
.hub-tab { position: relative; }
/* הלשונית הפעילה לא מסומנת בצבע בלבד: מודגשת, וקו הזהב בגוון העמוק (4:1 על הרקע הכחלחל) */
.hub-tab.on { color: var(--growth-deep); background: var(--growth-wash); box-shadow: none; font-weight: 700; }
.hub-tab.on::after { content: ""; position: absolute; inset-inline: 22%; bottom: 4px; height: 2px; border-radius: 2px; background: var(--gold-deep); }
.hub-after-band .hub-tabs { box-shadow: var(--lx-shadow); }

/* הכרטיסים */
.hub-card, .hub-card.luxury-card, .luxury-card.hub-check {
  background: var(--lx-card); border: 1px solid var(--lx-line); box-shadow: var(--lx-shadow);
  -webkit-backdrop-filter: none; backdrop-filter: none;
}
.hub-card-h .eyebrow { color: var(--growth); font-weight: 600; font-size: 13px; letter-spacing: .06em; }
.hub-card-h .eyebrow::after { width: 28px; height: 1px; background: var(--gold); }
.hub-card-h .h-md { font-size: clamp(21px, 2.6vw, 28px); font-weight: 600; line-height: 1.3; text-wrap: balance; }
.luxury-card.hub-check:hover { border-color: var(--lx-line-hover); box-shadow: var(--lx-shadow-hover); }

/* אייקונים: כחול מלא עם טבעת זהב, כמו בדף הבית */
.cat-ico, .cov-card .ci { background: var(--lx-ic); color: var(--growth-foreground); border: 0; box-shadow: var(--lx-ic-ring); }

/* הפריטים שבתוך הכרטיסים: לבנים, קו כחלחל דק וצל רך במקום אפור שטוח */
.layer, .note-card, .ins-fact, .pc, .hub-step, .hub-cover {
  background: var(--lx-card); border-color: var(--lx-line);
  box-shadow: var(--lx-shadow-sm);
}
.layer { border-top: 2px solid var(--gold); }
/* הקווים המודגשים שהיו לפני (הכלל שלמעלה מחליף את צבע כל המסגרת): זהב בצד של "לפני שחותמים", כחול ב"כדאי לדעת עכשיו",
   ומשקל חזותי שונה ל"מה נבדק אצלנו" מול "מה קורה בפועל" */
.note-card { border-inline-start-color: var(--gold); }
.hub-card.ins-now { border-inline-start: 3px solid var(--growth); }
.pc-fix { border-color: color-mix(in oklab, var(--growth) 26%, transparent); box-shadow: var(--lx-shadow); }
.pc-prob { background: var(--lx-alt); box-shadow: none; }
.ins-fact::before { height: 2px; background: var(--grad-brand); }
.ins-fact-n { font-size: 22px; letter-spacing: 0; background: var(--grad-brand); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ins-example { background: var(--lx-alt); }
.hub-step { border: 1px solid var(--lx-line); }
.hub-step-n { display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; width: 40px; height: 40px; padding: 0; border-radius: 50%;
  letter-spacing: .02em; color: var(--growth-foreground); background: var(--lx-ic); box-shadow: var(--lx-ic-ring); }

/* כרטיסי הכיסויים ב-/services: מרימים, מסגרת זהב והאייקון מסתובב מעט */
.hub-cover { transition: border-color .3s ease, transform .35s cubic-bezier(.2,.7,.2,1), box-shadow .35s ease; }
.hub-cover:hover { border-color: var(--lx-line-hover); transform: translateY(-4px); box-shadow: var(--lx-shadow-hover); }
.hub-cover .cat-ico { transition: transform .4s cubic-bezier(.2,.7,.2,1); }
.hub-cover:hover .cat-ico { transform: translateY(-2px) rotate(-6deg); }

/* שאלות נפוצות בכל האתר: כרטיסים עם צל, הפתוחה במסגרת זהב והחץ בעיגול */
.faq-item.luxury-card { background: var(--lx-card); border: 1px solid var(--lx-line); box-shadow: var(--lx-shadow); -webkit-backdrop-filter: none; backdrop-filter: none; transition: border-color .3s ease; }
.faq-item.open { border-color: var(--lx-line-hover); }
.faq-chev { width: 32px; height: 32px; align-items: center; justify-content: center; border-radius: 50%; background: var(--lx-chip); }
.faq-item.open .faq-chev { background: var(--growth); color: var(--growth-foreground); }
/* בתוך כרטיס (עמודי הכיסויים) השאלות בלי צל משלהן, כדי שלא יהיה צל בתוך צל */
.hub-card .faq-item.luxury-card { box-shadow: none; }

/* רצועת הפעולה בתוך עמוד צר (hub-wrap, 800px): עמודה אחת קצת יותר צפופה */
.hub-body .hq-act { grid-template-columns: minmax(0, 1fr); gap: 22px; padding: clamp(28px, 5vw, 48px) clamp(20px, 4.5vw, 44px); border-radius: 24px; }
.hub-body .hq-act-h { font-size: clamp(25px, 3.4vw, 34px); }

@media (prefers-reduced-motion: reduce) { .hub-cover, .hub-cover:hover, .hub-cover .cat-ico, .hub-cover:hover .cat-ico { transition: none; transform: none; } }
.a11y-no-motion .hub-cover:hover, .a11y-no-motion .hub-cover:hover .cat-ico { transform: none !important; }
.a11y-contrast :is(.sec.hub, .sec.hub-after-band, .cat-ico, .cov-card .ci, .hub-step-n, .ins-fact-n, .pc-prob, .ins-example) { background-image: none !important; }
.a11y-contrast .ins-fact-n { -webkit-background-clip: border-box; background-clip: border-box; }
.a11y-contrast .hub-tab.on { outline: 2px solid #ff0; outline-offset: -2px; }
/* החץ של ico("chev") מצויר כלפי מטה: ב"לעמוד המלא" וב"לכל ה..." של העמודים הפנימיים הוא הצביע למטה במקום קדימה (שמאלה ב-RTL) */
.hub-more svg, .hub-cover .row svg { transform: rotate(90deg); transition: transform .3s ease; }
.hub-more:hover svg, .hub-cover:hover .row svg { transform: rotate(90deg) translateY(4px); }
@media (prefers-reduced-motion: reduce) { .hub-more svg, .hub-cover .row svg { transition: none; } }
/* כרטיסי /checks נכנסים בגלילה (.reveal) ומורמים בריחוף: אותו תיקון כמו בדף הבית (M-069) */
html.reveal-ready .hub-check.reveal.is-visible { animation-fill-mode: backwards; }

/* ============================================================================
   D41 שלב 3 (2026-11-09): עמוד הכתבה, עמוד המחשבונים וכרטיס צור קשר בדף הבית.
   הכרטיסים של המחשבון עצמו לא משתנים (מסמך העיצוב של הבעלים, D27); משתנים הראש, הלשוניות והמסגרת.
   ========================================================================== */
/* עמוד כתבה: הילה רכה מאחורי הכותרת, התמונה במסגרת עם צל, ובלוקי התוכן בכרטיסים לבנים */
.art-head { background: radial-gradient(620px 420px at 100% 0%, var(--lx-glow-blue), transparent 70%), radial-gradient(520px 380px at 0% 100%, var(--lx-glow-gold), transparent 70%); }
.art-cover-frame { border-radius: 20px; overflow: hidden; border: 1px solid var(--lx-line); box-shadow: var(--lx-shadow); }
.prose .luxury-card { background: var(--lx-card); border: 1px solid var(--lx-line); box-shadow: var(--lx-shadow-sm); -webkit-backdrop-filter: none; backdrop-filter: none; }
.art-step { display: flex; gap: 15px; border-radius: 14px; padding: 18px 20px; }
.art-step-n { flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 50%;
  font-size: 14px; font-weight: 700; color: var(--growth-foreground); background: var(--lx-ic); box-shadow: var(--lx-ic-ring); }
.prose .art-stat { border-radius: 14px; padding: 18px 20px; gap: 5px; border-top: 2px solid var(--gold); }
.prose .art-stat-n { font-size: 26px; line-height: 1.1; color: var(--growth-deep); }
.callout { background: var(--lx-card); border: 1px solid var(--lx-line); border-inline-start: 4px solid var(--growth); box-shadow: var(--lx-shadow-sm); border-radius: 14px; }
.prose .callout-t { display: block; margin-bottom: 5px; color: var(--growth-deep); }
.quote { position: relative; background: var(--lx-card); border-color: var(--lx-line); border-inline-start: 3px solid var(--gold); box-shadow: var(--lx-shadow-sm); }
.luxury-card.art-agent { border-radius: 18px; padding: 26px; background: var(--lx-alt); border-color: var(--lx-line); box-shadow: var(--lx-shadow); border-top: 2px solid var(--gold); }
.prose > .hq-act { margin-block: 12px 4px; grid-template-columns: minmax(0, 1fr); gap: 22px; padding: clamp(28px, 5vw, 44px) clamp(20px, 4.5vw, 40px); border-radius: 24px; }
.prose .hq-act-h { font-size: clamp(24px, 3.2vw, 32px); margin-top: 0; }
.prose .hq-act-p { font-size: 16px; line-height: 1.75; color: var(--on-dark-2); }
/* .prose .luxury-card (שלמעלה) מחליף את המסגרת: השאלה הפתוחה בכתבה מקבלת את מסגרת הזהב כמו בשאר האתר */
.prose .faq-item.open { border-color: var(--lx-line-hover); }
/* העמודה שבצד: כרטיס נועה לבן עם צל, והתמונות של "עוד במגזין" מתקרבות בריחוף */
.luxury-card.art-side-noa, .luxury-card.art-side-noa:hover { background: var(--lx-card); border-color: var(--lx-line); box-shadow: var(--lx-shadow); border-top: 2px solid var(--gold); -webkit-backdrop-filter: none; backdrop-filter: none; }
.art-side-card .cover { border-radius: 14px; box-shadow: var(--lx-shadow-sm); }
.art-side-card .cover img { transition: transform .7s cubic-bezier(.2,.7,.2,1); }
.art-side-card:hover .cover { opacity: 1; }
.art-side-card:hover .cover img { transform: scale(1.06); }

/* עמוד המחשבונים: הילה מאחורי הראש, כותרת גדולה, ולשוניות כמו בעמודים הפנימיים */
.calc-top { background: radial-gradient(560px 420px at 100% 0%, var(--lx-glow-blue), transparent 70%), radial-gradient(520px 380px at 0% 100%, var(--lx-glow-gold), transparent 70%); }
.calc-top .h-lg { font-size: clamp(30px, 4.4vw, 48px); font-weight: 600; letter-spacing: -.012em; text-wrap: balance; }
.calc-top .fee-eyebrow { background: var(--lx-card); border-color: var(--lx-line); box-shadow: var(--lx-shadow); }
.calc-tabs { background: var(--lx-card); border-color: var(--lx-line); box-shadow: var(--lx-shadow); border-radius: 16px; }
.calc-tab { position: relative; }
.calc-tab.on { color: var(--growth-deep); background: var(--growth-wash); box-shadow: none; font-weight: 700; }
.calc-tab.on::after { content: ""; position: absolute; inset-inline: 22%; bottom: 4px; height: 2px; border-radius: 2px; background: var(--gold-deep); }

/* כרטיס צור קשר הכהה בסוף דף הבית: קו זהב דק למעלה, כמו כרטיסי העובדות */
.ctd-card { border-top: 1px solid var(--gold-line); }

@media (prefers-reduced-motion: reduce) { .art-side-card .cover img, .art-side-card:hover .cover img { transition: none; transform: none; } }
.a11y-no-motion .art-side-card:hover .cover img { transform: none !important; }
.a11y-contrast :is(.art-head, .calc-top, .art-step-n, .luxury-card.art-agent) { background-image: none !important; }
.a11y-contrast .calc-tab.on { outline: 2px solid #ff0; outline-offset: -2px; }
