/* Tetri's public pages (privacy policy, account deletion, support). Colours are the app's tokens
   (design/tokens.json): mint brand.primary, cream / ink surface.bg. No script, no cookies, no fonts
   fetched from anywhere — the pages promise privacy and should not contradict it. */
:root {
  --mint: #22a06b;
  --bg: #faf8f5;
  --card: #ffffff;
  --text: #1b1d22;
  --muted: #6b7280;
  --border: #e6e1d8;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0f1115;
    --card: #181b21;
    --text: #f3f4f6;
    --muted: #a1a7b3;
    --border: #2a2f38;
  }
}
* {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font:
    17px/1.6 -apple-system,
    'Segoe UI',
    Roboto,
    'Helvetica Neue',
    Arial,
    sans-serif;
}
header,
main,
footer {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 16px;
}
header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 28px;
  padding-bottom: 8px;
}
.coin {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: var(--mint);
  position: relative;
  flex: none;
}
.coin::after {
  content: '';
  position: absolute;
  inset: 31.5%;
  border-radius: 50%;
  background: var(--bg);
}
header a {
  color: var(--text);
  text-decoration: none;
  font-weight: 700;
  font-size: 20px;
}
nav {
  margin-left: auto;
  display: flex;
  gap: 16px;
  font-size: 15px;
}
nav a {
  font-weight: 500;
  color: var(--muted);
}
h1 {
  font-size: 30px;
  line-height: 1.2;
  margin: 28px 0 8px;
}
h2 {
  font-size: 21px;
  margin: 36px 0 8px;
}
h3 {
  font-size: 17px;
  margin: 24px 0 4px;
}
p,
li {
  margin: 0 0 12px;
}
ul {
  padding-left: 22px;
}
a {
  color: var(--mint);
}
.meta {
  color: var(--muted);
  font-size: 15px;
}
.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 18px 20px;
  margin: 16px 0;
}
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
  margin: 12px 0 20px;
}
th,
td {
  text-align: left;
  vertical-align: top;
  padding: 8px 10px 8px 0;
  border-bottom: 1px solid var(--border);
}
th {
  color: var(--muted);
  font-weight: 600;
}
code {
  font-family: ui-monospace, Menlo, Consolas, monospace;
  font-size: 0.92em;
}
footer {
  color: var(--muted);
  font-size: 14px;
  padding-top: 32px;
  padding-bottom: 40px;
}
