/* Shared styles for the Privacy Policy and Support pages.
   Colours mirror the app's light and dark palettes (AppPalette). */
:root {
  --bg: #ffffff;
  --surface: #ffffff;
  --surface-alt: #f4f5f7;
  --border: #e5e7eb;
  --ink: #0a0a12;
  --muted: #5b6470;
  --mint: #00b894;
  --mint-deep: #008a6f;
  --mint-soft: #e6f8f4;
  --on-mint-soft: #007a63;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0d0e13;
    --surface: #181a21;
    --surface-alt: #22242d;
    --border: #2e313b;
    --ink: #f2f3f5;
    --muted: #a3a9b5;
    --mint-soft: #113a32;
    --on-mint-soft: #4fe3c1;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Geist", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.65;
}
.hero {
  background: var(--mint);
  color: #fff;
  border-radius: 0 0 32px 32px;
  padding: 28px 20px 40px;
}
.wrap { max-width: 760px; margin: 0 auto; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 17px; letter-spacing: -0.2px; }
.brand svg { width: 28px; height: 28px; }
.brand a { color: #fff; text-decoration: none; display: flex; align-items: center; gap: 10px; }
.hero h1 {
  font-family: "Instrument Serif", Georgia, serif;
  font-weight: 400;
  font-size: clamp(40px, 8vw, 56px);
  line-height: 1.05;
  letter-spacing: -1px;
  margin: 28px 0 8px;
}
.hero p { margin: 0; opacity: 0.92; max-width: 560px; }
main { padding: 28px 20px 56px; }
section { margin: 0 0 28px; }
h2 {
  font-family: "Instrument Serif", Georgia, serif;
  font-weight: 400;
  font-size: 28px;
  line-height: 1.15;
  letter-spacing: -0.4px;
  margin: 0 0 10px;
}
h3 { font-size: 16px; margin: 18px 0 4px; }
p { margin: 0 0 12px; }
ul, ol { margin: 0 0 12px; padding-left: 22px; }
li { margin-bottom: 6px; }
a { color: var(--mint-deep); }
@media (prefers-color-scheme: dark) { a { color: var(--on-mint-soft); } }
.meta { color: var(--muted); font-size: 14px; margin-bottom: 24px; }
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 18px 20px;
  margin-bottom: 14px;
}
.card h3 { margin-top: 0; }
.card p:last-child, .card ul:last-child, .card ol:last-child { margin-bottom: 0; }
.callout {
  background: var(--mint-soft);
  color: var(--on-mint-soft);
  border-radius: 16px;
  padding: 16px 20px;
  margin-bottom: 28px;
}
.callout a { color: inherit; font-weight: 600; }
.btn {
  display: inline-block;
  background: var(--mint);
  color: #fff !important;
  text-decoration: none;
  font-weight: 600;
  border-radius: 999px;
  padding: 12px 22px;
}
table { width: 100%; border-collapse: collapse; font-size: 15px; }
th, td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--border); }
th { color: var(--muted); font-weight: 500; font-size: 13px; }
.table-wrap { overflow-x: auto; background: var(--surface); border: 1px solid var(--border); border-radius: 16px; }
.table-wrap tr:last-child td { border-bottom: 0; }
footer {
  border-top: 1px solid var(--border);
  padding: 22px 20px 40px;
  color: var(--muted);
  font-size: 14px;
}
footer a { margin-right: 16px; }
