/* Colours from the app (src/theme/index.ts). System fonts only: no font
   requests to other servers, so the privacy page itself sends nothing. */
:root {
  --ivory: #f5f0e7;
  --paper: #fcf9f3;
  --line: #e2d8c6;
  --forest: #304d48;
  --forest-deep: #223834;
  --on-forest: #f5f0e7;
  --on-forest-soft: #bfd0ca;
  --gold: #e9b76a;
  --gold-soft: #f7e7cb;
  --ink: #292823;
  --ink-soft: #5e5a51;
  --serif: Georgia, "Times New Roman", serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root {
    --ivory: #1c1f1d;
    --paper: #252926;
    --line: #363b37;
    --ink: #eee8dc;
    --ink-soft: #b3ac9f;
    --gold-soft: #3a3326;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font: 17px/1.6 var(--sans);
}
a { color: inherit; text-decoration-color: var(--gold); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }

/* Header */
.top {
  background: var(--forest-deep);
  color: var(--on-forest);
}
.top-inner {
  max-width: 760px;
  margin: 0 auto;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font: 600 1.1rem/1.2 var(--serif);
  color: var(--on-forest);
}
.brand svg { flex: none; }
.langs {
  display: flex;
  border: 1px solid rgba(245, 240, 231, 0.35);
  border-radius: 999px;
  padding: 3px;
  font: 600 0.85rem/1 var(--sans);
}
.langs a, .langs span {
  padding: 7px 12px;
  border-radius: 999px;
  text-decoration: none;
  color: var(--on-forest-soft);
}
.langs a:hover { color: var(--on-forest); }
.langs span { background: var(--gold); color: var(--forest-deep); }

/* Hero on the home page */
.hero {
  background: var(--forest);
  color: var(--on-forest);
}
.hero-inner {
  max-width: 760px;
  margin: 0 auto;
  padding: 48px 16px 56px;
}
.hero h1 {
  font: 600 clamp(2rem, 7vw, 2.8rem)/1.15 var(--serif);
  margin: 0 0 14px;
}
.hero p { margin: 0; font-size: 1.15rem; color: var(--on-forest-soft); max-width: 34em; }
.badge {
  display: inline-block;
  margin-top: 24px;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--gold);
  color: var(--forest-deep);
  font-weight: 700;
  font-size: 0.9rem;
}

/* Content */
main {
  max-width: 760px;
  margin: 0 auto;
  padding: 32px 16px 56px;
}
.page-title { font: 600 clamp(1.8rem, 6vw, 2.3rem)/1.2 var(--serif); margin: 8px 0 4px; }
.updated { color: var(--ink-soft); margin: 0 0 24px; font-size: 0.95rem; }
.cards { display: grid; gap: 14px; }
@media (min-width: 640px) { .cards.two { grid-template-columns: 1fr 1fr; } }
.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px 20px;
}
.card h2, .card h3 { font: 600 1.15rem/1.3 var(--serif); margin: 0 0 6px; }
.card p { margin: 0; }
.card p + p { margin-top: 10px; }
.highlight { background: var(--gold-soft); border-color: transparent; }

footer {
  max-width: 760px;
  margin: 0 auto;
  padding: 24px 16px 40px;
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 0.9rem;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
}
.independent { flex-basis: 100%; margin: 0 0 4px; }
