/* Local legal pages and the matching cookie notice. */
.footer-bottom>div { flex-wrap: wrap; row-gap: 14px; }
.cookie-settings { padding: 0; background: none; border: 0; color: inherit; font: inherit; letter-spacing: inherit; text-align: left; }
.cookie-settings:hover { color: var(--accent); }
.legal-page { padding: 65px var(--gutter) 105px; background: #1c304c; }
.legal-back { display: inline-flex; align-items: center; gap: 16px; margin-bottom: 45px; font-size: 11px; color: var(--accent); }
.legal-back .arrow { width: 15px; height: 15px; transform: rotate(-135deg); }
.legal-heading { border-bottom: 1px solid var(--line); padding-bottom: 42px; margin-bottom: 50px; }
.legal-heading .eyebrow { color: var(--accent); margin-bottom: 22px; }
.legal-heading h1 { font-size: clamp(48px,6vw,85px); letter-spacing: -3px; line-height: 1.05; }
.legal-layout { display: grid; grid-template-columns: 210px minmax(0,1fr); gap: clamp(35px,7vw,100px); align-items: start; }
.legal-toc { position: sticky; top: 35px; max-height: calc(100dvh - 70px); overflow-y: auto; padding-right: 10px; scrollbar-width: thin; }
.legal-toc>p { font-size: 9px; letter-spacing: 1.6px; color: #abc0d6; margin-bottom: 22px; }
.legal-toc a,.legal-toc-mobile a { display: block; font-size: 11px; line-height: 1.7; color: var(--muted); padding: 6px 0; }
.legal-toc a:hover,.legal-toc-mobile a:hover { color: #e0c99e; }
.legal-toc-mobile { display: none; }
.legal-content { max-width: 850px; min-width: 0; color: #c5d2e2; font-size: 14px; line-height: 1.85; overflow-wrap: anywhere; }
.legal-content h2 { font-size: 30px; color: var(--ink); letter-spacing: -.9px; line-height: 1.25; margin: 52px 0 22px; }
.legal-content h2:first-child { margin-top: 0; }
.legal-content h3 { color: #ddc9a6; font-size: 22px; letter-spacing: -.4px; line-height: 1.35; margin: 35px 0 16px; }
.legal-content h4,.legal-content h5 { color: #e6edf4; font-size: 15px; font-weight: 600; line-height: 1.6; margin: 26px 0 11px; }
.legal-content p { margin: 0 0 16px; }
.legal-content ul,.legal-content ol { padding-left: 22px; margin: 16px 0 24px; }
.legal-content li { margin-bottom: 8px; }
.legal-content a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--gold-line); }
.legal-content a:hover { color: #f0d9ae; }
.legal-content strong { color: #e6edf4; font-weight: 600; }
.legal-content h2,.legal-content h3 { scroll-margin-top: 30px; }
.legal-content hr { border: 0; border-top: 1px solid var(--line); margin: 35px 0; }
.legal-content table { border-collapse: collapse; width: 100%; }
.legal-content td,.legal-content th { padding: 10px; border: 1px solid var(--line); text-align: left; }

.cookie-notice { position: fixed; z-index: 50; bottom: 24px; right: 24px; width: min(545px,calc(100vw - 48px)); max-height: calc(100dvh - 48px); overflow-y: auto; padding: 27px 29px 24px; background: var(--navy-deep); color: var(--ink); border: 1px solid var(--gold-line); box-shadow: 0 20px 80px #0009; }
.cookie-notice[hidden],.cookie-details[hidden] { display: none; }
.cookie-label { display: flex; align-items: center; gap: 8px; color: var(--accent); font-size: 8px; letter-spacing: 1.6px; margin-bottom: 14px; }
.cookie-label::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: var(--gold); }
.cookie-notice h2 { font-size: 26px; letter-spacing: -.8px; line-height: 1.2; margin-bottom: 13px; }
.cookie-notice h2:focus { outline: none; }
.cookie-intro { font-size: 12px; line-height: 1.85; color: #c1cede; margin: 0; }
.cookie-intro a { color: #dfc89e; text-decoration: underline; text-underline-offset: 3px; }
.cookie-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 21px; }
.cookie-actions button { min-height: 43px; border: 1px solid #79869a; background: transparent; font-size: 11px; padding: 11px 14px; line-height: 1.5; }
.cookie-actions .cookie-confirm { background: var(--gold); color: var(--navy-deep); border-color: var(--gold); }
.cookie-actions .cookie-confirm:hover { background: #e0c99e; }
.cookie-actions .cookie-secondary:hover { background: #2a4262; }
.cookie-details { margin-top: 19px; border-top: 1px solid var(--line); padding-top: 15px; }
.cookie-category+.cookie-category { border-top: 1px solid var(--line); padding-top: 14px; margin-top: 15px; }
.cookie-category-heading { display: flex; justify-content: space-between; align-items: baseline; gap: 15px; }
.cookie-category h3 { font-size: 13px; font-weight: 500; line-height: 1.6; }
.cookie-category-heading>span { color: var(--accent); font-size: 9px; white-space: nowrap; }
.cookie-category p { font-size: 11px; line-height: 1.8; color: var(--muted); margin-top: 7px; }
.cookie-category .cookie-storage { font-size: 9px; color: #a8bdd4; overflow-wrap: anywhere; }

@media (max-width: 850px) {
  .legal-layout { grid-template-columns: 165px minmax(0,1fr); gap: 35px; }
  .legal-toc a { font-size: 10px; }
  .legal-content { font-size: 13px; }
  .legal-content h2 { font-size: 27px; }
}
@media (max-width: 600px) {
  .legal-page { padding: 32px 24px 60px; }
  .legal-back { margin-bottom: 33px; font-size: 10px; }
  .legal-heading { padding-bottom: 30px; margin-bottom: 25px; }
  .legal-heading h1 { font-size: clamp(42px,11.5vw,62px); letter-spacing: -1.6px; }
  .legal-heading .eyebrow { font-size: 8px; margin-bottom: 18px; }
  .legal-layout { display: block; }
  .legal-toc { display: none; }
  .legal-toc-mobile { display: block; border: 1px solid var(--line); margin-bottom: 30px; padding: 14px 17px; }
  .legal-toc-mobile summary { cursor: pointer; color: var(--accent); font-size: 12px; }
  .legal-toc-mobile>div { padding-top: 12px; }
  .legal-content h2 { font-size: 26px; margin-top: 37px; }
  .legal-content h3 { font-size: 21px; margin-top: 29px; }
  .legal-content h4 { font-size: 14px; }
  .legal-content { font-size: 13px; }
  .cookie-notice { left: 12px; right: 12px; bottom: 12px; width: auto; max-height: calc(100dvh - 24px); padding: 21px 20px 19px; }
  .cookie-notice h2 { font-size: 24px; }
  .cookie-intro { font-size: 11px; }
  .cookie-actions { gap: 9px; margin-top: 17px; }
  .cookie-actions button { font-size: 10px; padding-inline: 9px; }
}
