/* Leeway Support and Privacy Policy: document pages in the Leeway palette, loaded after page.css and main.css. One reading column
   with a short contents list (beside it on wide screens, above it on narrow ones). Colors come only from the page tokens in page.css
   and main.css, so the page appearance (System, Light, Dark) applies unchanged and nothing here needs a dark block. */
.mast__id { display: inline-flex; align-items: center; gap: .5rem; min-height: 44px; color: var(--eye); text-decoration: none; font: 400 1.2rem/1 var(--serif); }
.mast__id img { width: 26px; height: 26px; }
.mast__id:hover { color: var(--forest); }
.mast__nav a[aria-current="page"] { color: var(--eye); text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: .45em; }
/* On phones the current page is marked by a bar under its label, resting on the header's bottom edge. It is drawn as a border, so
   it also shows in forced colors. The header's Leeway link is left out there, so the header is the same single row of links as on
   the Leeway page; the band's Leeway crumb, never hidden, still leads there. */
@media (max-width: 39.99rem) {
  .mast__id { display: none; }
  .mast__nav a[aria-current="page"] { position: relative; text-decoration: none; }
  .mast__nav a[aria-current="page"]::after { content: ''; position: absolute; inset: auto 0 -1px; border-bottom: 2px solid var(--forest); }
}
/* Up to 388 px wide the band leaves out this page's own crumb, as every Leeway page does up to 360 px: "/ Privacy Policy" would
   take the band to a second line and move the header below it down, off the Leeway page's places. The header names the page. */
@media (max-width: 387.98px) { .ed-trail > .ed-crumb { display: none; } }

.doc { padding-block: clamp(2rem, 6vw, 3.75rem) clamp(3rem, 8vw, 5rem); }
.doc__head { max-width: 42rem; }
.doc h1 { margin: 0; font: 400 clamp(2rem, 4.6vw, 2.9rem)/1.1 var(--serif); letter-spacing: -.01em; color: var(--eye); text-wrap: balance; }
.doc__lede { margin: 1rem 0 0; font-size: 1.125rem; color: var(--text); }
.doc__contact { margin: 1.4rem 0 0; padding: .9rem 1.15rem; border: 1px solid var(--rule); border-left: 3px solid var(--copper); border-radius: 6px; background: var(--pg-surface); }
.doc__contact a { font-weight: 600; }

.doc__layout { display: grid; gap: 1.75rem 3.5rem; margin-top: clamp(2rem, 5vw, 3rem); }
.doc__toc { padding-top: .8rem; border-top: 1px solid var(--rule); font: 400 .92rem/1.35 var(--label); }
.doc__toc p { margin: 0 0 .35rem; font: 600 .7rem/1.2 var(--label); letter-spacing: .12em; text-transform: uppercase; color: var(--text-2); }
.doc__toc ol { display: flex; flex-wrap: wrap; gap: 0 1.25rem; margin: 0; padding: 0; list-style: none; }
.doc__toc a { display: inline-flex; align-items: center; min-height: 40px; color: var(--text-2); text-underline-offset: .2em; }
.doc__toc a:hover { color: var(--forest); }
@media (min-width: 60rem) {
  .doc__layout { grid-template-columns: 12.5rem minmax(0, 42rem); }
  .doc__toc { position: sticky; top: 1.5rem; align-self: start; }
  .doc__toc ol { display: grid; }
}
.doc__body { min-width: 0; }
.doc__body section { scroll-margin-top: 1rem; }
.doc__body section + section { margin-top: 2.25rem; padding-top: 2.25rem; border-top: 1px solid var(--rule); }
.doc h2 { font-size: clamp(1.4rem, 2.6vw, 1.75rem); line-height: 1.2; }
.doc__body p, .doc__body ul { margin: .85rem 0 0; }
.doc__body ul { padding-left: 1.25rem; }
.doc__body li + li { margin-top: .35rem; }
/* Keycaps: page.css gives kbd a fixed pale fill; here it follows the page appearance so the label reads in Light and Dark. */
.doc kbd { background: var(--pg-chip); color: var(--eye); }
