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

:root {
  --bg: #1a1a2e;
  --bg-card: #16213e;
  --text: #e0e0e0;
  --text-muted: #a0a0b0;
  --accent: #e94560;
  --accent-hover: #ff6b81;
  --link: #7ec8e3;
  --max-width: 800px;
  --radius: 8px;
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen,
    Ubuntu, Cantarell, sans-serif;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  padding: 0 1rem;
}

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

a:hover {
  text-decoration: underline;
}

section,
header,
main,
footer {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 2rem 0;
}

/* --- Hero --- */

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

.hero h1 {
  font-size: 3rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #fff;
}

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

.cta {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 1.05rem;
  transition: background 0.15s, transform 0.1s;
}

.btn:hover {
  text-decoration: none;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
}

.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
}

/* --- Sections --- */

h2 {
  font-size: 1.75rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 1.25rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--accent);
}

.what p,
.curious p {
  margin-bottom: 1rem;
}

.source-link {
  margin-top: 1.5rem;
}

/* --- Screenshots --- */

.screenshot-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

.screenshot-grid figure {
  background: var(--bg-card);
  border-radius: var(--radius);
  overflow: hidden;
}

.screenshot-grid img {
  width: 100%;
  height: auto;
  display: block;
}

.screenshot-grid figcaption {
  padding: 0.5rem 0.75rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  text-align: center;
}

/* --- FAQ --- */

.faq dl {
  display: grid;
  gap: 1.25rem;
}

.faq dt {
  font-weight: 700;
  color: #fff;
}

.faq dd {
  margin-left: 0;
  color: var(--text-muted);
}

/* --- Footer --- */

footer {
  text-align: center;
  padding: 2rem 0 3rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

footer nav {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

footer nav a {
  font-size: 0.9rem;
}

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

/* --- Policy pages (privacy, imprint) --- */

.policy header {
  padding-bottom: 0;
}

.policy .back-link {
  display: inline-block;
  margin-bottom: 1rem;
  font-size: 0.9rem;
}

.policy h1 {
  font-size: 2rem;
  color: #fff;
  margin-bottom: 1rem;
}

.policy h2 {
  font-size: 1.3rem;
  margin-top: 2rem;
}

.policy h3 {
  font-size: 1.05rem;
  color: #fff;
  margin-top: 1.25rem;
}

.policy p,
.policy li {
  margin-bottom: 0.75rem;
}

.policy ul {
  padding-left: 1.5rem;
}

.policy address {
  font-style: normal;
  padding: 1rem;
  background: var(--bg-card);
  border-radius: var(--radius);
  margin: 1rem 0;
}

.last-updated {
  margin-top: 2rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* --- Responsive --- */

@media (max-width: 600px) {
  html {
    font-size: 16px;
  }

  .hero {
    padding: 2rem 0 2rem;
  }

  .hero h1 {
    font-size: 2.25rem;
  }

  .tagline {
    font-size: 1.05rem;
  }

  h2 {
    font-size: 1.4rem;
  }
}
