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

:root {
  --color-bg: #fafafa;
  --color-text: #1a1a1a;
  --color-text-secondary: #666;
  --color-accent: #5856d6;
  --color-accent-hover: #4745b5;
  --color-border: #e5e5e5;
  --font-sans: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Segoe UI', Roboto, sans-serif;
}

html {
  font-size: 16px;
}

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

/* Landing Page */
.landing {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 2rem;
  text-align: center;
}

.landing-content {
  max-width: 800px;
}

.app-icon {
  width: 140px;
  height: 140px;
  border-radius: 31px;
  margin: 0 auto 2.5rem;
  display: block;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.headline {
  font-size: 2.75rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 1.25rem;
}

.tagline {
  font-size: 1.25rem;
  color: var(--color-text-secondary);
  margin-bottom: 3rem;
  line-height: 1.5;
}

.cta-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--color-text);
  color: white;
  padding: 1rem 2rem;
  border-radius: 12px;
  font-size: 1.1rem;
  font-weight: 500;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.btn-primary svg {
  width: 22px;
  height: 22px;
}

.coming-soon {
  font-size: 0.95rem;
  color: var(--color-text-secondary);
}

.features {
  display: flex;
  gap: 3rem;
  margin-top: 4rem;
  padding-top: 3rem;
  border-top: 1px solid var(--color-border);
  justify-content: center;
}

.feature {
  text-align: center;
}

.feature-icon {
  font-size: 1.75rem;
  margin-bottom: 0.5rem;
}

.feature-text {
  font-size: 0.9rem;
  color: var(--color-text-secondary);
}

.screenshots {
  display: flex;
  gap: 1rem;
  margin-top: 3rem;
  justify-content: center;
  flex-wrap: wrap;
}

.screenshots img {
  height: 320px;
  width: auto;
  border-radius: 16px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.footer-links {
  margin-top: 4rem;
  display: flex;
  gap: 1.5rem;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-links a {
  font-size: 0.85rem;
  color: var(--color-text-secondary);
  text-decoration: none;
  transition: color 0.15s;
}

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

.footer-divider {
  width: 4px;
  height: 4px;
  background: var(--color-border);
  border-radius: 50%;
}

/* Legal Pages */
.legal {
  max-width: 680px;
  margin: 0 auto;
  padding: 4rem 2rem;
}

.legal-header {
  margin-bottom: 3rem;
}

.legal-header .back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.9rem;
  color: var(--color-text-secondary);
  text-decoration: none;
  margin-bottom: 2rem;
  transition: color 0.15s;
}

.legal-header .back-link:hover {
  color: var(--color-text);
}

.legal-header h1 {
  font-size: 2.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
}

.legal-header .last-updated {
  font-size: 0.9rem;
  color: var(--color-text-secondary);
}

.legal-content h2 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
}

.legal-content p {
  margin-bottom: 1rem;
  color: #333;
}

.legal-content ul {
  margin-bottom: 1rem;
  padding-left: 1.5rem;
}

.legal-content li {
  margin-bottom: 0.5rem;
  color: #333;
}

.legal-content a {
  color: var(--color-accent);
  text-decoration: none;
}

.legal-content a:hover {
  text-decoration: underline;
}

/* Responsive */
@media (max-width: 640px) {
  .headline {
    font-size: 2rem;
  }

  .tagline {
    font-size: 1.1rem;
  }

  .features {
    flex-direction: column;
    gap: 1.5rem;
  }

  .footer-links {
    flex-direction: column;
    gap: 0.75rem;
    align-items: center;
  }

  .footer-divider {
    display: none;
  }

  .screenshots img {
    height: 240px;
  }

  .legal {
    padding: 2rem 1.5rem;
  }

  .legal-header h1 {
    font-size: 1.75rem;
  }
}
