/* The Terms of Service and Privacy Policy pages (terms/, privacy/): the
   offline page's look, made for reading on a phone. */
:root {
  color-scheme: dark light;
  --bg: #0F1013;
  --surface: #1C1D22;
  --line: rgba(255, 255, 255, 0.08);
  --text: #FFFFFF;
  --text-2: #A3A6AE;
  --red: #DC2626;
  --red-text: #F87171;
  --mark: rgba(252, 211, 77, 0.18);
  --mark-text: #FCD34D;
}
@media (prefers-color-scheme: light) {
  :root {
    --bg: #F6F5F3;
    --surface: #FFFFFF;
    --line: #E8E5E1;
    --text: #17181C;
    --text-2: #5B5F6B;
    --red-text: #B91C1C;
    --mark: rgba(180, 83, 9, 0.12);
    --mark-text: #B45309;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.6;
}
.page {
  max-width: 720px;
  margin: 0 auto;
  padding: max(20px, env(safe-area-inset-top)) max(20px, env(safe-area-inset-right)) max(48px, env(safe-area-inset-bottom)) max(20px, env(safe-area-inset-left));
}
header { display: flex; align-items: center; gap: 12px; padding: 8px 0 24px; }
.logo {
  width: 40px; height: 40px; border-radius: 12px; flex-shrink: 0;
  background: linear-gradient(180deg, #F2490F 0%, #DF2C2C 45%, #C4177E 100%);
  display: flex; align-items: center; justify-content: center;
}
.brand { font-size: 18px; font-weight: 800; letter-spacing: -0.3px; color: var(--text); text-decoration: none; }
h1 { margin: 0 0 4px; font-size: 30px; line-height: 36px; font-weight: 800; letter-spacing: -0.5px; }
.updated { margin: 0 0 24px; color: var(--text-2); font-size: 14px; }
h2 { margin: 36px 0 8px; font-size: 20px; line-height: 28px; font-weight: 800; letter-spacing: -0.2px; }
h3 { margin: 20px 0 4px; font-size: 16px; font-weight: 700; }
p, li { color: var(--text); }
p { margin: 0 0 12px; }
ul { margin: 0 0 12px; padding-left: 22px; }
li { margin-bottom: 6px; }
a { color: var(--red-text); text-underline-offset: 2px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: 16px 18px; margin: 16px 0; }
.card p:last-child, .card ul:last-child { margin-bottom: 0; }
.muted { color: var(--text-2); }
/* Something the owner must fill in or decide before publishing. */
mark {
  background: var(--mark); color: var(--mark-text); font-weight: 700;
  border-radius: 6px; padding: 0 4px;
}
footer { margin-top: 40px; padding-top: 16px; border-top: 1px solid var(--line); color: var(--text-2); font-size: 14px; }
