.legal-page {
  min-height: 100vh;
  background: #f8f6f1;
  color: #27263e;
}

.legal-header { position: relative; }
.legal-header .site-brand-logo { display: block; width: min(230px, 38vw); height: auto; }
.legal-main { width: min(100% - 32px, 920px); margin: 0 auto; padding: clamp(42px, 7vw, 82px) 0 88px; }
.legal-hero { max-width: 760px; margin: 0 auto 30px; text-align: center; }
.legal-hero .eyebrow { color: #7163a5; }
.legal-hero h1 { margin: 12px 0 16px; color: #171b3b; font-family: var(--heading, 'Nunito', sans-serif); font-size: clamp(36px, 6vw, 58px); font-weight: 800; line-height: 1.06; letter-spacing: -.03em; }
.legal-hero p { margin: 0; color: #55566d; font-size: clamp(16px, 2vw, 19px); line-height: 1.65; }
.legal-document { padding: clamp(24px, 5vw, 54px); border: 1px solid rgba(59, 54, 95, .12); border-radius: 28px; background: #fffdf9; box-shadow: 0 22px 70px rgba(41, 37, 73, .08); }
.legal-document h2 { margin: 36px 0 12px; color: #222347; font-family: var(--heading, 'Nunito', sans-serif); font-size: clamp(21px, 3vw, 25px); line-height: 1.3; }
.legal-document h2:first-of-type { margin-top: 30px; }
.legal-document p, .legal-document li, .legal-document address { color: #45465d; font-size: 16px; line-height: 1.82; }
.legal-document p { margin: 0 0 16px; }
.legal-document ul { margin: 0 0 20px; padding-left: 24px; }
.legal-document li { margin: 0 0 9px; padding-left: 4px; }
.legal-document a { color: #58498e; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.legal-document a:hover, .legal-document a:focus-visible { color: #33245e; }
.legal-document address { padding: 18px 20px; border-radius: 16px; background: #f1eef9; font-style: normal; }
.legal-meta { color: #73738a !important; font-size: 14px !important; }
.legal-notice { padding: 18px 20px; border: 1px solid #e7d897; border-radius: 16px; background: #fff8dc; color: #47412d !important; }
.legal-notice strong { color: #302a19; }
.legal-footer { padding: 24px 16px 30px; border-top: 1px solid rgba(40, 38, 65, .12); background: #f2f0eb; }
.legal-footer-inner { display: flex; width: min(100%, 1120px); margin: 0 auto; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.legal-footer-inner > span { color: #69697b; font-size: 13px; }
.legal-footer .brand { color: #242342; font-family: var(--heading, 'Nunito', sans-serif); font-weight: 900; text-decoration: none; }
.legal-footer .brand > span > span { color: #7262a7; }
.legal-footer-links { display: flex; align-items: center; gap: 14px 22px; flex-wrap: wrap; }
.legal-footer-links a { color: #55536e; font-size: 14px; text-underline-offset: 3px; }
.legal-footer-links a[aria-current="page"] { color: #302451; font-weight: 800; }
.legal-footer-links--site { width: min(100% - 32px, 1120px); margin: 0 auto; justify-content: center; padding: 14px 16px 22px; }
.site-footer .legal-footer-links--site a, .account-footer .legal-footer-links--site a { color: #e7e5f5; }

@media (max-width: 760px) {
  .legal-header .main-nav, .legal-header .header-cta { display: none; }
  .legal-main { width: min(100% - 24px, 920px); padding-top: 36px; }
  .legal-document { padding: 22px 18px; border-radius: 20px; }
  .legal-document p, .legal-document li, .legal-document address { font-size: 15px; line-height: 1.76; }
  .legal-footer-inner { align-items: flex-start; flex-direction: column; }
  .legal-footer-links { flex-direction: column; align-items: flex-start; }
  .legal-footer-links--site { align-items: center; }
}

@media (prefers-reduced-motion: reduce) {
  .legal-page *, .legal-page *::before, .legal-page *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
