/* Shared by privacy.html and terms.html.
 *
 * The same palette and faces as the landing page, laid out for reading rather
 * than for selling: one column, a narrow measure, and headings that can be
 * scanned by somebody looking for one specific answer. */

:root {
  --paper:      #F6F6F2;
  --raised:     #FFFFFF;
  --ink:        #12161B;
  --muted:      #5C6660;
  --hairline:   #DDDFD8;
  --pine:       #1E6B58;
  --amber:      #B87A0B;
  --amber-wash: #FBF1DC;

  --display: "Fraunces", Georgia, "Times New Roman", serif;
  --body: "IBM Plex Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper:      #0F1317;
    --raised:     #161B20;
    --ink:        #ECEFEA;
    --muted:      #9AA49E;
    --hairline:   #262D33;
    --pine:       #6FC6AB;
    --amber:      #E8B75E;
    --amber-wash: #221B0D;
  }
}
:root[data-theme="dark"] {
  --paper:      #0F1317;
  --raised:     #161B20;
  --ink:        #ECEFEA;
  --muted:      #9AA49E;
  --hairline:   #262D33;
  --pine:       #6FC6AB;
  --amber:      #E8B75E;
  --amber-wash: #221B0D;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 1.0625rem/1.7 var(--body);
  -webkit-font-smoothing: antialiased;
}
a { color: var(--pine); }
h1, h2, h3 { font-family: var(--display); line-height: 1.15; text-wrap: balance; margin: 0; }

.wrap { width: 100%; max-width: 44rem; margin: 0 auto; padding: 0 clamp(1.25rem, 5vw, 2.5rem); }
.rule { border: 0; border-top: 1px solid var(--hairline); margin: 0; }

.masthead { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.5rem 0; }
.wordmark { font-family: var(--display); font-weight: 700; font-size: 1.0625rem; letter-spacing: -0.01em; text-decoration: none; color: var(--ink); }
.wordmark span { color: var(--pine); }
.masthead a.back { font-size: 0.9375rem; }

header.doc { padding: clamp(2.5rem, 6vw, 4rem) 0 2rem; }
header.doc h1 { font-size: clamp(2rem, 1.4rem + 2.6vw, 3rem); font-weight: 700; letter-spacing: -0.02em; }
.updated { margin: 1rem 0 0; font: 400 0.875rem/1.5 var(--mono); color: var(--muted); }
.summary { margin: 1.75rem 0 0; font-size: 1.125rem; color: var(--muted); }

/* The block to delete once a lawyer has been over it. Deliberately loud: an
   unreviewed legal page that looks reviewed is worse than no page. */
.review-note {
  margin: 2rem 0 0; padding: 1.1rem 1.25rem;
  background: var(--amber-wash); border-left: 3px solid var(--amber);
  font-size: 0.9375rem; line-height: 1.6;
}
.review-note b { font-weight: 600; }

main { padding: 1rem 0 2rem; }
section { padding: 2.25rem 0 0; }
section h2 {
  font-size: 1.375rem; font-weight: 700; letter-spacing: -0.01em;
  padding-top: 2rem; border-top: 1px solid var(--hairline); margin-bottom: 1rem;
}
section h3 { font-size: 1.0625rem; font-weight: 700; font-family: var(--body); margin: 1.75rem 0 0.5rem; }
p { margin: 0 0 1rem; }
ul, ol { margin: 0 0 1rem; padding-left: 1.25rem; }
li { margin-bottom: 0.5rem; }
li::marker { color: var(--muted); }
strong { font-weight: 600; }

/* Something only they can fill in. Visible on purpose. */
.fill {
  font-family: var(--mono); font-size: 0.9375em; font-weight: 600;
  background: var(--amber-wash); color: var(--amber);
  padding: 0.1em 0.4em; border-radius: 2px;
  white-space: nowrap;
}

table { width: 100%; border-collapse: collapse; margin: 0 0 1rem; font-size: 0.9375rem; }
.scroll { overflow-x: auto; }
th, td { text-align: left; padding: 0.7rem 1rem 0.7rem 0; border-bottom: 1px solid var(--hairline); vertical-align: top; }
th { font-weight: 600; font-size: 0.8125rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
td:first-child { font-weight: 600; white-space: nowrap; padding-right: 1.5rem; }

footer { padding: 2.5rem 0 3.5rem; color: var(--muted); font-size: 0.875rem; }
.foot { display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; justify-content: space-between; }

@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } }
