/* Shared by privacy.html + terms.html (slice 388). Tokens and chrome mirror index.html. */
:root {
  --bg: #ffffff;
  --fg: #111111;
  --body: #1f2937;
  --muted: #4b5563;
  --border: #e5e7eb;
  --btn-bg: #000000;
  --btn-fg: #ffffff;
  --btn-hover: #1f2937;
  --logo-filter: invert(1);
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0a0a0a;
    --fg: #ededed;
    --body: #e5e7eb;
    --muted: #9ca3af;
    --border: #1f2937;
    --btn-bg: #ffffff;
    --btn-fg: #000000;
    --btn-hover: #e5e7eb;
    --logo-filter: none;
  }
}
* { box-sizing: border-box; }
body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--fg);
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  line-height: 1.6;
}
.wrap { max-width: 48rem; margin: 0 auto; padding: 1rem 1.5rem; width: 100%; }
header, footer { border-color: var(--border); border-style: solid; border-width: 0; }
/* Sticky with a solid fill so content scrolls under it. */
header { border-bottom-width: 1px; position: sticky; top: 0; z-index: 20; background: var(--bg); }
footer { border-top-width: 1px; font-size: 0.875rem; color: var(--muted); }
header .wrap { display: flex; align-items: center; justify-content: space-between; }
/* The brand files are white on transparent; black on the light theme. */
.brand { display: block; }
.brand img { display: block; height: 1.125rem; width: auto; filter: var(--logo-filter); }
.mark { height: 0.875rem; width: auto; filter: var(--logo-filter); }
.btn {
  display: inline-block;
  border-radius: 0.25rem;
  background: var(--btn-bg);
  color: var(--btn-fg);
  padding: 0.375rem 0.75rem;
  font-size: 0.875rem;
  text-decoration: none;
}
.btn:hover { background: var(--btn-hover); }
.when-in { display: none; }
.signed-in .when-in { display: inline-block; }
.signed-in .when-out { display: none; }
main { flex: 1; }
main .wrap { padding-top: 2.5rem; padding-bottom: 2.5rem; }
h1 { font-size: 1.875rem; font-weight: 600; line-height: 1.25; margin: 0; }
.updated { margin: 0.5rem 0 0; font-size: 0.875rem; color: var(--muted); }
section { margin-top: 2rem; color: var(--body); }
h2 { font-size: 1.125rem; font-weight: 600; margin: 0 0 0.75rem; }
section p { margin: 0.75rem 0 0; }
section ul { padding-left: 1.5rem; margin: 0.75rem 0 0; }
section li + li { margin-top: 0.5rem; }
section a { color: inherit; text-decoration: underline; }
code { font-size: 0.875em; }
footer .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 0.25rem 1rem; }
footer a { color: inherit; text-decoration: none; }
footer a:hover { text-decoration: underline; }
