/* ═══════════════════════════════════════════════════
   OwnerSeg — Legal Pages Styles
   ═══════════════════════════════════════════════════ */

/* ── HERO ────────────────────────────────────── */
.legal-hero {
  display: flex;
  align-items: center;
  padding: 140px 0 60px;
  color: var(--white);
  background: linear-gradient(160deg, rgba(17,24,39,.92) 40%, rgba(49,72,156,.85) 100%);
}

.legal-hero .container {
  position: relative;
  z-index: 2;
}

.legal-hero h1 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: .5rem;
}

.legal-hero-sub {
  font-size: .95rem;
  color: rgba(255,255,255,.6);
}

/* ── CONTENT ─────────────────────────────────── */
.legal-content {
  padding: 60px 0 90px;
}

.legal-wrapper {
  max-width: 800px;
  margin: 0 auto;
}

.legal-wrapper h2 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--dark);
  margin-top: 2rem;
  margin-bottom: .8rem;
  padding-bottom: .4rem;
  border-bottom: 2px solid var(--blue-light);
}

.legal-wrapper h2:first-child { margin-top: 0; }

.legal-wrapper p {
  font-size: .92rem;
  color: var(--mid);
  line-height: 1.75;
  margin-bottom: .8rem;
}

.legal-wrapper ul,
.legal-wrapper ol {
  padding-left: 1.4rem;
  margin-bottom: 1rem;
}

.legal-wrapper li {
  font-size: .9rem;
  color: var(--mid);
  line-height: 1.7;
  margin-bottom: .4rem;
}

.legal-wrapper a {
  color: var(--blue);
  text-decoration: underline;
  text-decoration-color: rgba(49,72,156,.3);
  transition: text-decoration-color .2s;
}
.legal-wrapper a:hover {
  text-decoration-color: var(--blue);
}

.legal-wrapper code {
  background: var(--blue-light);
  color: var(--blue);
  padding: .15rem .4rem;
  border-radius: 4px;
  font-size: .82rem;
}

.legal-wrapper .table {
  font-size: .85rem;
  border-color: #e5e9f2;
}

.legal-wrapper .table th {
  background: var(--blue-light);
  color: var(--blue);
  font-family: 'Sora', sans-serif;
  font-size: .78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
  border-color: #e5e9f2;
}

.legal-wrapper .table td {
  color: var(--mid);
  border-color: #e5e9f2;
  vertical-align: middle;
}

/* ── FOOTER LEGAL LINKS ──────────────────────── */
.footer-legal a {
  color: rgba(255,255,255,.45);
  font-size: .75rem;
  text-decoration: none;
  transition: color .2s;
}
.footer-legal a:hover { color: var(--green); }

.footer-sep {
  color: rgba(255,255,255,.15);
  font-size: .7rem;
}

/* ── RESPONSIVE ───────────────────────────────── */
@media (max-width: 768px) {
  .legal-hero { padding: 120px 0 40px; }
  .legal-content { padding: 40px 0 60px; }
  .legal-wrapper .table { font-size: .78rem; }
}
