/* MOCERION LEGAL DOCUMENTS V2 — single-column document layout.
   The outer pink shell preserves the approved V1 dimensions and palette.
   The nested document heading is a DIV so it cannot inherit the global
   absolutely-positioned site navigation HEADER rules. */
.aq-legal-page {
  position: relative;
  padding: 1px 0 34px;
}
.aq-legal-shell {
  width: min(1440px, calc(100% - clamp(28px, 5.2vw, 96px)));
  margin: clamp(112px, 9vw, 148px) auto clamp(58px, 7vw, 100px);
  padding: clamp(30px, 5.2vw, 78px);
  border: 1px solid rgba(255,255,255,.56);
  border-radius: 22px;
  background: linear-gradient(145deg, #fff7fb 0%, #f8eaf2 54%, #f2e7f8 100%);
  color: #241633;
  box-shadow: 0 24px 76px rgba(5, 3, 28, .17);
}

/* Explicitly neutralize any site-wide header styling if this component is
   ever changed back to a semantic header in a later content revision. */
.aq-legal-shell > .aq-legal-header {
  position: static !important;
  inset: auto !important;
  z-index: auto !important;
  display: block !important;
  width: auto !important;
  height: auto !important;
  min-height: 0 !important;
  max-width: 980px;
  margin: 0 auto clamp(42px, 5.5vw, 78px);
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  color: #241633 !important;
  text-align: center;
}
.aq-legal-eyebrow {
  margin: 0 0 14px;
  color: #7a4b87;
  font-size: 11px;
  font-weight: 750;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.aq-legal-header h1 {
  margin: 0;
  color: #211331;
  font-size: clamp(36px, 4.3vw, 58px);
  font-weight: 680;
  line-height: 1.08;
  letter-spacing: -.055em;
  text-wrap: balance;
}
.aq-legal-tagline {
  margin: 20px 0 0;
  color: #493653;
  font-size: clamp(17px, 1.65vw, 21px);
  font-weight: 550;
  line-height: 1.45;
}
.aq-legal-intro {
  max-width: 850px;
  margin: 13px auto 0;
  color: #685a70;
  font-size: 16px;
  line-height: 1.72;
}
.aq-legal-meta {
  margin: 24px 0 0;
  color: #85788a;
  font-size: 11px;
  font-weight: 650;
  letter-spacing: .12em;
  text-transform: uppercase;
}

/* Contents navigation is intentionally removed. The document body now
   occupies a centered, readable single column inside the unchanged shell. */
.aq-legal-layout {
  display: block;
  width: 100%;
  min-width: 0;
  margin: 0;
}
.aq-legal-body {
  width: min(100%, 1080px);
  min-width: 0;
  margin-inline: auto;
  color: #55485e;
}
.aq-legal-section {
  margin: 0 0 clamp(30px, 3.5vw, 46px);
  scroll-margin-top: 112px;
}
.aq-legal-section:last-child {
  margin-bottom: 0;
}
.aq-legal-section h2 {
  margin: 0 0 15px;
  color: #241633;
  font-size: clamp(20px, 2vw, 25px);
  font-weight: 680;
  line-height: 1.25;
  letter-spacing: -.025em;
}
.aq-legal-section p {
  margin: 0 0 15px;
  color: #62556a;
  font-size: 15.5px;
  line-height: 1.78;
}
.aq-legal-section p:last-child {
  margin-bottom: 0;
}
.aq-legal-section ul {
  margin: 7px 0 0;
  padding-left: 1.35em;
  color: #62556a;
}
.aq-legal-section li {
  margin: 0 0 10px;
  padding-left: .18em;
  font-size: 15px;
  line-height: 1.72;
}
.aq-legal-section li:last-child {
  margin-bottom: 0;
}
.aq-legal-section strong {
  color: #352341;
  font-weight: 700;
}
.aq-legal-section a {
  color: #62318a;
  text-decoration: underline;
  text-decoration-color: rgba(98,49,138,.36);
  text-underline-offset: 3px;
}
.aq-legal-section a:hover {
  color: #32105d;
  text-decoration-color: currentColor;
}
.aq-legal-notice {
  margin-top: 34px;
  padding: 19px 22px;
  border: 1px solid rgba(115,75,135,.16);
  border-radius: 12px;
  background: rgba(255,255,255,.38);
  color: #66576e;
  font-size: 13px;
  line-height: 1.7;
}
.aq-legal-notice strong {
  color: #352341;
}

@media (max-width: 900px) {
  .aq-legal-shell {
    width: min(100% - 30px, 760px);
    padding: clamp(25px, 5vw, 44px);
    margin-top: 104px;
  }
  .aq-legal-body {
    width: 100%;
    max-width: none;
  }
}
@media (max-width: 560px) {
  .aq-legal-shell {
    width: calc(100% - 20px);
    margin: 92px auto 48px;
    padding: 24px 19px 30px;
    border-radius: 16px;
  }
  .aq-legal-shell > .aq-legal-header {
    margin-bottom: 32px;
  }
  .aq-legal-header h1 {
    font-size: clamp(32px, 9vw, 42px);
  }
  .aq-legal-intro {
    font-size: 14px;
  }
  .aq-legal-section h2 {
    font-size: 20px;
  }
  .aq-legal-section p,
  .aq-legal-section li {
    font-size: 14px;
    line-height: 1.72;
  }
}
@media (prefers-reduced-motion: reduce) {
  .aq-legal-section a {
    transition: none;
  }
}
