/* Legal pages: a quiet reading layout in the brochure's burgundy, ivory and gold. */
/* No fixed header on this page, so anchor jumps only need a little breathing room. */
:root:has(.legal-page) { scroll-padding-top: 24px; }
.legal-page section[id] { scroll-margin-top: 0; }

.legal-hero { position: relative; isolation: isolate; overflow: hidden; padding-block: clamp(64px, 8vw, 112px); color: var(--ivory); background: var(--ink-deep); }
.legal-hero > .container { position: relative; z-index: 1; }
.legal-title { max-width: 820px; font-size: clamp(40px, 5.4vw, 72px); line-height: 1.02; letter-spacing: -.035em; }
.legal-title em { color: #dcc16f; }
.brochure-pattern--legal { width: min(560px, 88vw); right: -150px; top: 50%; transform: translateY(-50%); color: var(--gold); opacity: .1; }

.legal-body { position: relative; isolation: isolate; padding-block: clamp(56px, 7vw, 104px) clamp(72px, 9vw, 128px); }
.legal-body > .container { position: relative; z-index: 1; }
.legal-layout { display: grid; grid-template-columns: minmax(210px, 270px) minmax(0, 1fr); gap: clamp(40px, 8vw, 120px); align-items: start; }

/* A quiet index that follows the reader down the page. */
.legal-toc { position: sticky; top: 40px; }
.legal-toc ol { margin: 0; padding: 0; list-style: none; }
.legal-toc > ol { border-left: 1px solid var(--line); }
.legal-toc a { display: block; margin-left: -1px; padding: 8px 0 8px 18px; border-left: 1px solid transparent; color: var(--stone); font-size: 15px; font-weight: 500; line-height: 1.45; transition: color .3s var(--ease), border-color .3s var(--ease); }
.legal-toc ol ol a { padding-left: 34px; font-size: 14px; font-weight: 400; }
.legal-toc a:hover, .legal-toc a.is-active { color: var(--ink); border-left-color: var(--bronze); }

.legal-article { max-width: 800px; }
.legal-section + .legal-section { margin-top: clamp(48px, 6vw, 80px); padding-top: clamp(48px, 6vw, 80px); border-top: 1px solid var(--line); }
.legal-section > h2 { margin-bottom: 28px; font-size: clamp(34px, 3.8vw, 48px); letter-spacing: -.03em; }
.legal-subsection { margin-top: 44px; }
.legal-subsection h3 { margin-bottom: 14px; font-size: clamp(26px, 2.6vw, 32px); letter-spacing: -.02em; }
.legal-article p { max-width: 68ch; color: var(--stone); line-height: 1.9; }
.legal-article p + p { margin-top: 18px; }
.legal-article .legal-notice { max-width: none; margin-top: 30px; padding: 22px 26px; border-left: 2px solid var(--bronze); background: var(--linen); }
.legal-article .legal-notice strong { color: var(--ink); font-weight: 600; }

@media (max-width: 991px) {
  .legal-layout { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .legal-toc { position: static; padding: 14px 24px; background: var(--linen); }
  .legal-toc > ol { border-left: 0; }
  .legal-toc a { padding-left: 0; border-left: 0; }
  .legal-toc ol ol a { padding-left: 16px; }
}
@media (max-width: 767px) {
  /* style.css reserves room for the index page's sticky enquiry bar; this page has none. */
  .legal-page { padding-bottom: 0; }
  .brochure-pattern--legal { right: -190px; }
  .legal-article .legal-notice { padding: 18px 20px; }
}
