/* MARK&CO · style.css
   כל הצבעים, הגדלים והתנועה מגיעים מ tokens.css.
   הדף נבנה בשתי שכבות:
   1. ברירת המחדל היא גרסה סטטית מלאה. כך הוא נראה בלי סקריפט, ובמצב «בלי תנועה».
   2. כשיש על html את המחלקה motion, המקטעים הופכים לבמות דבוקות שמתקדמות עם הגלילה. */

:root {
  --header-h: 3.75rem;                 /* 60 בנייד */
  --stage-pad-bottom: var(--sp-8);     /* מקום לרמז הגלילה */
  --r-phone: 2rem;                     /* דגם הטלפון. איור, לא רכיב ממשק */
  --header-bg: var(--c-cream);
  --pill-bg: var(--c-cream);
}
@supports (background: color-mix(in srgb, red 50%, transparent)) {
  :root {
    --header-bg: color-mix(in srgb, var(--c-cream) 90%, transparent);
    --pill-bg: color-mix(in srgb, var(--c-cream) 92%, transparent);
  }
}
@media (min-width: 900px) {
  :root { --header-h: 4.5rem; }        /* 72 במחשב */
}

/* ===== בסיס ===== */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: var(--header-h); }
html.motion { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg-page);
  color: var(--text-body);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  font-weight: var(--fw-regular);
  line-height: var(--lh-body);
  overflow-x: hidden;
  overflow-x: clip;
}
h1, h2, h3, p, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
h1, h2, h3 {
  font-family: var(--font-heading);
  font-weight: var(--fw-regular);
  color: var(--text-heading);
  line-height: var(--lh-tight);
  letter-spacing: var(--ls-heading);
}
svg { display: block; }
button { font: inherit; color: inherit; }
main:focus { outline: none; }
[hidden] { display: none !important; }

.defs { position: absolute; }
.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;
}
.only-touch { display: none; }
@media (hover: none) and (pointer: coarse) {
  .only-fine { display: none; }
  .only-touch { display: inline; }
}

.on-dark { color: var(--text-on-dark); }
.on-dark h2, .on-dark h3 { color: var(--text-on-dark); }

.section-title { font-size: var(--fs-h2); text-align: center; }
p.section-title { font-family: var(--font-heading); color: var(--text-heading); line-height: var(--lh-tight); }
.section-sub { font-size: var(--fs-lead); text-align: center; color: var(--text-muted); }
.on-dark .section-sub { color: var(--text-on-dark-muted); }

/* ===== אייקונים ולוגו ===== */
.icon {
  width: 1.5rem; height: 1.5rem;
  fill: none; stroke: currentColor; stroke-width: 1.5;
  stroke-linecap: round; stroke-linejoin: round;
}
.icon--small { width: 1.125rem; height: 1.125rem; }

.logo, .scene, .lens__still { color: var(--c-brown); }
.logo__hanger { fill: none; stroke: currentColor; stroke-width: 3.4; stroke-linecap: round; stroke-linejoin: round; }
.logo__word { fill: currentColor; }
.logo__tag {
  fill: currentColor;
  font-family: var(--font-brand-sub);
  font-weight: var(--fw-medium);
  direction: ltr; unicode-bidi: bidi-override;
}
.logo--small { height: 2.5rem; width: auto; }
.logo--full { width: min(32.5rem, 80vw); height: auto; }

.dress-body { fill: var(--c-white); stroke: currentColor; stroke-width: 3.4; stroke-linejoin: round; }
.dress-line { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.dress-fold { stroke: var(--c-taupe); }

/* ===== כפתורים וקישורים ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--sp-2);
  min-height: 3rem; padding: 0 var(--sp-6);
  border: 1px solid transparent; border-radius: var(--r-sm);
  font-family: var(--font-body); font-size: var(--fs-small); font-weight: var(--fw-medium);
  letter-spacing: var(--ls-button); line-height: 1.2; text-decoration: none; white-space: nowrap;
  cursor: pointer;
  transition: background-color var(--dur-fast) var(--ease-out), color var(--dur-fast) var(--ease-out), transform var(--dur-instant) var(--ease-out);
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--btn-primary-bg); color: var(--btn-primary-text); }
.btn--primary:hover { background: var(--btn-primary-bg-hover); }
.btn--primary:active { background: var(--btn-primary-bg-active); }
.btn--ghost { background: transparent; border: var(--line-strong); color: var(--c-brown); }
.btn--ghost:hover { background: var(--btn-secondary-bg-hover); }
.btn--compact { min-height: var(--tap-min); padding: 0 var(--sp-3); }
@media (min-width: 900px) { .btn--compact { padding: 0 var(--sp-5); } }

.btn-round {
  display: inline-flex; align-items: center; justify-content: center;
  width: var(--tap-min); height: var(--tap-min); padding: 0;
  background: transparent; border: var(--line-hair); border-radius: 50%;
  color: var(--c-brown); cursor: pointer; text-decoration: none;
  transition: background-color var(--dur-fast) var(--ease-out);
}
.btn-round:hover { background: var(--bg-alt); }

.link {
  display: inline-flex; align-items: center; min-height: var(--tap-min);
  color: var(--link); font-size: var(--fs-small);
  text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 6px;
  transition: color var(--dur-fast) var(--ease-out);
}
.link:hover { color: var(--link-hover); }
.on-dark .link { color: var(--text-on-dark-accent); }
.on-dark .link:hover { color: var(--text-on-dark); }
/* משטח בהיר בתוך מקטע כהה: הקישור חוזר לצבע הרגיל */
.on-dark .chat .link, .a11y__box .link { color: var(--link); }
.on-dark .chat .link:hover, .a11y__box .link:hover { color: var(--link-hover); }

/* מקום שמור: מידע שעדיין חסר. נשאר גלוי בכוונה. */
.todo {
  display: inline-block; padding: var(--sp-1) var(--sp-3);
  border: 1px dashed var(--c-taupe-600); border-radius: var(--r-sm);
  background: var(--c-white); color: var(--text-muted);
  font-size: var(--fs-caption); line-height: var(--lh-snug);
}
.todo--block { display: block; max-width: var(--container-narrow); margin-inline: auto; padding: var(--sp-4) var(--sp-5); text-align: center; }

/* מקום שמור לתמונה */
.ph {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: var(--sp-1);
  aspect-ratio: 4 / 5; padding: var(--sp-3);
  background: var(--c-sand); color: var(--c-brown);
  border: 1px dashed var(--c-taupe-600); border-radius: var(--r-md);
  text-align: center;
}
.ph__mark { width: 3rem; height: auto; color: var(--c-brown); }
.ph__name { font-family: var(--font-heading); font-size: var(--fs-small); line-height: var(--lh-snug); }
.ph__label { font-size: var(--fs-caption); color: var(--text-muted); }
.ph--round { width: 100%; height: 100%; aspect-ratio: auto; border-radius: 50%; }
.ph.is-brand .ph__label { display: none; }
.ph__todo { font-size: var(--fs-caption); color: var(--text-muted); line-height: var(--lh-snug); }

/* ===== קישור דילוג ===== */
.skip-link {
  position: fixed; top: var(--sp-2); inset-inline-start: var(--sp-2); z-index: var(--z-modal);
  padding: var(--sp-3) var(--sp-5);
  background: var(--c-brown); color: var(--c-cream); border-radius: var(--r-sm);
  text-decoration: none; transform: translateY(-200%);
  transition: transform var(--dur-fast) var(--ease-out);
}
.skip-link:focus { transform: none; }

/* ===== סרגל ניווט ===== */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: var(--z-header);
  height: var(--header-h);
  background: var(--header-bg);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  box-shadow: var(--shadow-1);
  transition: transform var(--dur-base) var(--ease-out), opacity var(--dur-base) var(--ease-out), visibility 0s;
}
.site-header.is-away {
  transform: translateY(-100%); opacity: 0; visibility: hidden;
  transition: transform var(--dur-base) var(--ease-in), opacity var(--dur-base) var(--ease-in), visibility 0s linear var(--dur-base);
}
.site-header__in {
  display: flex; align-items: center; justify-content: space-between; gap: var(--sp-2);
  max-width: var(--container); height: 100%; margin-inline: auto; padding-inline: var(--sp-4);
}
@media (min-width: 900px) { .site-header__in { padding-inline: var(--gutter); gap: var(--sp-5); } }
.site-header__logo { display: inline-flex; align-items: center; min-height: var(--tap-min); }
.site-header__actions { display: flex; align-items: center; gap: var(--sp-2); }
.site-nav { display: none; }
@media (min-width: 900px) {
  .site-nav { display: block; }
  .site-nav ul { display: flex; gap: var(--sp-6); }
  .site-nav a {
    display: inline-flex; align-items: center; justify-content: center;
    min-height: var(--tap-min); min-width: var(--tap-min);
    color: var(--c-brown); font-size: var(--fs-small); text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color var(--dur-fast) var(--ease-out);
  }
  .site-nav a:hover { border-bottom-color: var(--c-brown); }
  .logo--small { height: 2.75rem; }
}

