/* Cookie consent: the banner consent.js builds, the footer's cookie controls, and the cookie notice page.
   Colours, type and focus rings come from experience.css, so both themes follow the site. */
:root{--consent-shadow:0 18px 60px -18px rgba(0,0,0,.65)}
:root[data-theme=light]{--consent-shadow:0 18px 50px -20px rgba(32,60,40,.35)}
.visually-hidden{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0 0 0 0)!important;white-space:nowrap!important;border:0!important}

/* The banner sits at the foot of the viewport and covers nothing else: the page keeps scrolling,
   reading and taking focus behind it, and the page gains room at its foot while it shows. */
.consent-banner{position:fixed;z-index:90;left:16px;right:16px;bottom:16px;bottom:calc(16px + env(safe-area-inset-bottom,0px));max-width:920px;max-height:calc(100vh - 32px);overflow-y:auto;margin-inline:auto;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:16px 32px;align-items:center;padding:22px 24px;border:1px solid var(--line);border-radius:var(--radius);background:var(--panel);color:var(--text);box-shadow:var(--consent-shadow)}
.consent-banner[hidden]{display:none}
.consent-banner:focus-visible{outline:2px solid var(--accent);outline-offset:3px}
.consent-title{font-size:17px;line-height:1.35;letter-spacing:-.02em;font-weight:500;color:var(--text)}
.consent-text{margin-top:6px;font-size:14px;line-height:1.65;color:var(--muted)}
.consent-text a{color:var(--accent);text-decoration:underline;text-underline-offset:3px;white-space:nowrap}
.consent-current{margin-top:8px;font-size:13px;line-height:1.5;color:var(--accent)}
.consent-current[hidden]{display:none}
/* Two choices of equal weight: the same size, the same style, side by side. */
.consent-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.consent-button{min-height:46px;min-width:150px;padding:11px 18px;border:1px solid var(--accent);border-radius:6px;background:transparent;color:var(--accent);font-size:14px;font-weight:500;line-height:1.3;cursor:pointer;transition:background-color .2s,color .2s}
.consent-button:hover{background:var(--accent-bg)}
html.consent-open body{padding-bottom:calc(var(--consent-space,0px) + 16px)}
@media(prefers-reduced-motion:no-preference){.consent-banner:not([hidden]){animation:consent-in .32s var(--ease) both}}
@keyframes consent-in{from{opacity:0;transform:translateY(10px)}}
@media(max-width:640px){.consent-banner{left:12px;right:12px;bottom:12px;bottom:calc(12px + env(safe-area-inset-bottom,0px));max-height:calc(100vh - 24px);grid-template-columns:minmax(0,1fr);gap:14px;padding:18px}.consent-title{font-size:16px}.consent-text{font-size:13.5px}.consent-button{min-width:0;min-height:44px;padding-inline:10px}}
@media(forced-colors:active){.consent-banner{border-color:CanvasText}.consent-button{border-color:ButtonText}}

/* The footer's cookie controls sit with the company line and read like the footer's links. */
.footer-legal a,.consent-settings{display:inline-flex;align-items:center;min-height:24px}
.consent-settings{appearance:none;background:none;border:0;padding:0;margin:0;color:inherit;font:inherit;letter-spacing:inherit;line-height:inherit;cursor:pointer}
.consent-settings:hover{color:var(--accent)}
.consent-settings[hidden]{display:none}

/* The cookie notice page. */
.notice{padding-block:76px 104px}
.notice .container{max-width:920px}
.notice-head{padding-bottom:40px;border-bottom:1px solid var(--line)}
.notice-head .eyebrow{margin-bottom:22px}
.notice-head h1{font-size:clamp(42px,6.4vw,72px);line-height:1.04;letter-spacing:-.055em}
.notice-updated{margin-top:22px;font-size:13px;color:var(--dim)}
.notice-head .lead{margin-top:18px;max-width:720px}
.notice-toc{margin-top:36px}
.notice-toc h2{font-size:11px;line-height:1.5;letter-spacing:.11em;text-transform:uppercase;font-weight:500;color:var(--dim)}
.notice-toc ol{margin:14px 0 0;padding:0 0 0 22px;columns:2;column-gap:48px;color:var(--dim);font-size:13px}
.notice-toc li{break-inside:avoid;padding:4px 0}
.notice-toc a{color:var(--muted);font-size:14px;line-height:1.5}
.notice-toc a:hover{color:var(--accent)}
.notice-section{margin-top:56px;padding-top:44px;border-top:1px solid var(--line-soft)}
.notice-section h2{font-size:clamp(27px,3.2vw,36px);line-height:1.18;letter-spacing:-.035em;margin-bottom:20px}
.notice-section p{font-size:16px;line-height:1.85;max-width:720px}
.notice-section>*+p{margin-top:16px}
.notice-section>.consent-button+p{margin-top:20px}
.notice-section ul{margin:16px 0 0;padding-left:20px;max-width:720px}
.notice-section li{color:var(--muted);font-size:16px;line-height:1.75}
.notice-section li+li{margin-top:10px}
.notice-section li::marker{color:var(--accent)}
.notice-section strong{font-weight:500;color:var(--text)}
.notice-section a{color:var(--accent);text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:3px}
.notice-section a:hover{text-decoration-thickness:2px}
.notice-section code,.notice-table code{font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:.9em;color:var(--text)}
.notice-section .consent-button{margin-top:24px}
.notice-section .consent-button[hidden]{display:none}
/* Every stored item, in one table. On a phone each row becomes a card with its labels shown. */
.notice-table{margin-top:24px;overflow-x:auto;border:1px solid var(--line);border-radius:10px;background:var(--panel)}
.notice-table table{width:100%;border-collapse:collapse;font-size:14px;line-height:1.6}
.notice-table th,.notice-table td{padding:14px 16px;text-align:left;vertical-align:top;border-bottom:1px solid var(--line-soft)}
.notice-table thead th{font-size:11px;line-height:1.4;letter-spacing:.08em;text-transform:uppercase;font-weight:500;color:var(--dim);background:var(--bg-alt)}
.notice-table tbody tr:last-child>*{border-bottom:0}
.notice-table tbody th{font-weight:500;color:var(--text);white-space:nowrap}
.notice-table td{color:var(--muted)}
@media(max-width:760px){
.notice{padding-block:52px 80px}
.notice-toc ol{columns:1}
.notice-section{margin-top:44px;padding-top:36px}
.notice-section p,.notice-section li{font-size:15px}
.notice-table{border:0;border-radius:0;background:none;overflow:visible}
.notice-table table,.notice-table tbody,.notice-table tr,.notice-table th,.notice-table td{display:block;width:auto}
.notice-table thead{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.notice-table tbody tr{padding:16px 18px;border:1px solid var(--line);border-radius:10px;background:var(--panel)}
.notice-table tbody tr+tr{margin-top:12px}
.notice-table tbody th{padding:0 0 10px;border-bottom:1px solid var(--line-soft);font-size:16px;white-space:normal}
.notice-table td{padding:10px 0 0;border:0}
.notice-table td::before{content:attr(data-label);display:block;margin-bottom:2px;font-size:11px;letter-spacing:.08em;text-transform:uppercase;color:var(--dim)}
.notice-table code{overflow-wrap:anywhere}
}
@media print{.consent-banner,.consent-settings,.notice-section .consent-button{display:none!important}html.consent-open body{padding-bottom:0}}
