.legal-footer { max-width:1200px; margin:2rem auto 0; padding:1.5rem 24px 2rem; border-top:1px solid #91a0a640; color:#b9c3c9; font:400 13px/1.6 'Onest',sans-serif; }
.legal-footer nav { display:flex; flex-wrap:wrap; gap:10px 24px; }
.legal-footer a { color:inherit; text-decoration:underline; text-underline-offset:4px; }
.legal-footer p { margin:18px 0 0; color:#aab6bc; }
.legal-footer button { color:inherit; background:transparent; border:0; padding:0; margin:16px 0 0; font:inherit; text-decoration:underline; text-underline-offset:4px; cursor:pointer; }
.legal-shell { max-width:940px; margin:0 auto; padding:10px 0 48px; }
.legal-eyebrow { color:#693347; font:400 12px/1.6 'IBM Plex Mono',monospace; letter-spacing:.12em; text-transform:uppercase; }
.legal-shell h1 { font:400 clamp(30px,4vw,50px)/1.14 'Literata',serif; color:#162b35; margin:18px 0 24px; overflow-wrap:anywhere; }
.legal-lead { color:#415965; font-size:17px; line-height:1.7; max-width:700px; }
.legal-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:14px; margin:32px 0; }
.legal-card { display:block; padding:24px; border:1px solid #899caa42; border-radius:12px; background:#14232a; text-decoration:none; }
.legal-card:hover { border-color:#91a0a6; background:#1a2b33; }
.legal-card strong { display:block; color:#eee8db; font:400 22px/1.35 'Literata',serif; }
.legal-card span { display:block; color:#b9c3c9; font:400 14px/1.6 'Onest',sans-serif; margin-top:12px; }
.legal-body { color:#243a43; font:400 16px/1.85 'Onest',sans-serif; overflow-wrap:anywhere; }
.legal-body h2 { color:#162b35; font:400 26px/1.35 'Literata',serif; margin:40px 0 16px; scroll-margin-top:24px; }
.legal-body p { margin:0 0 20px; }
.legal-body strong { color:#162b35; font-weight:600; }
.legal-body a,.legal-back { color:#254e65; text-underline-offset:4px; }
.legal-meta { color:#526269; font-size:13px; margin:0 0 28px; }
.legal-summary { padding:22px 24px; margin:28px 0; border-left:2px solid #7d3c50; background:#14232a; color:#d3dce0; font-size:15px; line-height:1.7; }
.cookie-notice { position:fixed; z-index:100; bottom:20px; left:24px; right:24px; max-width:1040px; margin:auto; display:flex; align-items:center; gap:28px; background:#f4f0e7; color:#17272d; padding:22px 26px; border-radius:14px; border:1px solid #b6c3c5; box-shadow:0 8px 48px #0007; font:400 14px/1.6 'Onest',sans-serif; }
.cookie-notice[hidden], [data-cookie-settings][hidden] { display:none !important; }
.cookie-notice p { margin:0; color:#17272d; }
.cookie-notice strong { display:block; font-weight:600; font-size:16px; margin-bottom:5px; }
.cookie-notice a { color:#234c5b; text-decoration:underline; text-underline-offset:3px; }
.cookie-notice button { flex:none; border:1px solid #233e49; border-radius:8px; background:#19323d; color:#fff; padding:13px 18px; cursor:pointer; font:500 14px/1.4 'Onest',sans-serif; }
.cookie-notice button:hover { background:#2a4c5b; }
.cookie-notice-visible { padding-bottom:180px !important; }
.legal-footer a:focus-visible,.legal-footer button:focus-visible,.legal-card:focus-visible,.cookie-notice a:focus-visible,.cookie-notice button:focus-visible { outline:3px solid #567d8f; outline-offset:5px; }
@media(max-width:640px) { .legal-grid { grid-template-columns:1fr; } .legal-card { padding:20px; } .legal-body { font-size:15px; } .legal-body h2 { font-size:23px; } .cookie-notice { left:12px; right:12px; bottom:12px; padding:18px; gap:14px; flex-direction:column; align-items:stretch; } .cookie-notice button { width:100%; } .cookie-notice-visible { padding-bottom:260px !important; } .legal-footer { padding-left:16px; padding-right:16px; } }
@media print { .cookie-notice,.legal-footer,.site-header,.site-footer { display:none !important; } .legal-body,.legal-body h2,.legal-shell h1,.legal-meta { color:#000; } .legal-shell { max-width:none; } body { background:white !important; padding:0 !important; } }

/* Consistent button sizing and a compact, scrollable notice on small screens. */
.cookie-notice { max-height:calc(100dvh - 24px); overflow-y:auto; gap:24px; }
.cookie-notice-copy { flex:1; min-width:0; }
.cookie-notice-actions { display:flex; flex-direction:column; gap:10px; flex:none; }
.cookie-notice-actions button { width:100%; }
.cookie-notice [data-cookie-status]:empty { display:none; }
.cookie-notice [data-cookie-status] { margin-top:10px; font-size:13px; }
.cookie-notice button:disabled { opacity:.65; cursor:wait; }
@media(max-width:640px) { .cookie-notice { gap:14px; } .cookie-notice-visible { padding-bottom:350px !important; } }

.cookie-notice button[data-cookie-choice="deny"] { background:transparent; color:#19323d; border-color:#233e49; }
.cookie-notice button[data-cookie-choice="deny"]:hover { background:#e6e4dc; border-color:#19323d; }
