/* ── Reset & Base ─────────────────────────────── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --brand: #1565C0;
  --brand-dark: #0D47A1;
  --text: #1a1a1a;
  --text-muted: #666;
  --bg: #fff;
  --bg-alt: #f5f7fa;
  --border: #e0e0e0;
  --radius: 8px;
}

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

a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }

img { max-width: 100%; height: auto; }

/* ── Layout ──────────────────────────────────── */
.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.content-narrow {
  max-width: 720px;
}

/* ── Header ──────────────────────────────────── */
.site-header {
  border-bottom: 1px solid var(--border);
  padding: 1rem 0;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--brand);
  letter-spacing: -0.02em;
}
.logo:hover { text-decoration: none; }

.site-header nav a {
  margin-left: 1.5rem;
  color: var(--text-muted);
  font-size: 0.95rem;
}
.site-header nav a:hover,
.site-header nav a.active {
  color: var(--brand);
  text-decoration: none;
}

/* ── Hero ────────────────────────────────────── */
.hero {
  background: var(--bg-alt);
  padding: 5rem 0;
  text-align: center;
}

.hero h1 {
  font-size: 2.5rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text);
  margin-bottom: 1rem;
}

.hero-sub {
  font-size: 1.2rem;
  color: var(--text-muted);
  max-width: 540px;
  margin: 0 auto 2rem;
}

/* ── Buttons ─────────────────────────────────── */
.btn {
  display: inline-block;
  background: var(--brand);
  color: #fff;
  padding: 0.75rem 2rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 1rem;
  transition: background 0.2s;
}
.btn:hover { background: var(--brand-dark); text-decoration: none; }

.btn-sm {
  display: inline-block;
  color: var(--brand);
  font-weight: 600;
  font-size: 0.9rem;
  margin-top: 0.5rem;
}

/* ── Features ────────────────────────────────── */
.features {
  padding: 4rem 0;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.feature h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  color: var(--brand);
}

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

/* ── App Cards ───────────────────────────────── */
.app-highlight {
  background: var(--bg-alt);
  padding: 4rem 0;
  text-align: center;
}

.app-highlight h2 {
  font-size: 1.8rem;
  margin-bottom: 2rem;
}

.app-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.app-card {
  display: block;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  text-align: left;
  transition: box-shadow 0.2s;
  color: var(--text);
}
.app-card:hover {
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  text-decoration: none;
}

.app-card h3 { font-size: 1.15rem; margin-bottom: 0.5rem; }
.app-card p { font-size: 0.95rem; color: var(--text-muted); }

/* ── Badges ──────────────────────────────────── */
.badge {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.2rem 0.75rem;
  border-radius: 100px;
  margin: 0.5rem 0;
}
.badge-available { background: #e8f5e9; color: #2e7d32; }
.badge-coming\ soon { background: #fff3e0; color: #e65100; }

/* ── Page Sections ───────────────────────────── */
.page-section {
  padding: 3rem 0 4rem;
}

.page-section h1 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.page-desc {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

/* ── Content Typography ──────────────────────── */
.page-section h2 {
  font-size: 1.3rem;
  margin: 2rem 0 0.8rem;
  color: var(--brand);
}

.page-section p { margin-bottom: 0.8rem; }
.page-section ul, .page-section ol { padding-left: 1.5rem; margin-bottom: 1rem; }
.page-section li { margin-bottom: 0.4rem; }

.store-links {
  margin-top: 2rem;
  display: flex;
  gap: 1rem;
}

.muted { color: var(--text-muted); font-style: italic; }

/* ── Footer ──────────────────────────────────── */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 2rem 0;
  margin-top: 2rem;
  text-align: center;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.site-footer nav { margin-top: 0.5rem; }
.site-footer nav a { margin: 0 0.75rem; }

/* ── Responsive ──────────────────────────────── */
@media (max-width: 768px) {
  .hero { padding: 3rem 0; }
  .hero h1 { font-size: 1.8rem; }
  .feature-grid { grid-template-columns: 1fr; }
  .app-cards { grid-template-columns: 1fr; }
  .store-links { flex-direction: column; }
}
