:root {
  --bg: #ffffff;
  --bg-soft: #f6f6f4;
  --bg-card: #fafaf8;
  --text: #1a1a1a;
  --text-muted: #6b6b6b;
  --border: #e6e6e2;
  --max: 1080px;
  --radius: 12px;
}

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
}

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

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

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

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
  text-decoration: none;
}

/* App Store badge */
.store-badge {
  display: inline-block;
  line-height: 0;
}

.store-badge img {
  height: 48px;
  width: auto;
  display: block;
}

.store-badge:hover img {
  opacity: 0.85;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 999px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  transition: opacity 0.15s ease;
  border: 1px solid transparent;
}

.btn-dark {
  background: #000000;
  color: #ffffff;
}

.btn-dark:hover {
  opacity: 0.85;
}

.store-btn .apple-icon {
  width: 16px;
  height: 16px;
}

.store-btn-lg {
  padding: 14px 26px;
  font-size: 16px;
}

.store-btn-lg .apple-icon {
  width: 20px;
  height: 20px;
}

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

.hero h1 {
  font-size: clamp(40px, 8vw, 72px);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin: 0 0 16px;
  line-height: 1.05;
}

.hero-sub {
  font-size: clamp(16px, 2.4vw, 20px);
  color: var(--text-muted);
  max-width: 620px;
  margin: 0 auto 32px;
}

.hero-image {
  display: block;
  width: 50%;
  height: auto;
  margin: 0 auto 32px;
  border-radius: var(--radius);
}

/* Section titles */
.section-title {
  font-size: clamp(26px, 4vw, 36px);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 8px;
  text-align: center;
}

.section-sub {
  color: var(--text-muted);
  text-align: center;
  margin: 0 0 48px;
  font-size: 16px;
}

/* Features */
.features {
  padding: 80px 0;
  background: var(--bg-soft);
}

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

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

.feature-card h3 {
  margin: 0 0 8px;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.feature-card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 15px;
}

/* FAQ */
.faq {
  padding: 80px 0;
}

.faq-inner {
  max-width: 760px;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.faq-item h3 {
  margin: 0 0 6px;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.faq-item p {
  margin: 0;
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.6;
}

/* Footer */
.footer {
  padding: 40px 0 28px;
  border-top: 1px solid var(--border);
  background: var(--bg-soft);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.credit {
  margin: 0;
  color: var(--text-muted);
  font-size: 14px;
}

.credit a {
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
}

.credit a:hover {
  text-decoration: underline;
}

.copyright {
  margin: 0;
  color: var(--text-muted);
  font-size: 14px;
}

/* tl;dr callout */
.tldr {
  margin: 24px 0 32px;
  padding: 20px 24px;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.tldr p {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--text);
  line-height: 1.4;
}

/* Privacy page */
.privacy {
  padding: 80px 0;
}

.privacy-inner {
  max-width: 760px;
}

.back-link {
  margin: 0 0 24px;
  font-size: 14px;
}

.back-link a {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 600;
}

.back-link a:hover {
  color: var(--text);
  text-decoration: underline;
}

.privacy-inner h1 {
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin: 0 0 8px;
  line-height: 1.05;
}

.privacy-updated {
  color: var(--text-muted);
  font-size: 14px;
  margin: 0 0 32px;
}

.privacy-inner h2 {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin: 32px 0 8px;
}

.privacy-inner p {
  margin: 0 0 16px;
  color: var(--text);
  font-size: 16px;
  line-height: 1.6;
}

.privacy-inner a {
  color: var(--text);
  font-weight: 600;
}

/* Responsive tweaks */
@media (max-width: 600px) {
  .hero {
    padding: 64px 0 56px;
  }
  .features, .faq, .privacy {
    padding: 56px 0;
  }
  .nav {
    padding: 16px 0;
  }
}
