/* Privacy and Terms pages: the home page's colours, San Francisco type and footer, in one plain reading column. */
:root {
  --paper: #faf6ef; --ink-strong: #1c1b19; --ink: #4a4844; --muted: #6f6b64; --faint: #aaa59c;
  --rule: #e4e0d8; --accent: #4f62c4; --window: #ffffff;
  --body: -apple-system, BlinkMacSystemFont, system-ui, "Helvetica Neue", sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #1b1a18; --ink-strong: #f4f2ee; --ink: #cbc7bf; --muted: #a19c93; --faint: #6c675f;
    --rule: #36332f; --accent: #9db0f5; --window: #1f1e1c; color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --paper: #1b1a18; --ink-strong: #f4f2ee; --ink: #cbc7bf; --muted: #a19c93; --faint: #6c675f;
  --rule: #36332f; --accent: #9db0f5; --window: #1f1e1c; color-scheme: dark;
}

* { box-sizing: border-box; }
body {
  margin: 0; padding-inline: 16px; color: var(--ink); font: 17px/1.65 var(--body); -webkit-font-smoothing: antialiased;
  /* The home page's faint periwinkle wash across the top. */
  background: linear-gradient(to bottom, color-mix(in srgb, var(--accent) 12%, var(--paper)) 0%, var(--paper) 480px) no-repeat, var(--paper);
}
a { color: var(--accent); }
.page { max-width: 680px; margin-inline: auto; }

/* The app icon, the light one on the light page and the dark one on the dark page, as on the home page. It links home. */
.home { display: inline-block; margin-top: 40px; line-height: 0; filter: drop-shadow(0 2px 4px rgba(28,27,25,.12)) drop-shadow(0 8px 14px rgba(40,44,90,.2)); }
.home img { width: 44px; height: auto; vertical-align: top; clip-path: inset(3% round 21%); }
.on-dark { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .on-dark { display: inline; }
  :root:not([data-theme="light"]) .on-light { display: none; }
  :root:not([data-theme="light"]) .home { filter: drop-shadow(0 2px 4px rgba(0,0,0,.5)) drop-shadow(0 12px 22px rgba(143,157,245,.22)); }
}
:root[data-theme="dark"] .on-dark { display: inline; }
:root[data-theme="dark"] .on-light { display: none; }

main { padding-block: 24px 56px; }
h1 { font: 700 clamp(36px, 6vw, 48px)/1.05 var(--body); color: var(--ink-strong); letter-spacing: -.03em; margin: 0; }
.updated { color: var(--muted); font-size: 14px; margin: 10px 0 32px; }
h2 { font: 700 20px/1.3 var(--body); letter-spacing: -.01em; color: var(--ink-strong); margin: 40px 0 8px; }
p, ul { margin: 0 0 14px; }
ul { padding-left: 1.2em; }
li { margin-bottom: 6px; }
strong { color: var(--ink-strong); font-weight: 600; }

/* The short version: a white card, like the feature cards on the home page. */
.short { background: var(--window); border: 1px solid var(--rule); border-radius: 16px; padding: 4px 22px 10px; margin-bottom: 32px; }
.short h2 { margin-top: 18px; }

/* The home page's footer. */
footer { padding-block: 20px 40px; display: grid; gap: 6px; justify-items: center; text-align: center; font-size: 12px; color: var(--faint); }
footer a { color: var(--muted); }
footer a:hover, footer a[aria-current="page"] { color: var(--ink-strong); }
