/* The two legal pages, and nothing else, use this.
 *
 * WHY IT IS NOT THE DESIGN SYSTEM. These are STATIC files served straight off Firebase Hosting so
 * they load with no JavaScript, no build step and no auth, which is the point: a person must be
 * able to read what they are agreeing to before they have an account, and on a bad connection.
 * Importing the console's bundled CSS would drag React's whole build in behind it. So the token
 * VALUES are copied here, verbatim from app/src/design/tokens/colors.css, and only the handful
 * that a page of prose needs. If the palette ever moves, these five lines move with it.
 */
:root {
  --canvas: #191917;
  --card: #262624;
  --line: #333331;
  --text: #F5F3EE;
  --muted: #C7C6C0;
  --accent: #79C0D0;
  --font: "Hanken Grotesk", ui-sans-serif, -apple-system, "Segoe UI", Helvetica, sans-serif;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  padding: 0 24px 96px;
  background: var(--canvas);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
}

.wrap { max-width: 760px; margin: 0 auto; }

header { padding: 56px 0 32px; border-bottom: 1px solid var(--line); margin-bottom: 40px; }

.brand {
  display: inline-block;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--text);
  text-decoration: none;
  margin-bottom: 28px;
}

h1 { font-size: 34px; line-height: 1.2; letter-spacing: -0.02em; margin: 0 0 12px; font-weight: 600; }

.stamp { margin: 0; font-size: 13.5px; color: var(--muted); }

h2 {
  font-size: 20px;
  letter-spacing: -0.01em;
  margin: 44px 0 12px;
  font-weight: 600;
  scroll-margin-top: 24px;
}

h3 { font-size: 16.5px; margin: 26px 0 8px; font-weight: 600; }

p, li { color: var(--muted); }

p { margin: 0 0 14px; }

ul, ol { margin: 0 0 16px; padding-left: 22px; }

li { margin-bottom: 7px; }

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

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

/* The blocks a court reads first. Called out so nobody can say they were buried. */
.callout {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 18px 20px;
  margin: 0 0 22px;
}

.callout p:last-child { margin-bottom: 0; }

.toc { columns: 2; column-gap: 32px; font-size: 14.5px; margin-bottom: 8px; }

.toc a { text-decoration: none; }

.toc a:hover { text-decoration: underline; }

footer {
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: 13.5px;
  color: var(--muted);
}

table { width: 100%; border-collapse: collapse; margin: 0 0 20px; font-size: 14.5px; }

th, td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }

th { color: var(--text); font-weight: 600; }

td { color: var(--muted); }

@media (max-width: 640px) {
  body { font-size: 15.5px; padding: 0 18px 72px; }
  h1 { font-size: 27px; }
  .toc { columns: 1; }
}
