/* Styles specific to /privacy.html and /terms.html legal pages */

.legal-page {
  padding: 64px 0 96px;
  background:
    radial-gradient(ellipse 60% 40% at 50% 0%, rgba(124,58,237,.06), transparent 60%),
    var(--bg);
  min-height: 60vh;
}

.legal-wrap {
  max-width: 820px;
  margin: 0 auto;
}

.legal-head {
  margin-bottom: 56px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--hair);
}
.legal-head h1 {
  font-size: clamp(36px, 5vw, 56px);
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -.03em;
  color: var(--ink);
  margin-top: 12px;
  margin-bottom: 16px;
}
.legal-meta {
  font-size: 14.5px;
  color: var(--mute);
}
.legal-meta strong { color: var(--ink-2); font-weight: 700; }

.legal-section {
  margin-bottom: 40px;
}
.legal-section h2 {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -.02em;
  color: var(--ink);
  margin-bottom: 16px;
  margin-top: 12px;
}
.legal-section h3 {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -.015em;
  color: var(--ink);
  margin-top: 22px;
  margin-bottom: 10px;
}
.legal-section p {
  font-size: 16px;
  color: var(--ink-2);
  line-height: 1.75;
  margin-bottom: 14px;
}
.legal-section ul {
  margin: 0 0 18px 0;
  padding-left: 0;
}
.legal-section ul li {
  position: relative;
  padding-left: 22px;
  font-size: 16px;
  color: var(--ink-2);
  line-height: 1.7;
  margin-bottom: 10px;
}
.legal-section ul li::before {
  content: '';
  position: absolute;
  left: 4px;
  top: 11px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--grad);
}
.legal-section strong { color: var(--ink); font-weight: 700; }
.legal-section a { color: var(--violet); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.legal-section a:hover { color: var(--pink); }

.legal-contact-box {
  margin-top: 12px;
  padding: 24px 28px;
  background: var(--surface);
  border: 1px solid var(--hair);
  border-radius: var(--radius);
  border-left: 4px solid var(--violet);
}
.legal-contact-box p {
  margin-bottom: 12px;
  font-size: 15.5px;
  line-height: 1.65;
}
.legal-contact-box p:last-child { margin-bottom: 0; }

@media (max-width: 720px) {
  .legal-page { padding: 40px 0 64px; }
  .legal-head { margin-bottom: 36px; padding-bottom: 24px; }
  .legal-section { margin-bottom: 32px; }
  .legal-section h2 { font-size: 21px; }
}