@media (max-width: 359px) {
  /* מסך צר מאוד: הסרגל מצטמצם כדי להיכנס כולו */
  .site-header__in { padding-inline: var(--sp-2); gap: var(--sp-1); }
  .site-header__actions { gap: var(--sp-1); }
  .btn--compact { padding: 0 var(--sp-2); font-size: var(--fs-caption); }
  .logo--small { height: 2rem; }
}

/* ===== במה דבוקה (רק עם תנועה) ===== */
.motion .stage {
  position: -webkit-sticky; position: sticky; top: 0;
  height: 100vh; height: 100svh;
  overflow: hidden; overflow: clip;
}

/* עוגן לבמה נוחת בדיוק על תחילתה. הבמה כבר משאירה מקום לסרגל. */
.motion [data-stage] { scroll-margin-top: calc(var(--header-h) * -1); }

/* ===== 1. מסך פתיחה ===== */
.intro { position: relative; --lens: clamp(9.5rem, min(52vw, 28vh), 18.75rem); }
@supports (height: 1svh) { .intro { --lens: clamp(9.5rem, min(52vw, 28svh), 18.75rem); } }
.intro .stage {
  display: flex; flex-direction: column; align-items: center; gap: var(--sp-8);
  padding: calc(var(--header-h) + var(--sp-6)) var(--gutter) var(--sp-8);
}
.hero {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  gap: clamp(0.5rem, 1.8vh, 1.25rem);
  width: 100%;
}
.hero__title { font-size: var(--fs-h1); max-width: 22ch; text-wrap: balance; }
.feed__num, .readout__deg, .stations__deg { font-variant-numeric: lining-nums; font-feature-settings: "lnum" 1; }
.hero__title-2 { display: block; color: var(--text-accent); }
.hero__lines { display: flex; flex-direction: column; font-size: var(--fs-body); line-height: 1.5; max-width: var(--measure); }
@media (min-width: 900px) { .hero__lines { font-size: var(--fs-lead); } }
.hero__invite {
  display: none; align-items: center; gap: var(--sp-2);
  color: var(--text-muted); font-size: var(--fs-small);
}
.motion .hero__invite { display: inline-flex; }
.hero__skip { font-size: var(--fs-caption); }
html:not(.motion) .hero__skip { display: none; }

.lens {
  position: relative; flex: none;
  width: var(--lens); height: var(--lens);
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--c-accent); border-radius: 50%;
  background: var(--c-sand);
  box-shadow: 0 0 0 6px var(--c-cream), 0 0 0 7px var(--c-taupe);
}
.lens__still { height: 76%; width: auto; overflow: visible; }

/* כותרת שנכנסת מילה אחרי מילה */
.motion .hero__title .w {
  display: inline-block; opacity: 0; transform: translateY(0.45em);
  animation: rise var(--dur-slow) var(--ease-out) forwards;
  animation-delay: calc(var(--i) * var(--stagger) + 120ms);
}
@keyframes rise { to { opacity: 1; transform: none; } }

/* ===== 2. סרטון הפתיחה ===== */
.film { display: none; }
.reveal { display: flex; flex-direction: column; align-items: center; text-align: center; gap: var(--sp-5); }
.reveal__line { font-family: var(--font-heading); font-size: var(--fs-h3); color: var(--text-heading); line-height: var(--lh-snug); }
.reveal__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--sp-3); }
.intro__end { position: absolute; bottom: 0; left: 0; width: 1px; height: 100vh; pointer-events: none; }
.intro__end:focus { outline: none; }

.motion .intro { height: 500vh; }
.motion .intro .stage { display: block; padding: 0; }
.motion .hero {
  position: absolute; inset: 0; justify-content: center;
  padding: calc(var(--header-h) + var(--sp-3)) var(--gutter) var(--sp-5);
  opacity: var(--hero-o, 1);
}
.motion .hero.is-off { visibility: hidden; }
.motion .film {
  display: block; position: absolute; inset: 0; pointer-events: none;
  background: var(--c-cream);
  -webkit-clip-path: circle(var(--r, 0px) at var(--cx, 50%) var(--cy, 50%));
  clip-path: circle(var(--r, 0px) at var(--cx, 50%) var(--cy, 50%));
}
.film__tint { position: absolute; inset: 0; background: var(--c-sand); opacity: var(--tint, 1); }
.scene {
  position: absolute; left: 0; top: 0; height: auto; overflow: visible;
  transform-origin: 0 0; will-change: transform;
}
.motion .scene__sway {
  transform-box: view-box; transform-origin: 640.5px 452px;
  animation: sway 7s var(--ease-in-out) infinite alternate;
}
@keyframes sway { from { transform: rotate(-0.7deg); } to { transform: rotate(0.7deg); } }
.motion .reveal {
  position: absolute; left: 0; right: 0; top: var(--reveal-top, 62%);
  padding-inline: var(--gutter);
  opacity: var(--rv, 0); pointer-events: none;
  transform: translateY(calc((1 - var(--rv, 0)) * var(--reveal-shift)));
}
.motion .reveal.is-on { pointer-events: auto; }
.motion .reveal__logo { display: none; }

