/* One stylesheet for the whole public site. No build step, no dependencies:
   these pages exist so Google Play and Apple have a URL to read, and the
   cheapest thing to keep alive for years is plain static files. */
:root {
  --bg: #f4f4f4;
  --card: #ffffff;
  --text: #1a1a1a;
  --muted: #6b6b6b;
  --accent: #2f6df6;
  --danger: #c62828;
  --border: #e2e2e2;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #141414;
    --card: #1e1e1e;
    --text: #f0f0f0;
    --muted: #a0a0a0;
    --border: #333333;
  }
}

* { box-sizing: border-box; }

body {
  margin: 0;
  padding: 2rem 1rem 4rem;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.65 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

main {
  max-width: 46rem;
  margin: 0 auto;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 2rem;
}

h1 { font-size: 1.6rem; margin: 0 0 0.25rem; }
h2 { font-size: 1.15rem; margin: 2rem 0 0.5rem; }
h3 { font-size: 1rem; margin: 1.25rem 0 0.4rem; }
p, li { color: var(--text); }
.muted { color: var(--muted); font-size: 0.9rem; }
a { color: var(--accent); }

table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0;
  font-size: 0.92rem;
}
th, td {
  text-align: left;
  padding: 0.5rem 0.6rem;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}
th { color: var(--muted); font-weight: 600; }

.warn {
  border-left: 3px solid var(--danger);
  padding: 0.75rem 1rem;
  margin: 1rem 0;
  background: rgba(198, 40, 40, 0.06);
  border-radius: 0 8px 8px 0;
}

.btn {
  display: inline-block;
  border: 0;
  border-radius: 10px;
  padding: 0.7rem 1.2rem;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  background: var(--accent);
  color: #fff;
}
.btn[disabled] { opacity: 0.5; cursor: default; }
.btn-danger { background: var(--danger); }

footer {
  max-width: 46rem;
  margin: 1.5rem auto 0;
  text-align: center;
  color: var(--muted);
  font-size: 0.8rem;
}
