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

:root {
  --bg: #0d0d0d;
  --bg2: #181818;
  --bg3: #222;
  --text: #f0f0f0;
  --text-muted: #888;
  --accent: #f5c842;
  --max-width: 920px;
  --radius: 10px;
}

html {
  font-size: 16px;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  line-height: 1.65;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

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

a:hover {
  text-decoration: underline;
}

/* ── Navigation ─────────────────────────────────────────── */

.site-header {
  padding: 1rem 1.5rem;
  border-bottom: 1px solid var(--bg3);
  position: sticky;
  top: 0;
  background: rgba(13, 13, 13, 0.9);
  backdrop-filter: blur(8px);
  z-index: 10;
}

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

.nav-logo {
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--text);
  letter-spacing: -0.01em;
}

.site-header nav a:not(.nav-logo) {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.site-header nav a:not(.nav-logo):hover {
  color: var(--text);
  text-decoration: none;
}

/* ── Main / Footer ──────────────────────────────────────── */

main {
  flex: 1;
}

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

.site-footer a {
  color: var(--text-muted);
  margin: 0 0.6rem;
}

.site-footer a:hover {
  color: var(--text);
  text-decoration: none;
}

.site-footer p + p {
  margin-top: 0.5rem;
}

/* ── Hero ───────────────────────────────────────────────── */

.hero {
  text-align: center;
  padding: 5rem 1.5rem 4.5rem;
  max-width: var(--max-width);
  margin: 0 auto;
}

.hero-logo {
  width: 96px;
  height: 96px;
  border-radius: 22px;
  margin: 0 auto 1.75rem;
  display: block;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.6);
}

.hero h1 {
  font-size: clamp(2.5rem, 8vw, 4.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 0.75rem;
  line-height: 1.1;
}

.tagline {
  font-size: clamp(1.05rem, 3vw, 1.35rem);
  color: var(--text-muted);
  margin-bottom: 2.5rem;
}

.download-buttons {
  display: flex;
  gap: 0.875rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-store {
  display: inline-block;
  background: var(--bg2);
  border: 1px solid var(--bg3);
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius);
  color: var(--text);
  font-size: 0.95rem;
  font-weight: 500;
  transition: border-color 0.15s, background 0.15s;
}

.btn-store:hover {
  border-color: var(--accent);
  background: var(--bg3);
  text-decoration: none;
}

.btn-store.disabled {
  opacity: 0.4;
  pointer-events: none;
  cursor: default;
}

/* ── How it works ───────────────────────────────────────── */

.how-it-works {
  background: var(--bg2);
  padding: 4.5rem 1.5rem;
}

.steps {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}

@media (min-width: 640px) {
  .steps {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }
}

.step {
  text-align: center;
}

.step-icon {
  font-size: 2rem;
  margin-bottom: 0.875rem;
  color: var(--accent);
  line-height: 1;
}

.step h3 {
  margin-bottom: 0.5rem;
  font-size: 1.05rem;
  font-weight: 600;
}

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

/* ── Screenshots ────────────────────────────────────────── */

.screenshots {
  padding: 4.5rem 0;
}

.screenshot-row {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  padding: 0.5rem 1.5rem 1rem;
  max-width: var(--max-width);
  margin: 0 auto;
  scrollbar-width: thin;
  scrollbar-color: var(--bg3) transparent;
  -webkit-overflow-scrolling: touch;
}

.screenshot {
  height: 500px;
  width: auto;
  border-radius: 20px;
  flex-shrink: 0;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.55);
  display: block;
}

/* ── Features ───────────────────────────────────────────── */

.features {
  background: var(--bg2);
  padding: 4.5rem 1.5rem;
}

.features h2 {
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 2rem;
  text-align: center;
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
}

.features-grid {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 600px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 900px) {
  .features-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

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

.feature h3 {
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.feature p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.55;
}

/* ── Prose pages (support, impressum) ───────────────────── */

.prose {
  max-width: 720px;
  margin: 0 auto;
  padding: 3.5rem 1.5rem 4rem;
}

.prose h1 {
  font-size: clamp(1.75rem, 5vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
}

.prose .lead {
  font-size: 1.05rem;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
}

.prose h2 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-top: 3rem;
  margin-bottom: 1rem;
  padding-bottom: 0.4rem;
  border-bottom: 1px solid var(--bg3);
}

.prose h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--accent);
  margin-top: 1.75rem;
  margin-bottom: 0.4rem;
}

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

.prose strong {
  color: var(--text);
  font-weight: 600;
}

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

/* ── Support form ───────────────────────────────────────── */

.support-form {
  margin-top: 3rem;
}

.support-form h2 {
  border-bottom: none;
  margin-bottom: 1.25rem;
}

.support-form iframe {
  border-radius: var(--radius);
  background: var(--bg2);
  display: block;
}

.form-placeholder {
  background: var(--bg2);
  border: 1px dashed var(--bg3);
  padding: 2rem;
  text-align: center;
  border-radius: var(--radius);
  color: var(--text-muted);
  font-size: 0.925rem;
}
