/* Privacy controls and legal content share the site's self-hosted typeface. */
.footer-legal { display: flex; flex-wrap: wrap; justify-content: flex-end; align-items: center; gap: 4px 16px; margin-top: 6px !important; }
.footer-legal a, .privacy-settings-trigger { display: inline-flex; align-items: center; min-height: 32px; padding: 0; border: 0; background: none; color: #4b4b4b; font: inherit; font-size: 13px; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.privacy-settings-trigger[hidden], .privacy-banner[hidden] { display: none !important; }
.privacy-banner, .privacy-dialog { color: #111; background: #fff; border: 1px solid #e8e7e4; border-radius: 14px; font-family: 'RB Rational Neue', system-ui, sans-serif; line-height: 1.6; text-align: left; box-sizing: border-box; }
.privacy-banner { position: fixed; z-index: 1050; bottom: 16px; left: 50%; transform: translateX(-50%); width: min(880px, calc(100% - 32px)); max-height: calc(100svh - 32px); overflow-y: auto; padding: 24px; box-shadow: 0 8px 40px #1112; }
.privacy-banner h2, .privacy-dialog h2 { margin: 0 0 8px; font-size: 20px; line-height: 1.3; font-weight: 500; letter-spacing: 0; }
.privacy-banner p, .privacy-dialog p { margin: 0 0 16px; font-size: 14px; line-height: 1.6; color: #4b4b4b; }
.privacy-banner a, .privacy-dialog a, .privacy-document a, .contact-privacy a { color: #7f2a16; text-decoration: underline; text-underline-offset: 3px; overflow-wrap: anywhere; }
.privacy-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.privacy-action { flex: 1 1 150px; min-height: 44px; padding: 10px 16px; border: 1px solid #111; border-radius: 8px; background: #fff; color: #111; font: inherit; font-size: 14px; font-weight: 500; cursor: pointer; }
.privacy-action:hover { background: #f4f3f0; }
.privacy-dialog { width: min(620px, calc(100% - 32px)); max-height: calc(100svh - 32px); margin: auto; padding: 28px; }
.privacy-dialog::backdrop { background: #1119; }
.privacy-dialog-heading { display: flex; gap: 16px; align-items: flex-start; justify-content: space-between; }
.privacy-close { display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; width: 44px; height: 44px; border: 1px solid #e8e7e4; border-radius: 8px; background: #fff; color: #111; font: inherit; font-size: 24px; cursor: pointer; }
.privacy-category { display: block; margin: 16px 0; padding: 16px; border: 1px solid #e8e7e4; border-radius: 10px; }
.privacy-category h3, .privacy-category strong { margin: 0; display: block; color: #111; font-size: 15px; line-height: 1.5; font-weight: 500; }
.privacy-category p, .privacy-category span span { display: block; margin: 4px 0 0; font-size: 14px; line-height: 1.6; color: #4b4b4b; }
.privacy-option { display: flex; gap: 12px; cursor: pointer; }
.privacy-option input { width: 20px; height: 20px; margin: 3px 0 0; flex-shrink: 0; accent-color: #111; }
.contact-privacy { margin: 16px 0; color: #4b4b4b; font-size: 13px; line-height: 1.7; }
.privacy-document { max-width: 820px; margin: auto; padding: 64px 24px 80px; font-size: 16px; line-height: 1.8; }
.privacy-document h1 { margin: 12px 0 24px; font-size: clamp(34px, 6vw, 52px); line-height: 1.15; font-weight: 500; }
.privacy-document h2 { margin: 40px 0 12px; font-size: 24px; line-height: 1.35; font-weight: 500; }
.privacy-document h3 { margin: 24px 0 8px; font-size: 18px; line-height: 1.4; font-weight: 500; }
.privacy-document p, .privacy-document ul, .privacy-document ol { margin: 0 0 16px; }
.privacy-document li { margin: 6px 0; }
.privacy-document .privacy-updated { color: #4b4b4b; font-size: 14px; }
.privacy-document section, .privacy-document h2 { scroll-margin-top: calc(var(--site-nav-height, 77px) + 20px); }
.privacy-summary { padding: 24px; margin: 24px 0; border: 1px solid #e8e7e4; border-radius: 12px; background: #f9f9f8; }
.privacy-summary h2 { margin-top: 0; }
.privacy-summary p:last-child { margin-bottom: 0; }
.privacy-contents ol { padding-left: 24px; }
.privacy-table-wrap { overflow-x: auto; margin: 20px 0; }
.privacy-table { width: 100%; border-collapse: collapse; font-size: 14px; line-height: 1.6; text-align: left; }
.privacy-table th, .privacy-table td { padding: 14px 12px; border: 1px solid #e8e7e4; vertical-align: top; }
.privacy-table th { background: #f4f3f0; color: #111; font-weight: 500; }
.privacy-video-notice { padding: 24px; background: #f4f3f0; border-radius: 10px; font-size: 14px; line-height: 1.6; }
.privacy-video-notice p { margin: 0 0 16px; }
@media (max-width: 992px) { .footer-legal { justify-content: center; } }
@media (max-width: 480px) {
  .privacy-banner { width: calc(100% - 24px); bottom: 12px; padding: 18px; }
  .privacy-banner .privacy-action { flex-basis: calc(50% - 10px); padding-inline: 10px; }
  .privacy-banner .privacy-action:last-child { flex-basis: 100%; }
  .privacy-dialog { padding: 20px; }
  .privacy-document { padding: 40px 20px 56px; }
  .privacy-table th, .privacy-table td { padding: 10px 8px; }
}
