/* Legal articles preserve the existing light paper palette. Consent is a
   non-modal region; it never disables navigation or scene interaction. */
.legal-article{max-width:760px;margin:64px auto 96px;padding:0 28px;line-height:1.75;overflow-wrap:anywhere}
.legal-article h1{font-size:clamp(2.3rem,6vw,4.5rem);line-height:1.1;letter-spacing:-.045em;margin:12px 0 32px;color:var(--navy,#173d5b)}
.legal-article h2{font-size:1.3rem;line-height:1.35;letter-spacing:-.015em;margin:0 0 16px}
.legal-article section{margin-top:42px}
.legal-article p{margin:0 0 16px}
.legal-kicker{font-size:.8rem;letter-spacing:.08em;text-transform:uppercase}
.legal-notice{padding:18px 22px;border-left:3px solid var(--navy,#173d5b);background:rgba(255,255,255,.35)}
.legal-article mark{background:#e9dfc6;color:#3d3528;box-decoration-break:clone;-webkit-box-decoration-break:clone}
.legal-article a,.legal-footer a,.legal-inline-button{color:var(--navy,#173d5b);text-decoration:underline;text-underline-offset:.2em}
.legal-facts{margin:24px 0}
.legal-facts dt{font-weight:650;margin:22px 0 6px}
.legal-facts dd{margin:0}
.legal-facts code{font-size:.85em;overflow-wrap:anywhere}
.legal-footer{max-width:1040px;margin:auto;border-top:1px solid var(--line,#b9b4aa);padding:28px;line-height:1.6}
.legal-footer nav{display:flex;flex-wrap:wrap;gap:8px 24px;margin:18px 0}
.legal-footer button,.legal-inline-button{font:inherit;padding:0;border:0;background:none;cursor:pointer;text-align:left}
.legal-footer button{text-decoration:underline;text-underline-offset:.2em;color:var(--navy,#173d5b)}
.legal-consent-bubble{position:fixed;right:24px;bottom:24px;z-index:25;box-sizing:border-box;width:min(440px,calc(100vw - 32px));max-height:calc(100svh - 48px);overflow-y:auto;padding:26px;background:#f5f1e7;color:#20282d;border:1px solid #b9b4aa;border-radius:4px;box-shadow:0 12px 40px #173d5b24;font:400 14px/1.5 Avenir,"Segoe UI",Arial,sans-serif;text-align:left;pointer-events:auto;overscroll-behavior:contain}
.harbor .legal-consent-bubble--harbor{position:absolute;right:auto;bottom:auto;z-index:12;width:min(560px,calc(100% - 28px));max-height:none;padding:0;overflow:visible;border:0;border-radius:16px;box-shadow:0 8px 28px #0b24364d}
/* The gull's speech contains its complete message. Expanded details on short
   screens extend the document instead of creating a second scroll area. */
.harbor .legal-consent-content{position:relative;z-index:1;max-height:none;overflow:visible;box-sizing:border-box;padding:25px;border-radius:16px;background:#f5f1e7}
.harbor:has(>.legal-consent-bubble--harbor[data-consent-page-scroll="true"]:not([hidden])){min-height:var(--consent-required-height,0px)}
.harbor-scroll-track:has(>.harbor>.legal-consent-bubble--harbor[data-consent-page-scroll="true"]:not([hidden])){height:auto}
.harbor-scroll-track>.harbor:has(>.legal-consent-bubble--harbor[data-consent-page-scroll="true"]:not([hidden])){position:relative;top:auto}
.harbor .legal-consent-bubble--harbor:after{content:"";position:absolute;z-index:0;left:var(--speech-tail-x,24px);top:calc(100% - 3px);width:24px;height:var(--speech-tail-length,28px);background:#f5f1e7;clip-path:polygon(0 0,100% 0,50% 100%);transform-origin:50% 0;transform:translateX(-50%) rotate(var(--speech-tail-angle,0rad));pointer-events:none}
.harbor .legal-consent-close{z-index:2}
.legal-consent-details{margin-top:14px;font-size:12px}
.legal-consent-details summary{cursor:pointer;min-height:44px;display:list-item;list-style-position:inside;color:#173d5b;text-decoration:underline;text-underline-offset:.2em}
.legal-consent-details p{margin-top:8px}
.legal-consent-bubble[hidden]{display:none!important}
.legal-consent-bubble h2{font:650 21px/1.25 Avenir,"Segoe UI",Arial,sans-serif;letter-spacing:-.025em;margin:0 24px 14px 0;color:#173d5b}
.legal-consent-bubble p{margin:0 0 12px}
.legal-consent-bubble .legal-consent-close{position:absolute;right:6px;top:6px;min-width:44px;min-height:44px;padding:0;border:0;background:none;color:#173d5b;font:26px/1 Arial,sans-serif;cursor:pointer}
.legal-consent-option{display:flex;align-items:flex-start;gap:10px;margin:18px 0;font-weight:650;cursor:pointer}
.legal-consent-option input{flex:none;width:19px;height:19px;margin:2px 0 0;accent-color:#173d5b}
.legal-consent-option small{display:block;font-size:13px;line-height:1.5;font-weight:400;margin-top:5px}
.legal-consent-session{font-size:12px}
.legal-consent-actions{display:grid;grid-template-columns:1fr;gap:8px}
.harbor .legal-consent-actions{grid-template-columns:repeat(3,minmax(0,1fr))}
.legal-consent-actions button{display:block;width:100%;min-height:44px;border:1px solid #173d5b;border-radius:2px;padding:10px 12px;background:#f5f1e7;color:#173d5b;font:600 14px/1.3 Avenir,"Segoe UI",Arial,sans-serif;cursor:pointer}
.legal-consent-actions button:hover{background:#e5e6df}
.legal-consent-links{display:flex;flex-wrap:wrap;gap:8px 18px;margin-top:18px;font-size:12px}
.legal-consent-links a{color:#173d5b;text-decoration:underline;text-underline-offset:.2em;min-height:24px;display:inline-flex;align-items:center}
.legal-consent-bubble [data-consent-status]{margin:14px 0 0;border-left:2px solid #173d5b;padding-left:10px}
.legal-page :focus-visible,.legal-consent-bubble :focus-visible{outline:3px solid #173d5b;outline-offset:4px}
.legal-noscript{padding:20px 28px;max-width:760px;margin:auto}
@media(max-width:700px){.legal-article{margin:38px auto 64px;padding:0 22px}.legal-article h1{margin-bottom:24px}.legal-footer{padding:24px 22px}.legal-consent-bubble{right:16px;bottom:16px;padding:22px;max-height:calc(100svh - 32px)}}
@media(max-width:600px){.harbor .legal-consent-content{padding:22px 20px 16px}.harbor .legal-consent-actions{grid-template-columns:1fr}.harbor .legal-consent-option{margin:14px 0}.harbor .legal-consent-links{margin-top:8px}.harbor .legal-consent-details{margin-top:10px}}
