/* עיצוב משותף למסמכי האתר: מדיניות פרטיות, תנאי שימוש והצהרת נגישות */
:root {
  --night: #0B1022; --night-2: #0F1630; --panel: #141C38; --panel-2: #1A2346;
  --line: rgba(255, 255, 255, 0.10); --line-2: rgba(255, 255, 255, 0.16);
  --ink: #EEF1FA; --muted: #A9B2C8; --faint: #8790AB;
  --blue-soft: #93B4FF; --violet-soft: #C4B5FD; --gold: #FBBF24; --gold-soft: #FDE68A; --green: #34D399;
  --display: 'Secular One', 'Assistant', system-ui, sans-serif;
  --body: 'Assistant', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body { margin: 0; background: var(--night); color: var(--ink); font-family: var(--body); font-size: 18px; line-height: 1.75; -webkit-font-smoothing: antialiased; }
::selection { background: var(--gold); color: var(--night); }
::-webkit-scrollbar { width: 12px; }
::-webkit-scrollbar-track { background: var(--night); }
::-webkit-scrollbar-thumb { background: #283260; border-radius: 12px; border: 3px solid var(--night); }
html { scrollbar-color: #283260 var(--night); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 8px; }
a { color: var(--blue-soft); text-underline-offset: 4px; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; line-height: 1.2; margin: 0; text-wrap: balance; }
p { margin: 0 0 14px; text-wrap: pretty; }
ul, ol { margin: 0 0 14px; padding-inline-start: 22px; }
li { margin-bottom: 8px; }
li::marker { color: var(--gold); }
strong { color: #fff; }

/* סרגל עליון */
.bar { border-bottom: 1px solid var(--line); background: rgba(11, 16, 34, 0.9); }
.bar .in { width: min(1180px, 100% - 40px); margin-inline: auto; display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.brand img { width: 36px; height: 36px; border-radius: 26%; }
.brand span { font-family: var(--display); font-size: 20px; }
.back { color: var(--muted); font-weight: 700; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.back:hover { color: var(--ink); text-decoration: underline; }

/* פתיחת המסמך */
.doc-hero { position: relative; overflow: hidden; isolation: isolate; padding: 64px 0 48px; border-bottom: 1px solid var(--line); }
.doc-hero::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(50% 120% at 85% 0%, rgba(124, 58, 237, 0.30), transparent 70%), radial-gradient(40% 100% at 10% 100%, rgba(37, 99, 235, 0.22), transparent 70%);
}
.doc-hero .in { width: min(1180px, 100% - 40px); margin-inline: auto; }
.doc-hero h1 { font-size: clamp(2.3rem, 5vw, 3.6rem); }
.doc-hero .lede { margin-top: 14px; color: #C8CFE0; font-size: 1.15rem; max-width: 60ch; }
.doc-hero .dates { display: flex; flex-wrap: wrap; gap: 8px 12px; margin-top: 20px; }
.doc-hero .dates span { font-size: 15px; font-weight: 700; color: var(--muted); background: var(--panel); border: 1px solid var(--line-2); border-radius: 999px; padding: 5px 14px; }

/* פריסה: תוכן עניינים בצד ומסמך */
.doc { width: min(1180px, 100% - 40px); margin-inline: auto; display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 64px; padding: 48px 0 96px; }
.toc { position: sticky; top: 24px; align-self: start; }
.toc h2 { font-family: var(--body); font-weight: 800; font-size: 14px; color: var(--muted); letter-spacing: 0.02em; margin-bottom: 10px; }
.toc ol { list-style: none; padding: 0; margin: 0; border-inline-start: 2px solid var(--line-2); }
.toc li { margin: 0; }
.toc a { display: block; padding: 6px 14px; margin-inline-start: -2px; border-inline-start: 2px solid transparent; color: var(--muted); text-decoration: none; font-weight: 600; font-size: 15.5px; line-height: 1.4; transition: color 0.2s, border-color 0.2s; }
.toc a:hover { color: var(--ink); }
.toc a.on { color: var(--gold-soft); border-inline-start-color: var(--gold); }
.body { max-width: 760px; }
.body section { padding-top: 8px; }
.body section + section { margin-top: 40px; }
.body h2 { font-size: 1.75rem; margin-bottom: 14px; }
.body h3 { font-family: var(--body); font-weight: 800; font-size: 1.15rem; margin: 22px 0 8px; color: #fff; }

/* בקצרה */
.summary { background: linear-gradient(150deg, rgba(91, 33, 182, 0.28), rgba(30, 58, 138, 0.22)); border: 1px solid rgba(196, 181, 253, 0.3); border-radius: 22px; padding: 24px 26px; margin-bottom: 44px; }
.summary h2 { font-size: 1.5rem; margin-bottom: 14px; }
.summary ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.summary li { display: flex; gap: 12px; align-items: flex-start; margin: 0; font-weight: 600; }
.summary li svg { flex: none; width: 22px; height: 22px; color: var(--green); margin-top: 3px; }

/* טבלאות */
.table-wrap { overflow-x: auto; margin: 6px 0 16px; border: 1px solid var(--line-2); border-radius: 16px; }
table { width: 100%; border-collapse: collapse; font-size: 16px; line-height: 1.55; min-width: 560px; }
th, td { text-align: right; padding: 12px 16px; vertical-align: top; border-bottom: 1px solid var(--line); }
th { background: var(--panel); font-weight: 800; color: #fff; }
tr:last-child td { border-bottom: 0; }
td:first-child { font-weight: 700; color: #fff; white-space: nowrap; }

.note { background: var(--panel); border: 1px solid var(--line-2); border-radius: 16px; padding: 16px 20px; margin: 8px 0 16px; }
.note p:last-child { margin-bottom: 0; }
.contact { margin-top: 18px; background: var(--panel); border: 1px solid var(--line-2); border-radius: 18px; padding: 20px 22px; }
.contact p:last-child { margin-bottom: 0; }

footer { border-top: 1px solid var(--line); padding: 28px 0 40px; color: var(--faint); font-size: 15px; }
footer .in { width: min(1180px, 100% - 40px); margin-inline: auto; display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between; }
footer nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
footer a { color: var(--muted); font-weight: 600; text-decoration: none; }
footer a:hover, footer a[aria-current] { color: var(--ink); text-decoration: underline; }

@media (max-width: 900px) {
  .doc { grid-template-columns: minmax(0, 1fr); gap: 28px; padding-top: 32px; }
  .toc { position: static; background: var(--panel); border: 1px solid var(--line-2); border-radius: 18px; padding: 16px 18px; }
  .toc ol { columns: 2; column-gap: 18px; border: 0; }
  .toc a { padding: 5px 0; border: 0; font-size: 15px; }
}
@media (max-width: 520px) {
  body { font-size: 17px; }
  .doc-hero { padding: 44px 0 36px; }
  .toc ol { columns: 1; }
  .summary { padding: 20px 18px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
