/* =========================================================
   דף הפרויקט StudioFlow
   נבנה לפי העיצוב ב-Figma (1440, תוכן 1280, שוליים 80). נטען אחרי home.css,
   שממנו מגיעים הבסיס, ההדר, הפוקוס והסמן. כאן: הצבעים הקרים והסקשנים של הדף.
   ========================================================= */

:root {
  --bg: #F5F7FE;            /* רקע הדף */
  --ink: #32265E;           /* טקסט וקווים */
  --accent: #5869C2;        /* הכחול של הדף (כותרות משנה, כפתורים, תגיות, "Flow"). הוכהה מעט מ-#5E71C8 לניגודיות AA:
                               4.98 מול לבן, 4.65 מול הרקע. זהה לכפתור "View case study" בדף הבית. באישור רביד */
  --card-line: #D3DBF7;     /* קו הכרטיסים */
  /* הצל היחיד בדף: שתי שכבות, בגוון של הדף (רביד) */
  --shadow: 0 2px 4px rgba(58, 56, 120, .10), 0 16px 40px rgba(58, 56, 120, .06);
  --header-ink: #2B2A5C;    /* טקסט כפתורי ההדר */
  --header-pill: #EFF2FD;   /* רקע כפתורי ההדר */
}
/* 25.11.2026: ההדר שקוף – לשני הברים רקע משלהם (home.css) */
/* על הסרטון הכהה הגוון בולט יותר: בריחוף ובלחיצה הוא מתחזק רק מעט */
.sf-page .site-logo:hover::before, .sf-page .site-logo:active::before { opacity: .6; }