/* ===== 3. פיד הודעות ===== */
.feed { position: relative; background: var(--bg-page); }
.feed .stage {
  display: flex; flex-direction: column; align-items: center; gap: var(--sp-3);
  padding: var(--section-y) var(--gutter);
}
.feed__head { display: grid; justify-items: center; }
.feed__head > * { grid-area: 1 / 1; transition: opacity var(--dur-slow) var(--ease-out); }
.feed__done-top { display: none; }
.feed__count { color: var(--text-muted); font-size: var(--fs-small); min-height: var(--fs-h2); }
.feed__count.is-empty { visibility: hidden; }
.feed__num {
  display: inline-block; min-width: 1.2ch; text-align: center;
  font-family: var(--font-brand); font-size: var(--fs-h2); font-weight: var(--fw-medium);
  color: var(--text-accent); line-height: 1; vertical-align: -0.12em;
}
.phone-wrap { position: relative; width: min(21rem, 100%); margin-top: var(--sp-4); }
.feed__orbit { display: none; }
.phone {
  position: relative; display: flex; flex-direction: column; gap: var(--sp-3);
  padding: var(--sp-4) var(--sp-3) var(--sp-3);
  background: var(--c-white); border: var(--line-strong); border-radius: var(--r-phone);
}
.phone__group {
  display: flex; align-items: center; gap: var(--sp-2);
  padding-bottom: var(--sp-3); border-bottom: var(--line-hair);
  font-size: var(--fs-small); font-weight: var(--fw-semibold); color: var(--c-brown); line-height: var(--lh-snug);
}
.phone__avatar { flex: none; width: 1.75rem; height: 1.75rem; border-radius: 50%; background: var(--c-sand); border: var(--line-hair); }
.feed__list { display: flex; flex-direction: column; gap: var(--sp-2); }
.msg {
  display: flex; flex-direction: column;
  padding: var(--sp-2) var(--sp-3);
  background: var(--c-cream); border: var(--line-hair); border-radius: var(--r-lg);
  font-size: var(--fs-caption); line-height: var(--lh-snug);
}
.msg b { font-weight: var(--fw-semibold); color: var(--c-brown); }
.feed__card {
  display: flex; flex-direction: column; gap: var(--sp-2);
  padding: var(--sp-5); border-radius: var(--r-lg);
  background: var(--bg-inverse);
}
.feed__done { font-family: var(--font-heading); font-size: var(--fs-h3); line-height: var(--lh-snug); }
.feed__zero { font-size: var(--fs-caption); color: var(--text-on-dark-muted); }
.feed__from { font-family: var(--font-brand-sub); font-size: var(--fs-eyebrow); letter-spacing: var(--ls-latin-caps); color: var(--text-on-dark-accent); line-height: 1; margin-top: var(--sp-2); }
.feed__card-title { font-size: var(--fs-h3); line-height: var(--lh-snug); }
.checks { display: flex; flex-direction: column; gap: var(--sp-1); font-size: var(--fs-small); line-height: 1.5; }
.checks li { display: flex; align-items: center; gap: var(--sp-2); }
.checks .icon { flex: none; color: var(--text-on-dark-accent); }

.motion .feed { height: 300vh; }
.motion .feed .stage {
  justify-content: center; gap: var(--sp-1);
  padding: calc(var(--header-h) + var(--sp-2)) var(--gutter) var(--stage-pad-bottom);
}
.motion .feed__done-top { display: block; opacity: 0; }
.motion .feed[data-phase="3"] .feed__done-top { opacity: 1; }
.motion .feed[data-phase="3"] #feed-title { opacity: 0; }
.motion .feed__done { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.motion .feed__zero { display: none; }
.motion .phone-wrap { width: min(18.25rem, 74vw); margin-top: var(--sp-3); }
.motion .phone { height: clamp(20.5rem, calc(100vh - var(--header-h) - 14.5rem), 30rem); }
@supports (height: 1svh) { .motion .phone { height: clamp(20.5rem, calc(100svh - var(--header-h) - 14.5rem), 30rem); } }
.motion .feed__orbit {
  display: block; position: absolute; left: -24%; top: -7%; width: 148%; height: 114%;
  transform: rotate(-9deg); pointer-events: none; overflow: visible;
}
.feed__orbit ellipse {
  fill: none; stroke: var(--c-accent); stroke-width: 1; vector-effect: non-scaling-stroke;
  stroke-dasharray: 1; stroke-dashoffset: var(--orbit, 1);
}
.motion .msg {
  opacity: 0; transform: translateY(var(--reveal-shift));
  transition: opacity var(--dur-slow) var(--ease-out), transform var(--dur-slow) var(--ease-out), filter var(--dur-slow) var(--ease-out);
}
.motion .msg.is-in { opacity: 1; transform: none; }
.motion .msg--out {
  position: absolute; z-index: 2; width: 82%;
  background: var(--c-white); box-shadow: var(--shadow-2);
  transform: translate(var(--from-x, 0), var(--reveal-shift)) rotate(var(--rot, 0deg));
}
.motion .msg--out.is-in { transform: rotate(var(--rot, 0deg)); }
.motion .msg[data-msg="5"] { top: 12%; right: -9%; --rot: 2deg; --from-x: 2.5rem; }
.motion .msg[data-msg="6"] { top: 34%; left: -9%; --rot: -3deg; --from-x: -2.5rem; }
.motion .msg[data-msg="7"] { top: 56%; right: -7%; --rot: -2deg; --from-x: 2.5rem; }
.motion .msg[data-msg="8"] { top: 76%; left: -8%; --rot: 3deg; --from-x: -2.5rem; width: 46%; }
@media (min-width: 900px) {
  .motion .msg--out { width: 16.5rem; }
  .motion .msg[data-msg="5"] { top: 8%; right: -86%; }
  .motion .msg[data-msg="6"] { top: 30%; left: -88%; }
  .motion .msg[data-msg="7"] { top: 58%; right: -74%; }
  .motion .msg[data-msg="8"] { top: 74%; left: -42%; width: 9rem; }
}
.motion .feed[data-phase="2"] .msg:not(.msg--out).is-in { opacity: 0.5; filter: blur(2px); }
.motion .feed[data-phase="3"] .msg { opacity: 0; transition-duration: var(--dur-base); }
.motion .feed[data-phase="3"] .phone__group { opacity: 0.45; }
.phone__group { transition: opacity var(--dur-base) var(--ease-out); }
.motion .feed__card {
  position: absolute; left: var(--sp-3); right: var(--sp-3); top: 50%; z-index: 3;
  padding: var(--sp-4);
  opacity: 0; pointer-events: none; transform: translateY(calc(-46% + var(--reveal-shift)));
  transition: opacity var(--dur-slow) var(--ease-out), transform var(--dur-slow) var(--ease-out);
}
.motion .feed[data-phase="3"] .feed__card {
  opacity: 1; pointer-events: auto; transform: translateY(-46%);
  transition-delay: var(--dur-fast);
}
.feed__card:focus-visible { outline-color: var(--focus-color); }
.motion .feed__card .checks { font-size: var(--fs-caption); }

/* ===== 4. מעגל 360 ===== */
.circle { position: relative; background: var(--bg-inverse); --dial: min(21.25rem, 60vw, 34vh); }
@supports (height: 1svh) { .circle { --dial: min(21.25rem, 60vw, 34svh); } }
.circle .stage {
  display: flex; flex-direction: column; align-items: center; gap: var(--sp-5);
  padding: var(--section-y) var(--gutter);
}
.circle__head { display: flex; flex-direction: column; align-items: center; gap: var(--sp-2); }
.dial, .readout { display: none; }
.stations {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(13.5rem, 1fr)); gap: var(--sp-6) var(--sp-5);
  width: 100%; max-width: var(--container); margin-top: var(--sp-5);
}
.stations li { display: grid; grid-template-columns: 6rem 1fr; column-gap: var(--sp-4); align-content: center; }
.stations li > :not(.ph) { grid-column: 2; }
.stations .ph { grid-column: 1; grid-row: 1 / span 3; align-self: center; padding: var(--sp-1); }
.stations h3 { font-size: var(--fs-h3); line-height: var(--lh-snug); }
.stations li p:last-child { color: var(--text-on-dark-muted); }
.stations__deg { font-family: var(--font-brand); font-size: var(--fs-h3); font-weight: var(--fw-medium); color: var(--text-on-dark-accent); line-height: 1; }
.stations__close { text-align: center; font-size: var(--fs-lead); }
.stations__close strong { font-family: var(--font-heading); font-weight: var(--fw-regular); font-size: var(--fs-h3); }

