/* =====================================================
   הקול שנשאר — Legal Pages (privacy, accessibility)
   ===================================================== */

:root {
  --cream:       #FBF5EA;
  --warm-white:  #FFFCF5;
  --gold:        #C8954A;
  --gold-light:  #E0B872;
  --gold-soft:   rgba(200,149,74,.12);
  --terracotta:  #C66E47;
  --brown-deep:  #4A3022;
  --text-1:      #3A2618;
  --text-2:      #6B5340;
  --text-3:      #8C7456;
  --border:      rgba(200,149,74,.22);
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { font-size: 17px; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

body {
  font-family: 'Heebo', sans-serif;
  background: var(--cream);
  color: var(--text-1);
  line-height: 1.85;
  direction: rtl;
  -webkit-font-smoothing: antialiased;
}

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

.skip-link { display: none !important; }

/* HEADER */
.brand-bar {
  background: var(--brown-deep);
  padding: 18px 24px;
  text-align: center;
}
.brand-bar a {
  font-family: 'Frank Ruhl Libre', serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--cream);
  text-decoration: none;
}
.brand-bar a span { color: var(--gold-light); }

.page-header {
  background: var(--brown-deep);
  padding: 48px 24px 56px;
  text-align: center;
  color: var(--cream);
}
.page-header h1 {
  font-family: 'Frank Ruhl Libre', serif;
  font-size: clamp(1.7rem, 4vw, 2.3rem);
  font-weight: 700;
  margin-bottom: 10px;
}
.page-header p {
  font-size: .92rem;
  color: rgba(250,246,240,.75);
}

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

.doc-card {
  background: var(--warm-white);
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(60,43,31,.08);
  padding: 44px 48px;
  border: 1px solid var(--border);
}

.doc-card h2 {
  font-family: 'Frank Ruhl Libre', serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--brown-deep);
  margin: 32px 0 12px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--gold-soft);
}
.doc-card h2:first-child { margin-top: 0; }

.doc-card p {
  font-size: 1rem;
  color: var(--text-2);
  margin-bottom: 14px;
  line-height: 1.85;
}

.doc-card ul {
  list-style: disc;
  padding-right: 24px;
  margin-bottom: 14px;
}
.doc-card ul li {
  font-size: 1rem;
  color: var(--text-2);
  margin-bottom: 6px;
  line-height: 1.8;
}

.last-updated {
  margin-top: 36px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  font-size: .82rem;
  color: var(--text-3);
}

.status-badge {
  display: inline-block;
  background: rgba(26, 135, 84, .12);
  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: var(--cream);
  border: 1.5px solid var(--terracotta);
  border-radius: 12px;
  padding: 20px 24px;
}
.contact-box p { margin-bottom: 6px; color: var(--text-1); }
.contact-box a { color: var(--terracotta); }
.contact-box .small { font-size: .88rem; color: var(--text-3); margin-top: 10px; }

code {
  background: var(--gold-soft);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: .9em;
  font-family: ui-monospace, "SF Mono", Consolas, monospace;
  direction: ltr;
  display: inline-block;
}

/* FOOTER */
.footer-min {
  background: var(--brown-deep);
  padding: 28px 24px;
  text-align: center;
  margin-top: 0;
}
.footer-min p {
  font-size: .82rem;
  color: rgba(250,246,240,.7);
  line-height: 1.7;
  max-width: 560px;
  margin: 0 auto 10px;
}
.footer-min-social {
  display: flex;
  gap: 14px;
  justify-content: center;
  margin: 20px auto 8px;
}
.footer-min-social a {
  display: grid;
  place-items: center;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: rgba(251,245,234,.18);
  border: 1px solid rgba(251,245,234,.20);
  transition: all .3s ease;
}
.footer-min-social a:hover { background: var(--terracotta); border-color: var(--terracotta); transform: translateY(-2px); }
.footer-min-social svg { width: 22px; height: 22px; fill: rgba(255,252,245,.95); transition: fill .3s; }
.footer-min-social a:hover svg { fill: white; }

.footer-min .footer-links {
  display: flex;
  justify-content: center;
  gap: 22px;
  flex-wrap: wrap;
  margin-top: 14px;
}
.footer-min .footer-links a {
  font-size: .9rem;
  color: rgba(251,245,234,.88);
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 500;
  padding: 4px 6px;
  min-height: 32px;
  display: inline-flex;
  align-items: center;
}
.footer-min .footer-links a:hover { color: var(--gold-light); }

@media (max-width: 640px) {
  .doc-card { padding: 28px 22px; }
  .page-header { padding: 36px 20px 44px; }
  .content-wrap { padding: 0 14px 56px; }
}