/* ================= Hero (448) ================= */
.sf-hero { position: relative; height: 448px; overflow: hidden; }
.sf-hero__tint { position: absolute; inset: 0; background: rgba(94, 113, 200, .4); }
.sf-hero__video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: .4;
}
.sf-hero__text {
  position: relative;
  padding: 169px 64px 0;
  display: flex; flex-direction: column; align-items: center;
  gap: 17px;
  text-align: center;
}
.sf-hero__name { font: 700 64px/80px "Google Sans Code:Bold", sans-serif; white-space: nowrap; }
.sf-hero__name .sf-name__b { color: var(--accent); }
.sf-hero__sub { font: 400 24px/24px "Inter:Regular", sans-serif; color: var(--ink); margin-block: -2px; }   /* גובה שורה 24 (לא קטן מהגופן); 2- שומר על המיקום */
/* נקודה במקום "&" (באישור רביד): 8px, בגוון הסגול-כחול המקורי של Figma (#5E71C8 – קישוט, לא טקסט) */
.sf-hero__sub { display: flex; align-items: center; justify-content: center; gap: 12px; }
.sf-hero__dot { flex: none; width: 8px; height: 8px; border-radius: 50%; background: #5E71C8; }
.sf-page .video-toggle { background: rgba(245, 247, 254, .55); }

/* ================= Project Overview + Snapshot ================= */
.sf-overview {
  display: flex;
  gap: 24px;
  padding-top: 40px;
}
.sf-card {
  flex: 1 1 0;
  min-width: 0;
  /* שני כרטיסים ברוחב שלם (בלי חצי פיקסל כשרוחב התוכן אי-זוגי) */
  @supports (width: round(down, 1.5px, 1px)) { flex: none; width: round(down, calc((100% - 24px) / 2), 1px); }
  height: 376px;   /* 400 → 376: הטקסט התקצר (שורות כל 32), הריפוד בתחתית נשאר (באישור רביד) */
  padding: 26px 34px;          /* 24/32 + קו 1.5, מעוגל לפיקסל שלם */
  border-radius: 16px;
  box-shadow: inset 0 0 0 1.5px var(--card-line);
}
.sf-card--fill { background: var(--bg); }
.sf-card__title { font: 600 24px/24px "Inter:Semi Bold", sans-serif; margin-block: -2px; }   /* גובה שורה 24 בכל כותרות הכרטיסים (באישור רביד); 2- שומר על המרווחים */

.sf-overview__kicker {
  margin-top: 48px;
  font: 600 20px/24px "Inter:Semi Bold", sans-serif;
  color: var(--accent);
}
/* שורה 24 + רווח 16 */
.sf-overview__desc { --lh: 24px; --gap: 8px; font: 400 20px "Inter:Regular", sans-serif; }
p.sf-overview__desc { margin-block: 28px -4px; } /* שורות כל 32, כמו בכל גוף הטקסט (באישור רביד); 32 פחות חצי רווח (4) */

.sf-btn {
  display: inline-flex;
  align-items: center;
  height: 40px;              /* כמו הבורר Desktop/Mobile (ב-Figma 35), באישור רביד */
  margin-top: 32px;
  padding: 0 16px;
  border-radius: 8px;
  background: var(--accent);
  color: #FBF8FD;
  font: 400 16px/19px "Inter:Regular", sans-serif;
  transition: background-image .2s ease;
}
.sf-btn[href]:hover { background-image: linear-gradient(rgba(0, 0, 0, .16), rgba(0, 0, 0, .16)); }

/* Snapshot: תווית בעמודה של 152, תגיות 32 אחריה. ROLE מיושר ל-kicker של Overview (48 מעל), ובין השורות 29 – כך ש-SCOPE מסתיים בקו התחתון של הכפתור */
.sf-snapshot {
  display: grid;
  grid-template-columns: 152px auto;
  column-gap: 32px;
  row-gap: 29px;
  align-items: start;
  margin: 48px 0 0;
}
.sf-snapshot dt { font: 600 20px/24px "Inter:Semi Bold", sans-serif; padding-top: 0; }
.sf-snapshot dd { margin: 0; display: flex; flex-wrap: wrap; gap: 16px 8px; }
.sf-snapshot__scope { flex-direction: column; }
.sf-snapshot__scope > span { display: flex; gap: 8px; }
.sf-tag {
  display: inline-flex;
  align-items: center;
  height: 29px;
  padding: 0 8px;
  border-radius: 8px;
  box-shadow: inset 0 0 0 1px var(--accent);
  font: 400 16px/19px "Inter:Regular", sans-serif;
  white-space: nowrap;
}

/* ================= כותרת סקשן: קו 48 + טקסט ================= */
.sf-title {
  /* grid: כשהכותרת נשברת לכמה שורות, הקו נשאר במרכז השורה הראשונה (באישור רביד, בכל האתר) */
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
  align-content: center;
  gap: 16px;
  height: 148px;
}
/* בסגנון התוויות של דף הבית (באישור רביד): אותיות גדולות ומרווחות, בלי הקו שלפניהן, בצבע הכפתור ב-Overview (4.65:1 מול הרקע) */
.sf-title { grid-template-columns: minmax(0, 1fr); }
.sf-title > img { display: none; }
.sf-title h2 { font: 600 16px/20px "Inter:Semi Bold", sans-serif; letter-spacing: 0; text-transform: none; white-space: nowrap; color: var(--accent); }   /* בלי CAPS, 16 – כמו התוויות "Project Overview" ו-"The Challenges" (רביד, 22.11.2026) */

/* ================= Project Overview + Snapshot – חלופה A (באישור רביד, 22.11.2026) =================
   בלי כרטיסים: טקסט משמאל, Snapshot כרשימה שקטה מימין. הכותרת בשורה אחת (מאוזנת כשנשברת),
   שורת "Built for" עם שלוש הדמויות, וקישור משני לתהליך המלא (לא כפתור ראשי) */
.sf-overview.sf-overview--a { display: grid; grid-template-columns: minmax(0, 1fr) 440px; gap: 96px; align-items: stretch; padding-top: 64px; }
.sf-ov__main { display: flex; flex-direction: column; min-width: 0; }
.sf-ov__label { font: 600 16px/20px "Inter:Semi Bold", sans-serif; color: var(--accent); }
.sf-ov__title { margin-top: 16px; font: 600 32px/40px "Inter:Semi Bold", sans-serif; letter-spacing: -.01em; color: var(--ink); text-wrap: balance; }
.sf-ov__desc { margin-top: 20px; margin-bottom: 0; max-width: 640px; font: 400 20px/32px "Inter:Regular", sans-serif; color: var(--ink); }
/* Built for: הדמויות מפרק Users. התמונה מוגדלת ב-6% כדי לחתוך את הקו שצרוב בה (2–3 פיקסלים, שונה בכל אחת); הקו האחיד הוא ה-CSS */
.sf-who { margin-top: auto; padding-top: 17px; }   /* בלי קו: נצמד לתחתית, העיגולים נגמרים בגובה הקו התחתון של ה-Snapshot */
.sf-who__label { font: 400 16px/24px "Inter:Regular", sans-serif; color: #677286; }
.sf-who ul { display: flex; flex-wrap: wrap; gap: 12px 20px; margin: 13px 0 0; padding: 0; list-style: none; }
.sf-who li { display: flex; align-items: center; gap: 10px; font: 500 16px/20px "Inter:Medium", sans-serif; white-space: nowrap; }
.sf-who__av { flex: none; width: 40px; height: 40px; overflow: hidden; border-radius: 50%; background: #fff; box-shadow: 0 0 0 1px var(--ring); }   /* טבעת בצבע של כל תפקיד (רביד, 23.11) */
.sf-who__av img { display: block; width: 106%; height: 106%; max-width: none; margin: -3%; object-fit: cover; }
/* קישור משני: בצבע הדף עם קו תחתון עדין, מתחת לפסקה */
.sf-ov__link {
  margin: 20px 0 20px; align-self: flex-start; display: inline-flex; align-items: center; gap: 6px; min-height: 24px;
  color: var(--accent); font: 500 16px/20px "Inter:Medium", sans-serif;
  position: relative; text-decoration: none;
}
/* הקו התחתון כקו של 1px בתחתית הקישור (במקום underline). רק מתחת לטקסט, לא מתחת לחץ */
.sf-ov__link::after { content: ""; position: absolute; left: 0; right: 22px; bottom: 0; height: 1px; background: rgba(88, 105, 194, .35); }
.sf-ov__link svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
@media (any-hover: hover) { .sf-ov__link:hover::after { background: currentColor; } }
.sf-ov__meta dl { margin: 16px 0 0; }
.sf-ov__meta dl > div { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 16px; padding: 17px 0; border-top: 1px solid var(--card-line); }
.sf-ov__meta dl > div:last-child { border-bottom: 1px solid var(--card-line); }
.sf-ov__meta dt { font: 400 16px/24px "Inter:Regular", sans-serif; color: #677286; }
.sf-ov__meta dd { margin: 0; font: 500 16px/24px "Inter:Medium", sans-serif; color: var(--ink); }
/* Scope: שורה לכל קבוצה (שלוש שורות קבועות, בלי שורה רביעית) */
.sf-ov__scope { display: flex; flex-direction: column; gap: 8px; }
.sf-ov__scope > span { display: flex; flex-wrap: wrap; gap: 8px; }
@media (max-width: 1439px) { .sf-overview.sf-overview--a { gap: 64px; } }   /* לפטופ: "Built for" נשאר בשורה אחת */
@media (max-width: 999px) { .sf-overview.sf-overview--a { grid-template-columns: minmax(0, 1fr); gap: 40px; } .sf-ov__link { margin-bottom: 24px; } }
@media (max-width: 743px) {
  .sf-overview.sf-overview--a { padding-top: 40px; gap: 32px; }
  .sf-ov__title { font-size: 24px; line-height: 32px; }
  .sf-ov__desc { font-size: 16px; line-height: 24px; }
  .sf-who ul { flex-direction: column; gap: 10px; }
  .sf-ov__meta dl > div { grid-template-columns: 96px minmax(0, 1fr); }
  .sf-ov__meta dl > div:last-child { grid-template-columns: minmax(0, 1fr); gap: 8px; }   /* Scope: התגיות ברוחב מלא, שלוש שורות כמו בדסקטופ */
}

/* ================= The Challenges – חלופה B (באישור רביד, 22.11.2026) =================
   שתי עמודות שמתחילות בתווית באותו קו ונגמרות יחד: בעיה + ציטוט משמאל, Key Gaps מימין.
   מתחת: Current Workflow לרוחב. החצים ממורכזים לגובה התמונות, הכיתובים ממורכזים, ושני הצעדים האחרונים במרקר */
.sf-ch__top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 96px; align-items: start; padding-top: 96px; }
.sf-ch__label { font: 600 16px/20px "Inter:Semi Bold", sans-serif; color: var(--coral-text); }
.sf-ch__title { margin-top: 16px; font: 600 32px/40px "Inter:Semi Bold", sans-serif; letter-spacing: -.01em; color: var(--ink); text-wrap: balance; }
.sf-ch__text { margin-top: 20px; max-width: 640px; font: 400 20px/32px "Inter:Regular", sans-serif; color: var(--ink); text-wrap: pretty; }
/* ציטוט שקט: קו כתום בצד במקום כרטיס, בגודל של שורת הקרדיט – שורה אחת */
.sf-ch__quote { margin: 40px 0 0; padding: 4px 0 4px 20px; border-left: 2px solid var(--coral); color: var(--coral-text); }
.sf-ch__quote blockquote { margin: 0; }
.sf-ch__quote p { font: 300 16px/24px "Inter:Light Italic", sans-serif; font-style: italic; white-space: nowrap; }
.sf-ch__quote figcaption { display: flex; align-items: center; gap: 8px; margin-top: 8px; font: 400 16px/20px "Inter:Regular", sans-serif; }
.sf-ch__quote figcaption img { width: 24px; height: 24px; }
/* Key Gaps: כותרות ב-20 כמו גוף הטקסט משמאל; הריווח (14) מסיים את הרשימה בקו אחד עם הציטוט */
.sf-ch__gaps ul { margin: 16px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--coral-line); }
.sf-ch__gaps li { padding: 14px 0; border-bottom: 1px solid var(--coral-line); }
.sf-ch__gaps li:first-child { padding-top: 12px; }
.sf-ch__gaps h4 { margin: 0; font: 600 20px/28px "Inter:Semi Bold", sans-serif; color: var(--ink); text-wrap: balance; }
.sf-ch__gaps p { margin-top: 4px; font: 400 16px/24px "Inter:Regular", sans-serif; color: #677286; text-wrap: balance; }
/* Current Workflow */
.sf-ch__flow { padding-top: 64px; }
.sf-ch__steps { --g: 56px; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: var(--g); margin: 16px 0 0; padding: 0; list-style: none; }
.sf-ch__steps li { display: flex; flex-direction: column; min-width: 0; }
.sf-ch__img { position: relative; display: block; }
.sf-ch__img img { display: block; width: 100%; height: auto; aspect-ratio: 245 / 163; object-fit: cover; border-radius: 8px; }
.sf-ch__img::after { content: ""; position: absolute; inset: 0; border-radius: 8px; box-shadow: inset 0 0 0 1px var(--coral-line); pointer-events: none; }
/* החץ בין שני צעדים: באמצע הרווח, ובאמצע הגובה של התמונה */
.sf-ch__steps li + li .sf-ch__img::before {
  content: ""; position: absolute; z-index: 1; top: 50%; left: calc(var(--g) / -2 - 14px); transform: translateY(-50%);
  width: 28px; height: 28px; border-radius: 50%;
  background: url("../assets/img/sf/chevron-coral.svg") center / 14px no-repeat, var(--coral-fill);
  box-shadow: inset 0 0 0 1px var(--coral-line);
}
.sf-ch__cap { margin-top: 10px; font: 400 16px/22px "Inter:Regular", sans-serif; color: var(--ink); text-align: center; text-wrap: balance; }
/* מרקר: קצוות רכים ולא אחידים, בהיר, על החלק התחתון של הטקסט, בגוון הכתום של הסקשן */
.sf-hl {
  padding: 0 .3em; margin: 0 -.3em; border-radius: .8em .3em .9em .35em;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
  background: linear-gradient(100deg, rgba(246,213,202,0) .5%, rgba(246,213,202,.95) 3%, rgba(246,213,202,.6) 8%, rgba(246,213,202,.45) 90%, rgba(246,213,202,.85) 96%, rgba(246,213,202,0) 99.5%) no-repeat 0 92% / 100% 60%;
}
@media (max-width: 1259px) { .sf-ch__top { gap: 48px; } .sf-ch__steps { --g: 40px; } }
@media (max-width: 999px) { .sf-ch__top { grid-template-columns: minmax(0, 1fr); gap: 40px; } }
@media (max-width: 743px) {
  .sf-ch__top { padding-top: 64px; }
  .sf-ch__title { font-size: 24px; line-height: 32px; }
  .sf-ch__text { font-size: 16px; line-height: 24px; }
  .sf-ch__quote p { white-space: normal; }
  .sf-ch__gaps h4 { font-size: 16px; line-height: 24px; }
  .sf-ch__flow { padding-top: 48px; }
  /* בטלפון: רשימה אנכית – תמונה קטנה וכיתוב לצידה, החץ פונה למטה בין השורות */
  .sf-ch__steps { --g: 36px; grid-template-columns: minmax(0, 1fr); }
  .sf-ch__steps li { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 16px; align-items: center; }
  .sf-ch__cap { margin-top: 0; text-align: left; }
  .sf-ch__steps li + li .sf-ch__img::before { top: calc(var(--g) / -2); left: 50%; transform: translate(-50%, -50%) rotate(90deg); }
}

/* ================= מספרי פרקים + תוכן עניינים צף (באישור רביד, 22.11.2026) =================
   המספר צמוד לשם הפרק, בגוון בהיר יותר של אותו צבע – שונה מתגיות "Step 1" שבתוך כרטיסי ה-Flow */
.sf-num { margin-right: 12px; opacity: .55; font: 300 24px/24px "Inter:Light", sans-serif; letter-spacing: -.01em; font-variant-numeric: tabular-nums; }   /* 24 דק: פי 1.5 משם הפרק, לא מתחרה בכותרות של 32 */
/* The Product: בלי תווית גלויה – הסרטון ממשיך את הפתיחה */
.sf-sim { padding-top: 64px; }
/* תוכן עניינים: קו קצר לכל פרק בשוליים, ממורכז בשוליים; הפרק הנוכחי ארוך ובצבע. בריחוף/פוקוס נפתחים השמות */
.sf-toc { display: none; }
@media (min-width: 1260px) {
  .sf-toc {
    --w: 24px;
    position: fixed; z-index: 40; top: 50%; left: calc((var(--side) - var(--w)) / 2); transform: translateY(-50%);
    display: block; opacity: 0; pointer-events: none; transition: opacity .25s;
  }
  .sf-toc.is-shown { opacity: 1; pointer-events: auto; }
  .sf-toc::before {
    content: ""; position: absolute; z-index: -1; inset: -12px -20px -12px -14px; border-radius: 8px;
    background: #fff; box-shadow: 0 0 0 1px var(--card-line), var(--shadow); opacity: 0; transition: opacity .15s;
  }
  .sf-toc ol { margin: 0; padding: 0; list-style: none; }
  .sf-toc a { display: flex; align-items: center; height: 28px; color: var(--ink); text-decoration: none; }
  .sf-toc i { flex: none; display: block; width: 12px; height: 2px; border-radius: 2px; background: #C5CDEB; transition: width .2s, background .2s; }
  .sf-toc a.is-on i { width: var(--w); background: var(--accent); }
  /* השם: מוסתר ויזואלית כשסגור (קורא מסך שומע אותו) */
  .sf-toc span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .sf-toc:is(:hover, :focus-within)::before { opacity: 1; }
  .sf-toc:is(:hover, :focus-within) span {
    position: static; width: auto; height: auto; overflow: visible; clip-path: none;
    margin-left: 14px; font: 400 16px/20px "Inter:Regular", sans-serif; color: #677286;
  }
  .sf-toc span b { margin-right: 8px; font-weight: 600; font-family: "Inter:Semi Bold", sans-serif; opacity: .6; font-variant-numeric: tabular-nums; }
  .sf-toc:is(:hover, :focus-within) a.is-on span { color: var(--accent); font-family: "Inter:Semi Bold", sans-serif; font-weight: 600; }
}
@media (min-width: 1260px) and (any-hover: hover) { .sf-toc a:hover span { color: var(--ink); } .sf-toc a:hover i { background: var(--accent); } }
main section { scroll-margin-top: 24px; }
@media (max-width: 743px) { .sf-sim { padding-top: 48px; } }

/* ================= The Opportunities – חלופה D (באישור רביד, 22.11.2026) =================
   אותה שפה כמו The Challenges, בכחול: הפתרון וחלקיו משמאל (עם קווים), חץ באמצע הרווח,
   Design Principles צמוד לימין בלי קווים – הפריטים מתפרסים כך שהאחרון נגמר על הקו האחרון של השמאל */
.sf-op2__grid { display: grid; grid-template-columns: calc(50% - 48px) minmax(96px, 1fr) max-content; align-items: stretch; padding-top: 96px; }
.sf-op2__label { font: 600 16px/20px "Inter:Semi Bold", sans-serif; color: var(--accent); }
.sf-op2__list { margin: 32px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--card-line); }
.sf-op2__list li { padding: 14px 0; border-bottom: 1px solid var(--card-line); }
.sf-op2__list li:first-child { padding-top: 12px; }
.sf-op2__list h3 { margin: 0; font: 600 20px/28px "Inter:Semi Bold", sans-serif; color: var(--ink); text-wrap: balance; }
.sf-op2__list p { margin-top: 4px; font: 400 16px/24px "Inter:Regular", sans-serif; color: #677286; text-wrap: balance; }
.sf-op2__arrow { align-self: center; justify-self: center; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: rgba(211, 219, 247, .3); }
.sf-op2__arrow svg { display: block; width: 24px; height: 24px; }   /* החץ ממורכז בדיוק לעיגול */
.sf-op2__side { display: flex; flex-direction: column; }
.sf-op2__pr { flex: 1; display: flex; flex-direction: column; justify-content: space-between; margin: 16px 0 0; padding: 0; list-style: none; }
.sf-op2__pr li { display: grid; grid-template-columns: 104px minmax(0, 1fr); gap: 24px; align-items: center; }
.sf-op2__av { display: grid; place-items: center; width: 104px; height: 104px; overflow: hidden; border-radius: 50%; background: var(--bg); box-shadow: inset 0 0 0 1px var(--card-line); }
.sf-op2__av img { max-width: 80%; max-height: 74%; object-fit: contain; }
.sf-op2__pr h4 { margin: 0; font: 600 20px/28px "Inter:Semi Bold", sans-serif; color: var(--ink); }
.sf-op2__pr p { margin-top: 2px; font: 400 16px/24px "Inter:Regular", sans-serif; color: #677286; white-space: nowrap; }
@media (max-width: 1259px) { .sf-op2__grid { grid-template-columns: calc(50% - 24px) minmax(48px, 1fr) max-content; } }
@media (max-width: 999px) {
  .sf-op2__grid { grid-template-columns: minmax(0, 1fr); row-gap: 32px; }
  .sf-op2__arrow { transform: rotate(90deg); }
  .sf-op2__pr { flex: none; gap: 16px; justify-content: flex-start; }
}
@media (max-width: 743px) {
  .sf-op2__grid { padding-top: 64px; }
  .sf-op2__list h3, .sf-op2__pr h4 { font-size: 16px; line-height: 24px; }
  .sf-op2__pr li { grid-template-columns: 80px minmax(0, 1fr); gap: 16px; }
  .sf-op2__av { width: 80px; height: 80px; }
}

/* ================= Primary Users – חלופה E (באישור רביד, 22.11.2026) =================
   שלוש הקבוצות על קו מקווקו אחד מהשטח (שמאל) למשרד (ימין). בקצוות – אייקון הפלטפורמה של כל צד.
   הקו עובר במרכז העיגולים (168/2 = 84). שורת ה-Needs בכחול הכהה של הטקסט הראשי */
.sf-us > .wrap { padding-top: 96px; }
.sf-us__head .sf-ch__text { max-width: 600px; }
.sf-us__map { position: relative; margin-top: 56px; }
.sf-us__map::before { content: ""; position: absolute; left: 0; right: 0; top: 84px; border-top: 1.5px dashed var(--card-line); }
.sf-us__ends { position: absolute; left: 0; right: 0; top: 84px; display: flex; align-items: center; justify-content: space-between; transform: translateY(-50%); pointer-events: none; }
.sf-us__end { display: flex; align-items: center; gap: 12px; padding: 6px 12px 6px 0; background: var(--bg); }
.sf-us__end--office { padding: 6px 0 6px 12px; }
.sf-us__end p { display: flex; flex-direction: column; gap: 2px; margin: 0; font: 400 16px/20px "Inter:Regular", sans-serif; color: #677286; text-align: left; }
.sf-us__end--office p { text-align: left; }   /* המחשב משמאל, Office ו-Desktop מיושרים לשמאל (רביד, 23.11) */
.sf-us__end b { font: 600 16px/20px "Inter:Semi Bold", sans-serif; }
.sf-us__end--site b { color: var(--coral-text); }
.sf-us__end--office b { color: var(--accent); }
.sf-us__ic { display: grid; place-items: center; flex: none; width: 56px; height: 56px; border-radius: 50%; background: #fff; box-shadow: inset 0 0 0 1px var(--card-line); }
.sf-us__ic svg { width: 28px; height: 28px; fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.sf-us__end--site svg { stroke: var(--coral-text); }
.sf-us__end--office svg { stroke: var(--accent); }
.sf-us__people { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 40px; margin: 0; padding: 0 96px; list-style: none; }
.sf-us__people li { display: flex; flex-direction: column; align-items: center; text-align: center; }
.sf-us__av { display: block; flex: none; width: 168px; height: 168px; overflow: hidden; border-radius: 50%; background: #fff; box-shadow: 0 0 0 1px var(--ring); }
.sf-us__av img { display: block; width: 106%; height: 106%; max-width: none; margin: -3%; object-fit: cover; }   /* חותך את הטבעת שבתוך התמונה; הטבעת האחידה ב-CSS */
.sf-us__people h3 { margin: 20px 0 0; font: 600 20px/28px "Inter:Semi Bold", sans-serif; color: var(--ink); text-wrap: balance; }
.sf-us__people p { margin-top: 2px; font: 400 16px/24px "Inter:Regular", sans-serif; text-wrap: balance; }
/* איפה כל תפקיד עובד: Semi Bold, בצבעים הקודמים – כתום לשטח, כחול למשרד, אפור לבין לבין (רביד, 23.11) */
.sf-us__people p.sf-us__where { font-family: "Inter:Semi Bold", sans-serif; font-weight: 600; color: #677286; }
.sf-us__people p.sf-us__where--site { color: var(--coral-text); }
.sf-us__people p.sf-us__where--office { color: var(--accent); }
.sf-us__need { color: var(--ink); }
/* צר מדי לשלושה בשורה: הקו נהיה אנכי – השטח למעלה, שלוש הקבוצות, המשרד למטה */
@media (max-width: 1199px) {
  .sf-us__map { display: flex; flex-direction: column; gap: 24px; margin-top: 40px; }
  .sf-us__map::before { left: 36px; right: auto; top: 28px; bottom: 28px; border-top: 0; border-left: 1.5px dashed var(--card-line); }
  .sf-us__ends { display: contents; }
  .sf-us__end, .sf-us__end--office { padding: 0 0 0 8px; background: none; }
  .sf-us__end { position: relative; }   /* האייקון מעל הקו: הקו נגמר בקצה העיגול ולא נכנס פנימה */
  .sf-us__end--site { order: 0; }
  .sf-us__end--office { order: 2; }
  .sf-us__end--office p { text-align: left; }
  .sf-us__people { order: 1; grid-template-columns: minmax(0, 1fr); row-gap: 24px; padding: 0; }
  .sf-us__people li { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 20px; align-items: center; text-align: left; }
  .sf-us__av { width: 72px; height: 72px; }
  .sf-us__people h3 { margin: 0; }
}
@media (max-width: 743px) {
  .sf-us > .wrap { padding-top: 64px; }
  .sf-us__map { margin-top: 32px; }
  .sf-us__people li { gap: 16px; }
  .sf-us__people h3 { font-size: 16px; line-height: 24px; }
}

/* ================= Simulation ================= */
.sf-sim { position: relative; }
/* תוכנית אדריכלית ב-10% מאחורי המסכים (נצמדת לימין, כמו ב-Figma) */
.sf-sim__plan {
  position: absolute;
  top: 40px;
  right: -416px;
  width: 1187px;
  height: 843px;
  opacity: .1;
  pointer-events: none;
}
.sim {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;                 /* 64 ב-Figma; 40 כמו בשאר הבוררים בדף (באישור רביד) */
  /* המסגרת (8) יושבת מחוץ לשוליים של 80 */
  padding: 0 calc(var(--side) - 8px);
}
.sim__toggle {
  display: inline-flex;
  border-radius: 6px;
  overflow: hidden;
  background: #fff;
  box-shadow: inset 0 0 0 1px var(--accent), inset 0 0 0 1.5px var(--bg);
}
.sim__tab {
  width: 180px;
  height: 40px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--accent);
  font: 400 16px/16px "Inter:Regular", sans-serif;
  transition: background-color .25s ease, background-image .2s ease, color .25s ease;
}
.sim__tab[aria-pressed="true"] { background: var(--accent); color: #fff; }
.sim__tab { display: inline-flex; align-items: center; justify-content: center; gap: 6px; }
/* ▶ רק בכפתור הלחוץ: מראה שהכפתור מפעיל את המסך (ולא מחליף תוכן) */
.sim__tab-icon { display: none; width: 16px; height: 16px; margin-left: -4px; fill: currentColor; }
.sim__tab[aria-pressed="true"] .sim__tab-icon { display: block; }
.sim__tab:focus-visible { outline-offset: -4px; }
/* מעבר עכבר: הכפתור מתכהה מעט (שכבה שקופה מעל הרקע, הטקסט באותו גוון), כמו שאר הכפתורים באתר */
@media (any-hover: hover) {
  .sim__tab:hover { background-image: linear-gradient(rgba(0, 0, 0, .06), rgba(0, 0, 0, .06)); }
  .sim__tab[aria-pressed="true"]:hover { background-image: linear-gradient(rgba(0, 0, 0, .16), rgba(0, 0, 0, .16)); }
}

.sim__screens {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 35px;
  width: 100%;
}
.sim__screen {
  position: relative;
  flex-shrink: 0;
  height: 615px;
  border: var(--frame) solid var(--ink);   /* עובי אחיד לכל המסגרות באתר (home.css) */
  box-sizing: content-box;
  box-shadow: var(--shadow);
  overflow: hidden;
  background: var(--ink);   /* בצבע המסגרת – בלי קו בהיר בפינות */
  /* היד רק על המסכים */
  cursor: url("../assets/img/cursor-hand.svg") 9 1, pointer;
  cursor: image-set(url("../assets/img/cursor-hand.svg") 1x, url("../assets/img/cursor-hand@2x.svg") 2x) 9 1, pointer;
}
.sim__screen--desktop { width: 946px; border-radius: 24px; }
.sim__screen--mobile { width: 283px; border-radius: 40px; }
.sim__screen video { width: 100%; height: 100%; object-fit: cover; background: var(--ink); }   /* בצבע המסגרת: בפינות המעוגלות לא מבצבץ קו בהיר (בולט במסכים הכהים, כמו המצלמה) */

/* כפתור Play גדול כשהמסך עצור */
.sim__big-play {
  position: absolute; inset: 0;
  display: grid;
  pointer-events: none;
  transition: opacity .25s ease;
}
.sim__big-play span {
  display: grid; place-items: center;
  width: 64px; height: 64px;
  border-radius: 50%;
  background: rgba(46, 36, 89, .7);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.sim__screen--mobile .sim__big-play span { width: 52px; height: 52px; }
.sim__screen.is-playing .sim__big-play { opacity: 0; }

/* פס הפקדים: מופיע במסך הפעיל במעבר עכבר או כשהוא עצור, ובכל מסך כשאחד הפקדים בפוקוס (מקלדת) */
.sim__bar {
  position: absolute; left: 10px; right: 10px; bottom: 10px;
  display: flex; align-items: center; gap: 12px;
  padding: 8px 14px;
  border-radius: 10px;
  background: rgba(46, 36, 89, .78);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  color: #fff;
  opacity: 0;
  transform: translateY(8px);
  pointer-events: none;
  transition: opacity .25s ease, transform .25s ease;
}
html .sim__bar { cursor: url("../assets/img/cursor.svg") 1 1, auto; }
.sim__screen--mobile .sim__bar { flex-direction: column; align-items: stretch; gap: 6px; padding: 8px 10px; }
.sim__screen.is-active:is(:hover, .is-touched, :not(.is-playing)) .sim__bar,
.sim__screen:focus-within .sim__bar {
  opacity: 1; transform: none; pointer-events: auto;
}
.sim__btns { display: flex; justify-content: center; gap: 4px; }
.sim__btn {
  width: 30px; height: 30px; padding: 0;
  display: grid; place-items: center;
  border: 0; border-radius: 6px;
  background: transparent; color: #fff;
}
.sim__btn:focus-visible, .sim__seek:focus-visible { outline: 2px solid #fff; outline-offset: 0; }
.sim__btn svg { width: 18px; height: 18px; fill: currentColor; }
.sim__progress { flex: 1; display: flex; align-items: center; gap: 10px; }
.sim__seek { flex: 1; height: 16px; display: flex; align-items: center; touch-action: none; border-radius: 2px; }
.sim__track { position: relative; width: 100%; height: 4px; border-radius: 2px; background: rgba(255, 255, 255, .3); }
.sim__fill { position: absolute; left: 0; top: 0; bottom: 0; width: 0; border-radius: 2px; background: #fff; }
.sim__time { font: 400 12px/15px "Inter:Regular", sans-serif; font-variant-numeric: tabular-nums; white-space: nowrap; opacity: .9; }
.sim__screen--mobile .sim__time { display: none; }

/* ================= The Challenges ================= */
:root {
  --coral: #D97757;          /* קווים, עיגולים וחצים בסקשן הבעיה */
  --coral-text: #B4512F;     /* טקסט כתום: הוכהה מ-#D97757 לניגודיות AA (4.7:1), באישור רביד */
  --coral-line: #F6D5CA;     /* קווי מסגרת ומפרידים */
  --coral-fill: rgba(255, 243, 237, .5); /* רקע הכרטיסים */
}
/* ריווח בין סקשנים (באישור רביד): 96 מסוף התוכן של סקשן ועד הכותרת הבאה, 64 מהכותרת לתוכן.
   חריג: Project Overview – 40 מעליו (מה-Hero) ו-64 מתחתיו (עד כותרת Simulation) */
.sf-title--first { height: auto; padding-block: 96px 48px; }   /* 48 מכותרת הסקשן לתוכן (במקום 64): יחס 1:2 מול ה-96 שמעל (באישור רביד, אחרי מדידה מול Apple/Google) */
.sf-sim > .sf-title { height: auto; padding-block: 64px 48px; }
.sf-title--coral h2 { color: var(--coral-text); }   /* הבעיה (The Challenges) והפתרון (The Opportunities) נשארים בצבעים שלהם (רביד): כתום וכחול. 4.7:1 */

/* שלוש עמודות: הכרטיסים 747, הקו של Scenario באמצע, התמונות (246) צמודות לקצה התוכן */
.sf-problem {
  position: relative;
  display: grid;
  grid-template-columns: 747px minmax(0, 1fr) 246px;
  align-items: start;
}
.sf-problem__main { display: flex; flex-direction: column; gap: 24px; }

.sf-pcard {
  padding: 25px 33px;          /* 24/32 + קו 1 */
  border-radius: 16px;
  background: var(--coral-fill);
  box-shadow: inset 0 0 0 1px var(--coral-line);
}
.sf-pcard--problem { height: 300px; }   /* 324 → 300 (שורות כל 32, באישור רביד) */
/* Key Gaps: גובה לפי התוכן */
.sf-pcard__title { font: 600 24px/24px "Inter:Semi Bold", sans-serif; margin-block: -2px; }
.sf-pcard__title--icon { display: flex; align-items: center; gap: 8px; height: 35px; }
.sf-pcard__title--icon img { width: 35px; height: 35px; }
.sf-pcard__lead { margin-top: 32px; font: 600 20px/24px "Inter:Semi Bold", sans-serif; }
/* שורה 24 + רווח 16; 24 מעל הפסקה */
.sf-pcard__text { --lh: 24px; --gap: 8px; font: 400 20px "Inter:Regular", sans-serif; }
p.sf-pcard__text { margin-block: 20px -4px; }   /* שורות כל 32 (באישור רביד) */

/* Key Gaps: נקודה לפני הכותרת, תיאור מוזח ב-30 */
.sf-gaps { margin-top: 32px; list-style: none; }
.sf-gaps li { margin-left: 30px; list-style: disc outside; }
.sf-gaps li + li { margin-top: 32px; } /* מרווח קבוע: פי 2 מה-16 שבתוך כל נקודה */
.sf-gaps li::marker { font-size: 20px; }
.sf-gaps h4 { margin: 0; font: 600 20px/24px "Inter:Semi Bold", sans-serif; }
/* שורה 24 + רווח 8; 16 מתחת לכותרת */
.sf-gaps p { --lh: 24px; --gap: 8px; font-family: "Inter:Regular", sans-serif; font-size: 20px; }
.sf-gaps p.lines { margin-block: 12px -4px; }
/* Key Gaps: מתחת לכותרת אותו מרווח כמו מתחת ל-THE PROBLEM (34 בין הטקסטים), ובין ארבע הנקודות מרווח שווה (36).
   הסכום זהה לקודם (32 + 32 + 32 + 50), כך שהכרטיס נשאר 600 והציטוט בקו התחתון של התמונות */
.sf-pcard--gaps .sf-gaps { margin-top: 38px; }
.sf-pcard--gaps .sf-gaps li + li { margin-top: 36px; }

.sf-quote {
  height: 81px;
  margin: 0;
  padding: 9px 16px 8px;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  border-radius: 8px;
  background: var(--coral-fill);
  box-shadow: inset 0 0 0 1.5px var(--coral-line);
  color: var(--coral-text);
}
.sf-quote blockquote { margin: 0; }
.sf-quote p { font: italic 300 20px/24px "Inter:Light Italic", sans-serif; white-space: nowrap; }
.sf-quote figcaption { display: flex; align-items: center; gap: 8px; height: 32px; font: 400 16px/20px "Inter:Regular", sans-serif; }

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

/* Scenario: כותרת אנכית (נקראת מלמטה למעלה), קו שיורד ופונה שמאלה אל הציטוט */
.sf-scenario-title {
  position: absolute;
  left: calc(747px + 185px); top: 0;      /* ממורכזת על הקו שיורד ממנה; מיושרת לראש הכרטיס והתמונה הראשונה */
  width: 95px;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  text-align: start;
  font: 700 40px/95px "Inter:Bold", sans-serif;
  color: rgba(246, 213, 202, .6); /* בהיר, כמו ב-Figma: קישוט (לא נקרא בקורא מסך) */
  white-space: nowrap;
}
.sf-scenario-path { position: relative; }
/* החץ ממורכז לגובה הציטוט (מרכז 988.5; העיגול ב-972 כדי שיישאר על פיקסל שלם), הקו האופקי במרכז העיגול (972 + 16 − 0.75) והאנכי מסתיים בו.
   האנכי מתחיל 3.5 מתחת לסוף הכותרת "Current Workflow" (348), כמו שהיה מתחת ל-"Scenario" */
.sf-scenario-path__v { position: absolute; left: 232px; top: 351px; width: 1.5px; height: 637.75px; background: rgba(246, 213, 202, .6); }
.sf-scenario-path__h { position: absolute; left: 104px; top: 987.25px; width: 129px; height: 1.5px; background: rgba(246, 213, 202, .6); }
.sf-circle {
  display: grid; place-items: center;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--coral-fill);
}
.sf-circle img { width: 20px; height: 20px; border-radius: 50%; background: var(--coral-fill); }
.sf-circle--left { position: absolute; left: 58px; top: 972px; }
.sf-circle--left img { transform: rotate(180deg); }

/* חמש התמונות, עם עיגול וחץ למטה ביניהן */
.sf-scenario {
  width: 246px;
  margin: 0; padding: 0;
  list-style: none;
  display: flex; flex-direction: column;
  /* העמודה מסתיימת בגובה הציטוט (1053): 13–14 מעל ומתחת לכל עיגול */
}
.sf-scenario li { position: relative; height: 163px; }
.sf-scenario li:nth-child(2), .sf-scenario li:nth-child(3) { margin-top: 53px; }   /* 59 → 53 ו-60 → 54: הכרטיס של The Problem קטן ב-24, והעמודה עדיין מסתיימת עם הציטוט */
.sf-scenario li:nth-child(4), .sf-scenario li:nth-child(5) { margin-top: 54px; }
.sf-scenario img { width: 100%; height: 100%; border-radius: 16px; }
/* קו המסגרת מעל התמונה */
.sf-scenario li::after { content: ""; position: absolute; inset: 0; border-radius: 16px; box-shadow: inset 0 0 0 1px var(--coral-line); pointer-events: none; }
.sf-scenario span {
  position: absolute; left: 0; right: 0; bottom: 0;
  height: 27px;
  display: grid; place-items: center;
  border-radius: 0 0 16px 16px;
  background: var(--coral-fill);
  font: 400 14px/17px "Inter:Regular", sans-serif;
  white-space: nowrap;
}
.sf-scenario li + li::before {
  content: "";
  position: absolute; left: 107px; top: -46px;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: url("../assets/img/sf/chevron-coral.svg") center / 20px no-repeat, var(--coral-fill);
  transform: rotate(90deg);
}

/* ================= The Opportunities: The Solution + Design Principles ================= */
.sf-title--blue h2 { color: var(--accent); }

.sf-solution {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  container-type: inline-size;   /* לחישוב מיקום החץ לפי רוחב התוכן */
}
.sf-scard {
  position: relative;
  flex: none;
  width: 604px;
  padding: 25px;               /* 24 + קו 1.5, מעוגל לפיקסל שלם */
  border-radius: 16px;
  background: rgba(211, 219, 247, .3);
  box-shadow: inset 0 0 0 1.5px var(--card-line);
}
/* ההסבר 32 מתחת לכותרת (שורה 24 + רווח 8), קו קצר עם 24 מעליו ומתחתיו, ואז הרשימה */
.sf-scard__text { --lh: 24px; --gap: 8px; font-family: "Inter:Regular", sans-serif; font-size: 20px; }
p.sf-scard__text { margin-block: 28px -4px; }
.sf-scard .sf-gaps--solution { position: relative; margin-top: 50px; }   /* 24 + קו 1.5 + 24, מעוגל לפיקסל שלם */
.sf-gaps--solution::before {
  content: "";
  position: absolute; left: 0; top: -26px;
  width: 100px; height: 1.5px;
  background: var(--card-line);
}
/* רשימת הפתרונות: אותו מבנה כמו Key Gaps, 24 בין הפריטים */
.sf-gaps--solution li + li { margin-top: 32px; }
/* עיגול עם חץ על קצה הכרטיס, ממורכז לגובה */
.sf-solution__arrow {
  position: absolute;
  /* באמצע הרווח שבין הכרטיס (604) לעיגול השמאלי של Design Principles (רוחב התוכן − 463), ממורכז לגובה הכרטיס */
  left: calc(50cqw + 46.5px); top: calc(50% - 24px);
  @supports (left: round(1.5px, 1px)) { left: round(calc(50cqw + 46.5px), 1px); }
  display: grid; place-items: center;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: rgba(211, 219, 247, .3);
}
.sf-solution__arrow img { width: 24px; height: 24px; }

/* Design Principles: גריד 2×2 צמוד לימין, הכותרת ממורכזת מעליו */
.sf-principles { width: 497px; margin-right: -9px; padding-top: 24px; text-align: center; } /* -9: סוף "Who needs to act or know?" מיושר לשוליים הימניים */ /* הכותרת על אותו קו בסיס כמו THE SOLUTION (±0.5) */
.sf-principles .sf-pcard__title { line-height: 24px; margin: 5px 0 0; }   /* כמו שאר כותרות הכרטיסים (באישור רביד); 5 מעל ו-38 לגריד במקום שורה של 35 – הכותרת והגריד נשארים באותו מקום */
.sf-principles .sf-principles__grid { margin-top: 38px; }
.sf-principles__grid {
  margin: 32px 0 0; padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: 224px 224px;
  column-gap: 49px;   /* 99 בין העיגולים לרוחב – כמו המרווח ביניהם לגובה */
  row-gap: 24px;
}
.sf-principles__grid li { display: flex; flex-direction: column; align-items: center; }
.sf-principles__img {
  display: grid;
  width: 174px; height: 174px;   /* הוקטן מ-224 (×0.777): השאלה האפורה בשורה השנייה על אותו קו בסיס כמו "each issue." */
  border-radius: 50%;
  background: var(--bg);
  box-shadow: inset 0 0 0 1px var(--card-line);
}
.sf-principles__img img { object-fit: contain; } /* בלי מתיחה: התמונה נכנסת כולה בפרופורציות שלה */
.sf-principles__grid h4 { margin: 16px 0 0; font: 600 20px/24px "Inter:Semi Bold", sans-serif; }
.sf-principles__grid p { margin-top: 16px; font: 400 16px/19px "Inter:Regular", sans-serif; color: #677286; white-space: nowrap; } /* הוכהה מ-#707C91 לניגודיות AA (4.53:1), באישור רביד */

/* ================= Primary Users & Information Access ================= */
.sf-users__body { position: relative; height: 738px; }   /* עד תחתית התוויות Primary / Secondary */
/* שלוש קבוצות משתמשים: אוואטר 80, הטקסט 99 מימינו */
.sf-personas { position: relative; height: 80px; margin: 0; padding: 0; list-style: none; }
.sf-persona { position: absolute; top: 0; height: 80px; }
.sf-persona--site { left: 0; }
.sf-persona--designer { left: 424px; }
.sf-persona--inspector { right: 0; width: 370px; }
.sf-persona img { position: absolute; }
.sf-persona h3 { position: absolute; left: 99px; top: 16px; font: 700 16px/20px "Inter:Bold", sans-serif; white-space: nowrap; }
/* 16 כמו המשפטים מתחת לעיגולים (Mainly used…); הכותרת והמשפט ממורכזים לגובה האוואטר */
.sf-persona p { position: absolute; left: 99px; top: 44px; font: 400 16px/20px "Inter:Regular", sans-serif; white-space: nowrap; }
.sf-persona--site p { color: var(--coral-text); }
.sf-persona--designer p { color: var(--accent); }
.sf-persona--inspector p { color: #677286; }
/* שלוש עמודות (319): מחשב, נייד, תוכניות מודפסות. המיקומים בתוכן לפי Figma */
.sf-access__col { position: absolute; top: 176px; width: 319px; height: 562px; }   /* 96 מתחת לדמויות (80), באישור רביד */
.sf-access__col--1 { left: 0; }
.sf-access__col--2 { left: calc(50% - 160px); }
@supports (left: round(1.5px, 1px)) { .sf-access__col--2 { left: round(down, calc(50% - 160px), 1px); } } /* בלי חצי פיקסל (תמונות חדות) */
.sf-access__col--3 { right: 0; }
.sf-access__col h4 { margin: 0; text-align: center; font: 700 16px/20px "Inter:Bold", sans-serif; }
.sf-access__col img { position: absolute; }
/* איפה משתמשים בכלי: 24 מתחת לעיגול (כמו הכותרת מעליו), בצבע של המקום כמו אצל הדמויות – כחול משרד, כתום אתר */
.sf-access__use { position: absolute; top: 323px; left: 0; right: 0; margin: 0; text-align: center; font: 400 16px/20px "Inter:Regular", sans-serif; white-space: nowrap; }
.sf-access__use--office { color: var(--accent); }
.sf-access__use--site { color: var(--coral-text); }
/* ממורכז מתחת לעיגול שמעליו: תיבה של 100 שהמרכז שלה על מרכז העיגול */
.sf-access__level { position: absolute; top: 528px; width: 100px; text-align: center; font: 500 14px/17px "Inter:Medium", sans-serif; color: var(--accent); white-space: nowrap; }

/* קו 1 אחיד סביב כל התמונות (באוואטרים קו של 1 או 1.5 צרוב בתמונה – הטבעת מכסה אותו) */
.sf-ring {
  position: absolute; width: 80px; height: 80px;
  border-radius: 50%;
  box-shadow: 0 0 0 .5px currentColor, inset 0 0 0 .5px currentColor;   /* 1, ממורכז על קצה העיגול; הקו הצרוב בתמונה נחתך (clip-path) */
  pointer-events: none;
}
.sf-device-ring {
  position: absolute; left: 35px; top: 47px; width: 250px; height: 250px;
  border-radius: 50%;
  box-shadow: inset 0 0 0 1px var(--accent), inset 0 0 0 1.5px var(--bg);
}
/* קווי חיבור מקווקווים (2, מקטעים של 4/4) בין האוואטרים לנקודות שעל הציר: ממורכזים על שניהם */
.sf-link { position: absolute; pointer-events: none; }
.sf-link--v { width: 2px; background: repeating-linear-gradient(180deg, #8B9CE9 0 4px, transparent 4px 8px); }
.sf-link--h { height: 2px; background: repeating-linear-gradient(90deg, #8B9CE9 0 4px, transparent 4px 8px); }

/* ================= Information Architecture ================= */
.sf-ia__title { height: auto; padding-top: 96px; }
.ia { position: relative; overflow: hidden; }
.ia--desktop { height: 1241px; }   /* עד תחתית המלבן האחרון (1283), פחות 43 – העץ עלה כשהקו המקווקו הוסר */
.ia--mobile { height: 1210px; }    /* עד תחתית המלבן האחרון (1253; העץ של המובייל ב-top 0), פחות 43 */
/* בורר – אותו רכיב כמו בסימולציה */
.ia__toggle { position: absolute; z-index: 2; left: calc(50% - 180px); top: 48px; }   /* מעל שכבת העץ, כדי שאפשר יהיה ללחוץ */
@supports (left: round(1.5px, 1px)) { .ia__toggle { left: round(down, calc(50% - 180px), 1px); } }
.ia__toggle .sim__tab { justify-content: center; }
/* הקו המקווקו מתחת לבורר הוסר (רביד). האלמנט נשאר, שקוף: js/ia.js מודד לפיו את רוחב התוכן כדי להקטין את העץ */
.ia__dash {
  position: absolute; left: var(--side); right: var(--side); top: 128px;
  height: 3px;
}
/* העץ: מיקומים לפי Figma בפריים של 1440, ממורכז */
/* שכבת גלילה סביב העץ: ב-Desktop רק חותכת; בטאבלט, כשהעץ לא נכנס גם ב-75%, גוללים לרוחב (js/ia.js) */
.ia__scroll { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.ia__stage { position: absolute; top: 0; pointer-events: none; left: calc(50% - 720px); width: 1440px; height: 1413px; }
@supports (left: round(1.5px, 1px)) { .ia__stage { left: round(down, calc(50% - 720px), 1px); } } /* בלי חצי פיקסל */
.ia__variant { position: absolute; left: 0; right: 0; height: 1413px; }
.ia__variant[data-ia="desktop"] { top: -42px; }   /* העץ עלה 43 יחד עם המקרא: הכותרת Header Navigation 40 מתחת למקרא, כמו קודם */
.ia__variant[data-ia="mobile"] { top: -43px; }    /* העץ עלה 43 יחד עם המקרא */
.ia__label { position: absolute; width: 400px; margin: 0; text-align: center; font: 400 24px/29px "Inter:Regular", sans-serif; color: var(--accent); }
.ia__line { position: absolute; background: var(--ink); }
.ia__box {
  position: absolute; width: 134px; height: 56px;   /* ריפוד 8 + הטקסט הרחב ביותר (117) / שתי שורות (40) */
  display: flex; align-items: center; justify-content: center;
  padding: 8px;
  border-radius: 8px;
  text-align: center;
  font: 400 16px/20px "Inter:Regular", sans-serif;   /* 16 (באישור רביד); שתי שורות: 19 + רווח קטן */
  white-space: nowrap;
}
.ia__box--dark { background: var(--ink); color: #FBF8FD; }
.ia__box--blue { background: var(--accent); color: #FBF8FD; }
.ia__box--light { background: var(--card-line); color: var(--ink); }
.ia__box--peach { background: #FAEDE6; color: #623D31; }

/* מקרא: שורה אחת, 40 מתחת לבורר (שמסתיים ב-88) – הרווח שהיה בין הבורר לקו המקווקו (רביד) – ו-40 מעל הכותרת הראשונה */
.ia__legend {
  position: absolute; left: 0; right: 0; top: 128px;
  display: flex; justify-content: center; gap: 24px;
  margin: 0; padding: 0; list-style: none;
  font: 400 14px/17px "Inter:Regular", sans-serif; color: var(--ink);
}
.ia__legend li { display: flex; align-items: center; gap: 8px; }
.ia__swatch { display: block; width: 12px; height: 12px; border-radius: 3px; }
.ia__swatch.ia__box--peach { box-shadow: inset 0 0 0 1px #F0D9CD; } /* אחרת נבלע ברקע */
/* המסלול של ה-MVP Flow: שאר העץ דהוי, מספרי השלבים כמו ב-Flow; לחיצה על ההשוואה מבטלת את ההדגשה */
.ia__variant > * { transition: opacity .3s ease; }
.is-focus .ia__variant > :not(.is-path):not(.ia__label) { opacity: .25; }   /* גם בחלון ההגדלה (js/sf-viewer.js) */
.ia__num {
  position: absolute; left: -8px; top: -8px;
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--coral-text); color: #fff;
  font: 500 12px/20px "Inter:Medium", sans-serif; font-style: normal; text-align: center;
  opacity: 0; transition: opacity .3s ease;
}
.is-focus .ia__num { opacity: 1; }
.ia__swatch--path { border-radius: 50%; background: var(--coral-text); }
/* Project Issues: Plan ו-Table/Kanban הם תצוגות של אותו מסך – שורה שנייה בתוך התיבה (12, באישור רביד) */
.ia__box--views { flex-direction: column; }
.ia__box--views small { display: block; margin-top: 2px; font: 400 12px/14px "Inter:Regular", sans-serif; color: var(--accent); }
.nowrap { white-space: nowrap; }
/* כותרת IA • Mobile ארוכה: נשברת רק בין החלקים (Information Architecture / • Mobile / • Built Around On-Site Capture); מתחת ל-375 גם בתוך החלק האחרון */
#ia-mobile-title { white-space: normal; }
@media (max-width: 374px) { #ia-mobile-title > .nowrap:last-child { white-space: normal; } }   /* "On-Site Capture" נשאר יחד */


/* ================= Wireframe • Desktop ================= */
/* רקע לבן, מסכים מסובבים ב-30°, ומעליהם שכבת תכלת ב-47%. קווים מקווקווים למעלה ולמטה */
.sf-wf {
  position: relative;
  height: 1024px;
  margin-top: 96px;
  overflow: hidden;
  background: #fff;
}
.sf-wf::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: rgba(211, 219, 247, .47);
}
.sf-wf::before {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    repeating-linear-gradient(90deg, var(--card-line) 0 8px, transparent 8px 16px) top / 100% 1.5px no-repeat,
    repeating-linear-gradient(90deg, var(--card-line) 0 8px, transparent 8px 16px) bottom / 100% 1.5px no-repeat;
}
.sf-wf__stage { position: absolute; top: 0; left: calc(50% - 720px); width: 1440px; height: 1024px; }
@supports (left: round(1.5px, 1px)) { .sf-wf__stage { left: round(down, calc(50% - 720px), 1px); } }
.sf-wf__stage img {
  position: absolute;
  width: 555px; height: auto;
  border-radius: 8px;
  transform-origin: 0 0;
  transform: rotate(30deg);
  box-shadow: 1px 1.73px 4px rgba(58, 56, 120, .10), 8px 13.86px 40px rgba(58, 56, 120, .06);   /* --shadow מסובב ב-30° לאחור, כדי שעל המסך הצל יהיה ישר למטה */
}
/* מסגרת בגוון של Wireframe • Mobile – פנימית (אין מקום מבחוץ), 3 (נוסה 4 – בולט מדי; באישור רביד) */
.sf-wf:not(.sf-wf--mobile) .sf-wf__stage img { outline: 3px solid var(--card-line); outline-offset: -3px; }
.sf-wf__title {
  position: absolute; left: 0; right: 0; top: 485px; z-index: 2;
  margin: 0;
  text-align: center;
  font: 700 48px/60px "Google Sans Code:Bold", sans-serif;
  color: var(--ink);
  white-space: nowrap;
}
.sf-wf__b { color: var(--accent); }
.sf-wf__dot { font-weight: 400; }


/* ================= MVP Desktop Flow ================= */
/* 3 כרטיסים בשורה (420), 10 ביניהם. כל הכרטיסים באותו מבנה: כותרת+מספר → 24 → מסך → 32 → טקסט */
.sf-steps {
  display: grid;
  /* 6 עמודות של 205: כל כרטיס תופס 2 (420). בשורה השנייה 4 ו-5 ממורכזים – המרכז שלהם בדיוק מתחת לכרטיס 2 (באישור רביד) */
  grid-template-columns: repeat(6, 205px);
  grid-auto-rows: 1fr;          /* כל הכרטיסים באותו גובה (לפי הגבוה ביותר) */
  gap: 10px;
  margin: 0; padding: 0; list-style: none;
}
.sf-step { grid-column: span 2; }
.sf-step:nth-child(4) { grid-column: 2 / span 2; }
.sf-step {
  padding: 25px;               /* 24 + קו 1.5, מעוגל */
  border-radius: 16px;
  background: var(--bg);
  box-shadow: inset 0 0 0 1.5px var(--card-line);
}
.sf-step__head { display: flex; align-items: center; justify-content: space-between; height: 40px; }
.sf-step__label { font: 700 24px/29px "Inter:Bold", sans-serif; color: var(--accent); }
.sf-step__num {
  display: grid; place-items: center;
  width: 40px; height: 40px; border-radius: 50%;
  background: #E5E9F8;
  font: 700 18px/22px "Inter:Bold", sans-serif; color: var(--ink);
}
.sf-step__img {
  width: 100%; height: 240px;   /* ברוחב הכרטיס עד הריפוד (370), באותו יחס (354×230) – באישור רביד */
  object-fit: cover;
  margin: 24px 0 0;            /* מיושר לשמאל, כמו הטקסט (באישור רביד) */
  border-radius: 4px;
  outline: 1px solid var(--card-line); outline-offset: -1px;   /* קו 1 כמו בשאר התמונות */
  box-shadow: var(--shadow);
}
.sf-step__title { margin: 32px 0 0; font: 700 20px/24px "Inter:Bold", sans-serif; }
.sf-step__text { margin-top: 16px; font: 400 16px/19px "Inter:Regular", sans-serif; color: #677286; } /* 16 כמו הטקסט המשני ב-Design Principles (באישור רביד) */

/* ================= Key Screens • Desktop ================= */
/* כל מסך: כותרת → 32 → שלבי הזרימה → 32 → משפט → 32 → צילום מסך (960, ממורכז) → 32 → כרטיסי ההסבר ברוחב התוכן. 96 בין המסכים */
/* צילום המסך (960) ממורכז, וההסברים מתחתיו ברוחב התוכן המלא (עד השוליים) – באישור רביד */
.sf-key__body { margin-top: 32px; }
.sf-key + .sf-key { margin-top: 96px; }
.sf-key__title { font: 700 32px/39px "Inter:Bold", sans-serif; color: var(--accent); }
.sf-crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 32px 0 0; padding: 0; list-style: none; }
.sf-crumbs li { display: flex; align-items: center; gap: 8px; font: 500 20px/24px "Inter:Medium", sans-serif; color: #677286; }
.sf-crumbs li + li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.sf-crumbs li[aria-current] { font-family: "Inter:Bold", sans-serif; font-weight: 700; color: var(--ink); }
.sf-key__intro { margin: 28px 0 -4px; font: 400 20px/32px "Inter:Regular", sans-serif; }   /* גובה שורה 32 כמו בכל גוף הטקסט (באישור רביד); 4- מכל צד שומר על המרווחים */
.sf-key__shot { position: relative; width: 960px; margin: 0 auto; }
.sf-key__shot > img:first-child, .sf-key__frame > img:first-child {
  width: 100%; height: auto;
  border-radius: 4px;
  outline: 1px solid var(--card-line); outline-offset: -1px;
  box-shadow: var(--shadow);
}
/* Issue Details: שני תקריבים שיוצאים מתחתית המסך (כמו ב-Figma) */
.sf-key__shot--zoom { padding-bottom: 41px; }   /* התקריבים × 0.75 (960/1280), והועלו 200 כדי שיבלטו רק 40 מתחת למסך (באישור רביד) */
.sf-key__zoom {
  position: absolute;
  border-radius: 5px;   /* כמו הפינה של כרטיס Details שבמסך (8 ב-Figma אחרי האחדת הפינות 8.11 × 0.582) – גם בתגובה של Ami */
  box-shadow: var(--shadow);
  background: #fff;
}
.sf-key__zoom img { width: 100%; height: 100%; border-radius: 5px; }
/* קו חיצוני מקווקו: 1.5, מקטעים של 8 ורווחים של 8 (באישור רביד) */
.sf-dash { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.sf-dash rect { x: .75px; y: .75px; width: calc(100% - 1.5px); height: calc(100% - 1.5px); fill: none; stroke: var(--card-line); stroke-width: 1.5; stroke-dasharray: 8 8; } /* 1.5 – רק כאן, כדי שהקו לא ייבלע (באישור רביד) */
.sf-key__zoom--a { left: 118px; top: 474px; width: 546px; height: 183px; } /* בגבולות התיבה "Write a new comment..." שבמסך, באותו יחס (באישור רביד) */
.sf-key__zoom--b { left: 710px; top: 309px; width: 224px; height: 355px; }
.sf-notes { display: grid; gap: 24px; margin: 32px 0 0; padding: 0; list-style: none; }
.sf-notes--2 { grid-template-columns: 628px 628px; }
.sf-notes--3 { grid-template-columns: 411px 410px 411px; }
.sf-note {
  padding: 16px;
  border-radius: 8px;
  box-shadow: inset 0 0 0 1.5px var(--card-line);
}
.sf-note h4 { display: flex; align-items: center; gap: 8px; margin: 0; font: 700 16px/20px "Inter:Bold", sans-serif; }   /* 16 ואייקון 20 (באישור רביד) */
.sf-note h4 img { width: 20px; height: 20px; flex: none; }
.sf-note p { margin-top: 16px; font: 400 16px/24px "Inter:Regular", sans-serif; color: #677286; }

/* "במה": ברוחב התוכן (1280) עם זוהר עדין שתוחם, והמסך (880) ממורכז בתוכה עם 32 מסביב (באישור רביד) */
.sf-key__shot.sf-key__stage { width: auto; padding: 32px 0; border-radius: 8px; background: var(--bg); box-shadow: var(--shadow); }   /* הרקע בצבע הדף; זוהר עדין ונייטרלי יותר, כדי שהפנים לא ייראה בהיר מהדף */
/* המסגרת: צילום המסך (880) והתקריבים יחד, ממורכזת בבמה. בטאבלט מתכווצת כיחידה אחת (js/sf-fit.js) */
.sf-key__frame { position: relative; width: 880px; left: 50%; margin-left: -440px; }
.sf-key__frame > img:first-child { display: block; width: 880px; height: 572px; }
.sf-key__shot--zoom .sf-key__frame { height: 801px; }   /* כולל התקריבים שיוצאים מתחת למסך */
/* Issue Details – כמו ב-Figma (× 0.6875): Details עולה על תחתית המסך, והתגובה של Ami מתחתיו משמאל;
   מסך ה-FIX (8.11.2026): Details יושב בדיוק על הכרטיס שבמסך; ההתכתבות Anna–Dan מתחת משמאל באותו קנה מידה, עד 801. הבמה מכילה אותם עם 32 מתחת */
.sf-key__stage.sf-key__shot--zoom { padding-bottom: 32px; }
.sf-key__frame .sf-key__zoom--a { left: 88px; top: 624px; width: 539px; height: 177px; }   /* Anna ו-Dan כמו בסרטון, באותו קנה מידה כמו המסך (880/1512) ובאותו טור של התגובות (x152 × 0.582); 24 עד Details */
.sf-key__frame .sf-key__zoom--b { left: 651px; top: 445px; width: 205px; height: 247px; }   /* מסך ה-FIX (22.11.2026): כרטיס Details (x1117 y765, 355x424) × 880/1512 – התקריב יושב בדיוק עליו ומשלים את מה שנחתך */

/* ================= Wireframe • Mobile ================= */
/* אותה במה כמו ב-Desktop (רקע לבן, תכלת 47%, קווים מקווקווים), עם מסכי טלפון ישרים בעמודות מדורגות */
.sf-wf--mobile .sf-wf__stage img {
  transform: none;
  border-radius: 24px;
  object-fit: cover; object-position: top;
  box-shadow: 0 0 0 5px var(--card-line), var(--shadow);   /* מסגרת 5 מבחוץ, כמו ב-Figma */
}
.sf-wf--mobile .sf-wf__title { top: 482px; }

/* ================= MVP Mobile Flow ================= */
/* 4 כרטיסים בשורה (256), 85 ביניהם; בשורה השנייה 5 ו-6 ממורכזים (כמו ב-Figma). 64 בין השורות.
   כל כרטיס ממורכז (כמו ב-Figma – יישור לשמאל נוסה ונדחה: הטלפון הצר והממורכז יצר שני צירים): כותרת → 32 → טלפון → 32 → טקסט,
   והמספר יוצא 18 מתחת לכרטיס. CREATE ו-COMPLETE מודגשים כמו ב-Figma: טלפון גדול יותר, 16 במקום 32, וקו כחול */
.sf-msteps {
  display: grid;
  grid-template-columns: repeat(4, 256px);
  column-gap: 85px; row-gap: 82px;   /* 64 מתחתית המספר (18 מתחת לכרטיס) לכרטיס הבא */
  margin: 0; padding: 0; list-style: none;
}
.sf-mstep:nth-child(5) { grid-column: 2; }
.sf-mstep {
  position: relative;
  display: flex; flex-direction: column; align-items: center;
  height: 538px;
  padding: 24px 16px;
  border-radius: 16px;
  background: var(--bg);
  box-shadow: inset 0 0 0 1.5px var(--card-line);
  text-align: center;
}
.sf-mstep--key { box-shadow: inset 0 0 0 1.5px #8B9CE9; }
.sf-mstep__label { display: block; height: 36px; font: 700 24px/36px "Inter:Bold", sans-serif; color: var(--accent); }
.sf-mstep__img {
  width: 138px; height: 300px;
  margin-top: 32px;
  object-fit: cover; object-position: top;
  border: var(--frame) solid var(--ink);   /* מסגרת הטלפון: עובי אחיד לכל המסגרות באתר (home.css) */
  border-radius: 24px;
  box-sizing: content-box;
  box-shadow: var(--shadow);
}
.sf-mstep--key .sf-mstep__img { align-self: flex-start; width: 159px; height: 345px; margin: 16px 0 0 29px; margin-left: round(down, calc((224px - 159px) / 2 - var(--frame)), 1px); }   /* ממורכז ברוחב 224 (עם המסגרת), בלי חצי פיקסל */
.sf-mstep__title { margin: 32px 0 0; font: 700 20px/24px "Inter:Bold", sans-serif; }
.sf-mstep--key .sf-mstep__title { margin-top: 16px; }
.sf-mstep__text { margin-top: 16px; font: 400 16px/19px "Inter:Regular", sans-serif; color: #677286; }   /* Regular כמו ב-MVP Desktop Flow (באישור רביד) */
.sf-mstep__num {
  position: absolute; left: calc(50% - 20px); bottom: -18px;
  display: grid; place-items: center;
  width: 40px; height: 40px; border-radius: 50%;
  background: #E5E9F8;
  font: 700 18px/22px "Inter:Bold", sans-serif; color: var(--ink);
}
.sf-msteps { padding-bottom: 18px; }   /* המספר בולט 18 מתחת לכרטיס – נספר בתוכן, כדי שה-96 לכותרת הבאה יימדד ממנו */

/* ================= Key Screens • Mobile ================= */
/* כמו ב-Desktop: כותרת → 32 → שלבים → 32 → משפט → 32 → שלושה טלפונים, כל אחד מעל ההסבר שלו (אותה רשת של 411|410|411),
   ומחובר אליו בקו 80 ועיגול 9 (כמו ב-Figma). השלבים שמוצגים במסכים – מודגשים */
.sf-crumbs li.is-key { font-family: "Inter:Bold", sans-serif; font-weight: 700; color: var(--ink); }
.sf-phones { display: grid; grid-template-columns: 411px 410px 411px; column-gap: 24px; margin-top: 32px; }
.sf-phone { padding-left: 82px; }   /* טלפון 246 ממורכז בעמודה (82 משמאל, 82–83 מימין – בלי חצאי פיקסלים) */
.sf-phone__frame {
  display: block; width: calc(236px + 2 * var(--frame));
  padding: var(--frame);        /* מסך 236×513 + מסגרת אחידה (home.css) */
  border-radius: 24px;
  background: var(--ink);
  box-shadow: var(--shadow);
}
.sf-phone__frame img {
  display: block; width: 236px; height: 513px;
  object-fit: cover; object-position: top;
  border-radius: 22px;
  outline: 1px solid var(--card-line); outline-offset: -1px;   /* קו 1 כמו בשאר התמונות */
}
/* קו מהטלפון אל ההסבר, ועיגול בצבע המבטא שיושב על הקו העליון של הכרטיס */
.sf-phone__link { position: relative; display: block; width: 9px; height: 89px; margin-left: 118px; }
.sf-phone__link::before { content: ""; position: absolute; left: 4px; top: 0; width: 1px; height: 80px; background: var(--card-line); }
.sf-phone__link::after { content: ""; position: absolute; left: 0; bottom: 0; width: 9px; height: 9px; border-radius: 50%; background: var(--accent); }
.sf-notes--linked { position: relative; margin-top: -5px; }   /* מרכז העיגול (9) על הקו העליון של הכרטיס (באישור רביד) */
.sf-notes--linked .sf-note { background: var(--bg); }
.sf-phones { position: relative; z-index: 1; }

/* ================= Success Metrics ================= */
/* כותרת ומשפט באותו סגנון של Key Screens (32 Bold / 20, 32 ביניהם). 64 → מדד ה-North Star בעיגול (576×538, כמו ב-Figma) →
   40 → SUPPORTING METRICS → 40 → ארבעה כרטיסים (628, 24 ביניהם). הטקסט האפור 16 Regular כמו בשאר הדף */
.sf-north { position: relative; width: 576px; height: 538px; margin: 64px 0 0 352px; }   /* ממורכז ברוחב התוכן (1280), בלי חצי פיקסל */
.sf-north__bg { position: absolute; inset: 0; }
.sf-north__body { position: absolute; left: 112px; top: 112px; width: 352px; display: flex; flex-direction: column; align-items: center; text-align: center; }
.sf-north__body > img { width: 82px; height: 82px; }
.sf-north__body .sf-metric__label { margin-top: 24px; font-size: 18px; line-height: 22px; }
.sf-north__title { margin: 16px 0 0; font: 700 20px/24px "Inter:Bold", sans-serif; white-space: nowrap; }   /* שורה אחת, כמו ב-Figma (365, קצת יותר מהעמודה) */
/* הקו מיושר לטקסט, ושניהם יחד ממורכזים בעיגול (רוחב השורה הארוכה, 306 → 308, ממורכז בדיוק במרכז העיגול; העמודה 352 ב-112 כדי שהכול יהיה ממורכז בלי חצאי פיקסלים) – באישור רביד */
.sf-north__desc { width: 308px; }
.sf-north__body .sf-metric__line { width: 64px; background: #8B9CE9; }
.sf-north__body .sf-metric__text { text-align: left; }
.sf-metric__label { margin: 0; font: 700 16px/20px "Inter:Bold", sans-serif; color: var(--accent); }
.sf-metric__line { display: block; width: 32px; height: 2px; margin-top: 24px; background: var(--accent); }
.sf-metric__text { margin-top: 24px; font: 400 16px/24px "Inter:Regular", sans-serif; color: #677286; }
.sf-metrics__sub { margin: 40px 0 0; text-align: center; font: 700 20px/24px "Inter:Bold", sans-serif; color: var(--accent); }
.sf-metrics__grid { display: grid; grid-template-columns: 628px 628px; gap: 24px; margin: 40px 0 0; padding: 0; list-style: none; }
.sf-metric {
  display: flex; align-items: center; gap: 24px;
  min-height: 224px;
  padding: 32px 24px;
  border-radius: 8px;
  background: var(--bg);
  box-shadow: inset 0 0 0 1.5px var(--card-line);
}
.sf-metric > img { width: 124px; height: 124px; flex: none; }
.sf-metric__title { margin: 8px 0 0; font: 700 20px/24px "Inter:Bold", sans-serif; }
.sf-metric .sf-metric__text { max-width: 304px; text-wrap: balance; }   /* שתי שורות מאוזנות, כמו השבירה ב-Figma */

/* ================= View More Projects ================= */
/* כותרת כמו בשאר הדף (באישור רביד). מתחתיה פס ברוחב המסך (508): שני חצאים של 720 עם וידאו ברקע,
   כל פרויקט בצבעים שלו כמו בדף הבית. קו מקווקו למעלה ובין החצאים, קו רציף למטה (כמו ב-Figma) */
.sf-more__band {
  --ink: #421F1C;   /* הצבע של האתר (דף הבית) */
  position: relative;
  display: grid; grid-template-columns: 1fr 1fr;
  height: 509px;   /* 508 + הקו התחתון */
  color: var(--ink);
}
.sf-more__band::before,
.sf-more__band::after { content: ""; position: absolute; z-index: 1; pointer-events: none; }
/* קו מקווקו זהה למעלה ולמטה (באישור רביד) */
.sf-more__band::before { inset: 0; z-index: 3; background:
  repeating-linear-gradient(90deg, var(--ink) 0 8px, transparent 8px 16px) top / 100% 1px no-repeat,
  repeating-linear-gradient(90deg, var(--ink) 0 8px, transparent 8px 16px) bottom / 100% 1px no-repeat; }
.sf-more__band::after { left: calc(50% - 1px); top: 0; bottom: 0; width: 1px; background: repeating-linear-gradient(180deg, var(--ink) 0 8px, transparent 8px 16px); }
/* חצאים בפיקסלים שלמים גם כשהרוחב אי-זוגי (למשל עם פס גלילה) */
@supports (left: round(1.5px, 1px)) {
  .sf-more__band { grid-template-columns: round(down, 50%, 1px) 1fr; }
  .sf-more__band::after { left: calc(round(down, 50%, 1px) - 1px); }
  .sf-more__half--floral .sf-more__row { padding: 0 0 0 round(down, calc((100% - 493px - 2 * var(--frame)) / 2), 1px); }   /* טלפון 150 + מסגרות, 38, כרטיס 305 */
}
.sf-more__half { position: relative; overflow: hidden; }
.sf-more__half::before { content: ""; position: absolute; inset: 0; z-index: 1; }
.sf-more__half--floral::before { background: rgba(234, 219, 212, .4); }
.sf-more__half--rd::before { background: rgba(193, 187, 174, .35); }
.sf-more__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.sf-more__half--floral .sf-more__video { opacity: .5; }
.sf-more__half--rd .sf-more__video { opacity: .8; }
.sf-more__row { position: relative; z-index: 2; display: flex; height: 100%; }
.sf-more__half--floral .sf-more__row { justify-content: center; gap: 38px; }   /* 505 ממורכז בחצי (בדפדפן שתומך ב-round: מיושר משמאל בפיקסל שלם) */
.sf-more__half--rd .sf-more__row { justify-content: space-between; padding: 0 24px 0 29px; }   /* התצוגה 323 + מסגרת 5 מבחוץ, 24 מהקצה כמו ב-Figma */

/* Floral: מסך 150×336 + מסגרת אחידה (home.css) בצבע האתר */
.sf-more__phone { display: block; flex: none; width: calc(150px + 2 * var(--frame)); height: calc(336px + 2 * var(--frame)); border: var(--frame) solid var(--ink); border-radius: 16px; overflow: hidden; background: var(--ink); }
.sf-more__phone img { display: block; width: 100%; height: 100%; object-fit: cover; }
/* מעבר עכבר: הטלפון גדל ב-8 ברוחב, וחוזר בצורה רכה (כמו בדף הבית) */
.sf-more__phone { transition: transform .35s cubic-bezier(.25, .8, .35, 1); }
@media (any-hover: hover) { .sf-more__phone:hover { transform: scale(var(--grow, calc(166 / 158))); } }

/* כרטיס זכוכית 305×217 */
.sf-more__card {
  flex: none;
  display: flex; flex-direction: column; justify-content: center; gap: 32px;
  width: 305px; height: 217px; padding: 24px;
  border-radius: 16px;
  background: rgba(255, 255, 255, .9);   /* 90% כמו כרטיסי דף הבית (באישור רביד) */
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.sf-more__card > * { margin: 0; }
.sf-more__name.fl-name { font-size: 24px; line-height: 31px; }
.sf-more__name.rd-name { font-size: 24px; line-height: 29px; color: #2C422A; }
.sf-more__tags { font: 500 16px/19px "Inter:Medium", sans-serif; }
.sf-more__card--floral .sf-more__tags { color: #B71832; }
.sf-more__card--rd .sf-more__tags { color: #2C422A; }
.sf-more__btn {
  display: inline-flex; align-items: center; justify-content: center; align-self: flex-start;
  width: 164px; height: 40px; border-radius: 8px;
  background: #B71832; color: #F2E9E2;
  font: 500 16px/20px "Inter:Medium", sans-serif;
}
a.sf-more__card .sf-more__btn:hover,
a.sf-more__card:focus-visible .sf-more__btn { background-image: linear-gradient(rgba(0, 0, 0, .16), rgba(0, 0, 0, .16)); }
/* לא לחיץ: אותם גוונים כמו בדף הבית (נראה לא פעיל), בלי הכהיה במעבר עכבר */
.sf-more__btn--soon { background: rgba(192, 201, 191, .7); box-shadow: inset 0 0 0 1px rgba(44, 66, 42, .31); color: rgba(44, 66, 42, .65); font-family: "Inter:Medium Italic", sans-serif; font-style: italic; white-space: nowrap; }

/* RaviD.esign: תצוגה 323×217 עם מסגרת 5 מבחוץ ופס "Coming Soon..." */
.sf-more__preview {
  position: relative; flex: none;
  width: 323px; height: 217px;
  border-radius: 16px;
  box-shadow: 0 0 0 var(--frame) #B29680;
  background: #F3EDEA;
  overflow: hidden;
}
/* אותם גוונים כמו התצוגה בדף הבית: תמונה מטושטשת ב-50%, ושתי שכבות (בז׳ וירוק) על כל המסך */
.sf-more__preview img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .5; filter: blur(3px); transform: scale(1.04); }
.sf-more__soon {
  position: absolute; z-index: 1; inset: 0;
  display: grid; place-items: center;
  background: rgba(235, 227, 211, .5);
}
.sf-more__soon::before { content: ""; position: absolute; inset: 0; background: rgba(152, 167, 150, .4); }
.sf-more__soon span { position: relative; }
.sf-more__soon span { font: italic 300 26px/31px "Inter:Light Italic", sans-serif; text-transform: uppercase; color: #435141; white-space: nowrap; }   /* כמו בדף הבית: אותיות גדולות, באותו יחס לרוחב המסך (48 ב-589 → 26 ב-323) */
.sf-more__half .video-toggle { left: 24px; bottom: 24px; color: var(--ink); }   /* בכל חצי, כמו בכל פרויקט בדף הבית */

/* ================= פוטר ================= */
/* כמו ב-Figma: 64 מעל, 24 מתחת. © משמאל, פרטי הקשר מימין, בצבע של האתר */
.sf-footer { padding-block: 64px 24px; color: var(--ink); background: var(--bg); }   /* בגוון הדף ובצבע הטקסט המרכזי שלו (רביד); האייקונים – העתקים בצבע הזה ב-assets/img/sf */
.sf-footer__row { display: flex; align-items: center; justify-content: space-between; }
.sf-footer__copy, .sf-footer__links li { display: flex; align-items: center; gap: 8px; margin: 0; font: 300 16px/20px "Inter:Light", sans-serif; }
.sf-footer__links { display: flex; gap: 24px; margin: 0; padding: 0; list-style: none; }
.sf-footer img { width: 24px; height: 24px; }
.sf-footer a { color: inherit; }
@supports (left: round(1.5px, 1px)) { .sf-more__half--floral .sf-more__row { justify-content: flex-start; } }
/* מיקום אנכי בפיקסלים שלמים (217 ב-508 = 145.5): הכרטיסים והתצוגה ב-145, הטלפון ב-82 */
.sf-more__row { align-items: flex-start; }
.sf-more__card, .sf-more__preview { margin-top: 145px; }
.sf-more__phone { margin-top: calc(86px - var(--frame)); }   /* מרכז הטלפון באותו גובה כמו קודם */

/* ================= בלי חצאי פיקסלים ================= */
/* תמונות האיורים בעיגולי Design Principles: מידות אי-זוגיות, ולכן ממוקמות במרווח שלם (style בכל תמונה) במקום מירכוז */
.sf-principles__img { place-items: start; }
/* רוחב התוכן תמיד זוגי (1280 ולא 1281 כשיש פס גלילה), כדי שכל מה שממורכז בתוכו יישב על פיקסל שלם */
@supports (width: round(1.5px, 1px)) {
  main .wrap, .sf-footer .wrap { padding-right: calc(100% - var(--side) - round(down, calc(100% - 2 * var(--side)), 2px)); }
}
@supports (left: round(1.5px, 1px)) {
  /* בורר הסימולציה: ממורכז בפיקסל שלם גם כשרוחב השורה אי-זוגי */
  .sim > .sim__toggle { align-self: flex-start; margin-left: round(down, calc((100% - 360px) / 2), 1px); }
  /* החץ של The Solution: ממורכז לגובה הכרטיס בפיקסל שלם */
  .sf-solution__arrow { top: round(down, calc(50% - 24px), 1px); }
}
/* כפתור ה-Play הגדול: במרווח שלם במקום מירכוז (615 − 64 = 551 → 275) */
.sim__big-play { place-items: start; }
.sim__big-play span { margin: 275px 0 0 441px; }                              /* מסך 946×615, כפתור 64 */
.sim__screen--mobile .sim__big-play span { margin: 281px 0 0 115px; }         /* מסך 283×615, כפתור 52 */

/* =========================================================
   Laptop (1260–1439): השוליים יורדים ל-40 והתוכן מצטמצם מ-1280 עד 1180.
   הרשתות גמישות, וב-1280 הן יוצאות בדיוק כמו ב-Desktop. כל העמודות בפיקסלים שלמים (round)
   ========================================================= */
@supports (width: round(1.5px, 1px)) {
  /* MVP Desktop Flow: 6 עמודות (כל כרטיס 2), 10 ביניהן */
  .sf-steps { grid-template-columns: repeat(5, round(down, calc((100% - 50px) / 6 + .01px), 1px)) 1fr;   /* .01: בלי שגיאת עיגול (1230/6 = 205 בדיוק) */ }
  /* כרטיסי ההסבר + Success Metrics: 2 עמודות שוות */
  .sf-notes--2, .sf-metrics__grid { grid-template-columns: round(down, calc((100% - 24px) / 2 + .01px), 1px) 1fr; }
  /* 3 עמודות: האמצעית זוגית, כך שהצדדיות שוות ושלמות (ב-1280: 411 | 410 | 411) */
  .sf-notes--3, .sf-phones { grid-template-columns: 1fr round(down, calc((100% - 48px) / 3 + .01px), 2px) 1fr; }
  /* הטלפון (246) ממורכז בעמודה שלו בפיקסל שלם */
  .sf-phone { padding-left: round(down, calc((100% - 236px - 2 * var(--frame)) / 2), 1px); }
  /* MVP Mobile Flow: הכרטיסים נשארים 256, רק הרווח ביניהם מצטמצם */
  .sf-msteps { column-gap: round(down, calc((100% - 1024px) / 3), 1px); }

  /* Simulation: שני המסכים מתכווצים יחד (946:283) לפי רוחב השורה, בפיקסלים שלמים; המסגרת נשארת 8 */
  .sim__screens { container-type: inline-size; }
  .sim__screen { height: round(down, calc((100cqw - 35px - 4 * var(--frame)) * 615 / 1229), 1px); }   /* רווח 35 + ארבע מסגרות */
  .sim__screen--desktop { width: round(down, calc((100cqw - 35px - 4 * var(--frame)) * 946 / 1229), 1px); }
  .sim__screen--mobile { width: round(down, calc((100cqw - 35px - 4 * var(--frame)) * 283 / 1229), 1px); }
  /* כפתור ה-Play ממורכז בפיקסל שלם בכל גודל */
  .sim__big-play span, .sim__screen--mobile .sim__big-play span { position: absolute; margin: 0; left: round(down, calc(50% - 32px), 1px); top: round(down, calc(50% - 32px), 1px); }
  .sim__screen--mobile .sim__big-play span { left: round(down, calc(50% - 26px), 1px); top: round(down, calc(50% - 26px), 1px); }

  /* View More Projects – RaviD.esign: התצוגה מתכווצת (באותו יחס) כשהחצי צר, הכרטיס נשאר 305 */
  /* כמו ב-Floral (באישור רביד): התצוגה והכרטיס ממורכזים בחצי, 38 ביניהם (מקצה המסגרת), בכל רוחב מסך */
  .sf-more__half--rd .sf-more__row {
    --w: min(323px, round(down, calc(100cqw - 385px), 1px));   /* תמיד 323 (כמו הטלפון של Floral), ממורכז; מתכווץ רק כשאין מקום – 385 = 16 + 10 (מסגרת) + 38 + 305 + 16 */
    justify-content: flex-start; gap: 43px;                     /* 38 + 5 של המסגרת */
    padding: 0 0 0 calc(round(down, calc((100cqw - var(--w) - 353px) / 2), 1px) + 5px);
  }
  .sf-more__half--rd { container-type: inline-size; }
  .sf-more__preview { --h: round(down, calc(var(--w) * 217 / 323), 1px); width: var(--w); height: var(--h); margin-top: round(down, calc(145px + (217px - var(--h)) / 2), 1px); }   /* ממורכז לגובה מול הכרטיס */
}
/* "COMING SOON..." מתכווץ יחד עם התצוגה (65% מהרוחב, כמו בדף הבית): 26 ב-323 */
@supports (width: 1cqw) {
  .sf-more__preview { container-type: inline-size; }
  .sf-more__soon span { font-size: 8.05cqw; line-height: 1.2; }
}

/* =========================================================
   Tablet (744–1259): שוליים 40 (כמו בדף הבית). מה שהיה זה לצד זה – אחד מתחת לשני,
   הטקסט באותו גודל, מדיה מתכווצת באותו יחס. המרווחים 96 / 48 נשארים
   ========================================================= */
@media (max-width: 1259px) {
  /* טקסט עם שבירות מכוונות: נשבר לפי הרוחב (השבירות של Desktop לא מתאימות לרוחב הזה) */
  main p.lines { white-space: normal; text-wrap: pretty; }   /* אותם מרווחים ושורות כל 32 כמו ב-Desktop */
  main p.lines br { display: none; }

  /* Project Overview + Snapshot: אחד מתחת לשני, הגובה לפי התוכן */
  .sf-overview { flex-direction: column; }
  .sf-card { width: auto; height: auto; flex: none; }
  .sf-btn { margin-top: 32px; }

  /* Simulation: מסך אחד בכל פעם; הבורר מחליף ביניהם */
  .sim__screen:not(.is-active) { display: none; }
  .sim__screens { justify-content: center; }
  .sim__screen--desktop { width: calc(100cqw - 2 * var(--frame)); height: round(down, calc((100cqw - 2 * var(--frame)) * 615 / 946), 1px); }
  /* שני המסכים באותו גובה (באישור רביד), כך שהדף לא קופץ במעבר; הטלפון ברוחב לפי היחס שלו */
  .sim__screen--mobile { height: round(down, calc((100cqw - 2 * var(--frame)) * 615 / 946), 1px); width: round(down, calc((100cqw - 2 * var(--frame)) * 283 / 946), 1px); }

  /* The Challenges: הכרטיסים והציטוט ברוחב מלא, Scenario מתחתם (רשימה אנכית ממורכזת) */
  .sf-problem { display: block; }
  .sf-pcard--problem { height: auto; }
  .sf-quote { height: auto; padding-block: 16px; }
  .sf-quote p { white-space: normal; text-align: center; }
  .sf-scenario-path { display: none; }
  /* Current Workflow בטאבלט ובמובייל: כמו כותרת הסקשן The Challenges – קו כתום משמאל, Inter Light 24, בצבע הכתום (באישור רביד) */
  .sf-scenario-title { position: static; display: flex; align-items: flex-start; gap: 16px; margin: 48px 0 0; writing-mode: horizontal-tb; transform: none; width: auto; text-align: left; font: 300 24px/29px "Inter:Light", sans-serif; color: var(--coral-text); white-space: normal; }
  .sf-scenario-title::before { content: ""; flex: none; width: 48px; height: 29px; background: url("../assets/img/sf/title-line-coral.svg") 0 0 / 100% 100% no-repeat; }
  .sf-scenario { margin: 24px auto 0; }

  /* The Opportunities: The Solution ברוחב מלא, החץ למטה, Design Principles ממורכז מתחת */
  .sf-solution { flex-direction: column; align-items: center; }
  .sf-scard { width: 100%; }
  .sf-solution__arrow { left: calc(50% - 24px); top: calc(100% + 24px); }
  @supports (left: round(1.5px, 1px)) { .sf-solution__arrow { left: round(down, calc(50% - 24px), 1px); top: calc(100% + 24px); } }
  .sf-solution__arrow img { transform: rotate(90deg); }
  .sf-principles { margin: 96px 0 0; padding-top: 0; }

  /* Primary Users: הדמויות אחת מתחת לשנייה; שלוש עמודות האינפוגרפיקה בגודל מלא (2 + 1, ממורכזות) */
  .sf-users__body { height: auto; }
  .sf-personas { height: auto; display: flex; flex-direction: column; gap: 24px; }
  .sf-persona { position: relative; left: auto; right: auto; width: auto; }
  /* האינפוגרפיקה: שלוש העמודות בשורה אחת, מתכווצות יחד (js/sf-fit.js) – הטקסטים נשארים בגודל המקורי (באישור רביד) */
  .sf-access { position: relative; width: 1018px; height: 562px; margin-top: 51px; left: 50%; margin-left: -509px; }
  .sf-access__col { top: 0; }
  .sf-access__col--2 { left: 349px; }
  .sf-access__col--3 { left: 699px; right: auto; }
  .sf-access__col h4, .sf-access__use, .sf-access__level { transform: scale(var(--fit-inv, 1)); transform-origin: 50% 0; }

  /* Wireframes: הכותרת במרכז הקולאז' המוקטן */
  .sf-wf__title, .sf-wf--mobile .sf-wf__title { top: calc(50% - 30px); }

  /* MVP Desktop Flow: 2 עמודות, הכרטיס החמישי ממורכז */
  .sf-steps { grid-template-columns: repeat(2, 1fr); grid-auto-rows: auto; }
  .sf-step, .sf-step:nth-child(4) { grid-column: auto; }
  .sf-step:nth-child(5) { grid-column: 1 / -1; justify-self: center; width: calc((100% - 10px) / 2); }
  .sf-step__img { height: auto; aspect-ratio: 370 / 240; }
  .sf-step__head { height: auto; min-height: 40px; gap: 16px; }   /* תווית ארוכה נשברת לשתי שורות */

  /* Key Screens: כרטיסי ההסבר בעמודה אחת */
  .sf-notes--2, .sf-notes--3, .sf-metrics__grid { grid-template-columns: 1fr; }

  /* MVP Mobile Flow: 2 עמודות ממורכזות (3 כשיש מקום – למטה) */
  .sf-msteps { grid-template-columns: repeat(2, 256px); justify-content: center; column-gap: 48px; }
  .sf-mstep:nth-child(5) { grid-column: auto; }

  /* Key Screens • Mobile: כל טלפון עם ההסבר שלו באותה שורה; החיבור – קו אופקי ועיגול על קצה הכרטיס */
  .sf-pairs { display: grid; grid-template-columns: 246px 1fr; column-gap: 89px; row-gap: 48px; margin-top: 32px; }
  .sf-pairs .sf-phones, .sf-pairs .sf-notes { display: contents; }
  .sf-phone { padding-left: 0; }
  .sf-phone:nth-child(1), .sf-pairs .sf-note:nth-child(1) { grid-row: 1; }
  .sf-phone:nth-child(2), .sf-pairs .sf-note:nth-child(2) { grid-row: 2; }
  .sf-phone:nth-child(3), .sf-pairs .sf-note:nth-child(3) { grid-row: 3; }
  .sf-phone { grid-column: 1; }
  .sf-pairs .sf-note { grid-column: 2; align-self: center; position: relative; }
  .sf-phone__link { display: none; }
  .sf-pairs .sf-note::before { content: ""; position: absolute; left: -89px; top: 50%; width: 85px; height: 1px; background: var(--card-line); }
  .sf-pairs .sf-note::after { content: ""; position: absolute; left: -5px; top: calc(50% - 4px); width: 9px; height: 9px; border-radius: 50%; background: var(--accent); }

  /* Success Metrics: העיגול ממורכז, הכרטיסים בעמודה אחת */
  .sf-north { margin-left: auto; margin-right: auto; }

  /* View More Projects: הפרויקטים אחד מתחת לשני, קו מקווקו גם ביניהם */
  .sf-more__band { grid-template-columns: 1fr; height: auto; }
  .sf-more__half { height: 508px; }
  .sf-more__band::after { left: 0; right: 0; top: 508px; bottom: auto; width: auto; height: 1px; background: repeating-linear-gradient(90deg, var(--ink) 0 8px, transparent 8px 16px); }

  /* פוטר: פרטי הקשר, ומתחת © */
  .sf-footer__row { flex-direction: column; align-items: flex-start; gap: 16px; }
  .sf-footer__links { order: -1; }   /* פרטי הקשר קודם, וזכויות היוצרים בשורה האחרונה (באישור רביד) */
}
@media (min-width: 900px) and (max-width: 1259px) {
  /* MVP Mobile Flow: 3 עמודות כשיש מקום */
  .sf-msteps { grid-template-columns: repeat(3, 256px); column-gap: round(down, calc((100% - 768px) / 2), 1px); }
}
/* IA בטאבלט צר: העץ מתכווץ כדי להיכנס, הטקסט נשאר קריא (12 בקופסאות, 18 בכותרות – באישור רביד).
   --ia-inv = 1 / ההקטנה (js/ia.js). הקופסה רחבה ב-6 וגבוהה מספיק לשתי שורות, ממורכזת על המקום המקורי */
.ia.is-compact .ia__box {
  --ia-boxh: max(56px, calc(34px * var(--ia-inv)));
  width: 140px; height: var(--ia-boxh);
  margin: calc((56px - var(--ia-boxh)) / 2) 0 0 -3px;
  padding: calc(3px * var(--ia-inv)) calc(2px * var(--ia-inv));
  font-size: calc(12px * var(--ia-inv)); line-height: calc(14px * var(--ia-inv));
  white-space: normal; overflow-wrap: break-word;
}
.ia.is-compact .ia__label { font-size: calc(18px * var(--ia-inv)); line-height: calc(22px * var(--ia-inv)); }
/* Project Issues + שורת התצוגות: קופסה גבוהה מעט יותר, השורה הקטנה 9 (נכנסת ברוחב הקופסה) */
.ia.is-compact .ia__box--views { --ia-boxh: max(56px, calc(45px * var(--ia-inv))); }
.ia.is-compact .ia__box--views small { margin-top: 0; font-size: calc(9px * var(--ia-inv)); line-height: calc(11px * var(--ia-inv)); white-space: nowrap; }

/* =========================================================
   Mobile (עד 743, עיצוב ב-375; נבדק ב-360/430): שוליים 20, גוף טקסט 16 (שורה 24), כמו בדף הבית.
   המרווחים באותו יחס 1:2 – 64 בין סקשנים, 32 מכותרת לתוכן, 24 בתוך בלוקים
   ========================================================= */
@media (max-width: 743px) {
  /* מרווחים */
  .sf-title--first { padding-block: 64px 32px; }
  .sf-sim > .sf-title { padding-block: 48px 32px; }
  .sf-overview { padding-top: 32px; gap: 16px; }
  .sf-title h2 { white-space: normal; }
  .sf-wf { margin-top: 64px; }
  .sf-key + .sf-key { margin-top: 64px; }
  .sf-crumbs, .sf-key__body, .sf-pairs, .sf-phones { margin-top: 24px; }
  .sf-key__intro { margin-top: 20px; }
  .sf-crumbs li { font-size: 14px; line-height: 20px; }

  /* טקסט */
  .sf-hero__sub { font-size: 16px; line-height: 20px; }
  .sf-card { padding: 24px 20px; }
  .sf-card__title, .sf-pcard__title { font-size: 20px; line-height: 24px; }
  .sf-overview__kicker { margin-top: 24px; font-size: 16px; line-height: 24px; }
  main p.lines, .sf-overview__desc, .sf-pcard__text, .sf-scard__text, .sf-gaps p { font-size: 16px; line-height: 24px; margin-block: 0; }
  main p.sf-overview__desc, main p.sf-pcard__text, main p.sf-scard__text { margin-top: 16px; }
  main .sf-gaps p.lines { margin-top: 8px; }
  .sf-gaps h4, .sf-pcard__lead { font-size: 16px; line-height: 22px; }
  .sf-key__title { font-size: 24px; line-height: 30px; }
  .sf-key__intro { font-size: 16px; line-height: 24px; margin-bottom: 0; }
  .sf-btn { height: 44px; }

  /* Snapshot: התווית מעל התגיות */
  .sf-snapshot { grid-template-columns: 1fr; row-gap: 8px; margin-top: 24px; }
  .sf-snapshot dd + dt { margin-top: 16px; }
  .sf-snapshot dt { font-size: 16px; line-height: 20px; }

  /* Simulation: כל מסך בגודל שלו (באישור רביד) – Desktop ברוחב מלא, הטלפון 220 */
  .sim__screen--mobile { width: 220px; height: 478px; }
  /* פינות המחשב קטנות יותר, קרוב ליחס של ה-Desktop (24 ב-956): 8 (באישור רביד) */
  .sim__screen--desktop { border-radius: 8px; }
  .sim__screen--mobile .sim__big-play span { left: 84px; top: 213px; }

  /* The Challenges */
  .sf-pcard { padding: 21px 17px; }
  .sf-gaps { margin-top: 24px; }
  .sf-gaps li { margin-left: 22px; }
  .sf-gaps li + li { margin-top: 24px; }
  .sf-pcard--gaps .sf-gaps { margin-top: 36px; }   /* כמו מתחת ל-THE PROBLEM במובייל */
  .sf-pcard--gaps .sf-gaps li + li { margin-top: 26px; }
  .sf-quote p { font-size: 16px; line-height: 22px; }
  .sf-scenario-title { margin-top: 40px; gap: 12px; font-size: 20px; }   /* כמו .sf-title במובייל */
  .sf-scenario-title::before { width: 32px; }

  /* The Opportunities: Design Principles 2×2 עם עיגולים 140 */
  .sf-scard { padding: 21px 17px; }
  .sf-scard .sf-gaps--solution { margin-top: 42px; }
  .sf-gaps--solution::before { top: -22px; }
  .sf-principles { width: 100%; margin: 88px 0 0; }
  .sf-principles__grid { grid-template-columns: 1fr 1fr; column-gap: 16px; margin-top: 24px; }
  .sf-principles .sf-principles__grid { margin-top: 24px; }
  .sf-principles__img { zoom: .8046; }   /* 174 → 140 */
  .sf-principles__grid h4 { font-size: 16px; line-height: 20px; }
  .sf-principles__grid p { font-size: 14px; line-height: 20px; white-space: normal; }

  /* Primary Users: כותרות הדמויות 14; עמודות האינפוגרפיקה אחת מתחת לשנייה בגודל מלא */
  .sf-persona h3 { font-size: 14px; }
  .sf-access { width: auto; height: auto; left: 0; margin: 40px 0 0; transform: none !important; margin-bottom: 0 !important; display: flex; flex-direction: column; align-items: center; gap: 40px; }
  .sf-access__col { position: relative; left: auto !important; right: auto; }
  .sf-access__col h4, .sf-access__use, .sf-access__level { transform: none; }

  /* MVP Desktop Flow: עמודה אחת */
  .sf-steps { grid-template-columns: 1fr; gap: 16px; }
  .sf-step:nth-child(5) { grid-column: auto; width: auto; justify-self: stretch; }
  .sf-step { padding: 21px 17px; }
  .sf-step__label, .sf-mstep__label { font-size: 20px; line-height: 24px; }
  .sf-step__title { margin-top: 24px; font-size: 18px; line-height: 22px; }
  .sf-step__text { margin-top: 8px; }

  /* MVP Mobile Flow: קרוסלה אופקית (באישור רביד) – כרטיס אחד וחלק מהבא, גלילה עם הצמדה לכרטיס */
  .sf-msteps {
    display: flex; justify-content: flex-start; gap: 16px;
    margin-inline: -20px; padding: 0 20px 18px;
    overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: 20px;
    scrollbar-width: none;
  }
  .sf-msteps::-webkit-scrollbar { display: none; }
  .sf-mstep { flex: 0 0 256px; scroll-snap-align: start; }

  /* Key Screens • Mobile: טלפון, קו אנכי ועיגול, ומתחת ההסבר */
  .sf-pairs { grid-template-columns: 1fr; column-gap: 0; row-gap: 0; }
  .sf-phone { justify-self: center; }
  .sf-phone:nth-child(1) { grid-row: 1; }
  .sf-pairs .sf-note:nth-child(1) { grid-row: 2; }
  .sf-phone:nth-child(2) { grid-row: 3; margin-top: 48px; }
  .sf-pairs .sf-note:nth-child(2) { grid-row: 4; }
  .sf-phone:nth-child(3) { grid-row: 5; margin-top: 48px; }
  .sf-pairs .sf-note:nth-child(3) { grid-row: 6; }
  .sf-pairs .sf-note { grid-column: 1; margin-top: 64px; }
  .sf-pairs .sf-note::before { left: calc(50% - 1px); top: -64px; width: 1px; height: 60px; }
  .sf-pairs .sf-note::after { left: calc(50% - 5px); top: -5px; }

  /* Key Screens: הסברים 16 */
  .sf-note p, .sf-metric__text { font-size: 14px; line-height: 21px; }

  /* Success Metrics: ה-North Star בכרטיס (העיגול לא נכנס ב-335); בכרטיסים האייקון (80) מעל הטקסט */
  .sf-north { width: auto; height: auto; margin: 40px 0 0; padding: 32px 20px; border-radius: 16px; background: var(--bg); box-shadow: inset 0 0 0 1.5px var(--card-line); }
  .sf-north__bg { display: none; }
  .sf-north__body { position: static; width: auto; }
  .sf-north__title { white-space: normal; font-size: 18px; line-height: 22px; }
  .sf-north__desc { width: auto; }
  .sf-metrics__sub { margin-top: 32px; font-size: 18px; }
  .sf-metrics__grid { margin-top: 24px; gap: 16px; }
  .sf-metric { flex-direction: column; align-items: flex-start; gap: 16px; min-height: 0; padding: 24px 20px; }
  .sf-metric > img { width: 80px; height: 80px; margin-left: -12px; }
  .sf-metric .sf-metric__text { max-width: none; }
  .sf-metric__title { font-size: 18px; line-height: 22px; }

  /* View More Projects: בכל פרויקט המסך מעל הכרטיס */
  .sf-more__row, .sf-more__half--floral .sf-more__row, .sf-more__half--rd .sf-more__row { flex-direction: column; align-items: center; gap: 24px; padding: 48px 20px 72px; }   /* 72 מתחת: מקום לכפתור העצירה */
  .sf-more__phone, .sf-more__card, .sf-more__preview { margin-top: 0; }
  .sf-more__half--rd .sf-more__row { --w: min(323px, round(down, calc(100cqw - 50px), 1px)); }
  .sf-more__card { width: 100%; max-width: 305px; height: auto; gap: 24px; }
  .sf-more__btn { height: 44px; }
  .sf-more__band::after { display: none; }   /* הקו בין הפרויקטים – בראש החצי השני (הגובה משתנה) */
  .sf-more__half--rd::after { content: ""; position: absolute; z-index: 3; left: 0; right: 0; top: 0; height: 1px; background: repeating-linear-gradient(90deg, var(--ink) 0 8px, transparent 8px 16px); }

  /* פוטר */
  .sf-footer { padding-block: 48px 24px; }
  .sf-footer__links { flex-wrap: wrap; gap: 12px 20px; }
  /* טלפון, מייל ו-My Profile: כולם בשורה אחת כשיש מקום (בערך 500), אחרת כל אחד בשורה משלו – לא 2+1 (באישור רביד) */
  .sf-footer__row { container-type: inline-size; }
  @container (max-width: 539px) { .sf-footer__links { flex-direction: column; } }
  .sf-footer__links li { font-size: 14px; line-height: 20px; }
  .sf-footer__copy { font-size: 12px; line-height: 20px; }
}

/* ===== Mobile: IA – העץ כתמונה מוקטנת עם כפתור הגדלה (באישור רביד: ההגדלה מספיקה, בלי רשימה מתחת; הרשימה נשארת לקורא מסך) ===== */
.sf-expand { display: none; }
@media (max-width: 743px) {
  .ia { height: auto !important; display: flex; flex-direction: column; }
  .ia__toggle { position: static; order: 1; align-self: center; }
  .ia__dash { position: static; order: 2; height: 0; margin: 0 var(--side); }   /* בלי הקו: בלי גובה ורווח, כך שהמקרא 24 מתחת לבורר */
  .ia__legend { position: static; order: 3; flex-wrap: wrap; gap: 8px 16px; margin-top: 24px; padding-inline: var(--side); }
  .ia__scroll { position: relative; inset: auto; order: 4; margin: 24px var(--side) 0; pointer-events: auto; }
  .ia__stage { left: 0 !important; pointer-events: none; }
  .ia__label { font-size: 24px; }

  /* כפתור הגדלה: כמו כפתור העצירה של הסרטונים (עיגול 32, אזור לחיצה 44) */
  .sf-expand {
    display: grid; place-items: center;
    position: absolute; z-index: 2; right: 12px; bottom: 12px;
    width: 32px; height: 32px; padding: 0; border: 0; border-radius: 50%;
    background: rgba(245, 247, 254, .75);
    -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
    box-shadow: 0 0 0 1px var(--card-line);
    color: var(--ink);
  }
  .sf-expand::before { content: ""; position: absolute; inset: -6px; }
  .sf-expand svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
  .ia__scroll .sf-expand { right: 0; bottom: 0; box-shadow: inset 0 0 0 1px var(--card-line); }   /* צמוד לפינה של אזור עם overflow:hidden – המסגרת פנימית כדי שלא תיחתך */
}

/* חלון הגדלה (מסך מלא): התמונה בגודל קריא, גוללים לכל הכיוונים; סגירה בכפתור / Esc */
.sf-viewer { position: fixed; inset: 0; z-index: 1000; display: flex; flex-direction: column; background: var(--bg); }
.sf-viewer__bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; height: 56px; padding: 0 12px 0 20px; box-shadow: 0 1px 0 var(--card-line); font: 600 16px/20px "Inter:Semi Bold", sans-serif; color: var(--ink); }
.sf-viewer__close { position: relative; flex: none; display: grid; place-items: center; width: 40px; height: 40px; padding: 0; border: 0; border-radius: 50%; background: rgba(211, 219, 247, .6); color: var(--ink); }   /* flex: none – כשהכותרת בשתי שורות העיגול נמחץ לאליפסה (רביד); 40 כמו הזכוכיות המגדלת */
.sf-viewer__close::before { content: ""; position: absolute; inset: -2px; }   /* אזור לחיצה 44 */
.sf-viewer__close svg { width: 16px; height: 16px; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.sf-viewer__scroll { flex: 1; overflow: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; }
.sf-viewer__canvas { position: relative; margin: 16px; }
.sf-viewer__canvas > * { position: absolute !important; left: 0 !important; top: 0 !important; margin: 0 !important; transform-origin: 0 0 !important; }
html.sf-viewer-open { overflow: hidden; }
@media (max-width: 743px) {
  /* בוררים: 2×160, גובה 44 למגע; במסך צר מ-360 מתכווצים לרוחב התוכן (בין השוליים) */
  :root { --tab-w: min(160px, round(down, calc((100vw - 2 * var(--side-min)) / 2), 1px)); }
  .sim__tab { width: var(--tab-w); height: 44px; }
  @supports (left: round(1.5px, 1px)) {
    .sim > .sim__toggle { margin-left: round(down, calc((100% - 2 * var(--tab-w)) / 2), 1px); }
    .ia__toggle { align-self: flex-start; margin-left: round(down, calc((100% - 2 * var(--tab-w)) / 2), 1px); }   /* בלי חצי פיקסל */
  }
}
@media (max-width: 743px) {
  .sf-ia__title { padding-top: 64px; }
  .ia__toggle { margin-top: 32px; }
}
/* חלון ההגדלה: שורת כלים – זכוכיות מגדלת −/+ מימין */
.sf-viewer__tools { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 12px 12px 16px; box-shadow: 0 1px 0 var(--card-line); }
.sf-viewer__zoom { display: flex; gap: 8px; margin-left: auto; }
.sf-viewer__btn { position: relative; display: grid; place-items: center; width: 40px; height: 40px; padding: 0; border: 0; border-radius: 50%; background: rgba(211, 219, 247, .6); color: var(--ink); }
.sf-viewer__btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.sf-viewer__btn:disabled { opacity: .4; }
@media (max-width: 743px) {
  /* Hero: השם 32 והשורה 16 (מדרגות של 8), ממורכזים לגובה התמונה (באישור רביד) */
  .sf-hero__text { padding: 0 20px; height: 100%; justify-content: center; gap: 16px; }
  .sf-hero__name { font-size: 32px; line-height: 40px; }
  .sf-hero__sub { margin-block: 0; }
  /* Wireframes: הכותרת 32 (נכנסת ב-335), במרכז הקולאז' */
  .sf-wf__title, .sf-wf--mobile .sf-wf__title { top: calc(50% - 20px); font-size: 32px; line-height: 40px; }
}
@media (max-width: 743px) {
  /* View More Projects: שני הפרויקטים באותו גובה – כמעט מסך מלא, כך שמציץ 64 מהפרויקט הבא/הקודם (כמו בדף הבית); התוכן ממורכז */
  .sf-more__half { height: max(720px, calc(100svh - 64px)); }
  .sf-more__row, .sf-more__half--floral .sf-more__row, .sf-more__half--rd .sf-more__row { justify-content: center; height: 100%; padding-block: 24px 56px; }
}
@media (max-width: 743px) {
  /* © ממורכז לשורה הראשונה (24 מול שורה של 20), גם כשהטקסט נשבר לשתי שורות */
  .sf-footer__copy { align-items: flex-start; }
  .sf-footer__copy img { margin-top: -2px; }
}
@media (max-width: 743px) { .sf-hero__sub { gap: 8px; } }

/* מסכים צרים מ-375 בלבד: רווח 4 בין אייקון ה-© לטקסט, כדי שהפוטר יישאר בשורה אחת */
@media (max-width: 374px) { .sf-footer__copy { gap: 4px; } }

/* Simulation: הרקע מאחורי הסרטון בצבע המסגרת, לכן בזמן טעינה המשטח כאן אטום (בהיר, כמו בשאר האתר) ובלי fade – כדי שלא יבצבץ סגול כהה */
html.ph .sim__screen video:not(.ph-done) { background-color: color-mix(in srgb, var(--ink) 7%, var(--bg)); }
.sim__screen video.ph-fade { animation: none; }

/* כפתור Overview "View Process Presentation" רחב 234; במסכים צרים (320) יש בכרטיס רק 224 – מתחת ל-360 ריפוד 16 → 8 כדי שיישאר בשורה אחת */
@media (max-width: 359px) { .sf-btn { padding: 0 8px; } }

/* מסכים צרים מ-360 (320): שום טקסט לא נחתך בקצה */
@media (max-width: 359px) {
  /* Primary Users: כותרת ארוכה (DESIGNER & PLANNING TEAM) יורדת לשורה שנייה; הכותרת והמשפט ממורכזים לגובה האוואטר */
  .sf-persona { display: flex; flex-direction: column; justify-content: center; min-height: 80px; height: auto; padding-left: 99px; }
  .sf-persona h3, .sf-persona p { position: static; }
  .sf-persona h3 { white-space: normal; text-wrap: balance; }
  .sf-persona p { margin-top: 8px; }
  /* Wireframe • Desktop / Mobile: 32 רחב מ-320 → 24 */
  .sf-wf__title, .sf-wf--mobile .sf-wf__title { top: calc(50% - 16px); font-size: 24px; line-height: 32px; }
}

/* ===== Simulation – Focus Stage (רק מ-1260, כששני המסכים גלויים) =====
   המסך הפעיל או זה שמרחפים עליו בגודל המקורי ועולה עם צל עמוק; הלא פעיל קטן ב-32 בגובה (5%, באישור רביד) ומטושטש קלות,
   כפתור ה-Play עליו נשאר חד. --s-rest מחושב ב-js/simulation.js לפי הגובה בפועל.
   הבורר: הרקע של הכפתור הנבחר מחליק בין Desktop ל-Mobile באותה תנועה */
@media (min-width: 1260px) {
  [data-sim] .sim__screen {
    transform: scale(var(--s-rest, 1));
    transition: transform .5s cubic-bezier(.2, .7, .2, 1), box-shadow .5s ease;
  }
  [data-sim] .sim__screen.is-active { transform: translateY(-4px); box-shadow: var(--shadow); }
  [data-sim] .sim__screen video { transition: filter .5s ease; }
  [data-sim] .sim__screen:not(.is-active) video { filter: blur(1.5px); }
  @media (any-hover: hover) {
    [data-sim] .sim__screen:not(.is-active):hover { transform: none; }
    [data-sim] .sim__screen:not(.is-active):hover video { filter: none; }
  }
}
[data-sim] > .sim__toggle { position: relative; isolation: isolate; }
[data-sim] > .sim__toggle::before {
  content: ""; position: absolute; z-index: -1; top: 0; bottom: 0; left: 0; width: 50%;
  background: var(--accent);
  transition: transform .5s cubic-bezier(.2, .7, .2, 1);
}
[data-sim] > .sim__toggle:has([data-device="mobile"][aria-pressed="true"])::before { transform: translateX(100%); }
[data-sim] > .sim__toggle .sim__tab[aria-pressed="true"] { background-color: transparent; }
@media (prefers-reduced-motion: reduce) {
  [data-sim] .sim__screen, [data-sim] > .sim__toggle::before { transition: none; }
}

/* =========================================================
   STEP (רביד, אחרי הערות מנטורים על ההיררכיה ב-Key Screens): אותה תווית בכרטיסי ה-MVP Flow וב-Key Screens,
   כך שברור ש"Step 3 of 5" ב-Key Screens הוא הכרטיס השלישי במסלול שמעל.
   כרטיסי ה-Flow: המספר בעיגול הפך לתווית "STEP 1" באותו מקום (מחשב: מימין לשם המסך; מובייל: על הקצה התחתון של הכרטיס).
   Key Screens: שם המסך + התווית ← המשפט (צמוד לכותרת) ← המסלול, קטן ושקט (14, עם חצים במקום נקודות, כל חץ צמוד למילה שלפניו)
   ========================================================= */
.sf-step__num, .sf-mstep__num, .sf-key__step {
  display: inline-grid; place-items: center;
  width: auto; height: 32px; padding: 0 14px; border-radius: 16px;
  background: #E5E9F8; color: var(--ink);
  font: 600 14px/18px "Inter:Semi Bold", sans-serif; letter-spacing: 0; text-transform: none; white-space: nowrap;   /* בלי CAPS (רביד, 22.11.2026) */
}
.sf-step__num { flex: none; }
.sf-mstep__num { left: calc(50% - 44px); bottom: -16px; width: 88px; padding: 0; }   /* רוחב קבוע וזוגי: ממורכז על פיקסל שלם */
.sf-msteps { padding-bottom: 16px; row-gap: 80px; }   /* התווית בולטת 16 מתחת לכרטיס (העיגול בלט 18): עדיין 64 ממנה לשורת הכרטיסים הבאה */
.sf-key__head { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; }
.sf-key__intro { margin: 12px 0 -4px; }                 /* 16 מהכותרת למשפט (12 + 4 של גובה השורה) */
.sf-crumbs { gap: 4px 8px; margin-top: 16px; }           /* 12 מהמשפט למסלול */
.sf-crumbs li { gap: 8px; font: 500 14px/20px "Inter:Medium", sans-serif; }
.sf-crumbs li + li::before { content: none; }
.sf-crumbs li:not(:last-child)::after { content: "›"; font: 400 16px/20px "Inter:Regular", sans-serif; color: #677286; }
@media (max-width: 743px) {
  .sf-key__intro { margin-top: 12px; }
  .sf-crumbs { margin-top: 12px; }
}

/* =========================================================
   Primary Users & Information Access – תיקון קל (רביד, אחרי הערת מנטור שהגרפיקה והמסר לא ברורים):
   משפט פתיחה שמסביר מה רואים ואיך קוראים את הסרגל · שורת צורך לכל קבוצה.
   הדמויות: שלוש שורות בגובה האוואטר (80) – שם, מיקום, צורך – בלי לשנות את גובה השורה או את מיקום האינפוגרפיקה
   ========================================================= */
.sf-users__intro { margin: -4px 0; font: 400 20px/32px "Inter:Regular", sans-serif; }   /* כל משפט בשורה משלו (רביד): בלי שבירה באמצע משפט */
.sf-users__intro { margin-bottom: 44px; }      /* 48 עד הדמויות */
.sf-persona h3 { top: 4px; }
.sf-persona p { top: 30px; }
.sf-persona p.sf-persona__need { top: 56px; font: 400 14px/18px "Inter:Regular", sans-serif; color: var(--ink); }
@media (max-width: 743px) {
  .sf-users__intro { margin-block: 0; font-size: 16px; line-height: 24px; }
  .sf-users__intro { margin-bottom: 32px; }
}
@media (max-width: 359px) {
  .sf-persona p.sf-persona__need { margin-top: 4px; white-space: normal; }
}
/* מובייל: הטקסט של כל קבוצה בזרימה רגילה (לא ממוקם), כדי ששורת הצורך תוכל להישבר לשתי שורות בלי לעלות על הקבוצה הבאה */
@media (max-width: 743px) {
  .sf-persona { display: flex; flex-direction: column; justify-content: center; min-height: 80px; height: auto; padding-left: 99px; }
  .sf-persona h3, .sf-persona p { position: static; }
  .sf-persona p { margin-top: 6px; }
  .sf-persona p.sf-persona__need { margin-top: 6px; white-space: normal; }
}
/* טאבלט ומובייל: המשפט הראשון לא נכנס בשורה אחת, אז השבירה היזומה יורדת והדפדפן מאזן את השורות */
@media (max-width: 1259px) {
  .sf-users__intro { text-wrap: pretty; }
  .sf-users__intro br { display: none; }
}

/* ================= מרווח בין פרקים (באישור רביד, 22.11.2026) =================
   160 בדסקטופ ו-96 בטלפון בין כל שני פרקים (קודם 96 / 64), כדי שכל פרק ייקרא כיחידה נפרדת.
   המרווחים בתוך הפרקים לא השתנו. The Product הוא פרק 01 עם כותרת גלויה */
main > section:is(.sf-challenges, .sf-opps, .sf-feat, .sf-users, .sf-ia, .sf-flow, .sf-keys, .sf-metrics, .sf-more) { margin-top: 64px; }
main > section.sf-wf { margin-top: 160px; }
main > section.sf-sim { padding-top: 0; margin-top: 96px; }
@media (max-width: 743px) {
  main > section:is(.sf-challenges, .sf-opps, .sf-feat, .sf-users, .sf-ia, .sf-flow, .sf-keys, .sf-metrics, .sf-more) { margin-top: 32px; }
  main > section.sf-wf { margin-top: 96px; }
  main > section.sf-sim { margin-top: 48px; }
}

/* ================= Key Features – הצצות (באישור רביד, 23.11.2026) =================
   שניים בשורה. בכל במה 2–3 גזירי מסך (מובייל + דסקטופ) עם קו מקווקו מסביב וסימון מכשיר בפינה.
   המיקומים באחוזים מבמה של 624×405, כך שהכל מתכווץ יחד. בטלפון – רק הגזיר הראשי, ברוחב מלא */
.sf-feat > .wrap { padding-top: 96px; }
.sf-feat__head { max-width: 760px; }
.kf { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 56px 32px; margin: 48px 0 0; padding: 0; list-style: none; }
.kf > li { display: flex; flex-direction: column; gap: 20px; }
.kf-peek { position: relative; aspect-ratio: 624 / 405; border-radius: 8px; background: rgba(211, 219, 247, .3); }
.kf-frag { position: absolute; margin: 0; }
.kf-clip { display: block; margin: 1px; overflow: hidden; border-radius: 7px; }
.kf-clip img { display: block; width: 100%; height: auto; }
.kf-frag .sf-dash rect { x: .5px; y: .5px; width: calc(100% - 1px); height: calc(100% - 1px); stroke: #B4C0EE; stroke-width: 1; stroke-dasharray: 6 4; }   /* קו המתאר של הגזיר */
.kf-badge { position: absolute; left: -12px; top: -12px; z-index: 1; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: #fff; box-shadow: inset 0 0 0 1px var(--card-line); }   /* סימון מכשיר קבוע: טלפון בכתום של השטח, מחשב בכחול של המשרד */
.kf-badge svg { width: 16px; height: 16px; fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.kf-badge--m svg { stroke: var(--coral-text); }
.kf-badge--d svg { stroke: var(--accent); }
.kf-t { max-width: 520px; }
.kf-t h3 { margin: 0; font: 600 20px/28px "Inter:Semi Bold", sans-serif; color: var(--ink); }
.kf-t p { margin-top: 8px; font: 400 16px/24px "Inter:Regular", sans-serif; color: #677286; text-wrap: pretty; }
@media (max-width: 999px) { .kf { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 743px) {
  .sf-feat > .wrap { padding-top: 64px; }
  .kf { gap: 40px; margin-top: 32px; }
  .kf > li { gap: 16px; }
  .kf-peek { aspect-ratio: auto; padding: 20px; }
  .kf-frag { display: none; }
  .kf-frag--main { display: block; position: relative; left: auto !important; top: auto !important; width: 100% !important; }
  .kf-t h3 { font-size: 16px; line-height: 24px; }
}

/* ================= שתי רמות כותרת ב-02 וב-03 (באישור רביד, 23.11.2026) =================
   כותרת הפרק לרוחב, ומתחתיה שתי כותרות משנה באותו קו (The Problem + Key Gaps, The Solution + Design Principles).
   כותרות המשנה ב-18/24 – גדולות מתווית הפרק (16) וקטנות משמות הפריטים (20). תווית 02 בכחול כמו כל שאר הפרקים */
.sf-ch__head, .sf-op2__head { padding-top: 96px; }
.sf-ch__top, .sf-op2__grid { padding-top: 32px; }
.sf-ch__main > .sf-ch__title { margin-top: 12px; }
.sf-ch__main > h3.sf-ch__label, .sf-ch__gaps > h3.sf-ch__label,
.sf-op2__main > h3.sf-op2__label, .sf-op2__side > h3.sf-op2__label { font-size: 18px; line-height: 24px; }
#challenges-title, #challenges-title .sf-num { color: var(--accent); }
@media (max-width: 743px) {
  .sf-ch__head, .sf-op2__head { padding-top: 64px; }
  .sf-ch__top, .sf-op2__grid { padding-top: 32px; }
}

/* ================= מסך ראשון בלפטופ (באישור רביד, 23.11.2026) =================
   כשגובה החלון קטן מ-880: ההירו מתקצר לפי הגובה (לא פחות מ-224), כך שכל ה-Project Overview וה-Snapshot
   נכנסים במסך הראשון – בכל MacBook ובלפטופים הנפוצים. בגובה 880 ומעלה שום דבר לא משתנה.
   בהירו הנמוך – חיתוך לכל סצנה (js/sf-hero-scenes.js): סצנה 1 והתמונה שנשארת בסוף – ידיים ותוכניות; השאר ממורכז */
@media (min-width: 1000px) and (max-height: 879px) {
  .sf-hero { height: max(224px, calc(100svh - 432px)); }
  .sf-overview.sf-overview--a { padding-top: 48px; }
  .sf-hero__video[data-scene="1"] { object-position: 50% 80%; }
}
/* גובה מתחת ל-700: ה-Overview מתהדק מעט – אותו תוכן ואותם גדלי טקסט, רק פחות אוויר בין השורות */
@media (min-width: 1000px) and (max-height: 699px) {
  .sf-hero { height: max(224px, calc(100svh - 384px)); }
  .sf-overview.sf-overview--a { padding-top: 32px; }
  .sf-ov__title { margin-top: 12px; }
  .sf-ov__desc { margin-top: 16px; }
  .sf-ov__link { margin: 16px 0 16px; }
  .sf-who { padding-top: 8px; }
  .sf-ov__meta dl > div { padding: 12px 0; }
}
/* StudioFlow + PRODUCT • UX/UI DESIGN תמיד ממורכזים בין תחתית כפתורי ההדר (56, בטלפון 50) לתחתית הסרטון,
   לפי האותיות עצמן: מראש הנקודה של ה-i ועד תחתית האותיות בשורה שמתחת. המרווח בין השורות כמו קודם */
.sf-hero__text { height: 100%; justify-content: center; padding-top: 54px; padding-bottom: 0; }
@media (max-width: 743px) { .sf-hero__text { padding-top: 50px; } }
@supports (text-box: trim-both cap alphabetic) {
  .sf-hero__name { text-box: trim-both cap alphabetic; }
  /* השורה שמתחת היא flex, ושם text-box לא חל – החיתוך ב-margin שלילי לפי המדידה */
  .sf-hero__sub { margin-block: -2px -4px; }
  .sf-hero__text { padding-top: 62.2px; gap: 27px; }   /* הנקודה של ה-i עולה 7 מעל קו האותיות הגדולות */
  @media (max-width: 743px) { .sf-hero__text { padding-top: 53px; gap: 23px; } .sf-hero__sub { margin-block: -4px -4px; } }
}
/* Users: הפיצול של "Needs to…" לשתי שורות – רק במחשב ובלפטופ (שלושת התפקידים בשורה). בטאבלט ובטלפון שורה רגילה (רביד, 23.11) */
@media (max-width: 1199px) { .sf-us__need br { display: none; } }
/* Users: מסגרת מקווקות עדינה סביב Site ו-Office – באותו קו כמו הקו האופקי, פינות 8, ריווח 12 (רביד, 23.11).
   הרקע בצבע הדף, כך שהקו נעצר בקצה המסגרת */
.sf-us__end, .sf-us__end--office { padding: 12px; border: 1.5px dashed var(--card-line); border-radius: 8px; background: var(--bg); }
@media (max-width: 1199px) {
  /* קו אנכי: המסגרת עוטפת רק את התוכן, והאייקון נשאר על הקו ובמרכז העיגולים של התפקידים */
  .sf-us__end, .sf-us__end--office { padding: 12px; margin-left: -5.5px; background: var(--bg); align-self: flex-start; }
}
/* שלושת התפקידים מתכנסים פנימה (96 → 184), כדי ש-Designer & Planning Team לא ייכנס לתחום של מסגרת Office (רביד, 23.11) */
@media (min-width: 1200px) { .sf-us__people { padding: 0 190px 0 178px; } }   /* מסגרת Office רחבה ב-12 מ-Site: הימין גדול ב-12, כך שהקו מכל מסגרת עד העיגול הקרוב שווה באורכו */
/* לפטופ צר (1200–1439): פחות כניסה ופחות רווח בין העמודות, כדי ששמות התפקידים יישארו בשורה אחת */
@media (min-width: 1200px) and (max-width: 1439px) { .sf-us__people { padding: 0 181px 0 169px; column-gap: 16px; } }   /* השורה בין שתי המסגרות: Site רחבה 145, Office רחבה 157, ועוד 24 מכל מסגרת */
@media (min-width: 1200px) and (max-width: 1279px) { .sf-us__people { padding: 0 177px 0 165px; column-gap: 8px; } }   /* 1200–1279: עוד קצת רוחב לעמודות, כדי ש-Designer & Planning Team יישאר בשורה אחת */
/* הגרסה הצרה: המסגרות ברוחב עד סוף "…on plan and on time" (js/sf-users-fit.js); 5.5 = הבליטה שמאלה של המסגרת */
@media (max-width: 1199px) { .sf-us__end, .sf-us__end--office { width: calc(var(--us-end, auto) + 5.5px); } }

/* ================= Success Metrics (באישור רביד, 23.11.2026) =================
   פרק 05: North Star במרכז, ארבעת המדדים התומכים סביבו ומחוברים אליו בקו מקווקו. בשפה של 02–04 */
.sf-mx__head { padding-top: 96px; }
.sf-mx__intro { margin-top: 20px; max-width: 640px; font: 400 20px/32px "Inter:Regular", sans-serif; color: var(--ink); }
.sf-mx2__body { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr); grid-template-areas: "a n b" "c n d"; gap: 16px 56px; padding-top: 40px; }
.sf-mx2__cards { display: contents; }
.sf-mx2__cards li { position: relative; list-style: none; padding: 24px; border-radius: 8px; background: rgba(255, 255, 255, .55); box-shadow: inset 0 0 0 1px var(--card-line); }
.sf-mx2__cards li:nth-child(1) { grid-area: a; }
.sf-mx2__cards li:nth-child(2) { grid-area: b; }
.sf-mx2__cards li:nth-child(3) { grid-area: c; }
.sf-mx2__cards li:nth-child(4) { grid-area: d; }
.sf-mx2__cards h4 { margin: 0; font: 600 18px/24px "Inter:Semi Bold", sans-serif; color: var(--ink); }
.sf-mx2__cards p { margin-top: 8px; font: 400 16px/24px "Inter:Regular", sans-serif; color: #677286; text-wrap: pretty; }
/* הקו מכל כרטיס אל ה-North Star: לאורך הרווח בין העמודות, בגובה מרכז הכרטיס */
.sf-mx2__cards li::after { content: ""; position: absolute; top: 50%; width: 56px; border-top: 1.5px dashed var(--card-line); }
.sf-mx2__cards li:nth-child(odd)::after { left: 100%; }
.sf-mx2__cards li:nth-child(even)::after { right: 100%; }
.sf-mx2__north { grid-area: n; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; padding: 32px; border-radius: 8px; background: rgba(211, 219, 247, .3); box-shadow: inset 0 0 0 1px var(--card-line); }
.sf-mx2__star { display: block; width: 56px; height: 56px; }
.sf-mx2__star img { display: block; width: 100%; height: 100%; }
.sf-mx2__kind { margin: 16px 0 0; font: 600 16px/24px "Inter:Semi Bold", sans-serif; color: var(--accent); }
.sf-mx2__north h3 { margin: 8px 0 0; font: 600 24px/32px "Inter:Semi Bold", sans-serif; color: var(--ink); text-wrap: balance; }
.sf-mx2__north div p { margin-top: 12px; font: 400 16px/24px "Inter:Regular", sans-serif; color: #677286; text-wrap: balance; }
/* צר: North Star למעלה, ארבעת המדדים מתחתיו בשתי עמודות, וקו אנכי אחד שיורד מה-North Star ביניהם */
@media (max-width: 1279px) {
  .sf-mx2__body { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-areas: "n n" "a b" "c d"; gap: 16px; }
  .sf-mx2__cards li::after { display: none; }
}
@media (max-width: 743px) {
  .sf-mx2__body { grid-template-columns: minmax(0, 1fr); grid-template-areas: "n" "a" "b" "c" "d"; gap: 12px; padding-top: 32px; }
  .sf-mx2__north { padding: 24px; }
  .sf-mx2__north h3 { font-size: 20px; line-height: 28px; }
  .sf-mx2__cards li { padding: 20px; }
  .sf-mx2__cards h4 { font-size: 16px; }
}
@media (max-width: 743px) { .sf-mx__head { padding-top: 64px; } .sf-mx__intro { font-size: 16px; line-height: 24px; } }

/* Key Features: מקרא לתגים (באישור רביד, 23.11.2026) – מימין, בגובה השורה האחרונה של הכותרת, בלי להוסיף גובה */
.kf-legend { display: flex; justify-content: flex-end; gap: 24px; margin: -28px 0 0; padding: 0; list-style: none; }
.kf-legend li { display: flex; align-items: center; gap: 8px; font: 400 16px/28px "Inter:Regular", sans-serif; color: #677286; }
.kf-legend .kf-badge { position: static; }
@media (max-width: 999px) { .kf-legend { justify-content: flex-start; margin-top: 24px; } }   /* בעמודה אחת המקרא יורד מתחת לכותרת */
/* בטלפון מוצגים רק גזירי המובייל – לכן רק Mobile App במקרא */
@media (max-width: 743px) { .kf-legend li.kf-legend__d { display: none; } }
/* כותרת Key Features: השבירה אחרי הפסיק – שורה ראשונה ארוכה, שנייה קצרה (רביד, 23.11). 840 כדי ש-"…the same issues," ייכנס בשורה הראשונה */
.sf-feat__head { max-width: 840px; }
.sf-feat__head .sf-ch__title { text-wrap: wrap; }
/* The Solution: המשפט בשתי שורות (רביד, 23.11) – רחב ב-24 מהעמודה, ועדיין 72+ מהחץ שבין העמודות. מתחת ל-1280 העמודה צרה מדי – נשאר בשלוש שורות */
@media (min-width: 1280px) {
  .sf-op2__main > .sf-ch__title { width: 616px; max-width: none; text-wrap: balance; }
  .sf-op2__main > .sf-op2__list { width: 613px; }   /* הקווים נגמרים בקצה הנקודה של המשפט (נמדד: 613.4) */
}

/* Design Decisions – כרטיסים (באישור רביד, 23.11.2026): שם ההזדמנות כתווית כחולה מעל, הכותרת היא ההחלטה, ומתחת מה שרואים במסך */
.kf-t { max-width: none; }
.kf-t p.kf-t__label { margin: 0 0 6px; font: 600 14px/20px "Inter:Semi Bold", sans-serif; color: var(--accent); }
.kf-t h3, .kf-t p:not(.kf-t__label) { text-wrap: balance; }