.motion .circle { height: 370vh; }
.motion .circle .stage {
  justify-content: center; gap: clamp(0.25rem, 1.2vh, 0.75rem);
  padding: calc(var(--header-h) + var(--sp-2)) var(--gutter) var(--stage-pad-bottom);
}
.motion .circle__head { gap: 0; }
.motion .circle .section-sub { font-size: var(--fs-small); }
.motion .stations, .motion .stations__close {
  position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0);
}
.motion .dial {
  display: block; position: relative; flex: none;
  width: var(--dial); height: var(--dial); margin: var(--sp-5) 0 var(--sp-4);
}
.dial__svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.dial__svg circle { fill: none; transform-box: fill-box; transform-origin: center; }
.dial__ticks { stroke: var(--c-taupe); stroke-width: 7; stroke-dasharray: 0.5 4.5; opacity: 0.55; transform: rotate(var(--ticks, 0deg)); }
.dial__track { stroke: var(--c-brown-muted); stroke-width: 1; }
.dial__arc {
  stroke: var(--c-accent-light); stroke-width: 2.5; stroke-linecap: round;
  stroke-dasharray: var(--arc, 0) 360; transform: rotate(-90deg);
}
.dial__window { position: absolute; inset: 19%; border-radius: 50%; overflow: hidden; }
.dial__window .ph { border-style: solid; border-color: var(--c-taupe); }
.dial__window.is-swap .ph > * { animation: fade-in var(--dur-slow) var(--ease-out); }
@keyframes fade-in { from { opacity: 0; transform: translateY(var(--reveal-shift)); } to { opacity: 1; transform: none; } }

.dial__dot {
  position: absolute; top: 50%; left: 50%;
  display: flex; align-items: center; justify-content: center;
  width: var(--tap-min); height: var(--tap-min); padding: 0;
  background: none; border: 0; border-radius: 50%; cursor: pointer;
  transform: translate(-50%, -50%) rotate(var(--a)) translateY(calc(var(--dial) * -0.47)) rotate(calc(var(--a) * -1));
}
.dial__dot span {
  display: flex; align-items: center; justify-content: center;
  width: 1.75rem; height: 1.75rem; border-radius: 50%;
  background: var(--bg-inverse); border: 1px solid var(--c-taupe); color: var(--text-on-dark);
  font-family: var(--font-brand-sub); font-size: var(--fs-caption); line-height: 1;
  transition: background-color var(--dur-base) var(--ease-out), color var(--dur-base) var(--ease-out), border-color var(--dur-base) var(--ease-out);
}
.dial__dot.is-passed span { border-color: var(--c-accent-light); color: var(--c-accent-light); }
.dial__dot.is-active span { background: var(--c-accent-light); border-color: var(--c-accent-light); color: var(--c-ink); }
.dial__dot:hover span { border-color: var(--c-cream); }

.motion .readout { display: flex; flex-direction: column; align-items: center; text-align: center; width: 100%; }
.readout__deg { font-family: var(--font-brand); font-weight: var(--fw-medium); font-size: clamp(2.75rem, 7vh, 4.5rem); line-height: 1; color: var(--text-on-dark-accent); }
.readout__title { font-family: var(--font-heading); font-size: var(--fs-h3); line-height: var(--lh-snug); }
.readout__line { min-height: 3em; max-width: 32ch; font-size: var(--fs-small); line-height: 1.5; color: var(--text-on-dark-muted); }
.readout.is-swap .readout__title, .readout.is-swap .readout__line { animation: fade-in var(--dur-slow) var(--ease-out); }
.motion .circle__more { margin-top: calc(var(--sp-2) * -1); }

