/* ==================================================================
   אונבורדינג גרסה 2 (welcome.html + onboarding.js).
   בטלפון: כל שלב הוא מסך מלא, תוכן שגולל וכפתורים קבועים למטה. במחשב: עמודה במרכז וקולאז' תמונות לצידה.
   הכל מהטוקנים של tokens.css, ולכן נראה נכון גם במצב כהה (html.theme-dark).
   ================================================================== */
.ob-body { background: var(--bg); }
.ob { --ob-gut: 20px; position: relative; isolation: isolate; color: var(--ink); }
.ob:focus { outline: none; }
.ob-art { display: none; }
.ob-col { min-width: 0; }

/* ---------- שלב ---------- */
.ob-step { display: flex; flex-direction: column; min-height: calc(100dvh - var(--topbar-h)); }
.ob-step[hidden] { display: none; }
.ob-hero { background: var(--hero-gradient); }
.ob-scroll { flex: 1; display: flex; flex-direction: column; gap: 14px; padding: 22px var(--ob-gut) 20px; }
.ob-center { text-align: center; align-items: center; }
.ob-step[data-step="welcome"] .ob-scroll { justify-content: center; }
.ob-foot { position: sticky; bottom: 0; z-index: 5; display: flex; flex-direction: column; gap: 6px;
  padding: 12px var(--ob-gut) calc(14px + env(safe-area-inset-bottom, 0px));
  background: color-mix(in srgb, var(--bg) 92%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-top: 1px solid var(--line); }
.ob-hero .ob-foot { background: color-mix(in srgb, var(--surface) 72%, transparent); border-top-color: transparent; }

.ob-h { font-family: var(--font-display); font-weight: 700; font-size: 1.65rem; line-height: 1.2; margin: 0; text-wrap: balance; letter-spacing: -.01em; color: var(--ink); }
.ob-h:focus { outline: none; }
.ob-sub { color: var(--ink-2); margin: 0; font-size: 1rem; line-height: 1.55; text-wrap: pretty; }
.ob-center .ob-sub { max-width: 36ch; }
.ob-eyebrow { color: var(--primary); font-weight: 700; font-size: .85rem; margin: 0; letter-spacing: .01em; }

/* כפתורים */
.ob-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; width: 100%; min-height: 54px; padding: 0 22px;
  border-radius: var(--r-pill); border: 1.5px solid transparent; background: var(--primary); color: var(--primary-ink);
  font: 600 1.06rem/1.2 var(--font-ui); text-decoration: none; cursor: pointer;
  box-shadow: 0 8px 22px color-mix(in srgb, var(--primary) 26%, transparent);
  transition: transform var(--t-fast) var(--ease), background var(--t-base), box-shadow var(--t-base); }
.ob-btn:hover { background: var(--primary-hover); color: var(--primary-ink); }
.ob-btn:active { transform: scale(.97); }
.ob-btn[disabled] { opacity: .45; cursor: default; box-shadow: none; }
.ob-btn[hidden] { display: none; }
.ob-btn.alt { background: var(--surface); color: var(--ink); border-color: var(--line); box-shadow: var(--shadow-sm); }
.ob-btn.alt:hover { border-color: color-mix(in srgb, var(--primary) 45%, var(--line)); color: var(--ink); }
.ob-link { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; width: 100%; background: none; border: 0;
  color: var(--ink-2); font: 600 .98rem var(--font-ui); text-decoration: none; cursor: pointer; border-radius: var(--r-pill); }
.ob-link:hover { color: var(--primary); }
.ob-textlink { align-self: flex-start; background: none; border: 0; padding: 6px 0; min-height: 40px; color: var(--primary); font: 600 .98rem var(--font-ui); cursor: pointer; }
.ob-textlink[aria-expanded="true"] span { display: inline-block; transform: rotate(-90deg); }
.ob :is(button, a, input):focus-visible { outline: 3px solid var(--primary); outline-offset: 2px; }

