/* =============================================================
   ReelCoach · תקנון, פרטיות וביטול - בשפת העיצוב של האתר
   =============================================================
   שלושת הדפים לא מופיעים בקובץ העיצוב. השפה נלקחה מהדפים שכן: רקע
   המגרש עם הזוהר הכתום (כניסה, מסלולים, תשלום), כותרת Heebo גדולה עם
   תווית מונו כתומה מעליה, כרטיסים כהים עם קו דק ורדיוס 16.
   מסמך משפטי נקרא ולא נסרק, ולכן הטקסט עצמו בעמודה צרה (72 תווים),
   בגודל 17px ובריווח שורות נדיב, ותוכן העניינים דביק לצידו.

   **כל כלל תחום ל-html.rc-legal**, שנוסף רק אחרי שהשכבה נבנתה בהצלחה.
   ============================================================= */
/* הגופנים מוגשים מהאתר עצמו: מדיניות האבטחה חוסמת את Google Fonts */
@font-face{font-family:"Heebo";font-style:normal;font-weight:400 900;font-display:swap;
  src:url("/assets/fonts/heebo-hebrew.woff2") format("woff2");unicode-range:U+0307-0308, U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F}
@font-face{font-family:"Heebo";font-style:normal;font-weight:400 900;font-display:swap;
  src:url("/assets/fonts/heebo-latin.woff2") format("woff2");unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
@font-face{font-family:"Assistant";font-style:normal;font-weight:400 800;font-display:swap;
  src:url("/assets/fonts/assistant-hebrew.woff2") format("woff2");unicode-range:U+0307-0308, U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F}
@font-face{font-family:"Assistant";font-style:normal;font-weight:400 800;font-display:swap;
  src:url("/assets/fonts/assistant-latin.woff2") format("woff2");unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}

@keyframes rcLegalReveal{to{opacity:1}}
html.rc-legal-boot body{opacity:0;animation:rcLegalReveal 0s 2s forwards}

html.rc-legal{font-size:17px;background:#050505!important}
html.rc-legal body{
  --rc-orange:#ff4d0a;--rc-paper:#f5f2ec;--rc-muted:#aaa7a2;--rc-line:rgba(245,242,236,.14);
  margin:0;background:#050505!important;color:var(--rc-paper);font-family:Assistant,Arial,sans-serif;
  line-height:1.75;isolation:isolate;
}
/* הרקע של המגרש, כמו בדף התשלום, אבל כהה יותר - כאן קוראים טקסט ארוך */
html.rc-legal body::before{
  content:"";position:fixed;inset:0;z-index:-1;
  background:linear-gradient(180deg,rgba(5,5,5,.86) 0%,rgba(5,5,5,.96) 38%,#050505 70%),
             url('/assets/court-hero.jpg') center top/cover no-repeat !important;
  filter:saturate(.7) contrast(1.05);
}
html.rc-legal body::after{
  content:"";position:fixed;inset:0;z-index:-1;pointer-events:none;
  background:radial-gradient(circle at 78% 8%,rgba(255,77,10,.14),transparent 32%);
}
html.rc-legal ::selection{background:rgba(255,77,10,.35)}
html.rc-legal :focus-visible{outline:2px solid #ff4d0a;outline-offset:3px;border-radius:4px}

/* ---------- סרגל עליון ---------- */
html.rc-legal body > header,html.rc-legal body > main,html.rc-legal body > footer{width:min(1240px,calc(100% - 48px));margin-inline:auto}
html.rc-legal body > header{padding:0;border:0}
html.rc-legal .rc-legal-oldlogo{display:none!important}
html.rc-legal .rc-legal-bar{
  display:flex;align-items:center;justify-content:space-between;gap:20px;flex-wrap:wrap;
  padding:20px 0 18px;border-bottom:1px solid var(--rc-line);
}
html.rc-legal .rc-legal-logo{display:block;line-height:0}
html.rc-legal .rc-legal-logo img{height:34px;width:auto;display:block}
/* שלושת המסמכים כמתג, כמו מתג המסכים בדפים הציבוריים */
html.rc-legal .rc-legal-tabs{
  display:flex;gap:4px;margin:0;padding:4px;flex-wrap:wrap;
  border:1px solid var(--rc-line);border-radius:999px;background:rgba(16,16,17,.82);
}
html.rc-legal .rc-legal-tabs a{
  display:inline-flex;align-items:center;min-height:40px;padding:0 16px;border-radius:999px;
  color:var(--rc-muted);text-decoration:none;font:700 15px Assistant,Arial,sans-serif;transition:color .15s,background .15s;
}
html.rc-legal .rc-legal-tabs a:hover{color:var(--rc-paper);background:rgba(245,242,236,.06)}
html.rc-legal .rc-legal-tabs a[aria-current="page"]{background:var(--rc-paper);color:#111}
html.rc-legal .rc-legal-tabs a.rc-legal-pricing{color:#ff8752}
html.rc-legal .rc-legal-actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
/* חזרה למסך הראשי: אותו כפתור מסגרת כמו "חזרה לבחירת מסלול" בדף התשלום */
html.rc-legal .rc-legal-home{
  display:inline-flex;align-items:center;gap:8px;min-height:48px;padding:0 18px;
  border:1px solid #55555a;border-radius:10px;background:rgba(16,16,17,.82);
  color:var(--rc-paper);text-decoration:none;font:700 15px Assistant,Arial,sans-serif;white-space:nowrap;
  transition:border-color .15s,color .15s;
}
/* החץ של "חזרה" בשאר האתר: → לפני הטקסט */
html.rc-legal .rc-legal-home::before{content:"→";font-size:17px;line-height:1}
html.rc-legal .rc-legal-home:hover{border-color:var(--rc-orange);color:var(--rc-orange)}

/* ---------- כותרת ---------- */
html.rc-legal .rc-legal-hero{padding:54px 0 34px;max-width:860px}
html.rc-legal .rc-legal-eyebrow{font:600 15px 'IBM Plex Mono',ui-monospace,Menlo,Consolas,monospace;color:var(--rc-orange);letter-spacing:.04em}
html.rc-legal .rc-legal-hero h1{
  font:800 clamp(38px,5.2vw,64px)/1.05 Heebo,Assistant,Arial,sans-serif;margin:12px 0 22px;
  color:var(--rc-paper);letter-spacing:-1.5px;
}
html.rc-legal .rc-legal-hero .notice{
  margin:0;max-width:760px;padding:14px 18px;font-size:17px;line-height:1.6;color:#d6d3cd;
  background:rgba(16,16,17,.82);border:1px solid var(--rc-line);border-inline-start:3px solid var(--rc-orange);border-radius:12px;
}

/* ---------- תוכן עניינים ומסמך ---------- */
html.rc-legal body > main{padding:0 0 40px}
html.rc-legal .rc-legalwrap{display:grid;grid-template-columns:minmax(0,1fr) 280px;gap:28px;align-items:start}
/* **display:block במפורש.** legal.css מסדר כל nav כשורת flex, ובלי זה
   הכותרת "בעמוד הזה" נצמדה לצד הרשימה במקום לשבת מעליה. */
html.rc-legal .rc-legal-toc{
  display:block;margin:0;
  grid-column:2;grid-row:1;position:sticky;top:24px;padding:18px 18px 14px;
  background:rgba(16,16,17,.9);border:1px solid var(--rc-line);border-radius:16px;
  max-height:calc(100vh - 48px);overflow:auto;
}
html.rc-legal .rc-legal-toc-title{font:600 14px 'IBM Plex Mono',ui-monospace,Menlo,Consolas,monospace;letter-spacing:.04em;color:var(--rc-muted);margin-bottom:10px}
html.rc-legal .rc-legal-toc ol{list-style:none;margin:0;padding:0;display:grid;gap:2px}
html.rc-legal .rc-legal-toc a{
  display:block;padding:7px 10px;border-radius:8px;border-inline-start:2px solid transparent;
  color:#c9c6c0;text-decoration:none;font-size:15px;line-height:1.4;
}
html.rc-legal .rc-legal-toc a:hover{color:var(--rc-paper);background:rgba(245,242,236,.05)}
html.rc-legal .rc-legal-toc a.rc-on{color:var(--rc-paper);border-inline-start-color:var(--rc-orange);background:rgba(255,77,10,.08)}

html.rc-legal .rc-legal-doc{
  grid-column:1;grid-row:1;padding:12px 44px 36px;
  background:rgba(16,16,17,.9);border:1px solid var(--rc-line);border-radius:16px;
}
html.rc-legal .rc-legal-section{padding:28px 0 6px;border-bottom:1px solid rgba(245,242,236,.08);scroll-margin-top:24px}
html.rc-legal .rc-legal-section:last-child{border-bottom:0}
html.rc-legal .rc-legal-doc h2{
  margin:0 0 12px;scroll-margin-top:28px;color:var(--rc-paper);
  font:700 24px/1.3 Heebo,Assistant,Arial,sans-serif;letter-spacing:-.3px;
}
html.rc-legal .rc-legal-doc h3{margin:22px 0 8px;font:700 19px Heebo,Assistant,sans-serif;color:var(--rc-paper)}
html.rc-legal .rc-legal-doc p,html.rc-legal .rc-legal-doc li{max-width:72ch;color:#dcd9d3;font-size:17px}
html.rc-legal .rc-legal-doc p{margin:0 0 14px}
html.rc-legal .rc-legal-doc ul,html.rc-legal .rc-legal-doc ol{margin:0 0 14px;padding-inline-start:22px}
html.rc-legal .rc-legal-doc li{margin-bottom:6px}
html.rc-legal .rc-legal-doc li::marker{color:var(--rc-orange)}
html.rc-legal .rc-legal-doc a{color:#ff9b75;text-underline-offset:3px;text-decoration-thickness:1px}
html.rc-legal .rc-legal-doc a:hover{color:#ffc2a8}
html.rc-legal .rc-legal-doc strong,html.rc-legal .rc-legal-doc b{color:var(--rc-paper)}

/* טבלאות: שורות על רקע כרטיס, כותרת השורה אפורה והערך לבן */
html.rc-legal .rc-legal-doc table{
  width:100%;margin:6px 0 18px;border-collapse:separate;border-spacing:0;overflow:hidden;
  background:#0c0c0e;border:1px solid var(--rc-line);border-radius:12px;
}
html.rc-legal .rc-legal-doc th,html.rc-legal .rc-legal-doc td{padding:12px 16px;border:0;border-bottom:1px solid rgba(245,242,236,.08);text-align:start;vertical-align:top;font-size:16px}
html.rc-legal .rc-legal-doc tr:last-child th,html.rc-legal .rc-legal-doc tr:last-child td{border-bottom:0}
html.rc-legal .rc-legal-doc th{width:32%;color:var(--rc-muted);font-weight:600;background:rgba(245,242,236,.02)}
html.rc-legal .rc-legal-doc td{color:var(--rc-paper)}
html.rc-legal .rc-legal-doc thead th,html.rc-legal .rc-legal-doc tr:first-child th:only-child{width:auto}

/* ---------- תחתית ---------- */
html.rc-legal .rc-legal-footer{
  margin-top:10px;padding:22px 0 36px;border-top:1px solid var(--rc-line);
  color:var(--rc-muted);font-size:15px;
}

/* ---------- מסכים צרים ---------- */
@media (max-width:980px){
  html.rc-legal .rc-legalwrap{grid-template-columns:1fr;gap:16px}
  html.rc-legal .rc-legal-toc{grid-column:1;grid-row:1;position:static;max-height:none}
  html.rc-legal .rc-legal-toc ol{grid-template-columns:repeat(2,minmax(0,1fr))}
  html.rc-legal .rc-legal-doc{grid-row:2;padding:6px 22px 24px}
}
@media (max-width:600px){
  html.rc-legal body > header,html.rc-legal body > main,html.rc-legal body > footer{width:calc(100% - 28px)}
  html.rc-legal .rc-legal-bar{justify-content:center}
  html.rc-legal .rc-legal-actions{justify-content:center;width:100%}
  html.rc-legal .rc-legal-home{min-height:44px}
  html.rc-legal .rc-legal-tabs a{padding:0 11px;font-size:14px}
  html.rc-legal .rc-legal-hero{padding:32px 0 22px}
  html.rc-legal .rc-legal-toc ol{grid-template-columns:1fr;gap:0}
  html.rc-legal .rc-legal-toc{padding:14px 12px 10px}
  html.rc-legal .rc-legal-toc a{padding:5px 8px;font-size:15px}
  html.rc-legal .rc-legal-doc{padding:4px 16px 20px;border-radius:12px}
  html.rc-legal .rc-legal-doc h2{font-size:21px}
  html.rc-legal .rc-legal-doc th{width:auto;display:block;padding-bottom:2px;border-bottom:0}
  html.rc-legal .rc-legal-doc td{display:block;padding-top:2px}
}
@media print{
  html.rc-legal body::before,html.rc-legal body::after,html.rc-legal .rc-legal-toc,html.rc-legal .rc-legal-tabs{display:none}
  html.rc-legal body{background:#fff!important;color:#000}
  html.rc-legal .rc-legal-doc{background:#fff;border:0;padding:0}
  html.rc-legal .rc-legal-doc p,html.rc-legal .rc-legal-doc li,html.rc-legal .rc-legal-doc td,html.rc-legal .rc-legal-hero h1,html.rc-legal .rc-legal-doc h2{color:#000}
}
