@import url("style.css");

.legal-page { background: var(--bg); color: var(--text); }
.legal-header {
  position: sticky;
  top: 0;
  z-index: 5;
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 78px;
  padding: 0 5vw;
  background: color-mix(in srgb, var(--bg) 96%, transparent);
  border-bottom: 1px solid var(--line);
}
.legal-header > a:last-child { color: var(--pink); font-size: .8rem; font-weight: 700; }
.legal-hero {
  padding: 9rem max(6vw, calc((100vw - 1100px) / 2)) 5rem;
  background: radial-gradient(circle at 75% 15%, rgba(159,32,255,.22), transparent 35%);
  border-bottom: 1px solid var(--line);
}
.legal-hero p { color: var(--pink); text-transform: uppercase; letter-spacing: .17em; font-size: .7rem; }
.legal-hero h1 { font: 700 clamp(3.5rem,8vw,8rem)/.95 Inter, Aptos, "Segoe UI", Arial, sans-serif; letter-spacing: -.055em; margin: 1rem 0; }
.legal-document {
  max-width: 960px;
  margin: 0 auto;
  padding: 6rem 5vw 10rem;
  color: var(--muted);
}
.legal-document h1 { display: none; }
.legal-document h2, .legal-document h3, .legal-document h4, .legal-document h5 {
  font-family: Inter, Aptos, "Segoe UI", Arial, sans-serif;
  line-height: 1.2;
  letter-spacing: -.025em;
  color: var(--text);
  margin: 3.5rem 0 1rem;
}
.legal-document h3 { font-size: clamp(1.7rem,3vw,2.5rem); color: #e09be5; }
.legal-document h4 { font-size: 1.3rem; }
.legal-document h5 { font-size: 1.05rem; }
.legal-document p, .legal-document li { line-height: 1.85; font-size: .95rem; }
.legal-document p { margin: 0 0 1.2rem; }
.legal-document li { margin-bottom: .65rem; }
.legal-document a { color: #e06ca0; overflow-wrap: anywhere; }
.legal-document strong { color: var(--text); font-size: 1.15rem; }
.legal-document .elementor-element { display: contents; }
.legal-document .elementor-widget-container { display: contents; }
.legal-footer { border-top: 1px solid var(--line); }

@media (max-width: 600px) {
  .legal-header { padding: 0 5vw; }
  .legal-hero { padding-top: 6rem; }
  .legal-document { padding-top: 4rem; }
}
