/* Static copies of the in-app /privacy and /terms pages (src/pages/Privacy.tsx,
   src/pages/Terms.tsx). The app is not deployed here, but App Store Connect
   needs both URLs live, so the text is duplicated: change both copies together. */
:root {
  --bg: #0a0a0b;
  --text: #e8eaed;
  --text-muted: #9a9ca1;
  --border: #26272b;
  --accent: #2e86c8;
  --ring: #4a9ad8;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  padding: 2.5rem 1rem;
  background: var(--bg);
  color: var(--text-muted);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 0.9375rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

.page {
  max-width: 42rem;
  margin: 0 auto;
}

.home {
  display: inline-block;
  margin-bottom: 2rem;
  color: var(--text);
  font-weight: 700;
  font-size: 1.125rem;
  letter-spacing: -0.02em;
  text-decoration: none;
}

h1 {
  margin: 0 0 0.25rem;
  color: var(--text);
  font-size: 1.875rem;
  line-height: 1.2;
}

.updated {
  margin: 0 0 2rem;
  font-size: 0.75rem;
}

h2 {
  margin: 1.75rem 0 0.5rem;
  color: var(--text);
  font-size: 1rem;
}

p {
  margin: 0 0 0.75rem;
}

ul {
  margin: 0 0 0.75rem;
  padding-left: 1.25rem;
}

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

strong {
  color: var(--text);
}

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

a:hover {
  color: var(--ring);
}

a:focus-visible {
  outline: 2px solid var(--ring);
  outline-offset: 3px;
  border-radius: 0.25rem;
}

footer {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem 1.5rem;
  font-size: 0.75rem;
}

footer a {
  color: var(--text-muted);
}

footer a:hover {
  color: var(--text);
}