/* ===== רכיבים משותפים למקטעי מנה 2 ===== */
.sec-head { display: flex; flex-direction: column; align-items: center; gap: var(--sp-2); text-align: center; }
.sec-note { font-size: var(--fs-caption); color: var(--text-muted); }
.sec-todo { text-align: center; }
.tag {
  display: inline-block; padding: 0 var(--sp-2);
  border: var(--line-hair); border-radius: var(--r-sm);
  font-size: var(--fs-caption); line-height: 1.6; color: var(--text-muted); white-space: nowrap;
}
.badge {
  display: inline-block; padding: var(--sp-1) var(--sp-5);
  border: var(--line-strong); border-radius: var(--r-pill);
  font-size: var(--fs-small); color: var(--c-brown); line-height: 1.6;
}
.timeline .stage, .about .stage, .lookbook .stage, .how .stage {
  display: flex; flex-direction: column; align-items: center; gap: var(--sp-6);
  padding: var(--section-y) var(--gutter);
}
.timeline, .lookbook, .how { position: relative; background: var(--bg-page); }
.about, .reviews, .faq { position: relative; background: var(--bg-alt); }

/* רשימה סטטית: מקום שמור קטן וטקסט לידו */
.rowlist {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); gap: var(--sp-6) var(--sp-5);
  width: 100%; max-width: var(--container);
}
.rowlist li { display: grid; grid-template-columns: 6rem 1fr; column-gap: var(--sp-4); align-content: center; }
.rowlist li > :not(.ph) { grid-column: 2; }
.rowlist .ph { grid-column: 1; grid-row: 1 / span 3; align-self: center; padding: var(--sp-1); }
.rowlist h3 { font-size: var(--fs-h3); line-height: var(--lh-snug); }
.rowlist__k { color: var(--text-accent); font-size: var(--fs-small); }
.rowlist__t { color: var(--text-muted); font-size: var(--fs-small); }
.motion .rowlist { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ===== 5. ציר זמן ===== */
.tl-strip, .tl-read { display: none; }
.motion .timeline { height: 400vh; --tl-card: min(13rem, 46vw, 24vh); }
@supports (height: 1svh) { .motion .timeline { --tl-card: min(13rem, 46vw, 24svh); } }
.motion .timeline .stage {
  justify-content: center; gap: clamp(0.25rem, 1.2vh, 0.75rem);
  padding: calc(var(--header-h) + var(--sp-2)) 0 var(--stage-pad-bottom);
}
.motion .timeline .sec-head, .motion .timeline .sec-todo { padding-inline: var(--gutter); }
.motion .tl-strip { display: block; position: relative; flex: none; width: 100%; height: calc(var(--tl-card) * 1.25); margin-block: var(--sp-2); }
.tl-card {
  position: absolute; top: 0; left: 50%; width: var(--tl-card); height: 100%;
  margin-left: calc(var(--tl-card) / -2); aspect-ratio: auto;
  border-radius: var(--r-pill) var(--r-pill) var(--r-md) var(--r-md);
  will-change: transform, opacity;
}
.motion .tl-read { display: flex; flex-direction: column; align-items: center; text-align: center; padding-inline: var(--gutter); }
.tl-read__when { font-family: var(--font-heading); font-size: var(--fs-h2); line-height: var(--lh-tight); color: var(--text-accent); }
.tl-read__title { font-family: var(--font-heading); font-size: var(--fs-h3); line-height: var(--lh-snug); color: var(--text-heading); }
.tl-read__look { min-height: 3em; max-width: 34ch; font-size: var(--fs-small); line-height: 1.5; color: var(--text-muted); }
.tl-read.is-swap > * { animation: fade-in var(--dur-slow) var(--ease-out); }

/* ===== 6. אודות שיר ===== */
.about__grid { display: grid; gap: var(--sp-7); width: 100%; max-width: var(--container); align-items: center; }
.about__side { display: flex; flex-direction: column; align-items: center; gap: var(--sp-5); }
.ph--oval { width: min(14rem, 50vw); aspect-ratio: 4 / 5; border-radius: 50%; background: var(--c-white); }
.counters { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-3); width: 100%; max-width: 30rem; text-align: center; }
.counters li { display: flex; flex-direction: column; align-items: center; gap: var(--sp-1); }
.counters__num {
  display: flex; align-items: center; justify-content: center; min-height: 3.5rem;
  font-family: var(--font-brand); font-size: var(--fs-h1); font-weight: var(--fw-medium); line-height: 1;
  color: var(--text-accent); font-variant-numeric: lining-nums; font-feature-settings: "lnum" 1;
}
.counters__num .todo { font-family: var(--font-body); font-weight: var(--fw-regular); padding-inline: var(--sp-2); }
.counters__label { font-size: var(--fs-caption); line-height: var(--lh-snug); color: var(--text-muted); }
.about__text { display: flex; flex-direction: column; align-items: center; gap: var(--sp-4); text-align: center; }
.about__story { display: flex; flex-direction: column; gap: var(--sp-4); max-width: 34rem; }
.about__sign { font-family: var(--font-heading); font-size: var(--fs-h2); line-height: 1; color: var(--text-accent); }
@media (min-width: 900px) {
  .about__grid { grid-template-columns: 5fr 6fr; }
}
.motion .about { height: 250vh; }
.motion .about .stage { justify-content: center; padding: calc(var(--header-h) + var(--sp-2)) var(--gutter) var(--stage-pad-bottom); }
.motion .about__grid { gap: clamp(0.75rem, 2.5vh, 3rem); }
.motion .about__side { gap: clamp(0.5rem, 2vh, 1.5rem); }
.motion .ph--oval { width: min(14rem, 44vw, 22vh); padding: var(--sp-3); }
.motion .about__story { font-size: var(--fs-small); line-height: 1.5; }
.motion .about__text { gap: var(--sp-2); }
.motion .about__story { display: grid; min-height: 6em; align-items: start; }
.motion .about__story > p { grid-area: 1 / 1; opacity: 0; transform: translateY(var(--reveal-shift)); transition: opacity var(--dur-slow) var(--ease-out), transform var(--dur-slow) var(--ease-out); }
.motion .about[data-step="0"] .about__story > p:nth-child(1),
.motion .about[data-step="1"] .about__story > p:nth-child(2),
.motion .about[data-step="2"] .about__story > p:nth-child(3),
.motion .about[data-step="3"] .about__story > p:nth-child(3) { opacity: 1; transform: none; }
.motion .about__sign { opacity: 0; transition: opacity var(--dur-slow) var(--ease-out); }
.motion .about[data-step="3"] .about__sign { opacity: 1; }


