/* RepSnack legal pages. Deliberately plain: these are documents to be read,
   and a store reviewer should be able to skim one on a phone in a few seconds. */

:root {
  --bg: #ffffff;
  --surface: #f6f7f9;
  --text: #16181d;
  --muted: #5c6270;
  --border: #e3e6ea;
  --accent: #2f6df6;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0f1114;
    --surface: #171a1f;
    --text: #e8eaed;
    --muted: #9aa1ad;
    --border: #262a31;
    --accent: #6f9bff;
  }
}

* { box-sizing: border-box; }

body {
  margin: 0;
  padding: 48px 16px 96px;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.65 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
        Helvetica, Arial, sans-serif;
  -webkit-text-size-adjust: 100%;
}

main { max-width: 720px; margin: 0 auto; }

h1 {
  font-size: 1.9rem;
  line-height: 1.25;
  margin: 0 0 8px;
  letter-spacing: -0.02em;
}

h2 {
  font-size: 1.15rem;
  margin: 40px 0 12px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  letter-spacing: -0.01em;
}

p, li { color: var(--text); }
strong { font-weight: 600; }

ul { padding-left: 22px; }
li { margin: 6px 0; }

a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
a:hover { text-decoration-thickness: 2px; }

.updated {
  color: var(--muted);
  font-size: 0.9rem;
  margin: 0 0 32px;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin-bottom: 40px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
  font-size: 0.9rem;
}

.home { color: var(--muted); text-decoration: none; font-weight: 600; }

footer {
  margin-top: 56px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.88rem;
}

@media (max-width: 480px) {
  body { padding: 32px 16px 72px; }
  h1 { font-size: 1.6rem; }
}