/* סרגל עליון של שלב */
.ob-bar { display: flex; align-items: center; gap: 10px; padding: 12px 12px 0; }
.ob-back { width: 44px; height: 44px; border-radius: 50%; border: 0; background: none; color: var(--ink-2); display: grid; place-items: center; cursor: pointer; flex: none; }
.ob-back:hover { background: var(--surface-2); color: var(--ink); }
.ob-back svg { width: 22px; height: 22px; }
.ob-dots { flex: 1; display: flex; gap: 6px; }
.ob-dots i { flex: 1; height: 5px; border-radius: 3px; background: var(--line); transition: background var(--t-slow); }
.ob-dots i.on { background: var(--primary); }
.ob-skip { background: none; border: 0; color: var(--ink-2); font: 600 .92rem var(--font-ui); min-height: 44px; padding: 0 10px; cursor: pointer; border-radius: var(--r-pill); }
.ob-skip:hover { color: var(--primary); }

/* ---------- 0. פתיחה ---------- */
.ob-collage { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; width: 100%; max-width: 360px; align-items: center; margin-top: 4px; }
.ob-collage img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 20px; box-shadow: 0 8px 24px rgba(60, 40, 20, .16); background: var(--pastel-peach); }
.ob-collage img:nth-child(2) { aspect-ratio: 1; margin-top: 18px; }
.ob-brand { display: flex; flex-direction: column; align-items: center; gap: 2px; margin-top: 6px; }
.ob-logo { display: block; width: 176px; height: auto; color: var(--primary); }
.ob-static-tag { margin: 0; font-family: var(--font-display); font-weight: 600; font-size: 1.08rem; color: var(--primary); }
.ob-certpill, .ob-cert { display: inline-flex; align-items: center; gap: 6px; border-radius: var(--r-pill); font-weight: 600; font-size: .82rem; padding: 4px 11px; white-space: nowrap; max-width: 100%; }
.ob-cert { white-space: normal; border-radius: 12px; line-height: 1.35; align-items: baseline; text-align: start; }
.ob-cert::before { transform: translateY(-1px); }
.ob-certpill, .ob-cert.s-active { background: var(--active-soft); color: var(--active); }
.ob-cert.s-unknown { background: var(--unknown-soft); color: var(--unknown); }
.ob-cert.s-expired { background: var(--expired-soft); color: var(--expired); }
.ob-cert.s-revoked { background: var(--revoked-soft); color: var(--revoked); }
.ob-certpill::before, .ob-cert::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; flex: none; }
.ob-disclaim { margin: 4px auto 0; max-width: 40ch; text-align: center; font-size: .78rem; line-height: 1.5; color: var(--ink-3); }

/* ---------- 1. הסיפור ---------- */
.ob-story { margin: 0; background: var(--surface); border-radius: 22px; padding: 16px 18px; box-shadow: var(--shadow-md); border: 1px solid var(--line-2); position: relative; }
.ob-story::before { content: "”"; position: absolute; top: -14px; inset-inline-start: 14px; font: 800 3.4rem/1 var(--font-display); color: var(--primary); opacity: .9; }
.ob-story p { margin: 0; font-size: 1rem; line-height: 1.7; color: var(--ink); }
.ob-story footer { margin-top: 10px; color: var(--ink-3); font-size: .85rem; font-weight: 600; }
.ob-name-note { margin: -4px 4px 0; font-size: .78rem; color: var(--ink-3); }
.ob-mishnah { margin: 6px 0 0; padding: 18px 18px 14px; text-align: center; border-block: 1.5px solid color-mix(in srgb, var(--accent-ink) 35%, var(--line));
  background: color-mix(in srgb, var(--accent-soft) 55%, transparent); border-radius: 4px; }
