/* Shared styles for the text pages (privacy.html, delete-account.html). Colours match index.html. */
:root {
  --brand: #E0621F;
  --brand-soft: #fbe9dd;
  --hero-1: #16181c;
  --hero-2: #14263D;
  --bg: #F4F6FA;
  --surface: #FFFFFF;
  --text: #0F1B2B;
  --muted: #4F5F75;
  --line: #D3DCE8;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --brand-soft: #3a2518;
    --bg: #111316;
    --surface: #1c1f24;
    --text: #F1F3F6;
    --muted: #A9B3C1;
    --line: #2c3139;
  }
}
:root[data-theme="dark"] {
  --brand-soft: #3a2518;
  --bg: #111316;
  --surface: #1c1f24;
  --text: #F1F3F6;
  --muted: #A9B3C1;
  --line: #2c3139;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Montserrat", system-ui, -apple-system, sans-serif;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: var(--brand); font-weight: 600; }

.wrap { max-width: 760px; margin: 0 auto; padding: 0 24px; }

.top { background: linear-gradient(180deg, var(--hero-2), var(--hero-1)); color: #fff; padding: 20px 0; }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.nav img { height: 36px; width: auto; }
.nav a.link { color: #fff; font-size: 14px; text-decoration: none; opacity: .8; }
.nav a.link:hover { opacity: 1; }

.doc { padding-top: 48px; padding-bottom: 64px; }
.eyebrow { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--brand); }
h1 { font-size: clamp(30px, 6vw, 42px); line-height: 1.15; margin: 8px 0 4px; font-weight: 800; }
.meta { color: var(--muted); font-size: 14px; margin: 0 0 28px; }
h2 { font-size: 21px; margin: 40px 0 8px; font-weight: 700; }
h3 { font-size: 16px; margin: 22px 0 4px; font-weight: 700; }
p, li { font-size: 16px; }
ul, ol { padding-left: 22px; }
li { margin: 6px 0; }
mark { background: var(--brand-soft); color: inherit; padding: 0 4px; border-radius: 4px; }

.summary, .card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 4px solid var(--brand);
  border-radius: 12px;
  padding: 18px 22px;
  margin: 8px 0 8px;
}
.summary ul { margin: 8px 0 0; }
.card h2 { margin-top: 4px; }

footer { border-top: 1px solid var(--line); padding: 28px 0 40px; color: var(--muted); font-size: 14px; }
.foot { display: flex; justify-content: space-between; gap: 16px 24px; flex-wrap: wrap; }
.foot .links { display: flex; gap: 8px 20px; flex-wrap: wrap; }
footer a { color: var(--text); text-decoration: none; }
footer a:hover { color: var(--brand); }

@media (max-width: 600px) {
  .wrap { padding: 0 16px; }
  .doc { padding-top: 32px; }
  .nav img { height: 30px; }
}
