:root {
    color-scheme: light;
    --ink: #253448;
    --muted: #68778b;
    --blue: #255fa7;
    --line: #e0e7ef;
}
* { box-sizing: border-box; }
html { scroll-padding-top: 24px; }
body {
    margin: 0;
    background: #f2f5f9;
    color: var(--ink);
    font: 16px/1.75 -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
    overflow-wrap: anywhere;
}
a { color: var(--blue); text-underline-offset: 3px; }
a:hover { color: #173e72; }
a:focus-visible { outline: 3px solid #74a5e4; outline-offset: 4px; border-radius: 3px; }
.LegalShell { width: min(960px, calc(100% - 48px)); margin: 0 auto; }
.LegalTopline { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 28px 0; }
.LegalBrand { font-size: 24px; font-weight: 800; letter-spacing: -.7px; color: var(--ink); text-decoration: none; }
.LegalBrand span { color: var(--blue); }
.LegalBack { display: inline-flex; align-items: center; padding: 8px 14px; border: 1px solid #d3dce7; border-radius: 9px; text-decoration: none; font-size: 14px; font-weight: 600; background: white; }
.LegalIntro { padding: 20px 0 30px; }
.LegalEyebrow, .DocumentNumber { color: var(--blue); font-size: 12px; font-weight: 700; letter-spacing: 1.4px; text-transform: uppercase; }
.LegalIntro h1 { margin: 6px 0 10px; font-size: clamp(28px, 4vw, 40px); line-height: 1.2; letter-spacing: -.8px; }
.LegalIntro > p:last-of-type { color: var(--muted); margin: 0 0 20px; }
.DocumentNavigation { display: flex; flex-wrap: wrap; gap: 8px; }
.DocumentNavigation a { padding: 7px 13px; border-radius: 8px; background: #e5edf7; text-decoration: none; font-size: 14px; font-weight: 600; }
.ConsentDocument, .PrivacyPolicy, .LegalDocument { background: white; border: 1px solid var(--line); border-radius: 16px; padding: 36px 44px; margin-bottom: 24px; box-shadow: 0 4px 16px #25344805; }
.DocumentNumber { margin: 0 0 12px; }
h2 { font-size: 26px; line-height: 1.35; letter-spacing: -.35px; margin: 0 0 16px; font-weight: 700; }
h3 { font-size: 19px; line-height: 1.45; margin: 30px 0 10px; }
h4 { font-size: 17px; line-height: 1.45; margin: 0 0 16px; }
p { margin: 0 0 14px; }
ul { padding-left: 22px; margin: 16px 0; }
li { margin-bottom: 10px; padding-left: 3px; }
.LegalEdition { color: var(--muted); font-size: 14px; padding-bottom: 18px; border-bottom: 1px solid var(--line); margin-bottom: 22px; }
.PrivacyPolicy > h3, .LegalDocument > h3 { padding-top: 16px; border-top: 1px solid var(--line); }
.PrivacyPurpose { margin: 18px 0; padding: 22px 24px; background: #f6f8fb; border: 1px solid #e6ebf2; border-radius: 10px; }
.PrivacyPurpose p { font-size: 15px; margin-bottom: 12px; }
.PrivacyPurpose p:last-child, .RulesList > p:last-child, .ConsentDocument > p:last-child { margin-bottom: 0; }
.LegalDocument h2, .LegalDocument h3 { scroll-margin-top: 24px; }
.PrivacyPurpose strong { color: #344d6a; }
.LegalNotice { padding: 14px 18px; border-radius: 8px; background: #fff6e6; color: #75542a; font-size: 14px; }
.LegalFooter { padding: 10px 0 36px; color: var(--muted); font-size: 14px; }
.LegalNavigation { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 0 0 22px; }
.AccountConsentChoice { display: flex; align-items: flex-start; gap: 12px; cursor: pointer; }
.AccountConsentChoice input { flex: 0 0 auto; width: 20px; height: 20px; margin: 4px 0 0; accent-color: var(--blue); }
.AccountConsentActions { display: flex; align-items: center; flex-wrap: wrap; gap: 16px; margin: 22px 0; }
.AccountConsentActions button { border: 0; border-radius: 10px; background: var(--blue); color: white; font: inherit; font-weight: 600; padding: 12px 20px; cursor: pointer; max-width: 100%; }
.AccountConsentActions button:focus-visible { outline: 3px solid #74a5e4; outline-offset: 4px; }
.AccountConsentHelp { color: var(--muted); font-size: 14px; }
.PasswordResetForm { max-width: 440px; }
.PasswordResetForm label { display: block; margin: 18px 0 6px; font-weight: 600; }
.PasswordResetForm input[type="password"] { display: block; width: 100%; padding: 12px 14px; border: 1px solid #d3dce7; border-radius: 9px; font: inherit; }
.PasswordResetForm input:focus-visible { outline: 3px solid #74a5e4; outline-offset: 2px; }
@media (max-width: 600px) {
    body { font-size: 15px; line-height: 1.7; }
    .LegalShell { width: calc(100% - 24px); }
    .LegalTopline { padding: 18px 2px; gap: 8px; }
    .LegalBrand { font-size: 21px; }
    .LegalBack { font-size: 13px; padding: 7px 10px; }
    .LegalIntro { padding: 16px 4px 24px; }
    .LegalIntro h1 { font-size: 29px; }
    .ConsentDocument, .PrivacyPolicy, .LegalDocument { padding: 24px 20px; border-radius: 12px; margin-bottom: 16px; }
    h2 { font-size: 22px; }
    h3 { font-size: 18px; margin-top: 24px; }
    .PrivacyPurpose { padding: 18px 16px; }
    .LegalFooter { padding: 12px 4px 28px; }
}
@media print {
    body { background: white; color: black; font-size: 11pt; }
    .LegalShell { width: 100%; }
    .LegalTopline, .DocumentNavigation, .LegalFooter { display: none; }
    .ConsentDocument, .PrivacyPolicy, .LegalDocument { padding: 0; border: 0; box-shadow: none; }
    .PrivacyPolicy { break-before: page; }
    .PrivacyPurpose { background: none; border-color: #bbb; break-inside: avoid; }
}