.ob-mishnah blockquote { margin: 0; font-family: "Frank Ruhl Libre", "Times New Roman", "David", serif; font-size: 1.32rem; line-height: 1.75; font-weight: 500; color: var(--ink); text-wrap: balance; }
.ob-mishnah figcaption { margin-top: 6px; font-family: "Frank Ruhl Libre", "Times New Roman", serif; font-size: .9rem; color: var(--ink-3); }
.ob-gloss { margin: 0; font-size: .9rem; line-height: 1.55; color: var(--ink-2); text-align: center; }

/* ---------- 2. סוגי מקומות ---------- */
.ob-allbtn { align-self: flex-start; background: var(--surface); border: 1.5px solid var(--line); border-radius: var(--r-pill); padding: 6px 16px; min-height: 40px;
  font: 600 .9rem var(--font-ui); color: var(--ink); cursor: pointer; }
.ob-allbtn:hover { border-color: var(--primary); }
.ob-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.ob-tile { position: relative; padding: 0; border-radius: 18px; overflow: hidden; aspect-ratio: 1; border: 3px solid transparent; background: var(--surface-2); cursor: pointer;
  transition: transform .15s var(--ease), border-color .15s; }
.ob-tile img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ob-tile span { position: absolute; inset: auto 0 0 0; padding: 18px 6px 7px; font: 600 .8rem/1.25 var(--font-ui); color: #fff; text-align: center; background: linear-gradient(transparent, rgba(20, 14, 8, .82)); }
.ob-tile[aria-pressed="true"] { border-color: var(--primary); transform: scale(.95); }
.ob-tile[aria-pressed="true"]::after { content: "✓"; position: absolute; top: 6px; inset-inline-start: 6px; width: 26px; height: 26px; border-radius: 50%;
  background: var(--primary); color: var(--primary-ink); font-weight: 700; font-size: .85rem; display: grid; place-items: center; box-shadow: 0 2px 6px rgba(0,0,0,.25); }

/* ---------- 3. כשרות ---------- */
.ob-opts { display: flex; flex-direction: column; gap: 10px; }
.ob-opt { display: flex; align-items: center; gap: 12px; width: 100%; text-align: start; background: var(--surface); border: 2px solid var(--line); border-radius: 20px; padding: 14px 16px;
  color: var(--ink); cursor: pointer; transition: border-color .15s, background .15s; font: inherit; }
.ob-opt-t { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.ob-opt b { font-family: var(--font-display); font-weight: 600; font-size: 1.08rem; }
.ob-opt small { color: var(--ink-2); font-size: .9rem; line-height: 1.4; }
.ob-box { width: 26px; height: 26px; border-radius: 8px; border: 2px solid var(--ink-3); flex: none; display: grid; place-items: center; transition: background .15s, border-color .15s; }
.ob-opt[aria-pressed="true"] { border-color: var(--primary); background: var(--primary-soft); }
.ob-opt[aria-pressed="true"] .ob-box { background: var(--primary); border-color: var(--primary); animation: ob-pop .3s var(--ease); }
.ob-opt[aria-pressed="true"] .ob-box::after { content: "✓"; color: var(--primary-ink); font-weight: 800; font-size: .9rem; }
.ob-star { color: var(--primary); font-weight: 700; }
.ob-counter { margin: 0; background: var(--accent-soft); color: var(--accent-ink); border-radius: 14px; padding: 10px 14px; font-weight: 600; font-size: .95rem; text-align: center; }
.ob-counter b { font-family: var(--font-display); font-size: 1.2rem; font-variant-numeric: tabular-nums; }
.ob-counter[hidden] { display: none; }
.ob-foot-note { margin: 0; color: var(--ink-2); font-size: .88rem; }
.ob-need { margin: 0 0 2px; text-align: center; color: var(--revoked); font-weight: 600; font-size: .9rem; }
.ob-need[hidden] { display: none; }
.ob-detail { display: flex; flex-direction: column; gap: 10px; animation: ob-rise .35s var(--ease) both; }
.ob-detail[hidden] { display: none; }
.ob-detail .branch { margin: 0; }
.ob-detail .branch[hidden] { display: none; }
.ob-detail h3 { font-family: var(--font-display); font-size: 1rem; margin: 0 0 .6rem; }
.ob-detail .more { font-size: .92rem; }
.ob-detail .more summary, .ob-detail .more-bodies summary { cursor: pointer; color: var(--primary); font-weight: 600; padding: .3rem 0; }

/* ---------- 4. מיקום ---------- */
.ob-mapart { position: relative; height: 200px; border-radius: 24px; display: grid; place-items: center; overflow: hidden; flex: none;
  background: radial-gradient(circle at 50% 50%, var(--primary-soft) 0 32%, transparent 33%),
    repeating-linear-gradient(0deg, transparent 0 37px, var(--line) 37px 39px),
    repeating-linear-gradient(90deg, transparent 0 47px, var(--line) 47px 49px), var(--surface-2); }
.ob-mapart::before { content: ""; position: absolute; inset: 0; background:
  linear-gradient(115deg, transparent 46%, color-mix(in srgb, var(--pastel-sky) 90%, transparent) 46% 54%, transparent 54%),
  linear-gradient(20deg, transparent 62%, color-mix(in srgb, var(--pastel-sage) 90%, transparent) 62% 67%, transparent 67%); opacity: .9; }
.ob-radar, .ob-radar::after { position: absolute; width: 64px; height: 64px; border-radius: 50%; border: 2px solid var(--primary); animation: ob-radar 2.4s ease-out infinite; }
.ob-radar::after { content: ""; inset: -2px; animation-delay: 1.2s; }
.ob-pin { position: relative; width: 28px; height: 28px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: var(--primary); box-shadow: 0 6px 14px rgba(60, 40, 20, .3);
  animation: ob-drop .7s .25s cubic-bezier(.3, 1.5, .5, 1) both; }
.ob-pin::after { content: ""; position: absolute; inset: 8px; border-radius: 50%; background: var(--surface); }
.ob-blurcount { position: absolute; bottom: 12px; background: var(--surface); color: var(--ink); border-radius: var(--r-pill); padding: 6px 14px; font-weight: 600; font-size: .9rem; box-shadow: var(--shadow-md); }
.ob-blurcount b { filter: blur(5px); font-family: var(--font-display); }
.ob-blurcount[hidden] { display: none; }
.ob-status { margin: 0; color: var(--ink-2); font-size: .92rem; min-height: 1.4em; }
.ob-status:empty { display: none; }
.ob-city { display: flex; flex-direction: column; gap: 10px; position: relative; }
.ob-city[hidden] { display: none; }
.ob-field input { width: 100%; min-height: 52px; border-radius: var(--r-pill); border: 1.5px solid var(--line); background: var(--surface); color: var(--ink);
  padding: 0 18px; font: 500 1rem var(--font-ui); box-shadow: var(--shadow-sm); }
.ob-field input:focus { border-color: var(--primary); outline: none; box-shadow: 0 0 0 3px color-mix(in srgb, var(--primary) 18%, transparent); }
.ob-suggest { list-style: none; margin: 0; padding: 6px; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-md); }
.ob-suggest[hidden] { display: none; }
.ob-suggest li { padding: 10px 12px; border-radius: 10px; cursor: pointer; display: flex; gap: 8px; align-items: center; }
.ob-suggest li:hover, .ob-suggest li.active { background: var(--surface-2); }
.ob-suggest .kind { font-size: .75rem; color: var(--ink-3); background: var(--surface-2); border-radius: var(--r-pill); padding: 1px 8px; }
.ob-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.ob-chip { background: var(--surface); border: 1.5px solid var(--line); color: var(--ink); border-radius: var(--r-pill); padding: 6px 14px; min-height: 40px; font: 600 .9rem var(--font-ui); cursor: pointer; }
.ob-chip:hover { border-color: var(--primary); }

/* ---------- 5. החשיפה ---------- */
.ob-loading { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px; padding: 32px var(--ob-gut); text-align: center; }
.ob-loading[hidden], .ob-result[hidden] { display: none; }
.ob-result { flex: 1; display: flex; flex-direction: column; }
.ob-pulse { width: 68px; height: 68px; border-radius: 50%; background: var(--primary-soft); position: relative; }
.ob-pulse::after { content: ""; position: absolute; inset: 20px; border-radius: 50%; background: var(--primary); animation: ob-pulse 1s ease-in-out infinite; }
.ob-prep { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; text-align: start; width: 100%; max-width: 340px; }
.ob-prep li { display: flex; gap: 12px; align-items: center; font-weight: 600; font-size: .98rem; color: var(--ink-3); transition: color .3s; }
.ob-prep i { width: 26px; height: 26px; border-radius: 50%; border: 2px solid var(--line); flex: none; display: grid; place-items: center; font-style: normal; font-size: .8rem; }
.ob-prep .done { color: var(--ink); }
.ob-prep .done i { background: var(--active); border-color: var(--active); animation: ob-pop .35s var(--ease); }
.ob-prep .done i::before { content: "✓"; color: var(--bg); font-weight: 800; }
.ob-found { margin-top: 6px; }
.is-zero .ob-result .ob-scroll { justify-content: center; }
.ob-big { font-family: var(--font-display); font-weight: 800; font-size: 4.6rem; line-height: 1; color: var(--primary); font-variant-numeric: tabular-nums; }
.ob-big[hidden], .ob-found[hidden] { display: none; }
.ob-widen { margin: 0; background: var(--accent-soft); color: var(--accent-ink); border-radius: 14px; padding: 8px 14px; font-size: .9rem; font-weight: 600; max-width: 40ch; }
.ob-widen[hidden] { display: none; }
.ob-cards { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-direction: column; gap: 10px; width: 100%; max-width: 460px; }
.ob-card { display: flex; gap: 12px; align-items: center; background: var(--surface); border-radius: 20px; padding: 10px; box-shadow: var(--shadow-md); text-align: start;
  animation: ob-rise .5s var(--d, 0s) var(--ease) both; }
.ob-card img { width: 80px; height: 80px; border-radius: 14px; object-fit: cover; flex: none; }
.ob-card > div { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 5px; align-items: flex-start; }
.ob-card b { font-family: var(--font-display); font-weight: 600; font-size: 1.02rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 100%; }
.ob-card small { color: var(--ink-2); font-size: .84rem; }

/* ---------- 6. התחברות ---------- */
.ob-faces { display: flex; justify-content: center; margin-top: 6px; }
.ob-faces:empty { display: none; }
.ob-faces img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; border: 3px solid var(--surface); box-shadow: var(--shadow-md); margin-inline: -8px; }
.ob-faces img:nth-child(2) { transform: translateY(-8px) scale(1.08); z-index: 1; }
.ob-reasons { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-direction: column; gap: 10px; width: 100%; max-width: 440px; text-align: start; }
.ob-reasons li { display: flex; gap: 12px; align-items: center; background: var(--surface); border-radius: 16px; padding: 10px 12px; box-shadow: var(--shadow-sm); font-size: .96rem; font-weight: 500; line-height: 1.4; }
.ob-trust li { align-items: center; }
.ob-trust li > span:last-child { display: flex; flex-direction: column; gap: 1px; }
.ob-trust b { font-family: var(--font-display); font-weight: 600; font-size: 1.02rem; }
.ob-trust small { color: var(--ink-2); font-size: .86rem; font-weight: 400; }
.ob-trust .teu-pin { width: 26px; height: 35px; margin-inline: 7px; }
/* הרמה השלישית: כותרת אחת, ומתחתיה אפור ואדום כל אחד בשורה משלו */
.ob-trust li.check { flex-direction: column; align-items: stretch; gap: 8px; }
.ob-trust li.check ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.ob-trust li.check li { background: none; box-shadow: none; padding: 0; border-radius: 0; }
.ob-trust li.check li b { font-size: .96rem; }
.ob-ic { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; flex: none; color: var(--ink); }
.ob-ic svg, .ob-hic svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ob-ic.sky { background: var(--pastel-sky); } .ob-ic.peach { background: var(--pastel-peach); } .ob-ic.sage { background: var(--pastel-sage); } .ob-ic.butter { background: var(--pastel-butter); }
.ob-gbtn { font-weight: 600; }

