/* The privacy and terms pages (/privacy, /terms). Same tokens as styles.css,
   none of the app's layout. No webfonts, no images, no scripts. */
:root {
  --bg: #17181a;
  --fg: #f2f0eb;
  --muted: rgba(242, 240, 235, 0.72);
  --line: rgba(242, 240, 235, 0.12);
  --accent: #ffc400;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: -apple-system, system-ui, "Segoe UI", Roboto, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
}

main {
  max-width: 40rem;
  margin: 0 auto;
  padding: max(16px, env(safe-area-inset-top)) 16px max(48px, env(safe-area-inset-bottom));
}

.back {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin: 8px 0 16px;
  font-weight: 600;
}

h1 {
  font-size: 2rem;
  line-height: 1.2;
  margin: 0 0 4px;
}

h2 {
  font-size: 1.25rem;
  line-height: 1.3;
  margin: 2rem 0 0.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
}

p,
ul {
  margin: 0 0 0.75rem;
}

ul {
  padding-left: 1.25rem;
}

li {
  margin-bottom: 0.35rem;
}

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

a {
  color: var(--accent);
  text-underline-offset: 3px;
}

a:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

footer {
  margin-top: 2.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
}

footer a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}
