/* Styles for the static pages: the legal pages (privacy, terms, affiliate disclosure) and, with
   safety.css, the city and neighborhood pages. */
:root {
  color-scheme: light;
  --page: #f2f3f0;
  --surface: #ffffff;
  --ink: #0b0b0b;
  --ink-2: #52514e;
  --line: #e1e0d9;
  --accent: #2a78d6;
  font-family: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.6;
}

@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: dark;
    --page: #0c0c0c;
    --surface: #1a1a19;
    --ink: #ffffff;
    --ink-2: #c3c2b7;
    --line: #2c2c2a;
    --accent: #3987e5;
  }
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
}

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

.wrap {
  max-width: 760px;
  margin: 0 auto;
  padding: 24px 16px 48px;
}

header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ink);
  font-weight: 700;
  font-size: 18px;
  text-decoration: none;
}

.brand img {
  width: 24px;
  height: 24px;
}

main {
  background: var(--surface);
  border-radius: 14px;
  padding: 24px clamp(16px, 4vw, 36px) 32px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06), 0 8px 28px rgba(0, 0, 0, 0.08);
}

h1 {
  font-size: 28px;
  line-height: 1.25;
  margin: 0 0 4px;
}

h2 {
  font-size: 19px;
  margin: 28px 0 6px;
}

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

.updated {
  margin: 0 0 20px;
  font-size: 14px;
}

li + li {
  margin-top: 6px;
}

.summary {
  border-left: 4px solid var(--accent);
  background: color-mix(in srgb, var(--accent) 8%, transparent);
  padding: 10px 16px;
  border-radius: 0 10px 10px 0;
}

footer {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  justify-content: center;
  margin-top: 20px;
  font-size: 14px;
}
