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

:root {
  --bg: #fafafa;
  --text: #1a1a1a;
  --text-muted: #666;
  --accent: #2563eb;
  --accent-hover: #1d4ed8;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0f0f0f;
    --text: #f5f5f5;
    --text-muted: #a0a0a0;
  }
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
}

main {
  max-width: 640px;
  margin: 0 auto;
  padding: 2rem 1.5rem;
}

nav {
  display: flex;
  justify-content: flex-end;
}

.nav-link {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.15s;
}

.nav-link:hover {
  color: var(--text);
}

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

h1 {
  font-size: 4rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 0.5rem;
}

.tagline {
  font-size: 1.25rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.cta {
  margin-top: 1.5rem;
  display: flex;
  gap: 1rem;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  padding: 0.75rem 1.75rem;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 500;
  font-size: 1rem;
  transition: background 0.15s;
}

.btn:hover {
  background: var(--accent-hover);
}

.f-droid-badge img {
  height: 80px;
  display: block;
}

.btn-release {
  background: var(--accent);
}

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

.btn-preview:hover {
  background: var(--text-muted);
  color: var(--bg);
}

.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  padding: 3rem 0;
  border-top: 1px solid var(--text-muted);
  opacity: 0.3;
}

.feature h2 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.feature p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

footer {
  text-align: center;
  padding-top: 2rem;
  font-size: 0.8rem;
  color: var(--text-muted);
}

@media (max-width: 480px) {
  h1 {
    font-size: 3rem;
  }
  .features {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}
