/* The privacy and support pages: the landing page's palette, type and nav, with one readable column of text.
   Levy's own colours, as start.mjs brand printed them for index.html. */
:root {
  --p-bg: #f5f1e8; --p-surface: #e8e4dc; --p-ink: #141414; --p-muted: #605e5b;
  --p-accent: #e63b2e; --p-accent-ink: #111111; --p-action: #e63b2e; --p-action-ink: #111111;
  --p-inv-bg: #141414; --p-inv-surface: #212020; --p-inv-ink: #f5f1e8; --p-inv-muted: #96948f;
  --p-inv-accent: #e63b2e; --p-inv-accent-ink: #111111; --p-inv-action: #e63b2e; --p-inv-action-ink: #111111;
  --font-display: "Instrument Sans", system-ui, sans-serif;
  --font-text: "Instrument Sans", system-ui, sans-serif;
  --font-mono: "DM Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  --display-weight: 500;
  --display-tracking: -0.028em;
  --display-tracking-xl: -0.036em;
  --display-stretch: 96%;
}

.nav__logo img { display: block; height: 28px; width: auto; }
.footer .nav__logo img { height: 40px; }

/* the document: one column of at most 62 characters on the page's left line */
.doc { padding: calc(var(--nav) + var(--s-8)) 0 var(--s-9); }
.doc__body { max-width: 680px; }
.doc__body h1 { font-size: var(--t-h2); line-height: 1.1; }
.doc__body h2 { font-size: var(--t-h3); line-height: 1.25; margin-top: var(--s-8); }
.doc__body h3 { font-size: var(--t-lead); line-height: 1.35; font-weight: 500; margin-top: var(--s-6); }
.doc__body p, .doc__body li { font-size: var(--t-body); line-height: 1.65; color: var(--ink); max-width: 62ch; }
.doc__body p { margin-top: var(--s-4); }
.doc__body h2 + p, .doc__body h3 + p { margin-top: var(--s-3); }
.doc__body ul { margin: var(--s-4) 0 0; padding-left: 1.25em; display: grid; gap: var(--s-2); }
.doc__body li { list-style: disc; }
.doc__date { color: var(--muted); }
.doc__body .doc__lead { font-size: var(--t-lead); line-height: 1.5; margin-top: var(--s-5); }
.doc__contact { margin-top: var(--s-6); padding: var(--s-6); border-radius: var(--r-lg); background: var(--p-surface); }
.doc__contact p { margin-top: var(--s-2); }
.doc__contact .doc__email { font: var(--display-weight) var(--t-h3)/1.2 var(--font-display); letter-spacing: var(--display-tracking); }

/* the footer under a document: the links and the legal row, no close above them */
.doc-footer { padding-block: var(--s-9) var(--s-6); }
@media (max-width: 639px) {
  .doc { padding: calc(var(--nav) + var(--s-7)) 0 var(--s-8); }
  .doc__contact { padding: var(--s-5); }
}

/* a link inside running text: underlined, no arrow (the arrow is for links that stand alone) */
.doc__body p a:not(.link) { color: inherit; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; text-decoration-color: color-mix(in oklab, currentColor 40%, transparent); }
.doc__body p a:not(.link):hover { text-decoration-color: currentColor; }
