/* The published pages: the landing page and the privacy policy.
   Same palette as the app, so the three feel like one thing. */

:root {
  --bg: #0e1117;
  --surface: #161b22;
  --border: #2a323d;
  --text: #e6edf3;
  --muted: #8b949e;
  --accent: #ffb347;
  --ink: #1a1206;
}

@media (prefers-color-scheme: light) {
  :root {
    --bg: #ffffff;
    --surface: #f6f8fa;
    --border: #d6dce4;
    --text: #1f2328;
    --muted: #5b6672;
    --accent: #b45309;
    --ink: #ffffff;
  }
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 3rem 1.25rem 5rem;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.65 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  -webkit-text-size-adjust: 100%;
}

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

.mark {
  display: grid;
  grid-template-columns: repeat(3, 12px);
  gap: 6px;
  margin-bottom: 1.75rem;
}

.mark i {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--border);
}

.mark i.on {
  background: var(--accent);
}

h1 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.75rem, 5vw, 2.5rem);
  letter-spacing: -0.03em;
  line-height: 1.15;
}

h2 {
  margin: 2.5rem 0 0.75rem;
  font-size: 1.1rem;
  letter-spacing: -0.01em;
}

.lede {
  color: var(--muted);
  font-size: 1.05rem;
  margin: 0 0 2rem;
}

p,
li {
  color: var(--text);
}

ul {
  padding-left: 1.15rem;
}

li {
  margin-bottom: 0.4rem;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.25rem 1.5rem;
  margin: 1.5rem 0;
}

.card p:first-child {
  margin-top: 0;
}

.card p:last-child {
  margin-bottom: 0;
}

a {
  color: var(--accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.btn {
  display: inline-block;
  margin: 0.4rem 0.5rem 0.4rem 0;
  padding: 0.7rem 1.15rem;
  border-radius: 12px;
  background: var(--accent);
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
}

.btn.ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}

footer {
  margin-top: 3.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.875rem;
}

footer a {
  color: var(--muted);
}
