/*
  The legal pages wear the same clothes as the app: warm paper, one system
  typeface, hairline rules, square corners, one signal red. No JavaScript, no
  webfonts, no third-party requests — the pages make the same promise the
  product does.
*/

:root {
  --paper: #eae7e0;
  --ink: #17181a;
  --ink-secondary: #4b4c46;
  --ink-muted: #63645c;
  --ink-faint: #8a8a80;
  --hairline: #cfccc3;
  --signal: #a83520;
}

* {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  padding: 0 20px 64px;
  background: var(--paper);
  color: var(--ink);
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial,
    sans-serif;
  font-variant-numeric: tabular-nums;
  -webkit-font-smoothing: antialiased;
}

main {
  max-width: 40rem;
  margin: 0 auto;
}

header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  min-height: 44px;
  padding: 20px 0;
  border-bottom: 1px solid var(--hairline);
}

.wordmark,
.updated {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.107em;
  text-transform: uppercase;
}

.wordmark {
  color: var(--ink);
  text-decoration: none;
}

.updated {
  color: var(--ink-muted);
}

h1 {
  margin: 40px 0 0;
  font-size: 2.125rem;
  line-height: 1.06;
  letter-spacing: -0.041em;
  font-weight: 700;
}

.lead {
  margin: 8px 0 0;
  color: var(--ink-muted);
  font-size: 0.875rem;
  line-height: 1.43;
}

h2 {
  margin: 40px 0 0;
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

p {
  margin: 8px 0 0;
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--ink);
}

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

footer {
  margin-top: 48px;
  padding-top: 14px;
  border-top: 1px solid var(--hairline);
  font-size: 0.75rem;
  color: var(--ink-faint);
}

footer nav {
  margin-bottom: 6px;
  display: flex;
  gap: 16px;
}

@media (prefers-color-scheme: dark) {
  /* The app is light-only by design; keep one honest appearance rather than
     inventing a dark palette the product does not have. */
  body {
    background: var(--paper);
    color: var(--ink);
  }
}
