/* =====================================================
   פשוט לפרוש — Legal Pages CSS
   Used by: privacy.html, accessibility.html
   ===================================================== */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy:  #0D1B3E;
  --bg:    #FFFFFF;
  --bg2:   #F4F7FC;
  --gold:  #C47B0A;
  --text:  #0D1B3E;
  --text2: #4A587A;
  --font:  'Heebo', sans-serif;
  --max:   760px;
}

html { font-size: 16px; -webkit-font-smoothing: antialiased; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

body {
  font-family: var(--font);
  background: var(--bg2);
  color: var(--text);
  line-height: 1.8;
  direction: rtl;
}

a { color: var(--gold); text-decoration: underline; }
a:hover { opacity: .85; }
a:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 2px;
}

.skip-link {
  position: absolute;
  top: -40px;
  right: 12px;
  background: var(--navy);
  color: #FFFFFF;
  padding: 10px 16px;
  border-radius: 4px;
  font-weight: 700;
  z-index: 9999;
  text-decoration: none;
  transition: top .2s ease;
}
.skip-link:focus { top: 12px; }

.brand-bar {
  background: var(--navy);
  padding: 18px 24px;
  text-align: center;
}
.brand-bar a {
  font-size: 1.3rem;
  font-weight: 800;
  color: #fff;
  text-decoration: none;
}
.brand-bar a em { color: var(--gold); font-style: normal; }

.page-header {
  background: var(--navy);
  padding: 48px 24px 52px;
  text-align: center;
  color: #fff;
}
.page-header h1 {
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  font-weight: 900;
  margin-bottom: 10px;
}
.page-header p {
  font-size: .92rem;
  color: rgba(255,255,255,.8);
}

.content-wrap {
  max-width: var(--max);
  margin: -24px auto 0;
  padding: 0 20px 72px;
}

.doc-card {
  background: var(--bg);
  border-radius: 12px;
  box-shadow: 0 4px 24px rgba(13,27,62,.09);
  padding: 44px 48px;
}

.doc-card h2 {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--navy);
  margin: 32px 0 10px;
  padding-bottom: 8px;
  border-bottom: 2px solid #EEF2FB;
}
.doc-card h2:first-child { margin-top: 0; }

.doc-card p {
  font-size: .95rem;
  color: var(--text2);
  margin-bottom: 14px;
}

.doc-card ul {
  list-style: disc;
  padding-right: 22px;
  margin-bottom: 14px;
}
.doc-card ul li {
  font-size: .95rem;
  color: var(--text2);
  margin-bottom: 6px;
}

.last-updated {
  margin-top: 36px;
  padding-top: 20px;
  border-top: 1px solid #EEF2FB;
  font-size: .8rem;
  color: #8B98BC;
}

.status-badge {
  display: inline-block;
  background: #F0FBF4;
  border: 1.5px solid #B8E9CC;
  color: #1A8754;
  font-size: .82rem;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: 100px;
  margin-bottom: 20px;
}

.contact-box {
  margin-top: 24px;
  background: #F4F7FC;
  border: 1.5px solid #DDE4F0;
  border-radius: 8px;
  padding: 20px 24px;
}
.contact-box p { margin-bottom: 6px; color: var(--text); }
.contact-box a { color: var(--gold); }
.contact-box .small { font-size: .88rem; color: #8B98BC; margin-top: 10px; }

code {
  background: #EEF2FB;
  padding: 2px 6px;
  border-radius: 3px;
  font-size: .9em;
  font-family: ui-monospace, "SF Mono", Consolas, monospace;
  direction: ltr;
  display: inline-block;
}

.footer-min {
  background: var(--navy);
  padding: 24px;
  text-align: center;
  margin-top: 0;
}
.footer-min p {
  font-size: .76rem;
  color: rgba(255,255,255,.55);
  line-height: 1.7;
  max-width: 560px;
  margin: 0 auto 10px;
}
.footer-min .footer-links {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}
.footer-min .footer-links a {
  font-size: .78rem;
  color: rgba(255,255,255,.65);
  text-decoration: underline;
}
.footer-min .footer-links a:hover { color: var(--gold); }

@media (max-width: 540px) {
  .doc-card { padding: 28px 22px; }
  .page-header { padding: 36px 20px 40px; }
}
