/* Consent banner, contact dialog, footer utilities and privacy page */
.footer-links .cookie-settings { padding: 0; border: 0; background: none; color: inherit; font: inherit; text-align: left; cursor: pointer; }
.footer-links .cookie-settings:hover { text-decoration: underline; text-underline-offset: 4px; }
.footer-links .cookie-settings:focus-visible { outline: 2px solid var(--brand); outline-offset: 5px; }

.consent-banner { position: fixed; z-index: 120; left: 24px; bottom: 24px; width: min(380px, calc(100% - 32px)); padding: 20px; border: 1px solid var(--line); border-radius: 20px; background: rgba(255,255,255,.94); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 12px 40px rgba(7,19,28,.14); }
.consent-banner h2 { margin: 0 0 6px; font-size: 17px; font-weight: 600; letter-spacing: -.02em; }
.consent-banner p { margin: 0 0 16px; color: var(--muted); font-size: 14.5px; line-height: 1.5; }
.consent-banner p a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.consent-banner p a:hover { color: var(--brand); }
.consent-actions { display: flex; gap: 10px; }
.consent-actions .button { flex: 1; }
@media (max-width: 560px) { .consent-banner { left: 12px; right: 12px; bottom: 12px; width: auto; } }

.contact-dialog { width: min(480px, calc(100% - 32px)); max-height: calc(100% - 32px); padding: 0; border: 0; border-radius: 24px; background: #fff; color: var(--ink); box-shadow: 0 24px 80px rgba(7,19,28,.28); overflow: auto; }
.contact-dialog::backdrop { background: rgba(7,19,28,.42); backdrop-filter: blur(3px); }
body:has(dialog.contact-dialog[open]) { overflow: hidden; }
.contact-panel { padding: 28px; }
.contact-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 8px; }
.contact-head h2, .contact-done h2 { margin: 0; font-size: 26px; font-weight: 500; letter-spacing: -.04em; }
.contact-close { width: 44px; height: 44px; display: grid; place-items: center; border: 0; border-radius: 999px; background: #f0f1f3; color: var(--ink); font-size: 24px; line-height: 1; cursor: pointer; }
.contact-close:hover { background: #e4e6ec; }
.contact-note, .contact-fine { margin: 0 0 16px; color: var(--muted); font-size: 14.5px; line-height: 1.5; }
.contact-fine { margin: 16px 0 0; font-size: 13px; }
.contact-fine a { text-decoration: underline; text-underline-offset: 3px; }
.contact-fine a:hover { color: var(--brand); }
.contact-form label { display: block; margin: 14px 0 6px; font-size: 14px; font-weight: 500; }
.contact-form input:not(.contact-trap), .contact-form textarea { width: 100%; padding: 12px 14px; border: 1px solid #cfd3dc; border-radius: 14px; background: #fff; color: var(--ink); font: inherit; font-size: 16px; }
.contact-form textarea { resize: vertical; min-height: 120px; }
.contact-form input:focus-visible, .contact-form textarea:focus-visible { outline: 3px solid var(--brand); outline-offset: 1px; border-color: var(--brand); }
.contact-trap { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.contact-actions { margin-top: 20px; }
.contact-form button[disabled] { opacity: .6; cursor: progress; }
.contact-status { min-height: 1.4em; margin: 12px 0 0; color: #b42318; font-size: 14px; }
.contact-done { padding: 8px 0 4px; }
.contact-done p { margin: 8px 0 20px; color: var(--muted); }
.contact-done:focus { outline: none; }

.privacy-page { padding-bottom: 24px; }
.privacy-page > * { max-width: 720px; }
.privacy-page h2 { margin: 40px 0 12px; font-size: 24px; font-weight: 500; letter-spacing: -.035em; }
.privacy-page h2:first-of-type { margin-top: 8px; }
.privacy-page p { margin: 0 0 14px; color: var(--muted); line-height: 1.65; }
.privacy-page a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.privacy-page a:hover { color: var(--brand); }
