/* =========================================================================
   כוח החשיבה — shared styles for legal / informational pages
   (תקנון, מדיניות משלוחים, ביטול עסקה, פרטיות, הצהרת נגישות)
   Reuses the same design tokens as index.html so these pages feel like
   part of the same site, without pulling in Three.js/GSAP (not needed here).
   ========================================================================= */
:root{
  --bg: #f8f4fd;
  --bg-soft: #f1e8fa;
  --bg-elevated: #ffffff;
  --purple-deep: #f0e4fb;
  --purple: #6d3fd6;
  --purple-bright: #a855f7;
  --btn-purple: #9333ea;
  --violet: #7c5cff;
  --blue: #3a5ce0;
  --blue-bright: #5ec8ff;
  --blue-text: #1d4ed8; /* darker blue for readable text/links on the light background */
  --purple-text: #7e22ce; /* darker purple for readable text on the light background */
  --ink: #1c1626;
  --muted: #5b5470;
  --muted-2: #4a4460;
  --line: rgba(28,22,38,0.12);
  --line-soft: rgba(28,22,38,0.07);
  --line-strong: rgba(28,22,38,0.35);
  --radius-s: 10px;
  --radius-m: 16px;
  --radius-l: 28px;
  --ease-out: cubic-bezier(.16,.8,.24,1);
  --container: 900px;
  --font-body: "Heebo", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-serif: "Frank Ruhl Libre", Georgia, serif;
}
*,*::before,*::after{ box-sizing:border-box; }
html{ scroll-behavior:smooth; background:var(--bg); }
@media (prefers-reduced-motion: reduce){ html{ scroll-behavior:auto; } }
body{
  margin:0; background:var(--bg); color:var(--ink);
  font-family:var(--font-body); direction:rtl;
  -webkit-font-smoothing:antialiased; line-height:1.7;
}
img{ max-width:100%; display:block; }
a{ color:var(--blue-text); text-decoration:underline; text-underline-offset:2px; }
a:hover{ color:var(--ink); }
::selection{ background:var(--purple-bright); color:#fff; }
.container{ width:100%; max-width:var(--container); margin:0 auto; padding:0 24px; }

.visually-hidden{
  position:absolute !important; width:1px;height:1px; padding:0;margin:-1px;
  overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap;border:0;
}
.skip-link{
  position:fixed; top:-100px; right:16px; z-index:1000;
  background:var(--purple-bright); color:#fff; padding:12px 20px;
  border-radius:999px; transition:top .25s var(--ease-out); font-weight:600;
}
.skip-link:focus{ top:16px; }
:focus-visible{ outline:2px solid var(--blue-bright); outline-offset:3px; border-radius:4px; }
html.a11y-strong-focus :focus-visible{ outline:4px solid #ffd400 !important; outline-offset:3px !important; }

.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:10px;
  padding:14px 28px; border-radius:999px; border:none; cursor:pointer;
  font-size:15px; font-weight:700; color:#fff;
  background:linear-gradient(135deg, var(--btn-purple), var(--blue));
  text-decoration:none;
  box-shadow:0 8px 30px -8px rgba(168,85,247,.55), 0 2px 10px rgba(0,0,0,.4);
  transition:transform .3s var(--ease-out);
}
.btn:hover{ transform:translateY(-2px); color:#fff; }

/* ---- simple top bar ---- */
.legal-nav{
  position:sticky; top:0; z-index:500;
  background:rgba(5,4,7,.85); backdrop-filter:blur(14px);
  border-bottom:1px solid var(--line); padding:16px 0;
}
.legal-nav .container{ display:flex; align-items:center; justify-content:space-between; gap:16px; flex-wrap:wrap; }
.legal-nav-logo{ font-weight:800; font-size:17px; color:var(--ink); text-decoration:none; display:flex; align-items:center; gap:8px; }
.legal-nav-logo .dot{ width:8px; height:8px; border-radius:50%; background:linear-gradient(135deg,var(--purple-bright),var(--blue-bright)); }
.legal-nav-back{ font-size:14px; color:var(--muted); text-decoration:none; }
.legal-nav-back:hover{ color:var(--ink); }

/* ---- content ---- */
.legal-main{ padding:64px 0 100px; }
.legal-title{
  font-size:clamp(28px,4.4vw,44px); font-weight:800; line-height:1.2; margin:0 0 10px;
}
.legal-updated{ color:var(--muted-2); font-size:14px; margin-bottom:44px; }
.legal-intro{ color:var(--muted); font-size:17px; max-width:680px; margin-bottom:8px; }
.legal-content h2{
  font-size:22px; font-weight:800; margin:46px 0 14px;
  padding-top:20px; border-top:1px solid var(--line-soft);
}
.legal-content h2:first-of-type{ border-top:none; padding-top:0; }
.legal-content h3{ font-size:17px; font-weight:700; margin:22px 0 8px; color:var(--ink); }
.legal-content p{ color:var(--muted); font-size:16px; margin:0 0 14px; }
.legal-content ul, .legal-content ol{ color:var(--muted); font-size:16px; margin:0 0 14px; padding-inline-start:24px; }
.legal-content li{ margin-bottom:8px; }
.legal-content strong{ color:var(--ink); }
.legal-content .placeholder{
  color:#ffd98a; background:rgba(255,217,138,.08);
  border:1px dashed rgba(255,217,138,.5); border-radius:6px;
  padding:1px 8px; font-weight:600; white-space:nowrap;
}
.legal-content .review-flag{
  display:block; margin:16px 0; padding:14px 18px;
  background:rgba(255,143,163,.08); border:1px solid rgba(255,143,163,.4);
  border-radius:var(--radius-s); color:#ffb3c0; font-size:14px; line-height:1.7;
}
.legal-content .info-box{
  padding:16px 20px; background:rgba(168,85,247,.08);
  border:1px solid rgba(168,85,247,.3); border-radius:var(--radius-s);
  margin:18px 0; color:var(--muted); font-size:15px;
}
.legal-toc{ margin:32px 0 48px; padding:22px 24px; background:var(--bg-elevated); border:1px solid var(--line-strong); border-radius:var(--radius-m); }
.legal-toc h2{ font-size:15px; margin:0 0 12px; border:none; padding:0; color:var(--muted-2); text-transform:uppercase; letter-spacing:.05em; }
.legal-toc ol{ columns:2; column-gap:24px; font-size:14px; color:var(--muted); padding-inline-start:20px; margin:0; }
@media (max-width:640px){ .legal-toc ol{ columns:1; } }
.legal-toc a{ color:var(--muted); text-decoration:none; }
.legal-toc a:hover{ color:var(--blue-bright); text-decoration:underline; }

.legal-report{
  margin-top:56px; padding:26px; background:var(--bg-elevated);
  border:1px solid var(--line-strong); border-radius:var(--radius-m);
}
.legal-report h2{ margin-top:0; border:none; padding-top:0; }

/* ---- footer (shared with index.html) ---- */
.site-footer{ background:var(--bg-soft); border-top:1px solid var(--line-soft); padding:60px 0 34px; margin-top:0; }
.footer-grid{ display:flex; justify-content:space-between; align-items:flex-start; gap:40px; flex-wrap:wrap; }
.footer-brand{ font-weight:800; font-size:18px; }
.footer-tagline{ color:var(--muted-2); font-size:14px; margin-top:8px; max-width:280px; }
.footer-links{ display:flex; gap:40px; flex-wrap:wrap; }
.footer-col h4{ font-size:13px; color:var(--muted-2); letter-spacing:.06em; text-transform:uppercase; margin-bottom:14px; }
.footer-col a{ display:block; color:var(--muted); font-size:14px; margin-bottom:10px; text-decoration:none; }
.footer-col a:hover{ color:var(--ink); }
.footer-bottom{ margin-top:50px; padding-top:24px; border-top:1px solid var(--line-soft); display:flex; justify-content:space-between; flex-wrap:wrap; gap:12px; color:var(--muted-2); font-size:13px; }
.footer-contact address{ font-style:normal; color:var(--muted); font-size:14px; line-height:1.9; }
.footer-contact a{ color:var(--muted); }
.footer-contact a:hover{ color:var(--ink); }
@media (max-width:640px){ .footer-grid{ flex-direction:column; } .footer-bottom{ flex-direction:column; text-align:center; } }

/* ================= ACCESSIBILITY WIDGET (identical to index.html) ================= */
.a11y-toggle{
  position:fixed; z-index:900; bottom:22px; inset-inline-start:22px;
  width:52px; height:52px; border-radius:50%;
  background:linear-gradient(135deg, var(--btn-purple), var(--blue));
  border:none; cursor:pointer; display:flex; align-items:center; justify-content:center;
  box-shadow:0 8px 26px -6px rgba(168,85,247,.6), 0 2px 10px rgba(0,0,0,.4); color:#fff;
}
.a11y-toggle svg{ width:26px; height:26px; }
.a11y-panel{
  position:fixed; z-index:900; bottom:84px; inset-inline-start:22px;
  width:min(320px, calc(100vw - 44px)); background:var(--bg-elevated);
  border:1px solid var(--line-strong); border-radius:var(--radius-m); padding:20px;
  box-shadow:0 20px 60px -12px rgba(0,0,0,.6); display:none;
}
.a11y-panel.is-open{ display:block; }
.a11y-panel h2{ font-size:16px; font-weight:800; margin-bottom:14px; border:none; padding:0; }
.a11y-row{ display:flex; align-items:center; justify-content:space-between; gap:12px; padding:10px 0; border-top:1px solid var(--line-soft); }
.a11y-row:first-of-type{ border-top:none; }
.a11y-row span{ font-size:14px; color:var(--ink); }
.a11y-btn-group{ display:flex; gap:6px; }
.a11y-btn-group button, .a11y-action-btn{
  background:rgba(255,255,255,.05); border:1px solid var(--line-strong); color:var(--ink);
  border-radius:8px; width:34px; height:34px; font-size:15px; font-weight:700; cursor:pointer;
}
.a11y-switch{
  position:relative; width:42px; height:24px; border-radius:999px;
  background:rgba(255,255,255,.1); border:1px solid var(--line-strong); cursor:pointer; flex-shrink:0;
}
.a11y-switch::after{
  content:""; position:absolute; top:2px; inset-inline-start:2px; width:18px; height:18px; border-radius:50%;
  background:var(--muted); transition:inset-inline-start .2s var(--ease-out), background .2s;
}
.a11y-switch[aria-pressed="true"]{ background:var(--btn-purple); }
.a11y-switch[aria-pressed="true"]::after{ inset-inline-start:20px; background:#fff; }
.a11y-reset{ margin-top:16px; width:100%; }
@media (prefers-reduced-motion: reduce){ .a11y-switch::after{ transition:none; } }

html.a11y-large-text{ font-size:112%; }
html.a11y-larger-text{ font-size:124%; }
html.a11y-high-contrast{ --bg:#000000; --bg-soft:#000000; --bg-elevated:#0a0a0a; --ink:#ffffff; --muted:#ffffff; --muted-2:#e6e6e6; --line:rgba(255,255,255,0.4); --line-strong:rgba(255,255,255,0.7); --purple-bright:#d9a3ff; --blue-bright:#9fdcff; }
html.a11y-underline-links a{ text-decoration:underline !important; }
html.a11y-stop-motion *{ animation-play-state:paused !important; transition-duration:0s !important; }
