/* Privacy controls share the site's palette, with equal choice buttons. */
.footer-legal { display: flex; flex-wrap: wrap; gap: 12px 22px; }
.footer-legal a { color: #b5c5d5; }
.footer-legal a:hover { color: #fff; text-decoration: underline; }
.cookie-banner { position: fixed; z-index: 1000; inset: auto 24px 24px; padding: 16px 22px; background: #121b26; color: #d4dde7; border: 1px solid #ffffff26; border-radius: 10px; box-shadow: 0 12px 60px #0005; display: flex; align-items: center; gap: 24px; }
.cookie-banner[hidden] { display: none; }
.cookie-banner__copy { flex: 1; }
.cookie-banner p { font-size: 13px; line-height: 1.7; margin: 0; max-width: 800px; }
.cookie-banner a, .cookie-dialog a { color: #acc4d8; text-decoration: underline; text-underline-offset: 3px; }
.cookie-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.cookie-actions button { min-height: 44px; padding: 11px 18px; border: 1px solid #ffffff50; border-radius: 7px; background: #ffffffdf; color: #1e2a37; font: 600 12px var(--sans); cursor: pointer; }
.cookie-actions button:hover { background: #fff; }
.cookie-banner .cookie-actions { flex-shrink: 0; }
.cookie-banner .cookie-actions button { min-width: 88px; min-height: 34px; padding: 6px 16px; line-height: 20px; border-radius: 8px; }
.cookie-banner .cookie-actions button[data-choice="accept"] { background: rgba(255,255,255,.78); border-color: rgba(255,255,255,.45); color: #1e2a37; }
.cookie-banner .cookie-actions button[data-choice="accept"]:hover { background: rgba(255,255,255,.88); }
.cookie-banner .cookie-actions button[data-choice="reject"],
.cookie-banner .cookie-actions .cookie-settings-link { background: rgba(30,42,55,.78); border-color: rgba(172,196,216,.18); color: #fff; text-decoration: none; }
.cookie-banner .cookie-actions button[data-choice="reject"]:hover,
.cookie-banner .cookie-actions .cookie-settings-link:hover { background: rgba(45,60,77,.88); border-color: rgba(172,196,216,.28); }
.cookie-actions button[data-choice="reject"] { background: rgba(30,42,55,.78); border-color: rgba(172,196,216,.18); color: #fff; }
.cookie-actions button[data-choice="reject"]:hover { background: rgba(45,60,77,.88); border-color: rgba(172,196,216,.28); }
.cookie-dialog { position: fixed; inset: 0; margin: auto; width: min(600px, calc(100% - 32px)); max-height: calc(100dvh - 48px); padding: 32px; overflow: auto; color: #d4dde7; background: #121b26; border: 1px solid #ffffff40; border-radius: 12px; box-shadow: 0 20px 80px #0005; }
.cookie-dialog::backdrop { background: #080e19b3; }
.cookie-dialog__heading { display: flex; align-items: center; padding-right: 24px; margin-bottom: 16px; }
.cookie-dialog h2 { color: white; font-size: 20px; letter-spacing: -.025em; }
.cookie-close { position: absolute; top: 10px; right: 10px; background: transparent; color: white; border: 1px solid #ffffff40; width: 24px; height: 24px; display: grid; place-items: center; border-radius: 4px; font-size: 18px; line-height: 1; cursor: pointer; }
.cookie-dialog .cookie-actions { justify-content: flex-end; }
.cookie-dialog .cookie-actions button { flex: 0 0 120px; width: 120px; min-height: 34px; padding: 6px 16px; line-height: 20px; white-space: nowrap; border-radius: 8px; }
.cookie-dialog .cookie-actions button[data-choice="accept"] { background: rgba(255,255,255,.78); border-color: rgba(255,255,255,.45); color: #1e2a37; }
.cookie-dialog .cookie-actions button[data-choice="accept"]:hover { background: rgba(255,255,255,.88); }
.cookie-dialog .cookie-actions button[data-choice="save"] { background: rgba(30,42,55,.78); border-color: rgba(172,196,216,.18); color: #fff; }
.cookie-dialog .cookie-actions button[data-choice="save"]:hover { background: rgba(45,60,77,.88); border-color: rgba(172,196,216,.28); }
.cookie-dialog p { font-size: 14px; line-height: 1.7; }
.cookie-category { display: flex; justify-content: space-between; align-items: center; gap: 24px; border-top: 1px solid #ffffff26; padding: 20px 0; }
.cookie-category h3, .cookie-category label { display: block; color: #fff; font-size: 16px; font-weight: 600; letter-spacing: 0; margin-bottom: 6px; }
.cookie-category p { margin: 0; font-size: 13px; }
.cookie-category > span { white-space: nowrap; font-size: 12px; color: #acc4d8; }
.cookie-category input { appearance: none; -webkit-appearance: none; flex-shrink: 0; width: 18px; height: 18px; margin: 0; display: grid; place-content: center; background: rgba(30,42,55,.78); border: 1px solid rgba(172,196,216,.45); border-radius: 3px; cursor: pointer; }
.cookie-category input::before { content: ""; width: 8px; height: 4px; border-left: 2px solid #fff; border-bottom: 2px solid #fff; transform: rotate(-45deg); margin-top: -2px; opacity: 0; }
.cookie-category input:checked::before { opacity: 1; }
.cookie-category input:hover { background: rgba(45,60,77,.88); }
.cookie-category input:focus-visible { outline: 2px solid #acc4d8; outline-offset: 3px; }
.cookie-dialog .cookie-small { font-size: 12px; border-top: 1px solid #ffffff26; padding-top: 20px; }
.contact-section .form .form-privacy { font-size: 12px; color: #64748a; margin: 0 0 22px; line-height: 1.7; }
.form-privacy a { text-decoration: underline; text-underline-offset: 3px; }
.legal-page .page-header { min-height: 0; padding: 80px 0 90px; }
.legal-page .page-header h1 { font-size: clamp(42px, 6vw, 76px); }
.legal-layout { display: grid; grid-template-columns: 230px minmax(0, 850px); gap: 70px; padding-top: 72px; padding-bottom: 100px; }
.legal-toc { align-self: start; position: sticky; top: 30px; }
.legal-toc p { font-size: 11px; text-transform: uppercase; letter-spacing: .14em; color: #64748a; }
.legal-toc a { display: block; font-size: 14px; margin: 12px 0; }
.legal-copy section { margin-bottom: 40px; scroll-margin-top: 30px; }
.legal-copy h2 { font-size: 26px; letter-spacing: -.035em; margin-bottom: 18px; }
.legal-copy p, .legal-copy li { font-size: 15px; line-height: 1.9; color: #4f6075; }
.legal-copy ul { padding-left: 22px; margin: 16px 0; }
.legal-copy a { text-decoration: underline; text-underline-offset: 3px; overflow-wrap: anywhere; }
.legal-copy .cookie-table { overflow-x: auto; margin: 24px 0; }
.cookie-table table { width: 100%; border-collapse: collapse; font-size: 13px; }
.cookie-table th, .cookie-table td { padding: 14px; border: 1px solid #cdd5de; text-align: left; vertical-align: top; }
.cookie-table th { background: #e8ecef; }
@media (max-width: 760px) {
  .legal-layout { grid-template-columns: 1fr; gap: 32px; padding-top: 40px; padding-bottom: 60px; }
  .legal-toc { position: static; border-bottom: 1px solid #cdd5de; padding-bottom: 24px; }
  .cookie-banner { inset: auto 12px 12px; padding: 16px; max-height: calc(100dvh - 24px); overflow: auto; align-items: stretch; flex-direction: column; gap: 12px; }
  .cookie-actions { width: 100%; }
  .cookie-actions button { flex: 1 1 auto; }
  .cookie-dialog { padding: 24px; }
}
@media print { .cookie-banner, .cookie-dialog, .legal-toc { display: none !important; } .legal-layout { display: block; } }
