/* Shared styles for the subpages (privacy, terms, delete account). Colours, nav and footer match index.html. */
:root {
  --bg: #FFFBF0;
  --surface: #FFFFFF;
  --text: #24123F;
  --muted: #5E5375;
  --border: #EFE6D2;
  --lilac-soft: #F3EAFA;
  --periwinkle: #7D89D1;
  --indigo: #4B58A8;
  --accent: var(--indigo);
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0D0A1F;
    --surface: #1A1630;
    --text: #F1ECFA;
    --muted: #B4AACB;
    --border: #2D2748;
    --lilac-soft: #2A2245;
    --periwinkle: #9AA4E8;
    --accent: var(--periwinkle);
  }
}
* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.6 "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--accent); overflow-wrap: anywhere; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 16px; }

/* Nav */
nav.top { position: sticky; top: 0; z-index: 10; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--border); }
nav.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; text-decoration: none; font-size: 1.05rem; color: inherit; }
.brand img { width: 36px; height: 36px; border-radius: 9px; }

/* Content */
main { max-width: 760px; margin: 0 auto; padding: 48px 16px 64px; }
h1 { font-size: clamp(1.8rem, 4vw, 2.3rem); line-height: 1.2; margin: 0 0 8px; letter-spacing: -0.01em; }
h2 { font-size: 1.15rem; margin: 0 0 12px; }
p { margin: 0 0 12px; }
.lead { color: var(--muted); margin-bottom: 32px; }
section {
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: 22px;
  padding: 22px 24px;
  margin-bottom: 16px;
}
ol, ul { margin: 0 0 12px; padding-left: 22px; }
li { margin-bottom: 6px; }
li:last-child, p:last-child, ul:last-child, ol:last-child, .table:last-child { margin-bottom: 0; }
.path {
  display: inline-block;
  background: var(--lilac-soft);
  color: var(--accent);
  font-weight: 600;
  border-radius: 8px;
  padding: 1px 8px;
}
.note { color: var(--muted); font-size: 0.93rem; }
.table { overflow-x: auto; margin: 0 0 12px; }
table { width: 100%; border-collapse: collapse; font-size: 0.93rem; }
th, td { text-align: left; vertical-align: top; padding: 8px 10px; border-bottom: 1px solid var(--border); }
th { background: var(--lilac-soft); font-weight: 600; }
tr:last-child td { border-bottom: 0; }

/* Footer */
footer { border-top: 1px solid var(--border); padding: 36px 0 48px; color: var(--muted); font-size: 0.9rem; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 16px 32px; justify-content: space-between; align-items: center; }
footer nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
footer nav a { color: inherit; text-decoration: none; }
footer nav a:hover { text-decoration: underline; }
.disclaimer { flex-basis: 100%; font-size: 0.8rem; opacity: 0.85; margin: 0; }
