/* MarcusLabs — the text pages: the slide tool's Terms, Privacy and Refund (their words moved verbatim from the tool's
   site, five languages kept) and Kritus's Support, Privacy, Terms and Acknowledgements. They wear the site's own header,
   menu, page hero and footer (site.css, pages.css); this file sets the hero's size and the document itself.
   Built by tools/build_doc_pages.py; the old pages are in dev/legacy-pages/. Tokens only. */

/* the hero: a title, not a whole screen */
.doc-hero { min-height: 0; padding: clamp(calc(132 * var(--u)), calc(20vh * var(--f)), calc(220 * var(--u))) 0 clamp(calc(44 * var(--u)), calc(7vh * var(--f)), calc(80 * var(--u))); }
.doc-hero .h-xl { font-size: clamp(calc(30 * var(--u)), calc(4.4vw * var(--f)), calc(60 * var(--u))); max-width: none; }   /* 'Kritus — Acknowledgements' on one line on a computer */
.doc-hero .eyebrow .t a { color: inherit; text-decoration: none; }
.doc-hero .eyebrow .t a:hover { color: var(--amber); }
.doc-meta { display: flex; flex-wrap: wrap; gap: calc(10 * var(--u)) calc(28 * var(--u)); margin: calc(28 * var(--u)) 0 0; font-size: calc(12.5 * var(--u)); letter-spacing: .04em; color: var(--ink-3); }
.doc-meta a { color: var(--ink-2); text-decoration: none; }
.doc-meta a:hover { color: var(--amber); }
.doc-nav { margin-top: calc(30 * var(--u)); }
.doc-nav a { text-decoration: none; color: var(--ink-2); }
.doc-nav a:hover, .doc-nav a[aria-current="page"] { color: var(--amber); }

/* the document: one reading column of PT Mono, section titles in ML Sans */
.doc-sec { padding-top: clamp(calc(56 * var(--u)), calc(8vw * var(--f)), calc(110 * var(--u))); }
.doc { max-width: calc(760 * var(--u)); }
.doc h2 { margin: calc(48 * var(--u)) 0 calc(14 * var(--u)); font-family: var(--sans); font-stretch: var(--expanded); font-weight: 760;
  font-size: clamp(calc(18 * var(--u)), calc(1.5vw * var(--f)), calc(21 * var(--u))); line-height: 1.3; letter-spacing: -.005em; color: var(--amber); text-wrap: balance; }
.doc > :first-child, .doc h2.first { margin-top: 0; }
.doc p { margin: 0 0 calc(16 * var(--u)); font-size: calc(15.5 * var(--u)); line-height: 1.75; color: var(--ink-2); }
.doc p.short { margin: 0 0 calc(8 * var(--u)); padding: calc(18 * var(--u)) calc(22 * var(--u)); border-left: calc(2 * var(--u)) solid var(--olive); color: var(--ink); }
.doc p.label { margin: 0 0 calc(14 * var(--u)); font-family: var(--mono); font-size: calc(11.5 * var(--u)); letter-spacing: .12em; color: var(--ink-3); }
.doc p.date { margin-top: calc(40 * var(--u)); font-size: calc(12.5 * var(--u)); letter-spacing: .04em; color: var(--ink-3); }
.doc ul { margin: 0 0 calc(16 * var(--u)); padding-left: 1.2em; color: var(--ink-2); line-height: 1.75; }
.doc strong { color: var(--ink); font-weight: 700; }
.doc a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--olive);
  text-decoration-thickness: 1px; text-underline-offset: calc(4 * var(--u)); overflow-wrap: anywhere; }
.doc a:hover { color: var(--amber); text-decoration-color: var(--amber); }
@media (max-width: 640px) {
  .doc-hero .h-xl { font-size: min(calc(34 * var(--u)), calc(7.2vw * var(--f))); }   /* 'Acknowledgements' fits a 320 px phone */
  .doc p { font-size: calc(14.5 * var(--u)); }
  .doc h2 { font-size: calc(17 * var(--u)); }
  .doc p.short { padding: calc(14 * var(--u)) calc(16 * var(--u)); }
}