/* ===== 7. לוקבוק ===== */
.stack, .stack-cap { display: none; }
.lookbook__empty { max-width: 30rem; text-align: center; font-size: var(--fs-small); color: var(--text-body); }
.lookbook__empty strong { font-family: var(--font-heading); font-weight: var(--fw-regular); font-size: var(--fs-h4); color: var(--text-heading); }
.motion .lookbook { height: 300vh; --print: min(15rem, 56vw, 27vh); }
@supports (height: 1svh) { .motion .lookbook { --print: min(15rem, 56vw, 27svh); } }
.motion .lookbook .stage { justify-content: center; gap: clamp(0.25rem, 1.4vh, 1rem); padding: calc(var(--header-h) + var(--sp-2)) var(--gutter) var(--stage-pad-bottom); }
.motion .stack { display: block; position: relative; flex: none; width: var(--print); height: calc(var(--print) * 1.3); margin-block: var(--sp-3); }
.print {
  position: absolute; inset: 0; display: flex; padding: var(--sp-2) var(--sp-2) var(--sp-5);
  background: var(--c-white); border: var(--line-hair); border-radius: var(--r-sm); box-shadow: var(--shadow-2);
  opacity: 0; transform: translateY(2.5rem) rotate(var(--rot, 0deg));
  transition: opacity var(--dur-slow) var(--ease-out), transform var(--dur-slow) var(--ease-out);
}
.print.is-in { opacity: 1; transform: rotate(var(--rot, 0deg)); }
.print .ph { flex: 1; aspect-ratio: auto; border-radius: var(--r-sm); }
.motion .stack-cap { display: block; text-align: center; min-height: 3.4em; line-height: 1.5; }
.stack-cap strong { display: block; font-family: var(--font-heading); font-weight: var(--fw-regular); font-size: var(--fs-h3); line-height: var(--lh-snug); color: var(--text-heading); }
.stack-cap span { font-size: var(--fs-small); color: var(--text-muted); }
.stack-cap.is-swap > * { animation: fade-in var(--dur-slow) var(--ease-out); }
.motion .lookbook__empty { line-height: 1.4; }

/* ===== 8. ביקורות ===== */
.reviews { padding: var(--section-y) var(--gutter); }
.reviews__in { display: flex; flex-direction: column; align-items: center; gap: var(--sp-4); text-align: center; }
.reviews__line { color: var(--text-muted); }

/* ===== 9. איך זה עובד ===== */
.how__grid { display: grid; gap: var(--sp-6); justify-items: center; width: 100%; max-width: 56rem; }
.bag { width: min(14rem, 60vw); height: auto; color: var(--c-brown); overflow: visible; }
.bag__body { fill: var(--c-sand); stroke: var(--c-brown); stroke-width: 2; stroke-linejoin: round; }
.bag__inside { fill: var(--c-cream); }
.bag__edge { fill: none; stroke: var(--c-brown); stroke-width: 1.5; }
.bag__zip { fill: none; stroke: var(--c-taupe-600); stroke-width: 2; stroke-dasharray: 2 3; }
.bag__pull { fill: var(--c-brown); }
.steps { display: flex; flex-direction: column; gap: var(--sp-5); width: 100%; max-width: 30rem; }
.steps li { display: grid; grid-template-columns: 2.5rem 1fr; column-gap: var(--sp-3); row-gap: var(--sp-1); }
.steps li > :not(.steps__n) { grid-column: 2; }
.steps__n {
  grid-row: 1 / span 3; align-self: start; display: flex; align-items: center; justify-content: center;
  width: 2.5rem; height: 2.5rem; border: var(--line-strong); border-radius: 50%;
  font-family: var(--font-brand-sub); font-size: var(--fs-small); color: var(--c-brown); line-height: 1;
}
.steps h3 { font-size: var(--fs-h3); line-height: var(--lh-snug); }
.steps p { font-size: var(--fs-small); line-height: 1.5; }
@media (min-width: 900px) {
  .how__grid { grid-template-columns: auto 1fr; align-items: center; gap: var(--sp-9); }
  .bag { width: min(17rem, 30vw); }
}
.motion .how { height: 320vh; }
.motion .how .stage { justify-content: center; gap: clamp(0.5rem, 1.6vh, 1.25rem); padding: calc(var(--header-h) + var(--sp-2)) var(--gutter) var(--stage-pad-bottom); }
.motion .how .section-sub { font-size: var(--fs-small); }
.motion .how__grid { gap: var(--sp-3); }
.motion .bag { width: auto; height: min(15rem, 26vh); }
@supports (height: 1svh) { .motion .bag { height: min(15rem, 26svh); } }
.motion .steps { display: grid; min-height: 9.5rem; align-items: start; }
.motion .steps li {
  grid-area: 1 / 1; opacity: 0; transform: translateY(var(--reveal-shift));
  transition: opacity var(--dur-slow) var(--ease-out), transform var(--dur-slow) var(--ease-out);
}
.motion .steps li.is-current { opacity: 1; transform: none; }
@media (min-width: 900px) {
  .motion .how__grid { gap: var(--sp-9); }
  .motion .bag { height: min(26rem, 50vh); }
  .motion .steps { display: flex; gap: clamp(0.5rem, 2vh, 1.5rem); min-height: 0; }
  .motion .steps li { grid-area: auto; }
  .motion .steps li.is-in { opacity: 1; transform: none; }
}

