/* Achieve My Fitness — static legal pages.
 *
 * public/ bypasses the Vite/Tailwind pipeline, so DESIGN_SPEC.md tokens are
 * duplicated here as CSS custom properties. Keep hex values in sync with
 * DESIGN_SPEC.md §2 (guarded by test/legalPages.test.ts token assertions).
 * Always-dark by design — DESIGN_SPEC is a dark-only system.
 */
:root {
  --slate-950: #020617;
  --slate-900: #0f172a;
  --slate-800: #1e293b;
  --slate-700: #334155;
  --slate-500: #64748b;
  --slate-400: #94a3b8;
  --slate-300: #cbd5e1;
  --slate-200: #e2e8f0;
  --slate-50: #f8fafc;
  --emerald-500: #10b981;
  --emerald-400: #34d399;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--slate-900);
  color: var(--slate-300);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,
    Helvetica, Arial, sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

main {
  max-width: 720px;
  margin: 0 auto;
  padding: 24px 20px 64px;
}

header.site {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 20px 0;
  border-bottom: 1px solid var(--slate-700);
  margin-bottom: 28px;
}

header.site img {
  width: 36px;
  height: 36px;
  border-radius: 8px;
}

header.site a {
  color: var(--slate-50);
  text-decoration: none;
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.01em;
}

header.site a .accent { color: var(--emerald-400); }

h1 {
  color: var(--slate-50);
  font-size: 1.7rem;
  line-height: 1.25;
  margin: 0 0 4px;
}

h2 {
  color: var(--slate-200);
  font-size: 1.15rem;
  margin: 32px 0 8px;
}

p, li { font-size: 1rem; }

a { color: var(--emerald-500); }

a:hover { color: var(--emerald-400); }

a:focus-visible {
  outline: 2px solid var(--emerald-400);
  outline-offset: 2px;
  border-radius: 2px;
}

.updated {
  color: var(--slate-500);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  margin-bottom: 24px;
}

.tldr {
  background: var(--slate-800);
  border: 1px solid var(--slate-700);
  border-left: 3px solid var(--emerald-500);
  border-radius: 12px;
  padding: 16px 20px;
  margin: 24px 0;
}

.tldr strong { color: var(--emerald-400); }

ul { padding-left: 24px; }

code {
  background: var(--slate-800);
  border-radius: 6px;
  padding: 1px 6px;
  font-size: 0.85em;
  color: var(--slate-200);
}

footer.site {
  border-top: 1px solid var(--slate-700);
  margin-top: 48px;
  padding-top: 20px;
  font-size: 0.85rem;
  color: var(--slate-500);
}

footer.site nav { margin-bottom: 8px; }

footer.site a {
  color: var(--slate-400);
  text-decoration: none;
  /* ≥44px effective tap target on mobile (DESIGN_SPEC §10) without
     changing the visual footprint. */
  display: inline-block;
  padding: 12px 16px 12px 0;
}

footer.site a:hover { color: var(--emerald-400); }
