/* The standalone pages: privacy, terms, support, about. Factory-owned.
 *
 * Its own stylesheet, deliberately. These four are served as themselves rather
 * than through the app shell — App Review opens them directly, a store listing
 * links straight to them, and they have to render with the app's JavaScript
 * bundle never loading at all. So they cannot use the app's CSS, which on this
 * chassis is a content-hashed asset that only exists after a build.
 *
 * They were linking `/styles.css`, which the 0.1 chassis served from the repo
 * root and the 0.2 chassis does not have. Every one of them rendered as
 * unstyled black-on-white — which is what a reviewer saw when they opened the
 * privacy policy.
 *
 * Tokens are duplicated rather than imported for the same reason: one file, no
 * dependencies, works from a bare URL.
 */

:root {
  --theme: #262632;
  --accent: #7c5cff;
  --on-theme: white;

  --bg: var(--theme);
  --surface: color-mix(in srgb, var(--theme) 88%, var(--on-theme));
  --line: color-mix(in srgb, var(--theme) 68%, var(--on-theme));
  --text: color-mix(in srgb, var(--theme) 8%, var(--on-theme));
  --dim: color-mix(in srgb, var(--theme) 38%, var(--on-theme));
}

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

body {
  margin: 0;
  padding: 32px 20px 64px;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.6 -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}

main {
  max-width: 68ch;
  margin: 0 auto;
}

h1 { font-size: 1.75rem; line-height: 1.25; margin: 0 0 8px; }
h2 { font-size: 1.15rem; margin: 32px 0 8px; }
h3 { font-size: 1rem; margin: 24px 0 6px; }
p, li { color: var(--text); }
p { margin: 0 0 14px; }
ul, ol { margin: 0 0 14px; padding-left: 22px; }
li { margin-bottom: 6px; }

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

/* The date a policy was last changed is the first thing a reviewer looks for
 * and the first thing an app forgets to show. */
.updated { color: var(--dim); font-size: .9rem; margin-bottom: 24px; }

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 20px;
  margin-bottom: 16px;
}

/* The one thing on these pages that must never be missed — a crisis line, a
 * "this is not medical advice", a refund deadline. */
.callout {
  border-left: 3px solid var(--accent);
  background: var(--surface);
  padding: 14px 16px;
  border-radius: 0 10px 10px 0;
  margin: 0 0 16px;
}

.back { display: inline-block; margin-top: 32px; }
footer { margin-top: 48px; color: var(--dim); font-size: .9rem; }
