:root {
  --color-bg: #ffffff;
  --color-bg-alt: #f6f8f7;
  --color-text: #10231c;
  --color-text-muted: #4b5d55;
  --color-border: #e3e8e5;
  --color-accent: #1a7a4c;
  --color-accent-contrast: #ffffff;
  --color-card-bg: #ffffff;
  --radius: 12px;
  --max-width: 1080px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --color-bg: #0d1512;
    --color-bg-alt: #121b17;
    --color-text: #eef3f0;
    --color-text-muted: #a7b5ae;
    --color-border: #223129;
    --color-accent: #35c281;
    --color-accent-contrast: #06120c;
    --color-card-bg: #121b17;
  }
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

h1, h2, h3 {
  line-height: 1.2;
  margin: 0 0 12px;
}

h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  text-align: center;
  margin-bottom: 40px;
}

p {
  margin: 0 0 12px;
  color: var(--color-text-muted);
}

a {
  color: inherit;
}

/* Header */

.site-header {
  border-bottom: 1px solid var(--color-border);
  position: sticky;
  top: 0;
  background: var(--color-bg);
  z-index: 10;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  padding-bottom: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--color-text);
}

.brand-mark {
  color: var(--color-accent);
  flex-shrink: 0;
}

.nav {
  display: flex;
  gap: 24px;
}

.nav a {
  text-decoration: none;
  color: var(--color-text-muted);
  font-size: 0.95rem;
}

.nav a:hover {
  color: var(--color-text);
}

/* Hero */

.hero {
  padding: 96px 0 72px;
  text-align: center;
  background: var(--color-bg-alt);
  border-bottom: 1px solid var(--color-border);
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  max-width: 720px;
  margin: 0 auto 20px;
}

.hero-sub {
  max-width: 560px;
  margin: 0 auto 32px;
  font-size: 1.05rem;
}

.hero-note {
  margin-top: 16px;
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

/* Store badges */

.store-badges {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  border-radius: var(--radius);
  background: var(--color-text);
  color: var(--color-bg);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1.2;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.16), 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: transform 0.15s ease, box-shadow 0.15s ease, opacity 0.15s ease;
}

.store-badge:hover {
  opacity: 0.9;
  transform: translateY(-1px);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.18), 0 8px 20px rgba(0, 0, 0, 0.14);
}

.store-badge small {
  display: block;
  font-weight: 400;
  font-size: 0.7rem;
  opacity: 0.8;
}

/* Features */

.features {
  padding: 88px 0;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}

.feature-card {
  background: var(--color-card-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 28px 24px;
}

.feature-icon {
  font-size: 1.8rem;
  margin-bottom: 12px;
}

.feature-card h3 {
  font-size: 1.05rem;
}

.feature-card p {
  font-size: 0.92rem;
  margin: 0;
}

/* How it works */

.how-it-works {
  padding: 88px 0;
  background: var(--color-bg-alt);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 32px;
  text-align: center;
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background: var(--color-accent);
  color: var(--color-accent-contrast);
  font-weight: 700;
  margin-bottom: 12px;
}

.steps h3 {
  font-size: 1rem;
}

.steps p {
  font-size: 0.92rem;
  max-width: 260px;
  margin: 0 auto;
}

/* FAQ */

.faq {
  padding: 88px 0;
  max-width: 760px;
  margin: 0 auto;
}

.faq-item {
  padding: 20px 0;
  border-bottom: 1px solid var(--color-border);
}

.faq-item:last-child {
  border-bottom: none;
}

.faq-item h3 {
  font-size: 1rem;
}

.faq-item p {
  margin: 0;
  font-size: 0.95rem;
}

/* CTA */

.cta {
  padding: 88px 0;
  text-align: center;
  background: var(--color-bg-alt);
  border-top: 1px solid var(--color-border);
}

.cta p {
  margin-bottom: 28px;
}

/* Legal pages */

.legal {
  padding: 64px 0 88px;
}

.legal-inner {
  max-width: 680px;
}

.legal h1 {
  font-size: clamp(1.8rem, 4vw, 2.4rem);
}

.legal-updated {
  font-size: 0.85rem;
  margin-bottom: 32px;
}

.legal h2 {
  text-align: left;
  font-size: 1.2rem;
  margin-top: 36px;
  margin-bottom: 12px;
}

.legal p,
.legal li {
  font-size: 0.95rem;
}

.legal ul {
  padding-left: 20px;
  margin: 0 0 12px;
}

.legal li {
  margin-bottom: 8px;
  color: var(--color-text-muted);
}

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

/* Footer */

.site-footer {
  border-top: 1px solid var(--color-border);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 0;
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

.footer-inner nav {
  display: flex;
  gap: 20px;
}

.footer-inner nav a {
  text-decoration: none;
  color: var(--color-text-muted);
}

.footer-inner nav a:hover {
  color: var(--color-text);
}
