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

:root {
  --bg: #ffffff;
  --surface: #f5f5f7;
  --text: #1d1d1f;
  --text-secondary: #6e6e73;
  --accent: #0066cc;
  --border: #d2d2d7;
  --max-width: 720px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #000000;
    --surface: #1c1c1e;
    --text: #f5f5f7;
    --text-secondary: #98989d;
    --accent: #2997ff;
    --border: #3a3a3c;
  }
}

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

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

/* ── Layout ── */
.site-header {
  border-bottom: 1px solid var(--border);
  padding: 0 24px;
}
.site-header nav {
  max-width: var(--max-width);
  margin: 0 auto;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.site-header .logo {
  font-size: 17px;
  font-weight: 600;
  color: var(--text);
}
.site-header .nav-links {
  display: flex;
  gap: 24px;
  font-size: 14px;
  list-style: none;
}

main {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px 80px;
}

.site-footer {
  border-top: 1px solid var(--border);
  padding: 24px;
  text-align: center;
  font-size: 13px;
  color: var(--text-secondary);
}
.site-footer a { color: var(--text-secondary); margin: 0 8px; }
.site-footer a:hover { color: var(--accent); }

/* ── Hero ── */
.hero {
  text-align: center;
  padding: 72px 0 56px;
}
.hero .app-icon {
  width: 100px;
  height: 100px;
  border-radius: 22px;
  margin: 0 auto 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #1a6b3a 0%, #0d4a27 100%);
  font-size: 52px;
}
.hero h1 {
  font-size: 48px;
  font-weight: 700;
  letter-spacing: -0.5px;
  line-height: 1.1;
  margin-bottom: 16px;
}
.hero p {
  font-size: 19px;
  color: var(--text-secondary);
  max-width: 480px;
  margin: 0 auto 36px;
}
.badge-row {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}
.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--text);
  color: var(--bg);
  border-radius: 10px;
  padding: 10px 20px;
  font-size: 15px;
  font-weight: 600;
}
.store-badge:hover { opacity: 0.85; text-decoration: none; }

/* ── Feature grid ── */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin: 64px 0;
}
.feature-card {
  background: var(--surface);
  border-radius: 16px;
  padding: 24px;
}
.feature-card .icon {
  font-size: 28px;
  margin-bottom: 12px;
}
.feature-card h3 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 6px;
}
.feature-card p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* ── Pricing ── */
.pricing {
  background: var(--surface);
  border-radius: 20px;
  padding: 36px;
  text-align: center;
  margin: 0 0 64px;
}
.pricing h2 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 8px;
}
.pricing .price {
  font-size: 48px;
  font-weight: 700;
  letter-spacing: -1px;
  margin: 16px 0 4px;
}
.pricing .price-note {
  font-size: 15px;
  color: var(--text-secondary);
  margin-bottom: 24px;
}
.pricing ul {
  list-style: none;
  text-align: left;
  display: inline-block;
  margin: 0 auto 24px;
}
.pricing ul li {
  padding: 6px 0;
  font-size: 15px;
}
.pricing ul li::before {
  content: "✓ ";
  font-weight: 700;
  color: #1a6b3a;
}

/* ── Prose pages (privacy / terms) ── */
.prose-header {
  padding: 48px 0 32px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 40px;
}
.prose-header h1 {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 8px;
}
.prose-header .meta {
  font-size: 14px;
  color: var(--text-secondary);
}

.prose h2 {
  font-size: 20px;
  font-weight: 600;
  margin: 36px 0 12px;
}
.prose p {
  margin-bottom: 16px;
  color: var(--text-secondary);
  font-size: 15px;
}
.prose ul {
  margin: 0 0 16px 24px;
  color: var(--text-secondary);
  font-size: 15px;
}
.prose ul li { margin-bottom: 6px; }
.prose strong { color: var(--text); }

@media (max-width: 600px) {
  .hero h1 { font-size: 32px; }
  .hero p { font-size: 16px; }
  .pricing { padding: 24px; }
  .pricing .price { font-size: 36px; }
  .prose-header h1 { font-size: 28px; }
}
