/*
 * Styling for the two static pages in `public/` — the landing page and the
 * privacy policy. Deliberately hand-written CSS rather than the app's
 * NativeWind setup: these files are copied verbatim into `dist/client` by
 * `expo export` and never pass through Metro, so there is no Tailwind build to
 * hook into.
 */

:root {
  color-scheme: light dark;

  --bg: #f6f7f9;
  --surface: #ffffff;
  --text: #16181d;
  --muted: #5d6470;
  --line: #e3e6ea;
  --accent: #208aef;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #101216;
    --surface: #171a20;
    --text: #eef0f3;
    --muted: #a0a7b4;
    --line: #262a32;
    --accent: #5aa9f5;
  }
}

* {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  padding: 0 20px 96px;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.65 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
}

main {
  max-width: 44rem;
  margin: 0 auto;
}

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

/* ---------- Header ---------- */

header {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 40px 0 8px;
}

header img {
  width: 56px;
  height: 56px;
  border-radius: 13px;
  border: 1px solid var(--line);
}

header .wordmark {
  font-size: 1.35rem;
  font-weight: 650;
  letter-spacing: -0.015em;
}

header .tagline {
  color: var(--muted);
  font-size: 0.95rem;
}

/* ---------- Landing ---------- */

.lede {
  font-size: 1.2rem;
  line-height: 1.55;
  margin: 28px 0 32px;
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 20px 22px;
  margin: 0 0 14px;
}

.card h2 {
  font-size: 1rem;
  margin: 0 0 6px;
}

.card p {
  margin: 0;
  color: var(--muted);
}

ul.plain {
  margin: 0;
  padding-left: 1.15rem;
  color: var(--muted);
}

/* ---------- Policy ---------- */

h1 {
  font-size: 1.9rem;
  letter-spacing: -0.02em;
  margin: 32px 0 4px;
}

h2 {
  font-size: 1.15rem;
  letter-spacing: -0.01em;
  margin: 40px 0 10px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

h3 {
  font-size: 1rem;
  margin: 24px 0 6px;
}

.updated {
  color: var(--muted);
  font-size: 0.9rem;
  margin: 0 0 8px;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0;
  font-size: 0.95rem;
}

th,
td {
  text-align: left;
  vertical-align: top;
  padding: 10px 12px 10px 0;
  border-bottom: 1px solid var(--line);
}

th {
  color: var(--muted);
  font-weight: 600;
}

.table-scroll {
  overflow-x: auto;
}

footer {
  margin-top: 56px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.9rem;
}
