/* Shared style for the static legal pages (privacy/terms/refund) — deliberately
   more sober than the app's playful in-game style, since this is where a
   payment-processor reviewer or a concerned parent needs to read carefully,
   not where a child is playing. Kept in the same warm palette for continuity. */
:root {
  --cream: #FFFAF0;
  --orange: #f97316;
  --ink: #334155;
  --muted: #64748b;
  --line: #e2e8f0;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.65;
}
.wrap {
  max-width: 720px;
  margin: 0 auto;
  padding: 32px 20px 80px;
}
.back {
  display: inline-block;
  margin-bottom: 24px;
  color: var(--orange);
  font-weight: 700;
  text-decoration: none;
}
.back:hover { text-decoration: underline; }
h1 {
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--orange);
  margin: 0 0 4px;
}
.updated {
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 32px;
}
h2 {
  font-size: 1.15rem;
  font-weight: 800;
  margin: 32px 0 8px;
  color: var(--ink);
}
p, li { font-size: 0.98rem; }
ul { padding-left: 1.2rem; }
a { color: var(--orange); }
.legal-nav {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin: 32px 0;
  padding: 16px;
  background: white;
  border: 2px solid var(--line);
  border-radius: 16px;
}
.legal-nav a { font-weight: 700; }
footer {
  margin-top: 48px;
  padding-top: 16px;
  border-top: 2px solid var(--line);
  color: var(--muted);
  font-size: 0.85rem;
}
