/* The legal pages of mywow.net: documents set in the same faces and colours as the home page. Tokens, header, skip link and fonts come from
   base.css and fonts.css; this file is only the document layout. Tokens only: no colour is written here. */
.legal-page .head { position: relative; flex-wrap: wrap; gap: 8px 24px; padding: 20px var(--m); }
.legal-page .links { order: 3; flex: 1 1 100%; flex-wrap: wrap; gap: 4px 22px; }
.legal-page .links a { display: inline-block !important; padding: 8px 0; }
.legal-page .links a[aria-current] { font-weight: 700; text-decoration: underline; text-underline-offset: 0.3em; text-decoration-thickness: 2px; }
.legal-page .lang, .legal-page .quiet { padding: 8px 0; }
.legal-page main:focus { outline: none; }

.doc { max-width: 48rem; margin: 0 auto; padding: clamp(40px, 6vw, 88px) var(--m) clamp(64px, 8vw, 120px); font: 400 1.1875rem/1.65 var(--font-text); }
.doc h1 { margin-bottom: 28px; font: 600 clamp(2.2rem, 5vw, 3.6rem)/1.02 var(--font-display); letter-spacing: -0.03em; text-wrap: balance; }
.doc h2 { margin: 52px 0 14px; font: 600 clamp(1.4rem, 2.2vw, 1.8rem)/1.15 var(--font-display); letter-spacing: -0.02em; text-wrap: balance; }
.doc p, .doc ul { margin: 0 0 16px; }
.doc ul { padding-left: 1.3em; list-style: disc; }
.doc li { margin: 6px 0; }
.doc a { text-underline-offset: 0.2em; }
.doc table { width: 100%; margin: 20px 0 28px; border-collapse: separate; border-spacing: 0; border-radius: var(--r); overflow: hidden; font: 400 var(--ui)/1.45 var(--font-text); }
.doc th, .doc td { padding: 14px 16px; text-align: left; vertical-align: top; overflow-wrap: break-word; }   /* whole words wrap to a new line in a narrow column; only an unbreakable word (a long URL) splits mid-word */
.doc thead th { background: var(--surface); font: 600 var(--ui)/1.3 var(--font-display); }
.doc tbody tr:nth-child(even) { background: var(--surface); }
@media (max-width: 640px) { .doc table { display: block; overflow-x: auto; } }

.doc-foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; max-width: 48rem; margin: 0 auto; padding: 28px var(--m) 48px; }
.doc-foot a { padding: 8px 0; }
