/* Legal pages (Privacy, Cookies) — brandbook touches, 2026-10-11:
   pattern + round stamp in the hero, colour strip, and a numbered table of contents that follows the reader. */
.legal-hero { position: relative; overflow: hidden; }
.legal-hero > :not(.mz-pattern):not(.legal-stamp) { position: relative; z-index: 1; }
.legal-stamp { position: absolute; right: 7%; top: 50%; width: 150px; margin-top: -75px; opacity: .9; z-index: 0; }
.legal-pill { display: inline-block; margin-top: 18px; font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #f79e0c; border: 1px solid rgba(247,158,12,.35); border-radius: 20px; padding: 5px 14px; }
.legal-layout { max-width: 1120px; margin: 0 auto; padding: 0 32px; display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 56px; align-items: start; }
.legal-layout > main { margin-left: 0 !important; margin-right: 0 !important; max-width: 760px; padding-left: 0 !important; padding-right: 0 !important; }
.legal-toc { position: sticky; top: 104px; margin-top: 64px; padding: 20px 0 20px 18px; border-left: 2px solid #e1e8ec; }
.legal-toc b { display: block; font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: #54685F; margin-bottom: 12px; }
.legal-toc a { display: flex; gap: 10px; font-size: 13px; line-height: 1.4; color: #54685F; text-decoration: none; padding: 5px 0; transition: color .2s; }
.legal-toc a span { font: 600 11px/1.6 'IBM Plex Mono', monospace; color: #f79e0c; flex: 0 0 22px; }
.legal-toc a:hover, .legal-toc a.on { color: #081d5b; }
.legal-toc a.on { font-weight: 600; }
.legal-layout main h2 { scroll-margin-top: 100px; }
.h-num { font: 600 .8em 'IBM Plex Mono', monospace; color: #9c5f00; margin-right: 8px; }
@media (max-width: 900px) {
  .legal-layout { display: block; padding: 0; }
  .legal-toc { display: none; }
  .legal-stamp { width: 90px; right: -18px; margin-top: -45px; opacity: .5; }
}
/* the cookie tables were wider than a phone (442 px at 390): they scroll inside themselves now */
@media (max-width: 700px) { .cookie-table { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; } }
