.legal-header { position: sticky; z-index: 20; top: 0; border-bottom: 1px solid rgb(16 37 31 / 9%); background: rgb(251 250 246 / 94%); backdrop-filter: blur(16px); }
.legal-header__inner { display: flex; min-height: 74px; align-items: center; justify-content: space-between; gap: 20px; }
.legal-header__tools { display: flex; align-items: center; justify-content: flex-end; gap: 20px; }
.legal-header__nav { display: flex; align-items: center; gap: 19px; }
.legal-header__nav a { color: #52635b; font-size: .78rem; font-weight: 750; text-decoration: none; }
.legal-header__nav a:hover { color: var(--ink); }
.legal-header__nav .button { min-height: 40px; padding: 10px 13px; color: var(--paper); background: var(--ink); font-size: .72rem; }
.legal-language { display: inline-flex; align-items: center; gap: 8px; color: #52635b; font-size: .69rem; font-weight: 780; white-space: nowrap; }
.legal-language select { min-height: 38px; max-width: 130px; padding: 0 29px 0 11px; color: var(--ink); border: 1px solid #d6ddd5; border-radius: 7px; outline: 0; background: #fff; font: inherit; cursor: pointer; }
.legal-language select:focus { border-color: var(--moss); box-shadow: 0 0 0 3px rgb(54 107 87 / 12%); }

.legal-hero { padding: 73px 0 62px; border-bottom: 1px solid var(--line); background: linear-gradient(118deg, #f6f2e9 0%, #fbfaf6 56%, #e6ecdc 100%); }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 29px; color: #68756e; font-size: .72rem; font-weight: 700; }
.breadcrumb a { color: inherit; text-decoration: none; }.breadcrumb a:hover { color: var(--ink); }
.breadcrumb span { color: #9aa49e; }
.legal-hero__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(230px, .34fr); align-items: end; gap: 40px; }
.legal-hero h1 { max-width: 760px; margin: 0; font-size: clamp(3rem, 5vw, 5.35rem); letter-spacing: -.076em; line-height: .92; }
.legal-hero__subtitle { margin: 13px 0 0; color: var(--moss); font-size: .88rem; font-weight: 760; letter-spacing: .02em; }
.legal-hero__lead { max-width: 680px; margin: 22px 0 0; color: #4a5c53; font-size: 1.04rem; line-height: 1.62; }
.legal-version { display: grid; gap: 7px; padding: 20px; border: 1px solid rgb(54 107 87 / 18%); border-radius: 9px; background: rgb(255 255 255 / 55%); }
.legal-version span { color: var(--moss); font-size: .63rem; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
.legal-version strong { font-size: .94rem; letter-spacing: -.03em; }.legal-version small { color: #66766d; font-size: .7rem; line-height: 1.4; }

.legal-layout { display: grid; grid-template-columns: minmax(190px, .25fr) minmax(0, .75fr); align-items: start; gap: clamp(38px, 7vw, 104px); padding-top: 72px; padding-bottom: 94px; }
.document-nav { position: sticky; top: 102px; padding: 18px 0; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--line); }
.document-nav__title { display: block; margin-bottom: 12px; color: #67756d; font-size: .63rem; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
.document-nav a { display: block; padding: 9px 0; color: #63726b; font-size: .78rem; font-weight: 700; line-height: 1.3; text-decoration: none; }
.document-nav a:hover, .document-nav a[aria-current="page"] { color: var(--ink); }.document-nav a[aria-current="page"] { font-weight: 850; }
.document-nav__home { margin-top: 11px; padding-top: 14px !important; border-top: 1px solid var(--line); color: var(--moss) !important; }
.legal-article { min-width: 0; }
.legal-notice { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 13px; margin-bottom: 46px; padding: 18px; border-left: 3px solid var(--moss); background: #edf2e7; }
.legal-notice__mark { display: grid; width: 27px; height: 27px; place-items: center; color: var(--paper); border-radius: 50%; background: var(--moss); font-size: .83rem; font-weight: 850; }
.legal-notice p { margin: 2px 0 0; color: #365447; font-size: .84rem; line-height: 1.55; }
.legal-section { scroll-margin-top: 110px; padding: 0 0 38px; margin-bottom: 37px; border-bottom: 1px solid var(--line); }
.legal-section:last-child { margin-bottom: 0; }.legal-section h2 { margin: 0 0 19px; font-size: clamp(1.65rem, 2.5vw, 2.36rem); letter-spacing: -.065em; line-height: 1; }
.legal-section p, .legal-section li { color: #4f6057; font-size: .92rem; line-height: 1.68; }.legal-section p { margin: 0 0 14px; }.legal-section p:last-child { margin-bottom: 0; }
.legal-section ul { display: grid; gap: 9px; padding: 0; margin: 18px 0 0; list-style: none; }.legal-section li { position: relative; padding-left: 18px; }.legal-section li::before { position: absolute; left: 0; top: .72em; width: 6px; height: 6px; border-radius: 50%; background: var(--lime); content: ''; }
.legal-section strong { color: var(--ink); }
.legal-section h3, .legal-section h4 { margin: 0 0 15px; color: var(--ink); font-family: var(--sans); font-weight: 790; letter-spacing: -.035em; line-height: 1.16; }
.legal-section h3 { font-size: 1.22rem; }.legal-section h4 { font-size: 1.03rem; }
.legal-section--level-3 { padding: 0 0 24px; margin-bottom: 24px; }.legal-section--level-3 h3 { margin-bottom: 14px; }
.legal-section ol { display: grid; gap: 9px; margin: 18px 0 0; padding-left: 25px; }.legal-section ol li { padding-left: 2px; }.legal-section ol li::before { display: none; }
.legal-section a { color: var(--moss); font-weight: 750; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.legal-section code { padding: 2px 5px; border-radius: 3px; color: #25463a; background: #e8eee3; font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: .84em; }
.legal-section hr { height: 1px; margin: 26px 0; border: 0; background: var(--line); }
.legal-table-wrap { width: 100%; margin: 20px 0; overflow-x: auto; border: 1px solid var(--line); border-radius: 8px; background: #fff; }
.legal-table-wrap table { width: 100%; min-width: 440px; border-collapse: collapse; text-align: left; }.legal-table-wrap th, .legal-table-wrap td { padding: 12px 14px; border-bottom: 1px solid #e5e7e0; color: #4f6057; font-size: .78rem; line-height: 1.45; vertical-align: top; }.legal-table-wrap th { color: var(--ink); background: #f3f5ee; font-weight: 800; }.legal-table-wrap tr:last-child td { border-bottom: 0; }
.legal-loading { margin: 0; color: var(--muted); font-size: .9rem; }
.legal-callout { margin-top: 32px; padding: 25px; border-radius: 10px; color: #edf3ec; background: var(--ink); }.legal-callout h2 { margin: 0; color: var(--paper); font-size: 1.72rem; }.legal-callout p { max-width: 650px; margin: 13px 0 0; color: #c4d0c7; font-size: .85rem; line-height: 1.58; }.legal-callout .button { margin-top: 19px; }

.legal-footer { padding: 45px 0 26px; color: #d6dfd8; background: var(--ink); }.legal-footer__grid { display: flex; align-items: start; justify-content: space-between; gap: 35px; }.legal-footer p { max-width: 400px; margin: 13px 0 0; color: #aebdb3; font-size: .76rem; line-height: 1.5; }.legal-footer .brand { color: var(--paper); }.legal-footer__links { display: grid; grid-template-columns: repeat(2, minmax(160px, 1fr)); gap: 10px 30px; }.legal-footer__links a { color: #dbe4dc; font-size: .75rem; font-weight: 700; text-decoration: none; }.legal-footer__links a:hover { color: var(--lime); }.legal-footer__bottom { margin-top: 34px; padding-top: 18px; border-top: 1px solid rgb(255 255 255 / 13%); color: #90a198; font-size: .68rem; }

@media (max-width: 760px) { .legal-header__inner { min-height: 66px; }.legal-header__tools { gap: 10px; }.legal-header__nav > a:not(.button) { display: none; }.legal-hero { padding: 51px 0 44px; }.legal-hero__grid { grid-template-columns: 1fr; gap: 28px; }.legal-version { width: fit-content; max-width: 100%; }.legal-layout { grid-template-columns: 1fr; gap: 35px; padding-top: 43px; padding-bottom: 62px; }.document-nav { position: static; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 16px; padding: 16px 0; }.document-nav__title { grid-column: 1 / -1; }.document-nav__home { grid-column: 1 / -1; }.legal-notice { margin-bottom: 34px; }.legal-section { padding-bottom: 30px; margin-bottom: 29px; }.legal-footer__grid { display: grid; }.legal-footer__links { gap: 11px 20px; } }
@media (max-width: 430px) { .legal-header__inner { gap: 8px; }.legal-header__tools { gap: 6px; }.legal-header__nav .button { min-height: 36px; padding: 9px 10px; font-size: .65rem; }.legal-header .brand { font-size: 1.05rem; }.legal-header .brand-mark { width: 24px; height: 24px; }.legal-hero h1 { font-size: 2.8rem; }.legal-hero__lead { font-size: .93rem; }.legal-section p, .legal-section li { font-size: .86rem; }.legal-footer__links { grid-template-columns: 1fr; } }

/* Custom document-language picker: it deliberately avoids the browser's
   native mobile select dialog and keeps every supported language visible. */
.legal-language { position: relative; }.legal-language__label { display: inline; }.legal-language__trigger { display: inline-flex; min-width: 130px; min-height: 38px; gap: 9px; align-items: center; justify-content: space-between; border: 1px solid #d6ddd5; padding: 0 10px 0 11px; color: var(--ink); background: #fff; border-radius: 7px; font: inherit; font-size: .69rem; font-weight: 780; text-align: left; }.legal-language__trigger:hover { border-color: #aabaae; background: #fbfdfb; }.legal-language__trigger:focus-visible, .legal-language__trigger[aria-expanded="true"] { border-color: var(--moss); outline: 0; box-shadow: 0 0 0 3px rgb(54 107 87 / 12%); }.legal-language__trigger > span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }.legal-language__trigger svg { flex: 0 0 auto; width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }
.legal-language__layer { position: fixed; z-index: 100; inset: 0; }.legal-language__backdrop { position: absolute; inset: 0; width: 100%; border: 0; padding: 0; background: transparent; }.legal-language__panel { position: fixed; top: var(--legal-language-top); left: var(--legal-language-left); display: grid; grid-template-rows: auto minmax(0, 1fr); width: var(--legal-language-width); max-height: min(466px, calc(100dvh - var(--legal-language-top) - 14px)); overflow: hidden; border: 1px solid #cad7ce; background: #fff; border-radius: 12px; box-shadow: 0 16px 42px rgb(22 55 42 / 19%); }.legal-language__panel header { display: flex; justify-content: space-between; gap: 12px; align-items: center; min-height: 45px; border-bottom: 1px solid #e7ece6; padding: 0 10px 0 14px; color: #355443; background: #f7faf6; }.legal-language__panel header strong { font-family: var(--sans); font-size: .72rem; font-weight: 820; }.legal-language__close { display: grid; place-items: center; width: 29px; height: 29px; border: 0; padding: 0; color: #5b7265; background: transparent; border-radius: 7px; font: inherit; font-size: 1.45rem; line-height: 1; }.legal-language__close:hover { color: var(--ink); background: #e8f0e8; }.legal-language__options { display: grid; overflow-y: auto; overscroll-behavior: contain; padding: 5px; }.legal-language__options button { display: grid; grid-template-columns: minmax(0, 1fr) auto 16px; width: 100%; min-height: 37px; gap: 9px; align-items: center; border: 0; padding: 8px 9px; color: #405a4d; background: transparent; border-radius: 7px; font: inherit; font-size: .76rem; font-weight: 700; text-align: left; }.legal-language__options button:hover, .legal-language__options button:focus-visible { color: #164e35; outline: 0; background: #eaf3ea; }.legal-language__options [aria-selected="true"] { color: #164e35; background: #ddedde; font-weight: 840; }.legal-language__options button small { color: #839087; font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: .61rem; font-weight: 800; letter-spacing: .06em; }.legal-language__options button svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 2; }.legal-language__options button i { width: 16px; height: 16px; }
@media (max-width: 760px), (hover: none) and (pointer: coarse) { body.legal-language-picker-open { overflow: hidden; }.legal-language__label { display: none; }.legal-language__trigger { min-width: 116px; min-height: 36px; }.legal-language__layer { z-index: 1000; touch-action: none; }.legal-language__backdrop { background: rgb(17 36 27 / 50%); backdrop-filter: blur(2px); }.legal-language__panel, .legal-language__panel.is-compact { top: auto !important; right: 0 !important; bottom: 0; left: 0 !important; width: 100% !important; height: min(78dvh, 630px); max-height: min(78dvh, 630px); border-radius: 20px 20px 0 0; box-shadow: 0 -9px 35px rgb(16 35 26 / 24%); }.legal-language__panel header { min-height: 54px; padding: 0 14px 0 17px; }.legal-language__panel header strong { font-size: .84rem; }.legal-language__options { padding: 8px; touch-action: pan-y; }.legal-language__options button { min-height: 49px; padding: 11px 12px; font-size: .93rem; }.legal-language__options button small { font-size: .66rem; } }
@media (max-width: 430px) { .legal-language__trigger { min-width: 91px; max-width: 106px; padding: 0 8px; font-size: .64rem; } }

/* Android browsers can expose a desktop-width viewport while still using touch.
   The JS adds .is-compact in that case, so this must not depend on media queries. */
body.legal-language-picker-open { overflow: hidden; }
.legal-language__layer.is-compact { z-index: 1000; touch-action: none; }
.legal-language__layer.is-compact .legal-language__backdrop { background: rgb(17 36 27 / 50%); backdrop-filter: blur(2px); }
.legal-language__layer.is-compact .legal-language__panel { top: auto !important; right: 0 !important; bottom: 0; left: 0 !important; width: 100% !important; height: min(78dvh, 630px); max-height: min(78dvh, 630px); border-radius: 20px 20px 0 0; box-shadow: 0 -9px 35px rgb(16 35 26 / 24%); }
.legal-language__layer.is-compact .legal-language__panel header { min-height: 54px; padding: 0 14px 0 17px; }
.legal-language__layer.is-compact .legal-language__panel header strong { font-size: .84rem; }
.legal-language__layer.is-compact .legal-language__options { padding: 8px; touch-action: pan-y; }
.legal-language__layer.is-compact .legal-language__options button { min-height: 49px; padding: 11px 12px; font-size: .93rem; }
.legal-language__layer.is-compact .legal-language__options button small { font-size: .66rem; }

/* Phones use an always-visible one-line language rail instead of an overlay.
   It stays usable even when the browser reports a desktop viewport. */
.legal-language__mobile-strip { display: none; }
body.legal-inline-language-strip .legal-header__inner { flex-wrap: wrap; min-height: auto; gap: 7px; padding-top: 9px; }
body.legal-inline-language-strip .legal-header__tools { width: auto; margin-left: auto; }
body.legal-inline-language-strip .legal-language { flex: 1 0 100%; order: 3; display: block; min-width: 0; }
body.legal-inline-language-strip .legal-language__label, body.legal-inline-language-strip .legal-language__trigger, body.legal-inline-language-strip .legal-language__layer { display: none !important; }
body.legal-inline-language-strip .legal-language__mobile-strip { display: flex; min-width: 0; align-items: center; gap: 10px; height: 43px; border-top: 1px solid #e1e7e0; color: #58685f; overflow: hidden; font-size: .65rem; font-weight: 820; white-space: nowrap; }
body.legal-inline-language-strip .legal-language__mobile-strip > span { flex: 0 0 auto; }
body.legal-inline-language-strip .legal-language__mobile-strip > div { display: flex; min-width: 0; flex: 1; gap: 6px; overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
body.legal-inline-language-strip .legal-language__mobile-strip > div::-webkit-scrollbar { display: none; }
body.legal-inline-language-strip .legal-language__mobile-strip button { flex: 0 0 auto; min-width: 36px; min-height: 28px; border: 1px solid #d5dfd6; padding: 5px 8px; color: #4d6255; background: #fff; border-radius: 999px; font: inherit; font-size: .63rem; font-weight: 850; letter-spacing: .04em; }
body.legal-inline-language-strip .legal-language__mobile-strip button[aria-selected="true"] { color: #fff; border-color: var(--moss); background: var(--moss); }
body.legal-inline-language-strip .legal-language__mobile-strip button:focus-visible { outline: 3px solid #78a9e5; outline-offset: 2px; }

/* Final mobile behaviour: exactly the same anchored dropdown as desktop.
   No bottom sheet, no language rail, and the list always opens downward. */
body.legal-language-picker-open { overflow: auto; }
.legal-language__mobile-strip, body.legal-inline-language-strip .legal-language__mobile-strip { display: none !important; }
body.legal-inline-language-strip .legal-language { display: inline-flex; flex: 0 1 auto; order: initial; }
body.legal-inline-language-strip .legal-language__label, body.legal-inline-language-strip .legal-language__trigger, body.legal-inline-language-strip .legal-language__layer { display: revert !important; }
.legal-language__layer, .legal-language__layer.is-compact { z-index: 1000; touch-action: auto; }
.legal-language__layer .legal-language__backdrop, .legal-language__layer.is-compact .legal-language__backdrop { background: transparent; backdrop-filter: none; }
.legal-language__panel, .legal-language__layer.is-compact .legal-language__panel { top: var(--legal-language-top) !important; right: auto !important; bottom: auto !important; left: var(--legal-language-left) !important; width: var(--legal-language-width) !important; height: min(466px, calc(100dvh - var(--legal-language-top) - 14px)); max-height: min(466px, calc(100dvh - var(--legal-language-top) - 14px)); border-radius: 12px; box-shadow: 0 16px 42px rgb(22 55 42 / 19%); }
.legal-language__panel header, .legal-language__layer.is-compact .legal-language__panel header { min-height: 45px; padding: 0 10px 0 14px; }
.legal-language__panel header strong, .legal-language__layer.is-compact .legal-language__panel header strong { font-size: .72rem; }
.legal-language__options, .legal-language__layer.is-compact .legal-language__options { padding: 5px; touch-action: pan-y; }
.legal-language__options button, .legal-language__layer.is-compact .legal-language__options button { min-height: 37px; padding: 8px 9px; font-size: .76rem; }
.legal-language__options button small, .legal-language__layer.is-compact .legal-language__options button small { font-size: .61rem; }

/* The picker is intentionally only a language list: no duplicated heading or
   close control above it.  A click outside the list closes it. */
.legal-language__panel, .legal-language__layer.is-compact .legal-language__panel { display: block; }
.legal-language__options, .legal-language__layer.is-compact .legal-language__options { height: 100%; }
