/* legal.css - עמוד תוכן/מדיניות (ספק יונתן) */

.legal-hero .section-label { font-size: 12px; font-weight: 500; color: #c3e85b; text-transform: none; margin-bottom: var(--space-3); }
.legal-last-updated { font-size: 13px; color: rgba(255,255,255,.45); margin-top: var(--space-3); display: block; }
.legal-content { counter-reset: legal-section; }
.legal-content > p:first-of-type { font-size: var(--size-lg); color: var(--color-text-dark); line-height: 1.8; margin-bottom: var(--space-8); padding-bottom: var(--space-8); border-bottom: 1px solid var(--color-border); }
.legal-content h2 { counter-increment: legal-section; font-size: var(--size-2xl); font-weight: var(--weight-semi); color: var(--color-text-dark); margin-block: var(--space-10) var(--space-4); padding-top: var(--space-8); border-top: 1px solid var(--color-border); display: flex; align-items: baseline; gap: var(--space-4); }
.legal-content h2::before { content: counter(legal-section, decimal-leading-zero); font-size: var(--size-sm); font-weight: var(--weight-semi); color: var(--color-cta-dark); flex-shrink: 0; font-family: var(--font-english); line-height: 1; margin-top: 3px; }
.legal-content h3 { font-size: var(--size-xl); font-weight: var(--weight-semi); color: var(--color-text-dark); margin-block: var(--space-6) var(--space-3); }
.legal-content p { font-size: var(--size-base); color: var(--color-text-muted); line-height: 1.8; margin-bottom: var(--space-5); }
.legal-content ul { padding-inline-start: 0; list-style: none; display: flex; flex-direction: column; gap: var(--space-3); margin-bottom: var(--space-6); }
.legal-content ul li { font-size: var(--size-base); color: var(--color-text-muted); line-height: 1.75; padding-inline-end: var(--space-6); position: relative; }
.legal-content ul li::before { content: ''; position: absolute; inset-inline-end: 0; top: 0.6em; width: 5px; height: 5px; border-radius: 50%; background: var(--color-cta-dark); }
.legal-content ol { padding-inline-start: var(--space-8); list-style: decimal; display: flex; flex-direction: column; gap: var(--space-3); margin-bottom: var(--space-6); }
.legal-content ol li { font-size: var(--size-base); color: var(--color-text-muted); line-height: 1.75; }
.legal-content strong, .legal-content b { font-weight: var(--weight-semi); color: var(--color-text-dark); }
.legal-content a { color: var(--color-cta-dark); text-decoration: underline; text-underline-offset: 3px; transition: color var(--dur-fast) var(--ease); }
.legal-content a:hover { color: var(--color-text-dark); }
.legal-content p:has(a[href^="mailto"]) { background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius-md); padding: var(--space-6); margin-top: var(--space-8); margin-bottom: 0; color: var(--color-text-dark); }
.legal-content p:has(a[href^="mailto"]) a { display: inline-flex; align-items: center; gap: var(--space-2); font-weight: var(--weight-semi); font-size: var(--size-lg); }
.legal-content ul:last-of-type:has(a[href^="mailto"]), .legal-content ul:last-of-type:has(a[href^="tel"]) { background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius-md); padding: var(--space-6); }
.legal-content ul:last-of-type:has(a[href^="mailto"]) li::before, .legal-content ul:last-of-type:has(a[href^="tel"]) li::before { display: none; }
.legal-content ul:last-of-type:has(a[href^="mailto"]) li, .legal-content ul:last-of-type:has(a[href^="tel"]) li { padding-inline-end: 0; color: var(--color-text-dark); }

@media (max-width: 768px) {
  .legal-content { padding-inline: var(--space-5); }
  .legal-content h2 { font-size: var(--size-xl); flex-direction: column; gap: var(--space-1); }
  .legal-content h2::before { font-size: var(--size-xs); }
}
