.static-legal-page.page-margins {
  width: 100%;
  max-width: none;
  box-sizing: border-box;
  padding: 2rem clamp(1rem, 4vw, 3.5rem) 3rem;
}

.static-legal-page {
  position: relative;
  min-height: 50vh;
}

.static-legal {
  position: relative;
  z-index: 1;
  width: 100%;
}

.static-legal-inner {
  width: 100%;
  max-width: none;
  margin: 0 auto;
  padding: 0;
  box-sizing: border-box;
}

.static-legal-doc {
  font-family: 'Montserrat', 'Montserrat Alternates', system-ui, sans-serif;
  color: rgba(0, 0, 0, 0.82);
}

.static-legal-title {
  font-weight: 700;
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  margin: 0 0 0.75rem;
  line-height: 1.2;
  padding-bottom: 0.65rem;
  border-bottom: 3px solid var(--color);
}

.static-legal-meta {
  font-size: 0.95rem;
  margin: 0 0 1.25rem;
  color: rgba(0, 0, 0, 0.7);
}

.static-legal-meta strong {
  color: var(--color);
  font-weight: 700;
}

.static-legal-doc h2 {
  font-size: clamp(1.2rem, 2.5vw, 1.35rem);
  font-weight: 700;
  margin: 2rem 0 0.75rem;
  line-height: 1.3;
  padding-left: 0.75rem;
  border-left: 4px solid var(--color);
}

.static-legal-doc h2:first-of-type {
  margin-top: 1.25rem;
}

.static-legal-doc h3 {
  font-size: 1.05rem;
  font-weight: 600;
  margin: 1.25rem 0 0.5rem;
  line-height: 1.35;
  color: var(--text-color, #242424);
}

.static-legal-doc h4 {
  font-size: 1rem;
  font-weight: 600;
  margin: 1rem 0 0.4rem;
  line-height: 1.35;
  color: rgba(0, 0, 0, 0.85);
}

.static-legal-doc p {
  font-size: 0.95rem;
  line-height: 1.65;
  margin: 0 0 1rem;
  color: rgba(0, 0, 0, 0.78);
}

.static-legal-doc p:last-child {
  margin-bottom: 0;
}

.static-legal-doc ul,
.static-legal-doc ol {
  margin: 0 0 1rem;
  padding-left: 1.35rem;
}

.static-legal-doc li {
  font-size: 0.95rem;
  line-height: 1.65;
  margin-bottom: 0.35rem;
  color: rgba(0, 0, 0, 0.78);
}

.static-legal-doc li:last-child {
  margin-bottom: 0;
}

.static-legal-doc li::marker {
  color: var(--color);
}

.static-legal-doc hr {
  border: none;
  border-top: 1px solid color-mix(in srgb, var(--color) 28%, var(--border-color, #e5e7eb));
  margin: 1.75rem 0;
}

.static-legal-callout {
  margin: 1rem 0 1.25rem;
  padding: 0.85rem 1rem;
  border-left: 4px solid var(--color);
  background: color-mix(in srgb, var(--color) 10%, var(--background, #ffffff));
  border-radius: 0 8px 8px 0;
}

.static-legal-callout p {
  margin: 0 0 0.75rem;
}

.static-legal-callout p:last-child {
  margin-bottom: 0;
}

.static-legal-callout strong {
  color: var(--color-alt, var(--color));
}

.static-legal-lead {
  font-size: 1.05rem;
  font-weight: 500;
  margin: 0 0 1rem;
  line-height: 1.5;
}

.static-legal-address {
  margin: 0.75rem 0 1rem;
  font-style: normal;
  line-height: 1.6;
}

.static-legal-address p {
  margin: 0 0 0.35rem;
}

.static-legal-doc .placeholder {
  background: color-mix(in srgb, var(--color) 22%, transparent);
  padding: 0 0.15em;
  border-radius: 2px;
}

.static-legal-doc a {
  color: var(--color-alt, var(--color));
  text-decoration: underline;
  text-decoration-color: color-mix(in srgb, var(--color) 55%, transparent);
  text-underline-offset: 0.2em;
  font-weight: 600;
}

.static-legal-doc a:hover {
  color: var(--color);
  text-decoration-color: var(--color);
}

/* Scroll-in (slide up) — toggled by staticLegal.js */
.static-legal-reveal {
  opacity: 0;
  transform: translateY(1.35rem);
  transition:
    opacity 0.55s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.static-legal-reveal.is-inview {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .static-legal-reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
