/*
 * HOMI – האתר לעסקים (White Label). שתי תצוגות מאותם משתנים: כהה (ברירת המחדל, הצבעים של האפליקציה) ובהירה.
 * הציור של הבית משתמש באותם משתנים: לילה בכהה, יום בבהיר. בלי style בתוך הדף (CSP).
 */
@font-face { font-family: Rubik; src: url("/site/fonts/Rubik.ttf") format("truetype"); font-weight: 300 900; font-display: swap; }
/* צבע המותג בהדגמה בפתיחה – מוגדר כצבע, כדי שהמעבר בין המותגים יהיה רך */
@property --b { syntax: "<color>"; inherits: true; initial-value: #ff7a1a; }

:root, [data-theme="dark"] {
  color-scheme: dark;
  --bg: #0e0e10;
  --bg-2: #141417;
  --surface: #1a1a1e;
  --surface-2: #232328;
  --line: #2d2d34;
  --ink: #f5f5f7;
  --ink-2: #c8c8ce;
  --muted: #9a9aa3;
  --accent: #ff7a1a;
  --accent-2: #ffb867;
  --accent-ink: #ff9442;
  --accent-soft: rgba(255, 122, 26, 0.14);
  --crit: #ff5a4e;
  --crit-soft: rgba(255, 90, 78, 0.16);
  --ok: #38d39f;
  --green-ink: #4fe0ad;
  --grad: linear-gradient(135deg, #ffb867 0%, #ff7a1a 55%, #f05a00 100%);
  --glass: rgba(24, 24, 28, 0.78);
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  --shadow-phone: 0 40px 80px rgba(0, 0, 0, 0.55);
  --halo: rgba(255, 122, 26, 0.16);
  /* הציור */
  --sky-fill: url(#g-sky-night);
  --house: #16161b;
  --house-line: #36363e;
  --furniture: #26262d;
  --furniture-2: #33333b;
  --ground: #121216;
  --glass-win: #0f1a2e;
  --glass-win-2: #16243d;
  --ac-body: #e9e9ee;
  --sensor: #f2f2f5;
  --air: #9fd2ff;
  --stars: 1;
  --moon: 1;
  --sun: 0;
}

[data-theme="light"] {
  color-scheme: light;
  --bg: #f7f5f2;
  --bg-2: #efebe5;
  --surface: #ffffff;
  --surface-2: #f4f1ec;
  --line: #e3ded6;
  --ink: #17171a;
  --ink-2: #3c3c43;
  --muted: #6b6b73;
  --accent-ink: #cf4e00;
  --accent-soft: rgba(255, 122, 26, 0.12);
  --crit: #e5483d;
  --crit-soft: rgba(229, 72, 61, 0.12);
  --green-ink: #108a5e;
  --glass: rgba(255, 255, 255, 0.84);
  --shadow: 0 24px 60px rgba(60, 40, 20, 0.12);
  --shadow-phone: 0 36px 70px rgba(40, 30, 20, 0.22);
  --halo: rgba(255, 122, 26, 0.12);
  --sky-fill: url(#g-sky-day);
  --house: #ffffff;
  --house-line: #d9d2c7;
  --furniture: #ece6dd;
  --furniture-2: #ddd5ca;
  --ground: #e7e0d4;
  --glass-win: #d6e8ff;
  --glass-win-2: #c3dcfb;
  --ac-body: #ffffff;
  --sensor: #ffffff;
  --air: #4a9be8;
  --stars: 0;
  --moon: 0;
  --sun: 1;
}

*, *::before, *::after { box-sizing: border-box; }
/* הקפיצה מהתפריט: מתחת לפס העליון (72) */
html { scroll-behavior: smooth; scroll-padding-top: 72px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: Rubik, system-ui, -apple-system, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  font-size: 17px;
  overflow-x: hidden;
  transition: background-color 0.3s, color 0.3s;
}
img { max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { margin: 0; line-height: 1.15; letter-spacing: -0.01em; }
p { margin: 0; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.ico { width: 1.25em; height: 1.25em; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
[dir="rtl"] .ico.chev, [dir="rtl"] .it-arrow { transform: scaleX(-1); }
.skip { position: absolute; inset-inline-start: 16px; top: -60px; z-index: 100; background: var(--accent); color: #fff; padding: 10px 16px; border-radius: 10px; }
.skip:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--accent-2); outline-offset: 3px; }

.wrap { width: min(1200px, 100%); margin: 0 auto; padding-inline: 24px; }
.wrap.narrow { width: min(860px, 100%); }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.eyebrow { color: var(--accent-ink); font-weight: 700; font-size: 0.95rem; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 14px; }
.sub { color: var(--ink-2); font-size: 1.14rem; line-height: 1.75; margin-top: 18px; }
.note { color: var(--muted); font-size: 0.98rem; margin-top: 18px; line-height: 1.7; }
.fine { color: var(--muted); font-size: 0.9rem; margin-top: 18px; }
.fine.center { text-align: center; }

/* ------------------------------------------------------------------ כפתורים */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 12px 22px; border-radius: 999px; border: 0; cursor: pointer;
  background: var(--grad); color: #fff; font: 600 1rem Rubik, sans-serif; text-decoration: none;
  box-shadow: 0 10px 30px rgba(255, 122, 26, 0.28);
  transition: transform 0.2s, box-shadow 0.2s, filter 0.2s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 16px 40px rgba(255, 122, 26, 0.36); }
.btn:active { transform: none; }
.btn-sm { padding: 9px 18px; font-size: 0.95rem; box-shadow: none; }
.btn-lg { padding: 15px 28px; font-size: 1.06rem; }
.btn-block { width: 100%; }
.btn-ghost { background: transparent; color: var(--ink); border: 1.5px solid var(--line); box-shadow: none; }
.btn-ghost:hover { border-color: var(--accent); box-shadow: none; }
.btn[disabled] { opacity: 0.6; cursor: progress; transform: none; }

/* ------------------------------------------------------------------ הפס העליון */
.top {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 80%, transparent);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent; transition: border-color 0.3s, background-color 0.3s;
}
.top.scrolled { border-bottom-color: var(--line); }
.top-in { display: flex; align-items: center; gap: 20px; height: 72px; }
.brand { display: flex; align-items: center; gap: 6px; text-decoration: none; }
.brand img { width: 44px; height: 44px; margin: -6px; }
.brand span { font-weight: 700; font-size: 1.45rem; letter-spacing: 3px; direction: ltr; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.nav { display: flex; gap: 2px; margin-inline-start: auto; }
.nav a { color: var(--ink-2); text-decoration: none; padding: 8px 12px; border-radius: 10px; font-weight: 500; font-size: 0.98rem; transition: color 0.2s, background-color 0.2s; white-space: nowrap; }
.nav a:hover { color: var(--ink); background: var(--surface); }
.tools { display: flex; align-items: center; gap: 8px; }
.icon-btn {
  width: 40px; height: 40px; display: grid; place-items: center; border-radius: 12px;
  border: 1px solid var(--line); background: transparent; color: var(--ink); cursor: pointer;
  font: 600 0.86rem Rubik, sans-serif; transition: border-color 0.2s, background-color 0.2s;
}
.icon-btn:hover { border-color: var(--accent); }
.icon-btn .ico { width: 20px; height: 20px; }
[data-theme="dark"] .ico-moon, [data-theme="light"] .ico-sun { display: none; }
.menu-btn { display: none; }

/* ------------------------------------------------------------------ הפתיחה */
.hero { position: relative; padding-block: clamp(48px, 7vw, 96px) clamp(8px, 2vw, 24px); overflow: hidden; text-align: center; }
.hero::before {
  content: ""; position: absolute; inset: -10% -10% auto; height: 80%; pointer-events: none;
  background: radial-gradient(40% 50% at 50% 20%, var(--halo), transparent 70%);
}
.hero .wrap { position: relative; }
.hero-copy { max-width: 920px; margin-inline: auto; }
.hero h1 { font-size: clamp(2.8rem, 7.4vw, 5.8rem); font-weight: 800; line-height: 1.02; letter-spacing: -0.025em; }
.hero h1 span { display: block; }
.hero h1 .grad { padding-bottom: 0.08em; }
.lead { color: var(--ink-2); font-size: clamp(1.1rem, 1.7vw, 1.3rem); line-height: 1.75; margin: 24px auto 0; max-width: 36em; }
.cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 32px; }

/* --- המותג בהדגמה: אותו מוצר, צבע אחר. הצילומים מקבלים את הצבע ב-hue-rotate (האפור לא משתנה) */
.brand-demo { --b: #ff7a1a; --rot: 0deg; position: relative; margin-top: clamp(44px, 6vw, 72px); transition: --b 0.9s; }
.brand-demo[data-brand="blue"] { --b: #2f7bff; --rot: 192deg; }
.brand-demo[data-brand="green"] { --b: #17c47e; --rot: 128deg; }
.brand-demo[data-brand="violet"] { --b: #8f5cff; --rot: 238deg; }
.brand-demo::before {
  content: ""; position: absolute; inset: 4% 12% 18%; pointer-events: none; z-index: 0;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--b) 34%, transparent), transparent);
  filter: blur(10px);
}
.trio { position: relative; z-index: 1; display: flex; justify-content: center; align-items: center; direction: ltr; }
.trio .phone { flex: none; }
.trio .phone img { filter: hue-rotate(var(--rot)); transition: filter 0.9s; }
.trio .main { width: clamp(150px, 25vw, 300px); z-index: 2; }
.trio .side { width: clamp(124px, 21vw, 252px); }
.trio .s1 { transform: rotate(-7deg) translateY(36px); margin-right: -4.5%; }
.trio .s2 { transform: rotate(7deg) translateY(36px); margin-left: -4.5%; }
.brand-bar {
  position: relative; z-index: 3; display: inline-flex; align-items: center; gap: 16px; margin-top: -28px; padding: 10px 12px 10px 18px;
  background: var(--glass); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border: 1px solid var(--line); border-radius: 999px; box-shadow: var(--shadow);
}
[dir="rtl"] .brand-bar { padding: 10px 18px 10px 12px; }
.brand-now { display: flex; align-items: center; gap: 10px; min-width: 9.5em; }
.brand-now .tile { width: 36px; height: 36px; border-radius: 11px; display: grid; place-items: center; background: var(--b); color: #fff; box-shadow: 0 6px 18px color-mix(in srgb, var(--b) 40%, transparent); }
.brand-now .tile .ico { width: 20px; height: 20px; stroke-width: 2.2; }
.brand-now b { font-weight: 700; font-size: 1.02rem; white-space: nowrap; }
.brand-t { color: var(--ink-2); font-size: 0.95rem; white-space: nowrap; padding-inline-start: 16px; border-inline-start: 1px solid var(--line); }
.swatches { display: flex; gap: 8px; }
.sw { width: 28px; height: 28px; border-radius: 50%; border: 0; padding: 0; cursor: pointer; box-shadow: 0 0 0 2px var(--surface), 0 0 0 3px transparent; transition: box-shadow 0.25s, transform 0.2s; }
.sw:hover { transform: scale(1.1); }
.sw[aria-pressed="true"] { box-shadow: 0 0 0 2px var(--surface), 0 0 0 4px var(--ink); }
.sw[data-b="homi"] { background: #ff7a1a; }
.sw[data-b="blue"] { background: #2f7bff; }
.sw[data-b="green"] { background: #17c47e; }
.sw[data-b="violet"] { background: #8f5cff; }

.pills { list-style: none; padding: 0; margin: clamp(36px, 5vw, 56px) 0 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.pills li { padding: 9px 18px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-weight: 500; font-size: 0.96rem; color: var(--ink-2); }

/* ------------------------------------------------------------------ אזורים */
.block { --pad: clamp(72px, 10vw, 128px); padding-block: var(--pad); }
/* ...ונעצרת עם התוכן 28px מתחת לפס, לא עם הריווח של האזור */
.block[id] { scroll-margin-top: calc(28px - var(--pad)); }
.alt { background: var(--bg-2); }
.block-head { text-align: center; max-width: 780px; margin: 0 auto clamp(40px, 6vw, 60px); }
.block-head.start { text-align: start; margin-inline: 0; max-width: 840px; }
.block h2 { font-size: clamp(2rem, 4.2vw, 3.4rem); font-weight: 800; letter-spacing: -0.02em; }
.block h2 span { display: block; }
.block h3 { font-size: 1.22rem; font-weight: 600; }
.h3-big { font-size: clamp(1.4rem, 2.4vw, 1.9rem) !important; font-weight: 700 !important; }

.cards.six { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.cards.four { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 24px; padding: 28px; transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s; }
.card:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--accent) 45%, var(--line)); box-shadow: var(--shadow); }
.card p { color: var(--ink-2); margin-top: 14px; line-height: 1.7; }
.card-top { display: flex; align-items: center; gap: 16px; }
.card-ico { width: 24px; height: 24px; padding: 12px; box-sizing: content-box; border-radius: 15px; background: var(--accent-soft); stroke: var(--accent-ink); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }

.chips { list-style: none; padding: 0; margin: 20px 0 0; display: flex; flex-wrap: wrap; gap: 10px; }
.chips li { padding: 8px 14px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--line); font-size: 0.94rem; color: var(--ink-2); }

/* --- אותו מוצר, הזהות שלך */
.identity { margin-top: 20px; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 32px; background: linear-gradient(135deg, var(--surface), var(--bg-2)); border: 1px solid var(--line); border-radius: 28px; padding: clamp(24px, 3.4vw, 40px); }
.identity h3 { font-size: 1.6rem; font-weight: 700; }
.app-tiles { list-style: none; padding: 0; margin: 0; display: flex; gap: 18px; }
.app-tiles li { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.app-tile { width: 92px; height: 92px; border-radius: 26px; display: grid; place-items: center; color: #17171a; box-shadow: var(--shadow); }
.app-tile .ico { width: 40px; height: 40px; stroke-width: 2.4; }
.t-homi { background: var(--grad); }
.t-blue { background: #2f7bff; }
.t-green { background: #17c47e; }
.app-tiles small { color: var(--muted); font-size: 0.88rem; }

/* --- החומרה */
.hub-card { display: grid; grid-template-columns: 300px 1fr; align-items: center; gap: clamp(24px, 4vw, 48px); background: linear-gradient(135deg, var(--surface), var(--bg-2)); border: 1px solid var(--line); border-radius: 28px; padding: clamp(22px, 3vw, 36px); margin-bottom: 20px; }
.hub-card h3 { font-size: 1.6rem; font-weight: 700; }
.hub-card p { color: var(--ink-2); margin-top: 12px; line-height: 1.75; font-size: 1.06rem; }
.hub-art { width: 100%; height: auto; display: block; }
.hub-shadow { fill: #000; opacity: 0.3; }
[data-theme="light"] .hub-shadow { opacity: 0.12; }
.hub-antenna { stroke: #4a4a52; stroke-width: 7; stroke-linecap: round; }
.hub-body { fill: #1d1d22; stroke: #3a3a42; stroke-width: 2; }
.hub-top { fill: #2a2a31; }
.hub-led { fill: var(--accent); }
.hub-led-glow { fill: var(--accent); opacity: 0.25; animation: blink 2.4s infinite; }
.hub-slot { fill: #34343c; }
.hub-port { fill: #121215; stroke: #44444c; stroke-width: 2; }
.hub-port-in { fill: #44444c; }

.hw-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.hw { background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: 22px 22px 24px; transition: transform 0.25s, border-color 0.25s; }
.hw:hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--accent) 45%, var(--line)); }
.hw-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.hw-top .ico { width: 28px; height: 28px; color: var(--accent-ink); }
.tag { padding: 3px 11px; border-radius: 999px; background: var(--surface-2); color: var(--muted); font-size: 0.82rem; font-weight: 500; }
.hw h3 { font-size: 1.12rem; font-weight: 700; }
.hw p { color: var(--ink-2); margin-top: 8px; line-height: 1.6; font-size: 0.96rem; }
.hw.more { background: var(--accent-soft); border: 1.5px dashed color-mix(in srgb, var(--accent) 55%, transparent); }

/* --- שליטה ב-IR */
.ir-list { list-style: none; padding: 0; margin: 28px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.ir-list li { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); cursor: default; transition: border-color 0.25s, background-color 0.25s; }
.ir-list li.on { border-color: color-mix(in srgb, var(--accent) 60%, var(--line)); background: color-mix(in srgb, var(--accent) 7%, var(--surface)); }
.ir-list .ico { width: 26px; height: 26px; color: var(--accent-ink); }
.ir-list b { display: block; font-weight: 600; font-size: 1rem; line-height: 1.3; }
.ir-list small { display: block; color: var(--muted); font-size: 0.86rem; line-height: 1.35; }
.stat-row { display: flex; gap: 14px; margin-top: 22px; flex-wrap: wrap; }
.stat { flex: 1 1 120px; background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 16px 18px; }
.stat b { display: block; font-size: 1.9rem; font-weight: 700; direction: ltr; text-align: start; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat span { color: var(--muted); font-size: 0.92rem; }

.ir-art { position: relative; }
.ir-stage { width: 100%; height: auto; display: block; background: var(--surface); border: 1px solid var(--line); border-radius: 32px; box-shadow: var(--shadow); }
.ir-stage .beam { stroke: var(--line); stroke-width: 2.5; stroke-dasharray: 2 9; stroke-linecap: round; fill: none; transition: stroke 0.3s; }
.ir-stage .beam.on { stroke: var(--accent); stroke-width: 3.5; animation: beam 0.7s linear infinite; }
.ir-stage .puck-body { fill: var(--surface-2); stroke: var(--accent); stroke-width: 2.5; }
.ir-stage .puck-lens { fill: #111114; }
[data-theme="light"] .ir-stage .puck-lens { fill: #26262c; }
.ir-stage .puck-t { fill: var(--accent-2); font: 700 22px Rubik, sans-serif; text-anchor: middle; letter-spacing: 1px; }
.ir-stage .wave { fill: none; stroke: var(--accent); stroke-width: 2; opacity: 0; transform-box: fill-box; transform-origin: center; animation: ir-wave 2.2s ease-out infinite; }
.ir-stage .wave.w2 { animation-delay: 1.1s; }
.ir-stage .dev rect { fill: var(--surface-2); stroke: var(--line); stroke-width: 2; transition: fill 0.3s, stroke 0.3s; }
.ir-stage .dev use { stroke: var(--ink-2); color: var(--ink-2); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: stroke 0.3s; }
.ir-stage .dev-l { fill: var(--ink-2); font: 600 14px Rubik, sans-serif; text-anchor: middle; }
.ir-stage .dev-s { fill: var(--accent-ink); font: 600 14px Rubik, sans-serif; text-anchor: middle; opacity: 0; transition: opacity 0.3s; }
.ir-stage .dev.on rect { fill: color-mix(in srgb, var(--accent) 12%, var(--surface-2)); stroke: var(--accent); }
.ir-stage .dev.on use { stroke: var(--accent-ink); }
.ir-stage .dev.on .dev-l { fill: var(--ink); }
.ir-stage .dev.on .dev-s { opacity: 1; }
@keyframes beam { to { stroke-dashoffset: -22; } }
@keyframes ir-wave { 0% { opacity: 0.8; transform: scale(1); } 100% { opacity: 0; transform: scale(1.9); } }
.scene-chip {
  position: relative; margin: -26px auto 0; width: fit-content; max-width: min(420px, 90%); display: flex; gap: 12px; align-items: center; padding: 12px 16px;
  background: var(--glass); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow);
  animation: float 6s ease-in-out infinite;
}
.scene-chip > .ico { width: 38px; height: 38px; padding: 9px; box-sizing: border-box; border-radius: 12px; background: var(--accent-soft); color: var(--accent-ink); }
.scene-chip b { display: block; font-weight: 600; font-size: 0.98rem; line-height: 1.3; }
.scene-chip small { display: block; color: var(--muted); font-size: 0.86rem; line-height: 1.4; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* --- האפליקציה */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(16px, 2.4vw, 28px); }
.gallery figure { margin: 0; }
.gallery figcaption { margin-top: 20px; }
.gallery h3 { font-size: 1.12rem; font-weight: 700; }
.gallery p { color: var(--ink-2); margin-top: 6px; font-size: 0.96rem; line-height: 1.6; }
.setup { margin-top: clamp(36px, 5vw, 56px); display: flex; align-items: center; gap: 18px 28px; flex-wrap: wrap; background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: 18px 26px; }
.setup-t { color: var(--accent-ink); font-weight: 700; font-size: 1.06rem; }
.setup ol { list-style: none; padding: 0; margin: 0; display: flex; flex: 1; justify-content: space-between; gap: 14px 24px; flex-wrap: wrap; }
.setup li { display: flex; align-items: center; gap: 12px; font-weight: 500; font-size: 1.04rem; }
.setup li + li::before { content: "›"; color: var(--muted); font-size: 1.4rem; margin-inline-end: 12px; }
[dir="rtl"] .setup li + li::before { content: "‹"; }
.setup .n { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: #17171a; font-weight: 700; font-size: 0.95rem; }
.tiles { list-style: none; padding: 0; margin: 16px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.tiles li { display: flex; align-items: center; gap: 14px; padding: 16px 20px; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; font-weight: 500; }
.tiles .ico { width: 26px; height: 26px; color: var(--accent-ink); }

/* --- טלפון */
.phone { position: relative; border-radius: 36px; padding: 9px; background: #0a0a0b; box-shadow: 0 0 0 1.5px #2b2b31, var(--shadow-phone); }
.phone img { display: block; width: 100%; height: auto; border-radius: 28px; }
.gallery .phone { border-radius: 30px; padding: 7px; }
.gallery .phone img { border-radius: 24px; }

/* --- חכם באמת: העוזר */
.asst { display: grid; grid-template-columns: 1.5fr 1fr; gap: 0; background: linear-gradient(135deg, var(--surface), var(--bg-2)); border: 1px solid var(--line); border-radius: 30px; overflow: hidden; position: relative; }
.asst::after { content: ""; position: absolute; inset: auto -10% -40% 40%; height: 80%; background: radial-gradient(closest-side, var(--halo), transparent); pointer-events: none; }
[dir="rtl"] .asst::after { inset: auto 40% -40% -10%; }
.chat { display: grid; gap: 12px; padding: clamp(22px, 3vw, 36px); align-content: start; }
.bubble { max-width: 88%; padding: 12px 16px; border-radius: 20px; opacity: 0; transform: translateY(10px); transition: opacity 0.5s, transform 0.5s; line-height: 1.55; }
.bubble.me { justify-self: end; background: color-mix(in srgb, var(--accent) 22%, var(--surface)); border: 1px solid color-mix(in srgb, var(--accent) 45%, transparent); border-end-end-radius: 6px; }
.bubble.homi { justify-self: start; background: var(--surface-2); border: 1px solid var(--line); border-end-start-radius: 6px; }
.chat.on .bubble { opacity: 1; transform: none; }
.chat.on .bubble:nth-child(2) { transition-delay: 0.7s; }
.chat.on .bubble:nth-child(3) { transition-delay: 1.8s; }
.chat.on .bubble:nth-child(4) { transition-delay: 2.5s; }
.res { list-style: none; padding: 0; margin: 10px 0 2px; display: flex; flex-wrap: wrap; gap: 8px; }
.res li { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-size: 0.88rem; color: var(--ink-2); }
.res:not(.path) li::before { content: ""; width: 9px; height: 5px; border-left: 2px solid var(--accent-ink); border-bottom: 2px solid var(--accent-ink); transform: translateY(-2px) rotate(-45deg); }
.res .ico { width: 16px; height: 16px; color: var(--accent-ink); }
.res .chev { color: var(--muted); }
.asst-side { position: relative; z-index: 1; padding: clamp(22px, 3vw, 36px); border-inline-start: 1px solid var(--line); display: flex; flex-direction: column; justify-content: center; }
.mic { position: relative; width: 72px; height: 72px; border-radius: 50%; display: grid; place-items: center; background: var(--grad); color: #17171a; box-shadow: 0 0 0 10px var(--accent-soft); }
.mic .ico { width: 30px; height: 30px; stroke-width: 2.2; }
.mic::before, .mic::after { content: ""; position: absolute; inset: -10px; border-radius: 50%; border: 2px solid var(--accent); opacity: 0; animation: mic 2.4s ease-out infinite; }
.mic::after { animation-delay: 1.2s; }
@keyframes mic { 0% { opacity: 0.6; transform: scale(0.9); } 100% { opacity: 0; transform: scale(1.5); } }
.ticks { list-style: none; padding: 0; margin: 36px 0 0; display: grid; gap: 14px; }
.ticks li { position: relative; padding-inline-start: 34px; color: var(--ink-2); line-height: 1.55; }
.ticks li::before { content: ""; position: absolute; inset-inline-start: 0; top: 1px; width: 22px; height: 22px; border-radius: 50%; background: var(--accent-soft); }
/* ✓ בגבולות פיזיים (שמאל + למטה): אותו סימן בעברית ובאנגלית */
.ticks li::after { content: ""; position: absolute; inset-inline-start: 6px; top: 8px; width: 9px; height: 5px; border-left: 2px solid var(--accent-ink); border-bottom: 2px solid var(--accent-ink); transform: rotate(-45deg); }

/* --- אוטומציות */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 80px); align-items: center; }
.auto-split { margin-top: clamp(56px, 7vw, 88px); }
.triggers { list-style: none; padding: 0; margin: 24px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.triggers li { display: flex; align-items: center; gap: 12px; padding: 14px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); }
.triggers .ico { width: 26px; height: 26px; color: var(--accent-ink); }
.triggers b { display: block; font-weight: 600; font-size: 0.98rem; line-height: 1.3; }
.triggers small { display: block; color: var(--muted); font-size: 0.85rem; line-height: 1.35; }
.ifthen { margin-top: 14px; display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); }
.it-side { flex: 1; display: flex; align-items: flex-start; gap: 10px; }
.it-tag { flex: none; padding: 4px 12px; border-radius: 999px; background: var(--accent); color: #17171a; font-weight: 700; font-size: 0.86rem; margin-top: 6px; }
.ifthen .chips { margin: 0; gap: 8px; }
.ifthen .chips li { font-size: 0.88rem; padding: 6px 12px; }
.it-arrow { width: 22px; height: 22px; color: var(--muted); }

.scene-art { position: relative; padding-bottom: 10px; }
.scene { display: block; width: 100%; height: auto; border-radius: 32px; box-shadow: var(--shadow); }
.toasts { position: absolute; list-style: none; margin: 0; padding: 0; top: 18px; inset-inline-end: -18px; width: min(300px, 64%); display: flex; flex-direction: column; gap: 10px; }
.toast {
  display: flex; gap: 12px; align-items: center; padding: 12px 14px;
  background: var(--glass); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow);
  animation: toast-in 0.55s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}
.toast.out { animation: toast-out 0.45s ease forwards; }
.toast .t-ico { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent-ink); flex: none; }
.toast .t-ico .ico { width: 20px; height: 20px; }
.toast.alert { border-color: var(--crit-soft); }
.toast.alert .t-ico { background: var(--crit-soft); color: var(--crit); }
.toast b { display: block; font-weight: 600; font-size: 0.98rem; line-height: 1.3; }
.toast.alert b { color: var(--crit); }
.toast small { display: block; color: var(--muted); font-size: 0.86rem; line-height: 1.35; }
@keyframes toast-in { from { opacity: 0; transform: translateY(-10px) scale(0.97); } to { opacity: 1; transform: none; } }
@keyframes toast-out { to { opacity: 0; transform: translateY(6px) scale(0.97); } }

/* --- הציור של הבית */
.sky { fill: var(--sky-fill); }
.stars { fill: #fff; opacity: var(--stars); transition: opacity 0.6s; }
.moon { fill: #f4eee2; opacity: var(--moon); transition: opacity 0.6s; }
.sun circle { fill: #ffc14d; opacity: var(--sun); transition: opacity 0.6s; }
.ground { fill: var(--ground); }
.ground-line { fill: var(--house-line); }
.house { fill: var(--house); stroke: var(--house-line); stroke-width: 3; }
.floor, .wall { stroke: var(--house-line); stroke-width: 3; }
.roof { stroke-width: 16; stroke-linecap: round; stroke-linejoin: round; }
.panel { fill: var(--glass-win-2); stroke: var(--house-line); stroke-width: 2; }
.tank { fill: var(--furniture-2); stroke: var(--house-line); stroke-width: 2; }
.heater-led { fill: var(--furniture-2); transition: fill 0.4s; }
.scene.is-heater .heater-led { fill: var(--accent); }
.furniture { fill: var(--furniture); }
.furniture-2 { fill: var(--furniture-2); }
.detail { stroke: var(--house-line); stroke-width: 3; fill: none; stroke-linecap: round; }
.cord { stroke: var(--house-line); stroke-width: 2; }
.window-frame { fill: var(--house-line); }
.window-glass { fill: var(--glass-win); }
.sash-pane { fill: var(--glass-win-2); stroke: var(--house-line); stroke-width: 2; transform-box: view-box; transform-origin: 184px 208px; transition: transform 0.9s cubic-bezier(0.3, 0.7, 0.2, 1); }
.scene.is-window .sash-pane { transform: scaleX(0.18); }
.sensor { fill: var(--sensor); stroke: var(--house-line); stroke-width: 1.5; transition: fill 0.3s; }
.scene.is-window .sensor.contact { fill: var(--accent); }
.glow { transition: opacity 1s ease; }
.lamp-glow { opacity: 0.95; }
.scene.is-dim .lamp-glow { opacity: 0.32; }
.scene.is-night .lamp-glow { opacity: 0; }
.lamp { fill: var(--accent-2); transition: fill 0.6s; }
.scene.is-night .lamp { fill: var(--furniture-2); }
.tv { fill: var(--furniture-2); }
.tv-screen { fill: #0b0b0e; transition: fill 0.6s; }
.tv-glow { opacity: 0; }
.scene.is-dim .tv-glow { opacity: 1; }
.scene.is-dim .tv-screen { fill: #3d6fb9; }
.bed-glow { opacity: 0.55; }
.scene.is-night .bed-glow { opacity: 0; }
.night-glow { opacity: 0; }
.scene.is-night .night-glow { opacity: 1; }
.night-lamp { fill: var(--furniture-2); transition: fill 0.6s; }
.scene.is-night .night-lamp { fill: #ffd9a8; }
.ac { fill: var(--ac-body); stroke: var(--house-line); stroke-width: 1.5; }
.ac-led { fill: var(--ok); transition: fill 0.4s; }
.scene.is-window .ac-led, .scene.is-night .ac-led { fill: var(--furniture-2); }
.air { transition: opacity 0.5s; }
.air path { stroke: var(--air); stroke-width: 2.5; fill: none; stroke-linecap: round; transform-box: fill-box; animation: air 1.8s ease-in infinite; }
.air path:nth-child(2) { animation-delay: 0.3s; }
.air path:nth-child(3) { animation-delay: 0.6s; }
.scene.is-window .air, .scene.is-night .air { opacity: 0; }
.hub-box { fill: var(--surface-2); stroke: var(--house-line); stroke-width: 1.5; }
.scene .hub-dot { fill: var(--accent); animation: blink 2.4s infinite; }
.waves path { stroke: var(--accent); fill: none; stroke-width: 2.4; stroke-linecap: round; opacity: 0; animation: wave 2.4s ease-out infinite; }
.waves path:nth-child(2) { animation-delay: 0.35s; }
.waves path:nth-child(3) { animation-delay: 0.7s; }
.drop { fill: #5aa9ff; opacity: 0; transform-box: fill-box; }
.scene.is-leak .drop { animation: drip 1.1s ease-in infinite; }
.scene.is-leak .sensor.leak { fill: var(--crit); }
.ping { fill: none; stroke: var(--crit); stroke-width: 2; opacity: 0; transform-box: fill-box; transform-origin: center; }
.scene.is-leak .ping { animation: ping 1.6s ease-out infinite; }
.scene.is-leak .ping.p2 { animation-delay: 0.8s; }
@keyframes air { 0% { opacity: 0; transform: translateY(-4px); } 35% { opacity: 0.95; } 100% { opacity: 0; transform: translateY(12px); } }
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }
@keyframes wave { 0% { opacity: 0; } 25% { opacity: 0.9; } 100% { opacity: 0; } }
@keyframes drip { 0% { opacity: 0; transform: translateY(-6px); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }
@keyframes ping { 0% { opacity: 0.9; transform: scale(1); } 100% { opacity: 0; transform: scale(3.4); } }
.paused, .paused * { animation-play-state: paused !important; }

/* --- ניהול אנרגיה */
.energy { margin-top: clamp(48px, 6vw, 72px); display: grid; grid-template-columns: auto 1fr 220px; align-items: center; gap: 22px; padding: 22px 26px; background: var(--surface); border: 1px solid var(--line); border-radius: 24px; }
.energy-ico { width: 60px; height: 60px; border-radius: 18px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent-ink); }
.energy-ico .ico { width: 28px; height: 28px; }
.energy h3 { font-size: 1.24rem; font-weight: 700; }
.energy p { color: var(--ink-2); margin-top: 4px; }
.bars { display: flex; align-items: flex-end; gap: 7px; height: 64px; }
.bars i { flex: 1; height: 8%; border-radius: 5px 5px 3px 3px; background: var(--surface-2); border: 1px solid var(--line); transition: height 1s cubic-bezier(0.2, 0.8, 0.2, 1); }
.bars i.hi { background: var(--grad); border: 0; }
.bars.on i:nth-child(1) { height: 34%; } .bars.on i:nth-child(2) { height: 52%; transition-delay: 0.08s; }
.bars.on i:nth-child(3) { height: 40%; transition-delay: 0.16s; } .bars.on i:nth-child(4) { height: 62%; transition-delay: 0.24s; }
.bars.on i:nth-child(5) { height: 50%; transition-delay: 0.32s; } .bars.on i:nth-child(6) { height: 100%; transition-delay: 0.4s; }
.bars.on i:nth-child(7) { height: 42%; transition-delay: 0.48s; }

/* --- טכנולוגיה */
.flow { list-style: none; padding: 0; margin: 0 0 20px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 36px; align-items: center; }
.flow li { position: relative; display: flex; flex-direction: column; gap: 4px; padding: 20px 22px; background: var(--surface); border: 1px solid var(--line); border-radius: 22px; }
.flow li.raised { border-color: color-mix(in srgb, var(--accent) 55%, var(--line)); box-shadow: 0 0 0 4px var(--accent-soft); }
.flow .ico { width: 28px; height: 28px; color: var(--accent-ink); margin-bottom: 8px; }
.flow b { font-weight: 700; font-size: 1.12rem; }
.flow small { color: var(--muted); font-size: 0.88rem; }
.flow li + li::before { content: ""; position: absolute; inset-inline-end: calc(100% + 13px); top: 50%; width: 10px; height: 10px; border-top: 2.5px solid var(--accent); border-right: 2.5px solid var(--accent); transform: translateY(-50%) rotate(45deg); }
[dir="rtl"] .flow li + li::before { transform: translateY(-50%) rotate(-135deg); }
.launch-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: clamp(48px, 6vw, 72px); margin-bottom: 18px; }
.legend { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); font-size: 0.92rem; }
.legend::before, .checks li::before { content: ""; flex: none; width: 10px; height: 5px; border-left: 2.2px solid var(--accent-ink); border-bottom: 2.2px solid var(--accent-ink); transform: translateY(-2px) rotate(-45deg); }
.launch { background: var(--surface); border: 1px solid color-mix(in srgb, var(--accent) 45%, var(--line)); border-radius: 24px; padding: clamp(20px, 3vw, 30px) clamp(22px, 3.4vw, 36px); }
.checks { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px 40px; }
.checks li { display: flex; align-items: center; gap: 14px; font-size: 1.02rem; }
.next { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 12px; margin-top: 18px; }
.next-t { color: var(--muted); font-weight: 700; font-size: 0.86rem; letter-spacing: 0.08em; text-transform: uppercase; margin-inline-end: 6px; }
.next-i { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line); color: var(--ink-2); font-size: 0.92rem; }
.next-i::before { content: ""; width: 8px; height: 8px; border-radius: 50%; border: 1.5px solid var(--muted); }

/* --- שאלות */
.faq details { border-bottom: 1px solid var(--line); padding: 20px 0; }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; font-weight: 600; font-size: 1.14rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent-ink); font-size: 1.3rem; font-weight: 500; transition: transform 0.3s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--ink-2); line-height: 1.8; margin-top: 12px; max-width: 46em; }

/* --- צור קשר */
.contact { position: relative; overflow: hidden; }
.contact::before { content: ""; position: absolute; inset: auto -20% -40% -20%; height: 90%; background: radial-gradient(40% 60% at 50% 100%, var(--halo), transparent 70%); pointer-events: none; }
.contact .wrap { position: relative; }
.contact .split-copy { display: flex; flex-direction: column; align-items: flex-start; }
.person { margin-top: 30px; display: grid; gap: 8px; padding: 24px 28px; border-radius: 24px; background: var(--grad); color: #17171a; box-shadow: 0 20px 50px rgba(255, 122, 26, 0.28); min-width: min(340px, 100%); }
.person b { font-size: 1.3rem; font-weight: 800; }
.person a { display: inline-flex; align-items: center; gap: 10px; color: #17171a; font-weight: 700; font-size: 1.08rem; text-decoration: none; }
.person a:hover { text-decoration: underline; }
.person .ico { width: 20px; height: 20px; stroke-width: 2.2; }
.form { background: var(--surface); border: 1px solid var(--line); border-radius: 28px; padding: clamp(22px, 3vw, 34px); box-shadow: var(--shadow); }
.field { display: grid; gap: 8px; margin-bottom: 16px; }
.field label { font-weight: 500; color: var(--ink-2); font-size: 0.95rem; }
.field input, .field select, .field textarea {
  font: inherit; color: var(--ink); background: var(--bg); border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; width: 100%;
  outline: none; transition: border-color 0.2s, box-shadow 0.2s;
}
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.field [aria-invalid="true"] { border-color: var(--crit); }
[dir="rtl"] .field input[dir="ltr"] { text-align: right; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.hp { position: absolute; width: 1px; height: 1px; overflow: hidden; inset-inline-start: -9999px; }
.form-msg { min-height: 1.6em; margin-top: 14px; font-weight: 500; }
.form-msg.ok { color: var(--green-ink); }
.form-msg.err { color: var(--crit); }

/* --- תחתית */
.foot { border-top: 1px solid var(--line); padding-block: 40px; }
.foot-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; }
.foot-brand { display: flex; align-items: center; gap: 6px; }
.foot-brand img { width: 40px; height: 40px; margin: -6px; }
.foot-brand span { font-weight: 700; letter-spacing: 3px; font-size: 1.2rem; direction: ltr; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.foot-brand small { color: var(--muted); margin-inline-start: 12px; }
.foot-links { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.foot-links a { color: var(--ink-2); text-decoration: none; font-size: 0.95rem; }
.foot-links a:hover { color: var(--accent-ink); }
.copy { color: var(--muted); font-size: 0.9rem; }

/* --- הופעה בגלילה (בלי JS הכל גלוי) */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.8s cubic-bezier(0.2, 0.7, 0.2, 1), transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1); }
.js .reveal.in { opacity: 1; transform: none; }
.cards .reveal:nth-child(2n), .hw-grid .reveal:nth-child(3n + 2), .gallery .reveal:nth-child(2), .tiles .reveal:nth-child(3n + 2) { transition-delay: 0.08s; }
.hw-grid .reveal:nth-child(3n + 3), .gallery .reveal:nth-child(3), .tiles .reveal:nth-child(3n + 3) { transition-delay: 0.16s; }
.gallery .reveal:nth-child(4) { transition-delay: 0.24s; }

/* ------------------------------------------------------------------ מסכים קטנים */
@media (max-width: 1100px) {
  .nav {
    display: none; position: absolute; top: 72px; inset-inline: 12px; flex-direction: column; gap: 2px; padding: 10px;
    background: var(--surface); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow);
  }
  .nav.open { display: flex; }
  .nav a { padding: 12px 14px; }
  .menu-btn { display: grid; }
  .tools { margin-inline-start: auto; }
}
@media (max-width: 960px) {
  .split, .asst { grid-template-columns: 1fr; }
  .asst-side { border-inline-start: 0; border-top: 1px solid var(--line); }
  .scene-art, .ir-art { max-width: 600px; margin-inline: auto; width: 100%; }
  .hw-grid { grid-template-columns: 1fr 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; }
  .tiles { grid-template-columns: 1fr 1fr; }
  .identity { grid-template-columns: 1fr; }
  .hub-card { grid-template-columns: 1fr; }
  .hub-art { max-width: 300px; }
  .flow { grid-template-columns: 1fr 1fr; gap: 16px 36px; }
  .flow li:nth-child(3)::before { display: none; }
  .energy { grid-template-columns: auto 1fr; }
  .energy .bars { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .wrap { padding-inline: 16px; }
  .top-in { gap: 10px; }
  .tools .btn-sm { display: none; }
  .cards.six, .cards.four, .row2, .ir-list, .triggers, .checks, .tiles { grid-template-columns: 1fr; }
  /* החומרה בטלפון: שתי עמודות, בלי התגית – כדי שהרשימה לא תהיה ארוכה מדי */
  .hw-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .hw { padding: 16px 14px 18px; border-radius: 18px; }
  .hw .tag { display: none; }
  .hw-top { margin-bottom: 10px; }
  .hw h3 { font-size: 1rem; }
  .hw p { font-size: 0.88rem; line-height: 1.5; }
  .gallery { gap: 14px; }
  .trio .main { width: 44vw; }
  .trio .side { width: 36vw; }
  .trio .s1 { transform: rotate(-7deg) translateY(26px); margin-right: -10vw; }
  .trio .s2 { transform: rotate(7deg) translateY(26px); margin-left: -10vw; }
  .brand-bar { flex-wrap: wrap; justify-content: center; border-radius: 22px; gap: 10px 14px; padding: 12px 14px; }
  [dir="rtl"] .brand-bar { padding: 12px 14px; }
  .brand-now { min-width: 0; }
  .brand-t { order: 3; width: 100%; border: 0; padding: 0; }
  .app-tile { width: 74px; height: 74px; border-radius: 22px; }
  .app-tiles { gap: 12px; }
  .ifthen { flex-direction: column; align-items: stretch; }
  .it-arrow, [dir="rtl"] .it-arrow { transform: rotate(90deg); align-self: center; }
  .toasts { inset-inline-end: 6px; top: 10px; width: 72%; }
  .toast { padding: 10px 12px; }
  .toast .t-ico { width: 32px; height: 32px; }
  .flow { grid-template-columns: 1fr; gap: 26px; }
  .flow li + li::before, [dir="rtl"] .flow li + li::before { inset-inline-end: auto; left: 50%; top: -19px; transform: translateX(-50%) rotate(135deg); }
  .flow li:nth-child(3)::before { display: block; }
  .setup { padding: 18px; }
  .setup ol { flex-direction: column; }
  .setup li + li::before { display: none; }
  .person { padding: 20px 22px; }
  .foot-brand small { display: block; margin: 4px 0 0; width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal, .bubble { opacity: 1; transform: none; }
  .bars i { height: 50%; }
}

/* ------------------------------------------------------------------ דפי המדיניות (/privacy, /app-privacy) */
/* שתי השפות בדף: מוצגת רק זו של <html lang> (boot.js קובע אותה לפני שהדף מוצג) */
html[lang="en"] [data-l="he"], html:not([lang="en"]) [data-l="en"] { display: none !important; }
.top-in .tools.end { margin-inline-start: auto; }
.legal { padding-block: clamp(36px, 6vw, 72px) clamp(56px, 8vw, 96px); }
.legal .wrap { width: min(820px, 100%); }
.doc h1 { font-size: clamp(2rem, 4.6vw, 2.9rem); font-weight: 700; }
.doc .updated { color: var(--muted); font-size: 0.95rem; margin-top: 12px; }
.doc .intro { color: var(--ink-2); font-size: 1.12rem; line-height: 1.8; margin-top: 22px; }
.doc section { margin-top: 44px; }
.doc h2 { font-size: 1.32rem; font-weight: 700; padding-bottom: 12px; margin-bottom: 16px; border-bottom: 1px solid var(--line); }
.doc p { color: var(--ink-2); line-height: 1.75; }
.doc p + p, .doc p + ul, .doc ul + p, .doc ul + .table-wrap, .doc p + .table-wrap { margin-top: 14px; }
.doc ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.doc li { position: relative; padding-inline-start: 22px; color: var(--ink-2); line-height: 1.7; }
.doc li::before { content: ""; position: absolute; inset-inline-start: 3px; top: 0.7em; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.doc li ul { margin-top: 10px; }
.doc li li::before { background: transparent; border: 1.5px solid var(--accent); }
.doc b { color: var(--ink); font-weight: 600; }
.doc a { color: var(--accent-ink); text-underline-offset: 3px; overflow-wrap: anywhere; }
.doc .ltr { direction: ltr; unicode-bidi: isolate; }
/* הערה בראש הדף, ו"בקצרה" */
.legal-card { margin-top: 28px; padding: 20px 22px; border: 1px solid var(--line); border-radius: 20px; background: var(--surface); }
.legal-card.row { display: flex; gap: 14px; align-items: flex-start; }
.legal-card.row > .ico { color: var(--accent-ink); width: 24px; height: 24px; margin-top: 3px; }
.legal-card h2 { font-size: 1.05rem; border: 0; padding: 0; margin-bottom: 12px; color: var(--accent-ink); }
.legal-card p { color: var(--ink-2); }
/* כמה זמן נשמר */
.table-wrap { border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
.doc table { width: 100%; border-collapse: collapse; font-size: 0.97rem; }
.doc th, .doc td { text-align: start; vertical-align: top; padding: 12px 16px; line-height: 1.6; }
.doc thead th { background: var(--surface-2); color: var(--ink); font-weight: 600; }
.doc tbody td { color: var(--ink-2); }
.doc tbody td:first-child { color: var(--ink); width: 44%; }
.doc tbody tr + tr td { border-top: 1px solid var(--line); }
@media (max-width: 640px) {
  .doc h2 { font-size: 1.18rem; }
  .doc th, .doc td { padding: 10px 12px; font-size: 0.93rem; }
  .legal-card { padding: 16px 16px; border-radius: 16px; }
}
