/* Shared look for the Terms of Service and the Privacy Statement: one plain reading column. */
:root {
  --paper: #f4f6f7;
  --surface: #ffffff;
  --ink: #15202a;
  --muted: #55636f;
  --line: #d5dce2;
  --human: #12695d;
  --human-tint: #ddf0eb;
  --ai: #3f46b3;
  --fill: #fff3c4;
  --font-display: 'Schibsted Grotesk', 'Helvetica Neue', Arial, sans-serif;
  --font-body: 'Source Serif 4', Georgia, 'Times New Roman', serif;
  --font-mono: 'IBM Plex Mono', ui-monospace, Menlo, Consolas, monospace;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --paper: #0f151b;
    --surface: #161f28;
    --ink: #e5eaef;
    --muted: #9aa7b4;
    --line: #2a3643;
    --human: #5cc7b3;
    --human-tint: #12302b;
    --ai: #a3a8f6;
    --fill: #4a3d0c;
    color-scheme: dark;
  }
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  padding-left: max(20px, env(safe-area-inset-left, 0px));
  padding-right: max(20px, env(safe-area-inset-right, 0px));
  padding-block: env(safe-area-inset-top, 0px) env(safe-area-inset-bottom, 0px);
}
.wrap { max-width: 760px; margin: 0 auto; }
:focus-visible { outline: 3px solid var(--ai); outline-offset: 3px; }
a { color: var(--ai); text-underline-offset: 3px; }

.top { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-block: 22px; }
.mark { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 800; font-size: 21px; letter-spacing: -0.01em; color: var(--ink); text-decoration: none; }
.mark svg { width: 28px; height: 28px; flex: none; }
.top nav { display: flex; gap: 18px; font-family: var(--font-display); font-size: 15px; }
.top nav a { color: var(--muted); }
.top nav a[aria-current] { color: var(--ink); font-weight: 600; text-decoration: none; }

main { padding-block: 32px 64px; }
h1, h2, h3 { font-family: var(--font-display); line-height: 1.15; text-wrap: balance; }
h1 { font-size: clamp(36px, 6vw, 52px); font-weight: 800; letter-spacing: -0.02em; margin: 0 0 10px; }
h2 { font-size: 23px; font-weight: 700; margin: 44px 0 10px; padding-top: 18px; border-top: 1px solid var(--line); scroll-margin-top: 16px; }
h3 { font-size: 18px; font-weight: 600; margin: 22px 0 6px; }
p, ul, ol { margin: 0 0 14px; }
ul, ol { padding-left: 24px; }
li { margin-bottom: 6px; }
.updated { font-family: var(--font-mono); font-size: 13px; color: var(--muted); margin-bottom: 24px; }
.lead { font-size: 19px; }

.box { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 18px 22px; margin: 22px 0; }
.box h2 { margin-top: 0; padding-top: 0; border-top: 0; font-size: 19px; }
.box ul { margin-bottom: 0; }
.notice { font-weight: 600; }
.caps { text-transform: uppercase; font-size: 15px; letter-spacing: 0.01em; }

.toc { columns: 2; column-gap: 32px; padding-left: 22px; font-family: var(--font-display); font-size: 15px; }
.toc li { break-inside: avoid; }

/* Blanks Medeolinx must fill in before these pages go live. */
.fill { background: var(--fill); border-radius: 4px; padding: 0 4px; font-family: var(--font-mono); font-size: 0.88em; }

footer { border-top: 1px solid var(--line); padding-block: 24px 40px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 14px; color: var(--muted); font-family: var(--font-display); }
footer a { color: var(--muted); }

@media (max-width: 640px) {
  body { font-size: 16px; }
  .toc { columns: 1; }
}
