/*
 * Chrome for the two prerendered documents, /privacy and /terms.
 *
 * They are served straight off disk with no bundle behind them, so they cannot
 * use src/styles.css — that file is hashed at build time and only reachable
 * through index.html. This is a deliberate minimal copy of the palette and type
 * from src/styles.css, kept to what a page of prose needs.
 */

:root {
  --paper: #f3f6f7;
  --ink: #22303a;
  --ink-2: #3b4a54;
  --secondary: #64757f;
  --faint: #93a3ac;
  --hairline: #dce4e8;
  --rule: #c7d2d8;
  --accent: #4a7e96;
  --sans: 'Instrument Sans', system-ui, -apple-system, sans-serif;
}

@font-face {
  font-family: 'Instrument Sans';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('/fonts/instrument-sans-latin.woff2') format('woff2');
}

@font-face {
  font-family: 'Spline Sans Mono';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url('/fonts/spline-sans-mono-latin.woff2') format('woff2');
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.5;
}

main {
  max-width: 560px;
  margin: 0 auto;
  padding: max(14px, env(safe-area-inset-top)) 18px 48px;
}

.wordmark {
  display: inline-block;
  font: 600 15px var(--sans);
  letter-spacing: -0.01em;
  color: var(--ink);
  text-decoration: none;
}

h1 {
  font: 600 22px/1.25 var(--sans);
  letter-spacing: -0.015em;
  margin: 18px 0 4px;
}

.updated {
  font: 400 11px var(--sans);
  color: var(--faint);
  margin: 0 0 20px;
}

h2 {
  font: 600 11px var(--sans);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--secondary);
  margin: 26px 0 8px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--hairline);
}

p,
li {
  font: 400 13.5px/1.6 var(--sans);
  color: var(--ink-2);
}

p {
  margin: 0 0 10px;
}

ul {
  margin: 0 0 10px;
  padding-left: 18px;
}

li {
  margin-bottom: 6px;
}

a {
  color: var(--accent);
}

strong {
  color: var(--ink);
  font-weight: 600;
}

.callout {
  border-left: 2px solid var(--rule);
  padding: 2px 0 2px 12px;
  margin: 0 0 14px;
  color: var(--ink);
}

table {
  width: 100%;
  border-collapse: collapse;
  margin: 0 0 12px;
}

th,
td {
  text-align: left;
  vertical-align: top;
  padding: 7px 10px 7px 0;
  border-bottom: 1px solid var(--hairline);
  font: 400 12.5px/1.5 var(--sans);
  color: var(--ink-2);
}

th {
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
}

code {
  font-family: 'Spline Sans Mono', ui-monospace, monospace;
  font-size: 0.92em;
  color: var(--ink);
}

/* One property per line: the tables are read on a phone, where a middot
   between two long names lands mid-wrap and reads as part of a value. */
td .prop {
  display: block;
}

td .prop + .prop {
  margin-top: 3px;
}

footer {
  margin-top: 30px;
  padding-top: 12px;
  border-top: 1px solid var(--hairline);
}

footer a {
  font: 400 11px var(--sans);
  margin-right: 10px;
}

footer p {
  font: 400 11px/1.6 var(--sans);
  color: var(--faint);
  margin: 8px 0 0;
}
