/* ── Variables ── */
:root {
  --color-bg: #ffffff;
  --color-text: #1d1d1f;
  --color-muted: #6e6e73;
  --color-border: #e5e5e7;
  --color-accent: #0071e3;
  --color-accent-hover: #0060c0;
  --color-surface: #f5f5f7;
  --font-stack: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --max-width: 960px;
  --nav-height: 56px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-height);
}

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

img { max-width: 100%; display: block; }
a { color: var(--color-accent); text-decoration: none; }

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

/* ── Buttons ── */
.btn {
  display: inline-block;
  background: var(--color-accent);
  color: #fff;
  font-size: 0.95rem;
  font-weight: 500;
  padding: 10px 24px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: background 0.15s;
}
.btn:hover { background: var(--color-accent-hover); color: #fff; }
.btn-lg { font-size: 1.1rem; padding: 14px 36px; border-radius: 10px; }
.btn-sm { font-size: 0.85rem; padding: 7px 18px; border-radius: 6px; }

/* ── Nav ── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
  height: var(--nav-height);
}

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

.nav-wordmark {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--color-text);
  letter-spacing: -0.02em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-links a {
  font-size: 0.9rem;
  color: var(--color-muted);
  transition: color 0.15s;
}
.nav-links a:hover { color: var(--color-text); }
.nav-links .btn { color: #fff; }
.nav-links .btn:hover { color: #fff; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--color-text);
  border-radius: 2px;
  transition: transform 0.2s, opacity 0.2s;
}

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

.hero-icon {
  margin-bottom: 24px;
  display: flex;
  justify-content: center;
}

.hero-icon-img {
  width: 160px;
  height: 160px;
  border-radius: 22px;
  margin: 0 auto;
}

.hero-title {
  font-size: 3rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 12px;
}

.hero-tagline {
  font-size: 1.35rem;
  color: var(--color-muted);
  margin-bottom: 16px;
}

.hero-subtitle {
  font-size: 1.05rem;
  color: var(--color-muted);
  max-width: 520px;
  margin: 0 auto 32px;
  line-height: 1.5;
}

.hero-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.hero-note {
  font-size: 0.8rem;
  color: var(--color-muted);
}

/* ── Section titles ── */
.section-title {
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  text-align: center;
  margin-bottom: 48px;
}

/* ── Features ── */
.features {
  padding: 80px 0;
  background: var(--color-surface);
}

.feature-row {
  display: flex;
  align-items: center;
  gap: 48px;
  margin-bottom: 64px;
}
.feature-row:last-child { margin-bottom: 0; }

.feature-row-reverse { flex-direction: row-reverse; }

.feature-text {
  flex: 1;
}
.feature-text h3 {
  font-size: 1.35rem;
  font-weight: 600;
  margin-bottom: 10px;
}
.feature-text p {
  color: var(--color-muted);
  font-size: 1rem;
  line-height: 1.6;
}

.feature-image {
  flex: 1;
}

.image-placeholder {
  width: 100%;
  aspect-ratio: 16 / 10;
  background: var(--color-border);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-muted);
  font-size: 0.9rem;
}

/* ── How It Works ── */
.how-it-works {
  padding: 80px 0;
}

.steps {
  display: flex;
  gap: 40px;
}

.step {
  flex: 1;
  text-align: center;
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--color-accent);
  color: #fff;
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 16px;
}

.step h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.step p {
  color: var(--color-muted);
  font-size: 0.95rem;
  line-height: 1.5;
}

/* ── Download ── */
.download {
  padding: 80px 0;
  background: var(--color-surface);
  text-align: center;
}

.download-pitch {
  color: var(--color-muted);
  font-size: 1.1rem;
  margin-bottom: 28px;
}

.download-meta {
  margin-top: 20px;
  font-size: 0.85rem;
  color: var(--color-muted);
}

.download-meta .sep {
  margin: 0 8px;
}

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

.faq-list {
  max-width: 640px;
  margin: 0 auto;
}

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

.faq-item summary {
  padding: 18px 0;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: "+";
  font-size: 1.4rem;
  font-weight: 300;
  color: var(--color-muted);
  transition: transform 0.2s;
  flex-shrink: 0;
  margin-left: 16px;
}

.faq-item[open] summary::after {
  content: "\2212"; /* minus sign */
}

.faq-answer {
  padding: 0 0 18px;
}

.faq-answer p {
  color: var(--color-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ── Legal pages ── */
.legal {
  padding: 100px 0 80px;
  min-height: calc(100vh - var(--nav-height) - 73px);
}

.legal-title {
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

.legal-updated {
  font-size: 0.85rem;
  color: var(--color-muted);
  margin-bottom: 40px;
}

.legal h2 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-top: 32px;
  margin-bottom: 12px;
}

.legal p {
  color: var(--color-muted);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 12px;
  max-width: 640px;
}

.legal ul {
  color: var(--color-muted);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 12px;
  padding-left: 24px;
  max-width: 640px;
}

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

/* ── Footer ── */
.footer {
  border-top: 1px solid var(--color-border);
  padding: 24px 0;
}

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

.footer-copy {
  font-size: 0.85rem;
  color: var(--color-muted);
}

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

.footer-links a {
  font-size: 0.85rem;
  color: var(--color-muted);
}
.footer-links a:hover { color: var(--color-text); }

/* ── Fade-in animation ── */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Mobile ── */
@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: var(--nav-height);
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    flex-direction: column;
    padding: 16px 24px;
    gap: 16px;
    border-bottom: 1px solid var(--color-border);
  }

  .nav-links.open {
    display: flex;
  }

  .hero { padding: 72px 24px 56px; }
  .hero-title { font-size: 2.2rem; }
  .hero-tagline { font-size: 1.15rem; }

  .section-title { font-size: 1.6rem; margin-bottom: 36px; }

  .feature-row,
  .feature-row-reverse {
    flex-direction: column;
    gap: 24px;
    margin-bottom: 48px;
  }

  .steps {
    flex-direction: column;
    gap: 32px;
  }

  .features, .how-it-works, .download, .faq {
    padding: 56px 0;
  }

  .footer-inner {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
}
