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

:root {
  --bg:          #FAFAF8;
  --surface:     #F2F1EE;
  --border:      #E4E2DD;
  --text:        #1A1A18;
  --muted:       #6B6B67;
  --accent:      #3D3D3A;
  --cta:         #1A1A18;
  --cta-text:    #FFFFFF;
  --radius:      14px;
  --max:         680px;
  --font:        -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
}

html { font-size: 16px; -webkit-text-size-adjust: 100%; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }
a:hover { opacity: 0.65; }

/* ─── Layout helpers ─────────────────────────────────────────────────────── */
.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

/* ─── Nav ────────────────────────────────────────────────────────────────── */
nav {
  border-bottom: 1px solid var(--border);
  background: var(--bg);
  position: sticky;
  top: 0;
  z-index: 10;
}

.nav-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.3px;
  text-decoration: none;
  color: var(--text);
}

.nav-links {
  display: flex;
  gap: 24px;
  list-style: none;
}

.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  text-decoration: none;
}

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

/* ─── Hero ───────────────────────────────────────────────────────────────── */
.hero {
  padding: 80px 0 72px;
  text-align: center;
}

.hero h1 {
  font-size: clamp(36px, 6vw, 52px);
  font-weight: 800;
  letter-spacing: -1px;
  line-height: 1.12;
  margin-bottom: 20px;
}

.hero p {
  font-size: 18px;
  color: var(--muted);
  max-width: 420px;
  margin: 0 auto 36px;
  line-height: 1.6;
}

.store-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.btn-appstore {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--cta);
  color: var(--cta-text);
  text-decoration: none;
  padding: 14px 26px;
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.1px;
}

.btn-appstore:hover { opacity: 0.82; }

.btn-appstore svg { flex-shrink: 0; }

/* ─── Section ────────────────────────────────────────────────────────────── */
section {
  padding: 64px 0;
  border-top: 1px solid var(--border);
}

.section-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(24px, 4vw, 32px);
  font-weight: 800;
  letter-spacing: -0.5px;
  line-height: 1.2;
  margin-bottom: 16px;
}

.section-body {
  font-size: 17px;
  color: var(--muted);
  line-height: 1.7;
  max-width: 520px;
}

/* ─── Problem callout ────────────────────────────────────────────────────── */
.callout {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 32px;
  margin-top: 28px;
  font-size: 17px;
  line-height: 1.75;
  color: var(--muted);
}

.callout strong { color: var(--text); }

/* ─── Steps ──────────────────────────────────────────────────────────────── */
.steps {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 28px;
}

.step {
  display: flex;
  align-items: center;
  gap: 18px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 22px;
}

.step-num {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--cta);
  color: var(--cta-text);
  font-size: 16px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.step-text {
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
}

/* ─── Feature grid ───────────────────────────────────────────────────────── */
.features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 28px;
}

.feature {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 22px;
}

.feature-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 6px;
}

.feature-body {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.55;
}

@media (max-width: 480px) {
  .features { grid-template-columns: 1fr; }
}

/* ─── Footer ─────────────────────────────────────────────────────────────── */
footer {
  border-top: 1px solid var(--border);
  padding: 36px 0;
  margin-top: 32px;
}

.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-copy {
  font-size: 13px;
  color: var(--muted);
}

.footer-links {
  display: flex;
  gap: 20px;
  list-style: none;
}

.footer-links a {
  font-size: 13px;
  color: var(--muted);
  text-decoration: none;
}

.footer-links a:hover { color: var(--text); opacity: 1; }

/* ─── Legal pages ────────────────────────────────────────────────────────── */
.legal {
  padding: 56px 0 80px;
}

.legal h1 {
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 8px;
}

.legal .meta {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 48px;
}

.legal h2 {
  font-size: 18px;
  font-weight: 700;
  margin: 40px 0 10px;
}

.legal p, .legal li {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.75;
  margin-bottom: 12px;
}

.legal ul, .legal ol {
  padding-left: 22px;
  margin-bottom: 12px;
}

.legal li { margin-bottom: 6px; }

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