/* dliilh legal pages (privacy + terms) — shared styles */
.legal-shell{
  max-width: 820px;
  margin: 0 auto;
  padding-inline: var(--pad-gutter);
  padding-block: clamp(60px, 8vw, 120px) clamp(60px, 8vw, 110px);
}
.legal-eyebrow{
  display:inline-flex; align-items:center; gap:10px;
  font-size: 13px; font-weight: 600; color: var(--fg-mut);
  letter-spacing: 0.04em;
}
html[lang="ar"] .legal-eyebrow{ letter-spacing: 0; font-size: 14px; }
.legal-eyebrow::before{
  content:""; width: 28px; height: 1px; background: var(--accent);
}
.legal-shell h1{
  font-size: clamp(40px, 5vw, 72px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  font-weight: 800;
  margin: 18px 0 8px;
}
html[lang="ar"] .legal-shell h1{ font-weight: 700; line-height: 1.2; letter-spacing: 0; }
.legal-shell .updated{
  color: var(--fg-dim); font-size: 14px; margin: 0 0 48px;
}
.legal-shell h2{
  font-size: clamp(22px, 2.2vw, 28px);
  font-weight: 700;
  letter-spacing: -0.01em;
  margin: 56px 0 16px;
  line-height: 1.3;
}
html[lang="ar"] .legal-shell h2{ font-weight: 700; line-height: 1.5; letter-spacing: 0; }
.legal-shell p{
  color: var(--fg-mut);
  font-size: 16px;
  line-height: 1.85;
  margin: 0 0 14px;
}
.legal-shell strong{ color: var(--fg); font-weight: 700; }
.legal-shell ul{
  margin: 6px 0 16px;
  padding-inline-start: 20px;
  color: var(--fg-mut);
  font-size: 16px;
  line-height: 1.85;
}
.legal-shell ul li{ margin-bottom: 8px; }
.legal-shell ul li::marker{ color: var(--accent); }
.legal-shell a{ color: var(--accent); border-bottom: 1px solid color-mix(in oklab, var(--accent) 40%, transparent); }
.legal-shell a:hover{ border-bottom-color: var(--accent); }

.callout{
  margin: 16px 0;
  padding: 18px 22px;
  border-inline-start: 3px solid var(--accent);
  background: color-mix(in oklab, var(--bg-2) 60%, transparent);
  border-radius: 0 var(--rad-md) var(--rad-md) 0;
}
html[dir="rtl"] .callout{ border-radius: var(--rad-md) 0 0 var(--rad-md); }
.callout strong{ display: block; color: var(--accent); margin-bottom: 4px; font-size: 14px; letter-spacing: 0.04em; text-transform: uppercase; }
html[lang="ar"] .callout strong{ text-transform: none; letter-spacing: 0; font-size: 15px; }

.legal-back{
  display: inline-flex; align-items: center; gap: 8px;
  margin-bottom: 16px;
  color: var(--fg-mut);
  font-size: 14px;
  border: 0;
}
.legal-back:hover{ color: var(--fg); }
.legal-back svg{ width: 16px; height: 16px; }
html[dir="rtl"] .legal-back svg{ transform: scaleX(-1); }

/* simple footer for legal pages */
.legal-footer{
  border-top: 1px solid var(--line);
  padding: 40px 0;
  color: var(--fg-mut);
  font-size: 14px;
  text-align: center;
}
.legal-footer a{ color: var(--fg-mut); margin: 0 12px; }
.legal-footer a:hover{ color: var(--accent); }