/* ---------- 7. מסך הבית ---------- */
.ob-homeicon { width: 88px; height: 88px; border-radius: 22px; overflow: hidden; box-shadow: 0 10px 24px color-mix(in srgb, var(--primary) 35%, transparent); animation: ob-bob 2.4s ease-in-out infinite; margin-top: 8px; }
.ob-homeicon img { width: 100%; height: 100%; display: block; }
.ob-seg { display: inline-flex; background: var(--surface-2); border-radius: var(--r-pill); padding: 4px; border: 1px solid var(--line); }
.ob-seg button { border: 0; background: none; border-radius: var(--r-pill); padding: 8px 18px; min-height: 40px; font: 600 .92rem var(--font-ui); color: var(--ink-2); cursor: pointer; }
.ob-seg button[aria-pressed="true"] { background: var(--surface); color: var(--ink); box-shadow: var(--shadow-sm); }
:root.theme-dark .ob-seg button[aria-pressed="true"] { background: var(--line); }
.ob-howto { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; width: 100%; max-width: 440px; text-align: start; }
.ob-howto[hidden] { display: none; }
.ob-howto li { display: flex; gap: 12px; align-items: center; background: var(--surface); border-radius: 16px; padding: 10px 12px; font-size: .98rem; box-shadow: var(--shadow-sm); animation: ob-rise .45s both; }
.ob-howto li:nth-child(2) { animation-delay: .15s; } .ob-howto li:nth-child(3) { animation-delay: .3s; }
.ob-hic { width: 40px; height: 40px; border-radius: 12px; background: var(--pastel-sky); display: grid; place-items: center; flex: none; color: var(--dairy); }
.ob-hic.share { animation: ob-ring 1.6s ease-in-out infinite; }
.ob-hic circle { fill: currentColor; stroke: none; }

