/* Shared styling for legal pages (terms, privacy, refund) — matches about.php look */
.page-hero {
  padding: 160px 0 40px;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  top: -200px; right: -200px;
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(251,146,60,0.18) 0%, transparent 70%);
  pointer-events: none;
}
.page-hero .container { position: relative; z-index: 1; max-width: 820px; }
.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(40px, 6vw, 72px);
  font-weight: 400;
  line-height: 1.0;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
  font-variation-settings: 'opsz' 144;
}
.page-hero h1 em {
  font-style: italic;
  background: var(--gradient-vivid, linear-gradient(135deg, var(--accent), var(--accent-soft)));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.page-hero .lead {
  font-size: 16px;
  color: var(--ink-70);
  font-family: var(--font-mono, monospace);
}

/* Body of the legal document */
.legal-body { padding: 20px 0 100px; }
.legal-body .container { max-width: 820px; }
.legal-body h2 {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 44px 0 14px;
}
.legal-body h2:first-child { margin-top: 0; }
.legal-body p {
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink-70);
  margin-bottom: 8px;
}
.legal-body a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.legal-body a:hover { color: var(--accent-deep); }
