/* ===================================================================
   Shared by privacy.html and terms.html.

   index.html keeps its own styles inline — it is the one page with a
   grid and a display scale, and it is verified as a single file. These
   two are prose, and they share a sheet rather than duplicating a
   token block twice, because two copies of the same palette is exactly
   how a light and a dark theme drift apart.
   =================================================================== */
:root {
  color-scheme: light dark;
  --paper: #ffffff;
  --ink:   #0b0d12;   /* 19.43:1 */
  --grey:  #515866;   /*  7.15:1 */
  --rule:  #d7dbe1;
  --rule-2:#9aa1af;
  --accent:#9a3200;   /*  7.42:1 */
  --hit-min: 44px;
  --font-sans: system-ui, -apple-system, 'Segoe UI', 'Helvetica Neue', Helvetica, Arial, sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root {
    --paper: #0c0e14;
    --ink:   #e9ebf2;  /* 16.20:1 */
    --grey:  #9aa0ad;  /*  7.35:1 */
    --rule:  #2b303c;
    --rule-2:#545c6d;
    --accent:#ff9e6b;  /*  9.51:1 */
  }
}
*, *::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-sans);
  font-size: 17px;
  line-height: 1.65;
}
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.skip {
  position: absolute; left: 16px; top: -200px; z-index: 2;
  display: inline-flex; align-items: center;
  min-height: var(--hit-min); padding: 0 16px;
  background: var(--ink); color: var(--paper); text-decoration: none;
}
.skip:focus { top: 16px; }
.shell { max-width: 34em; margin: 0 auto; padding-left: 24px; padding-right: 24px; }
header { padding: 24px 0; border-bottom: 1px solid var(--rule-2); }
.masthead { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 24px; }
.wordmark { font-size: 20px; font-weight: 600; letter-spacing: -0.02em; color: var(--ink); text-decoration: none; }
.masthead a.wordmark:hover { color: var(--accent); }
.updated { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--grey); margin-left: auto; }
main { padding: 64px 0 48px; }
h1 { margin: 0 0 24px; font-size: clamp(30px, 5vw, 44px); line-height: 1.1; letter-spacing: -0.03em; font-weight: 600; }
h2 { margin: 48px 0 12px; font-size: 21px; line-height: 1.25; letter-spacing: -0.015em; font-weight: 600; }
p, li { margin: 0 0 16px; }
ul { margin: 0 0 16px; padding-left: 1.2em; }
li { margin-bottom: 8px; }
.lede { font-size: 19px; color: var(--grey); }
a { color: var(--ink); }
a:hover { color: var(--accent); }
.note { margin: 24px 0; padding-left: 16px; border-left: 2px solid var(--rule-2); color: var(--grey); font-size: 15px; }
footer { border-top: 1px solid var(--rule-2); padding: 24px 0 64px; font-size: 14px; color: var(--grey); }
footer nav { display: flex; flex-wrap: wrap; gap: 4px 24px; }
footer a { display: inline-flex; align-items: center; min-height: var(--hit-min); }
