/* Legal pages and 404: the home page look. White reading column on the dark surround, Geist / Inter / JetBrains Mono
   (fonts load from /fonts/audit/fonts.css, the same files the home page uses). */
:root {
  --bg: #0d0f12;
  --paper: #fff;
  --ink: #0a0a0a;
  --mut: #525252;
  --line: #e4e4e7;
  --soft: #f4f4f5;
  --green: #00a556;
  --green-ink: #007a3f;
  --head: Geist, Inter, system-ui, sans-serif;
  --body: Inter, system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 17px/1.65 var(--body); -webkit-font-smoothing: antialiased; }

/* The column: 720px on desktop, full width on a phone */
.lg { max-width: 720px; min-height: 100vh; min-height: 100dvh; margin: 0 auto; background: var(--paper); display: flex; flex-direction: column; }
.lg > main { flex: 1; width: 100%; padding: 28px 20px 72px; }
.lg a { color: var(--ink); text-underline-offset: 3px; text-decoration-thickness: 1px; }
.lg a:hover { text-decoration-thickness: 2px; }
.lg :focus-visible { outline: 2px solid var(--green); outline-offset: 3px; border-radius: 4px; }

/* Top bar */
.lg-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 20px; border-bottom: 1px solid var(--line); background: var(--paper); position: sticky; top: 0; z-index: 5; }
.lg-mark { display: inline-flex; align-items: center; gap: 8px; font: 700 21px/1 var(--head); letter-spacing: -.03em; color: var(--ink); text-decoration: none !important; }
.lg a.lg-cta, .lg a.btn-pill { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 20px; border-radius: 999px; background: var(--ink); color: #fff; font: 600 14px/1 var(--head); letter-spacing: -.005em; text-decoration: none; white-space: nowrap; transition: transform .16s cubic-bezier(.23, 1, .32, 1), background .16s; }
.lg a.lg-cta:hover { background: #262626; }
.lg a.lg-cta:active { transform: scale(.97); }

/* Reading */
.lg main { font-size: 17px; line-height: 1.65; overflow-wrap: break-word; }
.lg main > section, .lg .wrap, .lg .prose { max-width: none; margin: 0; padding: 0; }
.lg .back { display: inline-block; margin: 0 0 20px; font: 500 12px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--green-ink); text-decoration: none; }
.lg .back:hover { text-decoration: underline; }
.lg h1, .lg h2, .lg h3 { font-family: var(--head); color: var(--ink); text-wrap: balance; }
.lg h1 { font-size: clamp(32px, 8vw, 44px); font-weight: 700; line-height: 1.08; letter-spacing: -.035em; margin: 8px 0 14px; }
.lg h2 { font-size: 24px; font-weight: 700; line-height: 1.2; letter-spacing: -.025em; margin: 44px 0 12px; padding-top: 28px; border-top: 1px solid var(--line); scroll-margin-top: 80px; }
.lg h1 + p + h2, .lg h1 + h2 { border-top: 0; }
.lg h3 { font-size: 18px; font-weight: 600; letter-spacing: -.015em; margin: 28px 0 8px; }
.lg p, .lg ul, .lg ol { margin: 0 0 14px; max-width: 68ch; color: #262626; }
.lg ul, .lg ol { padding-left: 1.3em; }
.lg li { margin-bottom: 6px; }
.lg li::marker { color: var(--green); }
.lg strong { font-weight: 600; color: var(--ink); }
.lg .muted, .lg .meta-line, .lg .small { color: var(--mut); font-size: 15px; }
.lg main > section > .wrap > .muted:first-of-type, .lg h1 + .muted { font: 500 12px/1.6 var(--mono); letter-spacing: .04em; text-transform: uppercase; color: var(--green-ink); max-width: none; }
.lg code { font: 500 14px var(--mono); background: var(--soft); border-radius: 4px; padding: 1px 5px; word-break: break-all; }

/* Tables */
.lg .table-wrap, .lg .table-scroll { overflow-x: auto; margin: 0 -20px 16px; padding: 0 20px; -webkit-overflow-scrolling: touch; }
.lg table { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 1.5; margin: 0 0 16px; }
.lg .table-wrap table, .lg .table-scroll table { margin: 0; }
.lg th, .lg td { text-align: left; vertical-align: top; padding: 10px 14px 10px 0; border-bottom: 1px solid var(--line); color: #262626; }
.lg th { font: 600 11px/1.4 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--green-ink); border-bottom-color: var(--ink); }
.lg td:last-child, .lg th:last-child { padding-right: 0; }

/* Privacy choices, deletion status */
.lg .choices { background: var(--soft); border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px 4px; margin: 0 0 16px; }
.lg .deletion-status { border: 1px solid var(--line); background: var(--soft); border-radius: 14px; padding: 16px 18px 4px; margin: 0 0 16px; }
.lg main button, .lg main .btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 20px; border-radius: 999px; border: 0; background: var(--ink); color: #fff; font: 600 14px/1 var(--head); text-decoration: none; cursor: pointer; transition: transform .16s cubic-bezier(.23, 1, .32, 1); }
.lg main button:active, .lg main .btn:active { transform: scale(.97); }

/* Footer */
.lg .footer { border-top: 1px solid var(--line); padding: 28px 20px 40px; font-size: 14px; line-height: 1.7; color: var(--mut); background: #fafafa; }
.lg > .wrap { margin: 0; padding: 0; max-width: none; }
.lg .footer__inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px 32px; }
.lg .footer strong { font-family: var(--head); font-size: 16px; }
.lg .footer a { color: var(--ink); }

/* 404 */
.lg-nf { flex: 1; display: flex; flex-direction: column; justify-content: center; padding: 56px 20px 72px; }
.lg-nf .lbl { font: 600 12px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--green-ink); margin: 0 0 16px; }
.lg-nf h1 { font: 700 clamp(56px, 18vw, 104px)/.95 var(--head); letter-spacing: -.045em; margin: 0 0 18px; }
.lg-nf p { margin: 0 0 28px; max-width: 34ch; font-size: 19px; }
.lg-nf nav { display: flex; flex-wrap: wrap; gap: 12px; }
.lg .lg-nf a.btn-pill.q { background: var(--paper); color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }

@media (min-width: 760px) {
  .lg { border-left: 1px solid #1c2026; border-right: 1px solid #1c2026; }
  .lg > main { padding: 40px 36px 88px; }
  .lg-top { padding: 14px 36px; }
  .lg .footer { padding: 32px 36px 48px; }
  .lg-nf { padding: 72px 36px 88px; }
  .lg .table-wrap, .lg .table-scroll { margin: 0 0 16px; padding: 0; }
}
@media (prefers-reduced-motion: reduce) { .lg * { transition: none !important; } }

/* Phone: each table row becomes a small card, every cell labelled from its column header */
@media (max-width: 759px) {
  .lg table:has(td[data-label]) thead { display: none; }
  .lg table:has(td[data-label]), .lg table:has(td[data-label]) tbody, .lg table:has(td[data-label]) tr, .lg table:has(td[data-label]) td { display: block; width: 100%; }
  .lg table:has(td[data-label]) tr { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .lg table:has(td[data-label]) td { border: 0; padding: 0 0 8px; }
  .lg table:has(td[data-label]) td:first-child { font-weight: 600; color: var(--ink); }
  .lg td[data-label]:not(:first-child)::before { content: attr(data-label); display: block; font: 600 11px/1.4 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--green-ink); margin-bottom: 2px; }
  .lg .table-wrap:has(td[data-label]), .lg .table-scroll:has(td[data-label]) { overflow: visible; margin: 0 0 16px; padding: 0; }
}
.lg-mark .amk { width: 19px; height: 19px; fill: #00A556; flex: none; } /* the Advento mark, Tom msg 3388 */
