/* Tattie's web pages: the privacy policy, help and support. The same colours as the app. */
:root {
  color-scheme: light dark;
  --bg: #f2f2f7;
  --surface: #ffffff;
  --text: #111113;
  --muted: #5d5d62;
  --accent: #0f5e57;
  --accent-soft: #e1efec;
  --mark: #fff4d4;

  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.55;
  color: var(--text);
  background: var(--bg);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #000000;
    --surface: #1c1c1e;
    --text: #f5f5f7;
    --muted: #a1a1a6;
    --accent: #5ec6ba;
    --accent-soft: #1c3431;
    --mark: #3a2e0e;
  }
}

body {
  max-width: 42rem;
  margin: 0 auto;
  padding: 1.5rem 1rem 3rem;
}

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

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}

header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

header img {
  width: 3rem;
  height: 3rem;
}

header a {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text);
  text-decoration: none;
}

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

h2 {
  margin: 2rem 0 0.5rem;
  font-size: 1.3rem;
}

h3 {
  margin: 1.5rem 0 0.25rem;
  font-size: 1.05rem;
}

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

.summary {
  padding: 0.75rem 1.25rem;
  background: var(--surface);
  border-radius: 18px;
}

.summary ul {
  padding-left: 1.2rem;
}

li {
  margin: 0.35rem 0;
}

/* Details still to be filled in, made obvious. */
mark {
  padding: 0 0.2rem;
  color: inherit;
  background: var(--mark);
}

nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  padding: 0;
  list-style: none;
}

footer {
  margin-top: 3rem;
  font-size: 0.9rem;
  color: var(--muted);
}
