/* Rather's support and privacy pages (docs/RELEASE.md §2, §5). Colors match the app's
   AccentColor and SubduedText, with the same contrast checks (4.5:1 or more). */
:root {
  color-scheme: light dark;
  --ink: #1c1c1e;
  --muted: #56565c;
  --accent: #1b6e4b;
  --page: #ffffff;
  --rule: #e2e2e6;
}

@media (prefers-color-scheme: dark) {
  :root {
    --ink: #f2f2f4;
    --muted: #a9a9b0;
    --accent: #4cc38a;
    --page: #131315;
    --rule: #2e2e33;
  }
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font: 1.0625rem/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

main {
  max-width: 40rem;
  margin: 0 auto;
  padding: 2rem 1rem 3rem;
}

.app {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  margin-bottom: 2rem;
  color: inherit;
  text-decoration: none;
}

.app img {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 0.8rem;
}

.app-name {
  display: block;
  font-weight: 600;
  font-size: 1.15rem;
  line-height: 1.3;
}

.tagline {
  display: block;
  color: var(--muted);
  font-size: 0.95rem;
}

h1 {
  font-size: 1.875rem;
  line-height: 1.2;
  margin: 0 0 0.75rem;
}

h2 {
  font-size: 1.2rem;
  line-height: 1.3;
  margin: 2.25rem 0 0.5rem;
}

h3 {
  font-size: 1.0625rem;
  line-height: 1.35;
  margin: 1.75rem 0 0.35rem;
}

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

ul { padding-left: 1.25rem; }

li + li { margin-top: 0.25rem; }

.lead { font-size: 1.125rem; }

.updated { color: var(--muted); margin-bottom: 1.5rem; }

a { color: var(--accent); text-underline-offset: 0.15em; }

footer {
  margin-top: 3rem;
  padding-top: 1rem;
  border-top: 1px solid var(--rule);
  color: var(--muted);
  font-size: 0.95rem;
}

footer a { color: inherit; }