/* ---------- תנועה ---------- */
.ob-enter .ob-scroll > *, .ob-enter > .ob-foot > *, .ob-enter .ob-result .ob-foot > * { animation: ob-rise .5s var(--ease) both; }
.ob-enter .ob-scroll > :nth-child(2) { animation-delay: .07s; } .ob-enter .ob-scroll > :nth-child(3) { animation-delay: .14s; }
.ob-enter .ob-scroll > :nth-child(4) { animation-delay: .21s; } .ob-enter .ob-scroll > :nth-child(5) { animation-delay: .28s; }
.ob-enter .ob-scroll > :nth-child(n+6) { animation-delay: .35s; }
.ob-enter .ob-tile { animation: ob-popin .45s cubic-bezier(.2, 1.3, .4, 1) both; animation-delay: calc(var(--i) * 40ms + .15s); }
.ob-collage img { animation: ob-float 5s ease-in-out infinite; }
.ob-collage img:nth-child(2) { animation-delay: -1.6s; } .ob-collage img:nth-child(3) { animation-delay: -3.2s; }
.ob-enter .ob-slide { animation: ob-slidein .7s .6s cubic-bezier(.2, 1.2, .4, 1) both; }
.ob-tile.ob-pop { animation: ob-pop .35s cubic-bezier(.2, 1.6, .4, 1); }
@keyframes ob-rise { from { opacity: 0; transform: translateY(14px); } }
@keyframes ob-popin { from { opacity: 0; transform: scale(.7); } }
@keyframes ob-pop { 0% { transform: scale(.86); } 60% { transform: scale(1.05); } }
@keyframes ob-float { 50% { translate: 0 -7px; rotate: 1.2deg; } }
@keyframes ob-slidein { from { opacity: 0; transform: translateX(-60px) rotate(-6deg); } }
@keyframes ob-drop { from { opacity: 0; transform: translateY(-70px) rotate(-45deg); } to { transform: rotate(-45deg); } }
@keyframes ob-radar { from { transform: scale(.4); opacity: .8; } to { transform: scale(3.2); opacity: 0; } }
@keyframes ob-pulse { 50% { transform: scale(1.5); opacity: .5; } }
@keyframes ob-bob { 50% { transform: translateY(-6px) scale(1.03); } }
@keyframes ob-ring { 50% { box-shadow: 0 0 0 6px color-mix(in srgb, var(--dairy) 20%, transparent); } }
@media (prefers-reduced-motion: reduce) {
  .ob *, .ob *::before, .ob *::after { animation: none !important; transition: none !important; }
}
html.a11y-nomotion .ob *, html.a11y-nomotion .ob *::before, html.a11y-nomotion .ob *::after { animation: none !important; transition: none !important; }

