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

:root {
  --bg: #0D1B2A;
  --text: #ECF0F1;
  --accent: #2ECC71;
  --muted: #8a9baa;
  --surface: #132333;
}

html {
  font-size: 16px;
}

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

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

a:hover {
  text-decoration: underline;
}

/* ── Layout ── */

.site-header {
  padding: 2rem 1.5rem 0;
  text-align: center;
}

.site-main {
  flex: 1;
  width: 100%;
  max-width: 680px;
  margin: 0 auto;
  padding: 3rem 1.5rem;
}

.site-footer {
  text-align: center;
  padding: 2rem 1.5rem;
  color: var(--muted);
  font-size: 0.875rem;
  border-top: 1px solid #1e3048;
}

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

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

.footer-links {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 0.75rem;
}

/* ── Hero ── */

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

.app-icon {
  width: 96px;
  height: 96px;
  border-radius: 22px;
  margin-bottom: 1.5rem;
}

.app-logo {
  width: 320px;
  max-width: 80vw;
  height: auto;
  margin-bottom: 1.25rem;
  filter: drop-shadow(0 0 24px rgba(46, 204, 113, 0.3));
}

.hero h1 {
  font-size: 2.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 0.5rem;
}

.hero h1 span {
  color: var(--accent);
}

.hero .tagline {
  font-size: 1.125rem;
  color: var(--muted);
  margin-bottom: 2.5rem;
}

.app-store-badge {
  display: inline-block;
}

.app-store-badge img {
  height: 54px;
  width: auto;
}

/* ── Legal pages ── */

.page-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.page-subtitle {
  color: var(--muted);
  margin-bottom: 2.5rem;
  font-size: 0.9rem;
}

.legal-content h2 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-top: 2rem;
  margin-bottom: 0.5rem;
  color: var(--accent);
}

.legal-content p,
.legal-content ul,
.legal-content ol {
  margin-bottom: 1rem;
  color: #c8d6e0;
}

.legal-content ul,
.legal-content ol {
  padding-left: 1.5rem;
}

.legal-content li {
  margin-bottom: 0.4rem;
}

/* ── Nav ── */

.site-nav {
  display: flex;
  justify-content: center;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid #1e3048;
}

.site-nav a {
  color: var(--text);
  font-weight: 600;
  font-size: 1rem;
}

.site-nav .nav-wordmark span {
  color: var(--accent);
}

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