/* Private Pigeon — static site */
:root {
  --bg: #0f0f0f;
  --surface: #1a1a1a;
  --text: #e8e6e3;
  --muted: #8b949e;
  --accent: #7ee787;
  --border: #30363d;
  --font: "IBM Plex Sans", system-ui, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, monospace;
}

* {
  box-sizing: border-box;
}

html {
  font-size: 18px;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
  max-width: 42rem;
  margin: 0 auto;
  padding: 2rem 1.25rem 4rem;
  width: 100%;
}

header {
  border-bottom: 1px solid var(--border);
  padding: 1rem 0;
  margin-bottom: 2rem;
}

nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
  align-items: center;
}

nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.95rem;
}

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

nav .brand {
  color: var(--text);
  font-weight: 600;
  margin-right: auto;
}

h1 {
  font-size: 1.75rem;
  font-weight: 600;
  margin: 0 0 1rem;
  letter-spacing: -0.02em;
}

h2 {
  font-size: 1.25rem;
  font-weight: 600;
  margin: 2rem 0 0.75rem;
  color: var(--text);
}

p {
  margin: 0 0 1rem;
  color: var(--muted);
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.lead {
  font-size: 1.1rem;
  color: var(--text);
  margin-bottom: 1.5rem;
}

ul {
  margin: 0 0 1rem;
  padding-left: 1.25rem;
  color: var(--muted);
}

li {
  margin-bottom: 0.35rem;
}

footer {
  border-top: 1px solid var(--border);
  padding: 1.5rem 1.25rem;
  text-align: center;
  font-size: 0.85rem;
  color: var(--muted);
}

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

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

/* Home: hero */
.hero {
  margin-bottom: 2.5rem;
}

.hero .lead {
  margin-bottom: 0;
}

.download-hint {
  margin-top: 1.5rem;
  padding: 1rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 0.9rem;
}

.download-hint code {
  font-family: var(--font-mono);
  font-size: 0.85em;
  color: var(--accent);
}

/* Policy / legal */
.policy section,
.about section {
  margin-bottom: 2rem;
}

.policy h2,
.about h2 {
  margin-top: 2.5rem;
}

.policy h2:first-child,
.about h2:first-child {
  margin-top: 0;
}

.last-updated {
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 2rem;
}

/* Contact */
.contact-list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0;
}

.contact-list li {
  margin-bottom: 0.75rem;
}

.contact-list a {
  color: var(--text);
}

.contact-list a:hover {
  color: var(--accent);
}
