/* Legal pages: the homepage's tokens, nav and footer come from home.css; this file styles the reading column. */
html { scroll-padding-top: 24px; }
.page-head { background: radial-gradient(90% 120% at 100% 0%, var(--sky3), transparent 60%), linear-gradient(180deg, var(--canvas), var(--sky2)); padding: 128px 16px 56px; }
.page-head > div, .document { max-width: 760px; margin-inline: auto; }
.eyebrow { color: var(--violet); font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
h1 { font-size: clamp(36px, 5.5vw, 56px); line-height: 1.08; font-weight: 800; letter-spacing: -.035em; margin: 12px 0 18px; text-wrap: balance; }
.lede { font-size: clamp(18px, 1.8vw, 20px); line-height: 1.5; color: var(--text-muted); max-width: 58ch; }
.meta { margin-top: 18px; font-size: 14px; line-height: 22px; color: var(--text-subtle); }

.document { padding: 48px 16px 96px; font-size: 17px; line-height: 1.7; }
.document p, .document ul, .document ol { margin-top: 14px; }
.document ul, .document ol { padding-left: 1.4em; }
.document li { margin-top: 8px; }
.document li::marker { color: var(--violet); }
.document h2 { font-size: 26px; line-height: 1.25; font-weight: 800; letter-spacing: -.02em; margin-top: 56px; scroll-margin-top: 24px; }
.document h3 { font-size: 19px; font-weight: 700; margin-top: 28px; }
.document strong { font-weight: 650; }
.document a { color: var(--violet); text-decoration-thickness: .07em; text-underline-offset: .2em; overflow-wrap: anywhere; }
.document a:hover { text-decoration-thickness: .14em; }
.document > section:first-child h2, .document > :first-child { margin-top: 0; }

.contents { margin-bottom: 8px; padding: 20px 24px; border-radius: 22px; background: var(--surface); border: 1px solid var(--hair); }
.contents h2 { font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--text-subtle); margin: 0 0 6px; }
.contents ol { columns: 2; column-gap: 32px; margin: 0; font-size: 16px; }
.contents li { margin: 0; padding: 4px 0; break-inside: avoid; }
.contents a { text-decoration: none; }
.contents a:hover { text-decoration: underline; }

.document table { width: 100%; margin-top: 16px; border-collapse: collapse; font-size: 16px; line-height: 1.5; }
.document th, .document td { padding: 10px 12px 10px 0; text-align: left; vertical-align: top; border-bottom: 1px solid var(--hair); }
.document th { font-size: 13px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--text-subtle); }
/* An unresolved fact in the draft; the publish check refuses any page that still has one. */
.todo { background: #fff1a8; color: #3b3000; border-radius: 4px; padding: 0 4px; }

.legal .nav nav a[aria-current] { color: var(--text); }
@media (max-width: 600px) {
  .page-head { padding-top: 104px; }
  .contents ol { columns: 1; }
}
@media print {
  .nav, .skip, .contents, .foot { display: none; }
  .page-head { background: none; padding: 0; }
  .document { padding: 0; }
  .document h2 { break-after: avoid; }
  .document a { color: inherit; }
}