/* כפתור הנגישות הצף: מעל הכפתורים הקבועים למטה ולא עליהם */
@media (max-width: 959px) {
  .ob-body .a11y-widget { inset-block-end: calc(var(--ob-foot-h, 0px) + 10px); }
  .ob-body .a11y-fab { width: 44px; height: 44px; }
  .ob-scroll { padding-bottom: 64px; }   /* התוכן האחרון לא נשאר מתחת לכפתור הנגישות */
}

/* ---------- מחשב: עמודה במרכז, קולאז' לצידה ---------- */
@media (min-width: 960px) {
  .ob { display: grid; grid-template-columns: minmax(0, 520px) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); max-width: 1180px; margin: 0 auto;
    padding: 36px clamp(24px, 4vw, 48px) 56px; align-items: start; }
  .ob::before { content: ""; position: fixed; inset: 0; z-index: -1; background: var(--hero-gradient); }
  .ob-col { grid-column: 1; grid-row: 1; }
  .ob-art { display: grid; grid-column: 2; grid-row: 1; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; position: sticky; top: calc(var(--topbar-h) + 36px); }
  .ob-art-col { display: grid; gap: 16px; align-content: start; }
  .ob-art-col:nth-child(2) { margin-top: 48px; } .ob-art-col:nth-child(3) { margin-top: 20px; }
  .ob-art img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 26px; box-shadow: var(--shadow-lg); background: var(--pastel-peach); animation: ob-float 6s ease-in-out infinite; }
  .ob-art-col:nth-child(2) img { animation-delay: -2s; } .ob-art-col:nth-child(3) img { animation-delay: -4s; }
  .ob-art-col img:nth-child(2) { aspect-ratio: 1; }
  .ob-step { min-height: 0; background: var(--surface); border: 1px solid var(--line); border-radius: 28px; box-shadow: var(--shadow-lg); overflow: clip; }
  .ob-hero { background: var(--surface); }
  .ob-scroll { padding: 28px 32px 22px; }
  .ob-bar { padding: 16px 18px 0; }
  .ob-foot { position: static; padding: 16px 32px 24px; background: none; backdrop-filter: none; border-top: 1px solid var(--line-2); }
  .ob-hero .ob-foot { background: none; }
  .ob-step[data-step="welcome"] .ob-collage { display: none; }
  .ob-step[data-step="welcome"] .ob-scroll { padding-top: 40px; }
  .ob-logo { width: 220px; }
  .ob-h { font-size: 1.9rem; }
  .ob-step[data-step="welcome"] .ob-h { font-size: 2.3rem; }
  .ob-loading { min-height: 460px; }
  .ob-tiles { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .ob-btn, .ob-link { max-width: 420px; align-self: center; }
}
@media (min-width: 960px) and (prefers-reduced-motion: reduce) { .ob-art img { animation: none; } }
html.a11y-nomotion .ob-art img { animation: none; }
