/* =================================================================
   SAIS.GE — Legal pages (Terms + Privacy)
   Shared styles for legal text pages
   mobile-first; breakpoints 480 · 768 · 1024 · 1280
   ================================================================= */

/* ---------- hero ---------- */
.legal-hero {
  position: relative;
  padding: 110px 0 48px;
  text-align: center;
  overflow: hidden;
}

.legal-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(circle at 50% 30%, rgba(212,175,106,.06), transparent 50%),
    linear-gradient(160deg, var(--navy-900), var(--navy-800));
}

.legal-hero-inner {
  position: relative;
  z-index: 1;
}

.legal-hero h1 {
  font-size: clamp(1.6rem, 4vw, 2.6rem);
  margin-bottom: 12px;
  overflow-wrap: break-word;
}

.legal-updated {
  color: var(--text-dim);
  font-size: 0.9rem;
}

/* ---------- body ---------- */
.legal-body {
  padding: 48px 0 80px;
}

.legal-content {
  max-width: 760px;
  margin: 0 auto;
}

/* ---------- sections ---------- */
.legal-section {
  margin-bottom: 40px;
}

.legal-section:last-child {
  margin-bottom: 0;
}

.legal-section h2 {
  font-size: 1.15rem;
  color: var(--gold-soft);
  margin-bottom: 12px;
  overflow-wrap: break-word;
}

.legal-section p {
  color: var(--text-mut);
  font-size: 0.95rem;
  line-height: 1.85;
  overflow-wrap: break-word;
  word-break: break-word;
}

/* ---------- responsive ---------- */
@media (min-width: 1024px) {
  .legal-hero { padding: 140px 0 60px; }
  .legal-body { padding: 64px 0 120px; }
  .legal-section { margin-bottom: 48px; }
}
