/* The terms, privacy and copyright pages (web/home/legal, built by scripts/build-site.mts): the home
   page's type and ink on its deep, in one readable column. Loaded after home.css. */
.legal { background: var(--abyss); }
.legal .mast { position: static; }
.doc { width: min(100% - 2 * var(--gutter), 760px); margin: var(--s4) auto var(--s5); font-size: 17px; line-height: 1.65; }
.doc h1 { font-family: 'Mona Sans', 'Hanken Grotesk', system-ui, sans-serif; font-weight: 700; font-stretch: 112.5%; font-size: var(--heading); line-height: 1; letter-spacing: -0.03em; margin-bottom: var(--s4); }
.doc h2 { font-size: 22px; line-height: 1.25; letter-spacing: -0.01em; max-width: none; margin: var(--s5) 0 var(--s2); }
.doc h2 + h2 { margin-top: var(--s3); }
.doc p, .doc ul, .doc table { margin: 0 0 var(--s2); }
.doc ul { list-style: disc; padding-left: 1.4em; }
.doc ul ul { list-style: circle; margin: 6px 0 0; }
.doc li { margin: 6px 0; }
.doc a { color: var(--accent); text-underline-offset: 3px; overflow-wrap: anywhere; }
.doc table { width: 100%; border-collapse: collapse; font-size: 16px; }
.doc th, .doc td { text-align: left; vertical-align: top; padding: 14px 16px 14px 0; border-top: 1px solid rgb(242 244 238 / 0.18); }
.doc th { font-weight: 600; }
.doc td ul { margin: 0; }
.foot-links { display: flex; flex-wrap: wrap; gap: var(--s1) var(--s3); }
.foot-links a { text-decoration: none; }
.foot-links a:hover { text-decoration: underline; text-underline-offset: 3px; }
.foot-links a:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; border-radius: 4px; }
/* (On a phone the table reads as a list: each kind of data, then who it goes to.) */
@media (max-width: 640px) {
  .doc table, .doc tbody, .doc tr, .doc td { display: block; }
  .doc tr:first-child { display: none; }
  .doc tr { border-top: 1px solid rgb(242 244 238 / 0.18); padding: 14px 0; }
  .doc td { border: 0; padding: 0 0 8px; }
}
