.footer-tools { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 12px 20px; font-size: 12px; }
.analytics-settings { padding: 0; border: 0; color: inherit; background: transparent; text-decoration: underline; text-underline-offset: 4px; }
.analytics-banner { position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%); z-index: 50; width: min(880px, calc(100% - 40px)); max-height: calc(100dvh - 40px); overflow: auto; display: grid; grid-template-columns: 1fr auto; gap: 20px 28px; padding: 24px; color: var(--ink); background: #fff; border: 1px solid #c7ced2; border-radius: 8px; box-shadow: 0 10px 40px #15191c26; }
.analytics-banner[hidden], .analytics-settings[hidden], .consent-close[hidden] { display: none; }
.analytics-banner h2 { font-size: 21px; line-height: 1.3; margin-bottom: 8px; letter-spacing: -.5px; }
.analytics-banner h2:focus { outline: none; }
.analytics-banner p { font-size: 14px; color: #4e575d; line-height: 1.6; }
.analytics-banner a, .privacy-copy a { text-decoration: underline; text-underline-offset: 3px; }
.analytics-banner [data-consent-status] { font-size: 12px; margin-top: 6px; }
.consent-actions { display: flex; align-items: center; gap: 10px; }
.consent-actions > button { min-height: 44px; min-width: 94px; padding: 10px 16px; border: 1px solid #15191c; border-radius: 4px; font-size: 14px; font-weight: 600; background: #fff; color: #15191c; }
.consent-actions > button:hover { background: #f0f2f3; }
.consent-close { grid-column: 1 / -1; justify-self: end; background: transparent; border: 0; padding: 4px; font-size: 13px; text-decoration: underline; text-underline-offset: 3px; }
.privacy-copy { max-width: 780px; padding-block: 56px 80px; }
.privacy-copy h1 { font-size: clamp(40px, 5vw, 64px); letter-spacing: -2px; margin-block: 20px 26px; }
.privacy-copy h2 { font-size: 25px; margin-block: 34px 14px; }
.privacy-copy p + p { margin-top: 16px; }
.privacy-copy p, .privacy-copy li { color: #4e575d; }
.privacy-copy ul { padding-left: 22px; }
@media (max-width: 800px) {
  .footer-tools { justify-content: flex-start; }
  .analytics-banner { bottom: 12px; width: calc(100% - 24px); max-height: calc(100dvh - 24px); grid-template-columns: 1fr; gap: 16px; padding: 20px; }
  .consent-actions > button { flex: 1; }
  .consent-close { justify-self: start; }
  .privacy-copy { padding-block: 32px 48px; }
}
@media print { .analytics-banner, .analytics-settings { display: none; } }
