/* Shared legal reading layout. Policy copy stays in its source documents. */
html.legal-document { scroll-behavior: auto; scroll-padding-top: 0; }
body.brand-editorial.legal-page main { padding: 0; }
body.brand-editorial.legal-page .policy-hero {
  padding: 128px 0 40px; background: var(--paper); border-bottom: 1px solid var(--line);
}
body.brand-editorial.legal-page .policy-hero h1 {
  margin: 0 0 24px; max-width: 960px; color: var(--brand);
  font-size: clamp(42px, 5vw, 64px); line-height: 1.08; letter-spacing: -.04em;
}
body.brand-editorial.legal-page .policy-hero h1::before {
  content: ''; display: block; width: 40px; height: 3px; margin-bottom: 20px; background: var(--signal);
}
body.brand-editorial.legal-page .policy-meta { display: flex; flex-wrap: wrap; gap: 8px 24px; color: var(--muted); font-size: 14px; }
body.brand-editorial.legal-page .policy-meta span { display: inline-flex; align-items: center; gap: 8px; }
body.brand-editorial.legal-page .policy-meta i { color: var(--brand); }
body.brand-editorial.legal-page .policy-page { padding: 40px 0 64px; background: var(--paper); }
body.brand-editorial.legal-page .policy-layout { display: grid; grid-template-columns: 288px minmax(0, 1fr); align-items: start; gap: 48px; }
body.brand-editorial.legal-page .policy-toc {
  position: sticky; top: 112px; max-height: calc(100dvh - 136px); overflow-y: auto;
  padding: 24px; border: 1px solid var(--brand); border-radius: 16px; background: var(--brand); color: var(--paper);
  scrollbar-width: thin; scrollbar-color: #cbd0eb var(--brand);
}
body.brand-editorial.legal-page .policy-toc h4 { margin: 0 0 12px; color: var(--paper); font-size: 13px; line-height: 1.4; letter-spacing: .08em; text-transform: uppercase; }
body.brand-editorial.legal-page .policy-toc ol { margin: 0; padding-left: 20px; list-style: decimal; }
body.brand-editorial.legal-page .policy-toc li { padding-left: 4px; margin: 0; color: #d5d9f1; font-size: 13px; }
body.brand-editorial.legal-page .policy-toc a { display: block; padding: 7px 0; color: var(--paper); font-size: 14px; line-height: 1.4; text-decoration: none; }
body.brand-editorial.legal-page .policy-toc a:hover { text-decoration: underline; text-underline-offset: 4px; }
body.brand-editorial.legal-page .policy-toc a:focus-visible { outline-color: var(--paper); }
body.brand-editorial.legal-page .policy-toc-related { margin-top: 20px; padding-top: 20px; border-top: 1px solid #ffffff40; }
body.brand-editorial.legal-page .policy-article { min-width: 0; max-width: 760px; }
body.brand-editorial.legal-page .policy-section { margin: 0; padding: 32px 0; border-bottom: 1px solid var(--line); scroll-margin-top: 112px; }
body.brand-editorial.legal-page .policy-section:first-child { padding-top: 0; }
body.brand-editorial.legal-page .policy-section:last-child { padding-bottom: 0; border-bottom: 0; }
body.brand-editorial.legal-page .policy-section h2 { display: flex; align-items: baseline; gap: 12px; margin: 0 0 16px; color: var(--brand); font-size: clamp(25px, 2.3vw, 30px); line-height: 1.2; letter-spacing: -.03em; text-wrap: pretty; }
body.brand-editorial.legal-page .section-num { flex: 0 0 auto; min-width: 28px; color: var(--signal); font-size: 16px; font-weight: 500; letter-spacing: 0; font-variant-numeric: tabular-nums; }
body.brand-editorial.legal-page .policy-section h3 { margin: 24px 0 12px; color: var(--ink); font-size: 20px; line-height: 1.3; letter-spacing: -.02em; }
body.brand-editorial.legal-page .policy-section :is(p,li) { font-size: 17px; line-height: 1.65; color: var(--ink); }
body.brand-editorial.legal-page .policy-section p { margin: 0 0 16px; }
body.brand-editorial.legal-page .policy-section :is(ul,ol) { padding-left: 24px; margin: 12px 0 20px; }
body.brand-editorial.legal-page .policy-section li { margin-bottom: 8px; }
body.brand-editorial.legal-page .policy-section li::marker { color: var(--brand); }
body.brand-editorial.legal-page .policy-section > :last-child { margin-bottom: 0; }
body.brand-editorial.legal-page .policy-article a { color: var(--brand); text-decoration: underline; text-underline-offset: 3px; overflow-wrap: anywhere; }
body.brand-editorial.legal-page .policy-article a:hover { color: var(--brand-pressed); }
body.brand-editorial.legal-page .policy-contact-card { margin-top: 24px; padding: 24px; background: var(--brand); border: 0; border-radius: 16px; }
body.brand-editorial.legal-page .policy-contact-card :is(h3,p,a,i) { color: var(--paper); }
body.brand-editorial.legal-page .policy-contact-card h3 { margin-top: 0; font-size: 24px; }
body.brand-editorial.legal-page .policy-contact-card a:hover { color: #fff; }
body.brand-editorial.legal-page .policy-contact-card a:focus-visible { outline-color: var(--paper); }
body.brand-editorial.legal-page .policy-contact-card p:last-child { margin-bottom: 0; }
body.brand-editorial.legal-page .policy-contact-card i { margin-right: 8px; }
body.brand-editorial.legal-page .policy-article .contact-cta { margin-top: 8px; color: #fff; text-decoration: none; }
body.brand-editorial.legal-page .cookie-table-wrapper { max-width: 100%; overflow-x: auto; margin: 24px 0; border: 1px solid var(--line); border-radius: 12px; }
body.brand-editorial.legal-page .cookie-table { width: 100%; min-width: 600px; margin: 0; border-collapse: collapse; text-align: left; font-size: 15px; line-height: 1.5; }
body.brand-editorial.legal-page .cookie-table :is(th,td) { padding: 16px; vertical-align: top; border-bottom: 1px solid var(--line); }
body.brand-editorial.legal-page .cookie-table th { color: var(--paper); background: var(--brand); font-weight: 500; }
body.brand-editorial.legal-page .cookie-table tbody tr:nth-child(even) { background: var(--surface); }
body.brand-editorial.legal-page .cookie-table tr:last-child td { border-bottom: 0; }
body.brand-editorial.legal-page .consent-badge { display: inline-block; padding: 4px 8px; border: 1px solid var(--line); border-radius: 6px; background: var(--paper); color: var(--brand-pressed); font-size: 12px; font-weight: 500; white-space: nowrap; }
body.brand-editorial.legal-page .consent-badge.consent-req { border-color: var(--signal); }
@media (max-width: 1000px) {
  body.brand-editorial.legal-page .policy-layout { grid-template-columns: 240px minmax(0,1fr); gap: 32px; }
  body.brand-editorial.legal-page .policy-toc { padding: 20px; }
}
@media (max-width: 760px) {
  body.brand-editorial.legal-page .policy-hero { padding: 104px 0 32px; }
  body.brand-editorial.legal-page .policy-page { padding: 24px 0 48px; }
  body.brand-editorial.legal-page .policy-layout { grid-template-columns: 1fr; gap: 32px; }
  body.brand-editorial.legal-page .policy-toc { position: static; max-height: none; }
  body.brand-editorial.legal-page .policy-toc ol { columns: 2; column-gap: 32px; }
  body.brand-editorial.legal-page .policy-toc li { break-inside: avoid; }
  body.brand-editorial.legal-page .policy-section { padding: 28px 0; }
}
@media (max-width: 480px) {
  body.brand-editorial.legal-page .policy-toc ol { columns: 1; }
  body.brand-editorial.legal-page .policy-hero h1 { font-size: 42px; overflow-wrap: anywhere; }
  body.brand-editorial.legal-page .policy-meta { flex-direction: column; }
  body.brand-editorial.legal-page .policy-section :is(p,li) { font-size: 16px; }
}
