*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --bg: #0a0a0a;
  --fg: #e8e8e8;
  --muted: #888;
  --accent: #c4a35a;
  --surface: #141414;
  --border: #222;
  --max-w: 640px;
}

html {
  font-size: 16px;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--fg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a:hover {
  text-decoration: underline;
}

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

header nav {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

header .logo {
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--fg);
}

header .nav-links a {
  color: var(--muted);
  font-size: 0.875rem;
  margin-left: 1.5rem;
}

header .nav-links a:hover {
  color: var(--fg);
  text-decoration: none;
}

main {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 3rem 1.5rem 4rem;
}

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

/* Landing page */

.hero {
  text-align: center;
  padding: 4rem 0 3rem;
}

.hero-icon {
  border-radius: 22%;
  margin-bottom: 1.5rem;
}

.hero h1 {
  font-size: 2.5rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  margin-bottom: 1rem;
}

.hero p {
  font-size: 1.125rem;
  color: var(--muted);
  max-width: 480px;
  margin: 0 auto 1.5rem;
}

.app-store-badge {
  display: inline-block;
  transition: opacity 0.15s;
}

.app-store-badge:hover {
  opacity: 0.8;
  text-decoration: none;
}

.closing {
  text-align: center;
  color: var(--muted);
  font-size: 0.875rem;
  padding: 1rem 0 0;
}

.features {
  display: grid;
  gap: 1.5rem;
  padding: 2rem 0;
}

.feature {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1.5rem;
}

.feature h3 {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.feature p {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.5;
}

/* Privacy / prose pages */

.prose h1 {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.prose .subtitle {
  color: var(--muted);
  font-size: 0.875rem;
  font-style: italic;
  margin-bottom: 2rem;
}

.prose h2 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-top: 2rem;
  margin-bottom: 0.5rem;
}

.prose p {
  margin-bottom: 1rem;
  color: var(--muted);
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 2rem;
  }

  main {
    padding: 2rem 1rem 3rem;
  }
}