/* ===== 10. שאלות נפוצות ===== */
.faq { padding: var(--section-y) var(--gutter); }
.faq__in { display: flex; flex-direction: column; gap: var(--sp-5); max-width: var(--container-narrow); margin-inline: auto; }
.faq__list { border-top: var(--line-hair); }
.qa { border-bottom: var(--line-hair); }
.qa summary {
  display: flex; align-items: center; justify-content: space-between; gap: var(--sp-4);
  min-height: 4.5rem; padding-block: var(--sp-3); cursor: pointer; list-style: none;
  font-weight: var(--fw-medium); color: var(--c-brown); line-height: var(--lh-snug);
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after {
  content: ""; flex: none; width: 2rem; height: 2rem; border: var(--line-strong); border-radius: 50%;
  background:
    linear-gradient(var(--c-brown), var(--c-brown)) center / 0.75rem 1px no-repeat,
    linear-gradient(var(--c-brown), var(--c-brown)) center / 1px 0.75rem no-repeat;
  transition: transform var(--dur-base) var(--ease-out);
}
.qa[open] summary::after {
  background: linear-gradient(var(--c-brown), var(--c-brown)) center / 0.75rem 1px no-repeat;
  transform: rotate(180deg);
}
.qa__a { display: flex; flex-direction: column; gap: var(--sp-2); padding-bottom: var(--sp-5); max-width: var(--measure); }
.qa[open] .qa__a { animation: fade-in var(--dur-base) var(--ease-out); }


/* ===== 11. בדיקת התאמה ===== */
.fit { position: relative; background: var(--bg-inverse); padding: var(--section-y) var(--gutter); }
.fit__in { display: flex; flex-direction: column; align-items: center; gap: var(--sp-5); max-width: var(--container-narrow); margin-inline: auto; }
.notice {
  display: flex; flex-direction: column; gap: var(--sp-1); width: 100%; max-width: 30rem;
  padding: var(--sp-4) var(--sp-5); border: 1px solid var(--c-taupe); border-radius: var(--r-md);
  font-size: var(--fs-caption); line-height: 1.6; color: var(--text-on-dark);
}
.chat { width: 100%; max-width: 30rem; background: var(--c-white); color: var(--text-body); border-radius: var(--r-lg); overflow: hidden; }
html:not(.js) .chat { display: none; } /* בלי סקריפט נשארת שורת העקיפה שמתחת */
.chat__head { display: flex; align-items: center; gap: var(--sp-3); padding: var(--sp-3) var(--sp-4); border-bottom: var(--line-hair); }
.chat__avatar { display: flex; align-items: center; justify-content: center; flex: none; width: 2.5rem; height: 2.5rem; border-radius: 50%; background: var(--c-sand); color: var(--c-brown); }
.chat__avatar svg { width: 1.6rem; height: auto; }
.chat__name { font-family: var(--font-brand); font-weight: var(--fw-medium); font-size: var(--fs-h4); letter-spacing: 0.06em; color: var(--c-brown); line-height: 1; }
.chat__dots { display: flex; gap: var(--sp-2); margin-inline-start: auto; }
.chat__dots i { width: 0.5rem; height: 0.5rem; border: 1px solid var(--c-brown); border-radius: 50%; transition: background-color var(--dur-base) var(--ease-out); }
.chat__dots i.is-done { background: var(--c-brown); }
.chat__body { padding: var(--sp-5) var(--sp-4); min-height: 21rem; }
.chat__step { display: flex; flex-direction: column; align-items: flex-start; gap: var(--sp-4); animation: fade-in var(--dur-slow) var(--ease-out); }
.bubble {
  max-width: 92%; padding: var(--sp-3) var(--sp-4);
  background: var(--c-sand); color: var(--c-ink); line-height: 1.5;
  border-radius: var(--r-lg); border-start-start-radius: var(--r-sm);
}
.bubble span { display: block; font-size: var(--fs-caption); color: var(--text-muted); }
.pills { display: flex; flex-wrap: wrap; gap: var(--sp-2); }
.pill {
  position: relative; display: inline-flex; align-items: center; min-height: var(--tap-min); padding: 0 var(--sp-4);
  background: transparent; border: var(--line-strong); border-radius: var(--r-pill);
  color: var(--c-brown); font-size: var(--fs-small); line-height: 1.2; cursor: pointer;
  transition: background-color var(--dur-fast) var(--ease-out), color var(--dur-fast) var(--ease-out);
}
.pill:hover { background: var(--bg-alt); }
label.pill { padding: 0; }
label.pill input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
label.pill span { display: inline-flex; align-items: center; gap: 0.3em; min-height: var(--tap-min); padding: 0 var(--sp-4); border-radius: inherit; }
label.pill input:checked + span { background: var(--c-brown); color: var(--c-cream); }
label.pill input:focus-visible + span { outline: var(--focus-width) solid var(--focus-color); outline-offset: var(--focus-offset); }
.pill[aria-expanded="true"] { background: var(--c-brown); color: var(--c-cream); }
.chat__row { display: flex; flex-wrap: wrap; align-items: center; gap: var(--sp-3); width: 100%; }
.chat__error { color: var(--c-error); font-size: var(--fs-small); }
.chat__label { font-size: var(--fs-caption); color: var(--text-muted); }
.field {
  flex: 1 1 12rem; min-width: 0; max-width: 20rem; min-height: 3rem; padding: 0 var(--sp-4);
  background: var(--c-white); border: var(--line-field); border-radius: var(--r-sm);
  font: inherit; font-size: var(--fs-small); color: var(--c-ink);
}
.field:hover { border-color: var(--c-brown); }
.field::placeholder { color: var(--text-muted); opacity: 1; }
textarea.field { flex: none; width: 100%; max-width: none; min-height: 15rem; padding: var(--sp-3) var(--sp-4); line-height: 1.5; resize: vertical; }
.link--btn { background: none; border: 0; padding: 0; cursor: pointer; font-family: inherit; }
.fit__bypass { text-align: center; font-size: var(--fs-small); }
.fit__privacy { text-align: center; font-size: var(--fs-caption); color: var(--text-on-dark-muted); }

/* ===== פוטר ===== */
.site-footer { position: relative; background: var(--bg-inverse-deep); padding: var(--sp-8) var(--gutter) calc(var(--sp-9) + env(safe-area-inset-bottom, 0px)); font-size: var(--fs-small); }
.site-footer__in { display: grid; gap: var(--sp-7); max-width: var(--container); margin-inline: auto; }
.site-footer__brand { display: flex; flex-direction: column; gap: var(--sp-4); }
.site-footer .logo { color: var(--c-cream); width: min(15rem, 72vw); height: auto; }
.site-footer__line { font-family: var(--font-heading); font-size: var(--fs-h4); line-height: var(--lh-snug); }
.site-footer__h { font-family: var(--font-body); font-size: var(--fs-small); font-weight: var(--fw-semibold); color: var(--text-on-dark-accent); margin-bottom: var(--sp-2); }
.site-footer ul { display: flex; flex-direction: column; gap: var(--sp-2); }
.site-footer__block .link { font-size: inherit; }
.site-footer__nav ul { gap: 0; }
.site-footer__nav a { display: inline-flex; align-items: center; min-height: var(--tap-min); min-width: var(--tap-min); color: var(--text-on-dark); text-decoration: none; border-bottom: 1px solid transparent; }
.site-footer__nav a:hover { color: var(--text-on-dark-accent); }
.site-footer__block:focus { outline: none; }
.site-footer__rights { max-width: var(--container); margin: var(--sp-7) auto 0; padding-top: var(--sp-5); border-top: 1px solid var(--c-brown-muted); font-size: var(--fs-caption); color: var(--text-on-dark-muted); line-height: 2.2; }
@media (min-width: 900px) {
  .site-footer__in { grid-template-columns: 1.4fr 1fr 1.3fr 1.5fr; }
}

/* ===== וואטסאפ צף ===== */
.wa-float {
  position: fixed; left: var(--sp-4); bottom: calc(var(--sp-4) + env(safe-area-inset-bottom, 0px)); z-index: var(--z-float);
  display: flex; align-items: center; justify-content: center; width: 3rem; height: 3rem;
  background: var(--c-brown); color: var(--c-cream); border: 1px solid var(--c-cream); border-radius: var(--r-pill); box-shadow: var(--shadow-2);
  transition: opacity var(--dur-base) var(--ease-out), transform var(--dur-base) var(--ease-out), background-color var(--dur-fast) var(--ease-out), visibility 0s;
}
.wa-float:hover { background: var(--c-brown-700); }
html:not(.js) .wa-float { display: none; } /* בלי סקריפט אין מי שיסתיר אותו ליד התוכן. הקישורים בסרגל ובפוטר מספיקים */
.js .wa-float:not(.is-on) { opacity: 0; visibility: hidden; transform: translateY(var(--sp-2)); transition-delay: 0s, 0s, 0s, var(--dur-base); }

/* ===== תפריט נגישות ===== */
html:not(.js) [data-a11y-open] { display: none; }
html.a11y-open { overflow: hidden; }
.a11y { position: fixed; inset: 0; z-index: var(--z-modal); display: flex; align-items: center; justify-content: center; padding: var(--sp-4); }
.a11y__backdrop { position: absolute; inset: 0; background: var(--c-ink); opacity: 0.6; }
.a11y__box {
  position: relative; width: min(26rem, 100%); max-height: 100%; overflow: auto;
  padding: var(--sp-6) var(--sp-5) var(--sp-5); background: var(--c-cream); color: var(--c-ink);
  border-radius: var(--r-lg); box-shadow: var(--shadow-3); animation: fade-in var(--dur-base) var(--ease-out);
}
.a11y__box:focus { outline: none; }
.a11y__x { position: absolute; top: var(--sp-3); left: var(--sp-3); }
.a11y__title { font-size: var(--fs-h3); }
.switches { display: flex; flex-direction: column; gap: var(--sp-2); margin-block: var(--sp-4); }
.switches li { padding: var(--sp-1) var(--sp-4) var(--sp-3); background: var(--c-white); border: var(--line-hair); border-radius: var(--r-md); }
.switches p { font-size: var(--fs-caption); color: var(--text-muted); line-height: var(--lh-snug); }
.switch {
  display: flex; align-items: center; justify-content: space-between; gap: var(--sp-4); width: 100%; min-height: var(--tap-min); padding: 0;
  background: none; border: 0; cursor: pointer; text-align: start; font-weight: var(--fw-medium); color: var(--c-brown);
}
.switch[disabled] { cursor: default; }
.switch__track { position: relative; flex: none; width: 2.75rem; height: 1.5rem; border: var(--line-strong); border-radius: var(--r-pill); transition: background-color var(--dur-fast) var(--ease-out); }
.switch__track::after {
  content: ""; position: absolute; top: 50%; right: 0.1875rem; width: 1rem; height: 1rem; margin-top: -0.5rem; border-radius: 50%;
  background: var(--c-brown); transition: transform var(--dur-fast) var(--ease-out), background-color var(--dur-fast) var(--ease-out);
}
.switch[aria-checked="true"] .switch__track { background: var(--c-brown); }
.switch[aria-checked="true"] .switch__track::after { background: var(--c-cream); transform: translateX(-1.25rem); }
.a11y__foot { display: flex; align-items: center; justify-content: space-between; gap: var(--sp-4); }

/* ----- ההעדפות עצמן ----- */
html.a11y-big { font-size: 120%; }
@media (max-width: 899px) {
  /* הסרגל נכנס כולו במסך גם בטקסט מוגדל */
  html.a11y-big .site-header__in { padding-inline: var(--sp-2); gap: var(--sp-1); }
  html.a11y-big .site-header__actions { gap: var(--sp-1); }
  html.a11y-big .btn--compact { padding: 0 var(--sp-2); font-size: var(--fs-caption); }
  html.a11y-big .logo--small { height: 2rem; }
}
html.a11y-links a { text-decoration: underline !important; text-decoration-thickness: 1px; text-underline-offset: 4px; }
html.a11y-font { --font-heading: var(--font-body); --font-brand: var(--font-body); }
html.a11y-contrast {
  --c-brown: var(--c-ink); --c-brown-700: var(--c-ink); --c-brown-muted: var(--c-ink); --c-accent: var(--c-ink);
  --c-taupe-600: var(--c-ink); --border-subtle: var(--c-ink);
  --c-cream: var(--c-white); --c-sand: var(--c-white);
  --text-on-dark-muted: var(--c-white); --c-accent-light: var(--c-white);
}
html.a11y-contrast .ph, html.a11y-contrast .todo, html.a11y-contrast .phone, html.a11y-contrast .msg { border-color: var(--c-ink); }
html.a11y-contrast .feed .msg.is-in { filter: none; }

/* ===== רמז גלילה ===== */
.scroll-pill {
  position: fixed; left: 50%; bottom: calc(var(--sp-4) + env(safe-area-inset-bottom, 0px)); z-index: var(--z-float);
  display: none; align-items: center; gap: var(--sp-2);
  padding: var(--sp-1) var(--sp-4) var(--sp-1) var(--sp-1);
  background: var(--pill-bg); border: var(--line-hair); border-radius: var(--r-pill);
  color: var(--c-brown); font-size: var(--fs-caption); line-height: 1;
  pointer-events: none; opacity: 0; transform: translate(-50%, var(--sp-2));
  transition: opacity var(--dur-base) var(--ease-out), transform var(--dur-base) var(--ease-out);
}
.motion .scroll-pill { display: inline-flex; }
.scroll-pill.is-on { opacity: 1; transform: translate(-50%, 0); }
.scroll-pill__ring { width: 2rem; height: 2rem; fill: none; }
.scroll-pill__track { stroke: var(--c-taupe); stroke-width: 1.5; }
.scroll-pill__fill {
  stroke: var(--c-accent); stroke-width: 1.5; stroke-linecap: round;
  stroke-dasharray: 1; stroke-dashoffset: var(--fill, 1);
  transform: rotate(-90deg); transform-origin: 18px 18px;
}
.scroll-pill__arrow { stroke: var(--c-brown); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }

/* ===== הודעה קצרה ===== */
.toast {
  position: fixed; left: 50%; bottom: calc(var(--sp-8) + var(--sp-4) + env(safe-area-inset-bottom, 0px)); z-index: var(--z-overlay);
  max-width: calc(100vw - 2 * var(--sp-4)); padding: var(--sp-3) var(--sp-5);
  background: var(--c-ink); color: var(--c-cream); border-radius: var(--r-sm); box-shadow: var(--shadow-3);
  font-size: var(--fs-small); line-height: var(--lh-snug); text-align: center;
  pointer-events: none;
  opacity: 0; visibility: hidden; transform: translate(-50%, var(--sp-2));
  transition: opacity var(--dur-base) var(--ease-out), transform var(--dur-base) var(--ease-out), visibility 0s linear var(--dur-base);
}
.toast.is-on { opacity: 1; visibility: visible; transform: translate(-50%, 0); transition-delay: 0s; }

/* ===== בלי תנועה: גם אם הסקריפט הפעיל משהו, עוצרים אנימציות רצות ===== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; }
}
