/* Shared styling for the privacy and terms pages.

   Same palette as index.html and the same rule about external requests: none.
   These are .html rather than the extensionless files they replace, because
   GitHub Pages serves a file with no extension as application/octet-stream,
   which makes the browser download it instead of showing it. Apple opens the
   privacy URL during review, and a download reads as a broken link. */

:root {
  --sky-1: #2c5fa8; --sky-2: #4a8fd4; --sky-3: #8fc4ea;
  --ink: #0e1420; --ink-soft: #47536b;
  --surface: #ffffff; --surface-soft: #f2f6fb;
  --line: rgba(14, 20, 32, 0.10); --accent: #2f6df0;
}

@media (prefers-color-scheme: dark) {
  :root {
    --ink: #f2f5fa; --ink-soft: #a5b0c4;
    --surface: #131a26; --surface-soft: #1a2331;
    --line: rgba(255, 255, 255, 0.12); --accent: #7aa5ff;
  }
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--surface);
  color: var(--ink);
  font: 16px/1.7 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
        "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent); }

.topbar {
  background: linear-gradient(160deg, var(--sky-1), var(--sky-2) 55%, var(--sky-3));
  color: #fff;
  padding: 20px 0;
}
.topbar a { color: #fff; text-decoration: none; font-weight: 700; }
.topbar .wrap { display: flex; align-items: center; gap: 12px; }
.topbar img { width: 34px; height: 34px; border-radius: 9px; display: block; }

.wrap { width: min(760px, 92vw); margin: 0 auto; }

main { padding: 40px 0 28px; }

h1 { font-size: clamp(1.8rem, 4.5vw, 2.4rem); letter-spacing: -0.015em; margin: 0 0 6px; }

.effective { color: var(--ink-soft); margin: 0 0 32px; font-size: 0.92rem; }

h2 {
  font-size: 1.15rem; margin: 32px 0 8px; padding-top: 18px;
  border-top: 1px solid var(--line);
}
h2:first-of-type { border-top: 0; padding-top: 0; }

p { margin: 0 0 14px; }
ul { margin: 0 0 14px; padding-left: 22px; color: var(--ink-soft); }
li { margin-bottom: 5px; }

.callout {
  border-left: 3px solid var(--accent);
  background: var(--surface-soft);
  border-radius: 0 10px 10px 0;
  padding: 15px 18px; margin: 0 0 22px;
  color: var(--ink-soft); font-size: 0.95rem;
}

footer {
  padding: 28px 0 48px; border-top: 1px solid var(--line);
  color: var(--ink-soft); font-size: 0.9rem; text-align: center;
}
footer nav { margin-bottom: 12px; display: flex; gap: 18px; justify-content: center; flex-wrap: wrap; }
