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

:root {
  /* Brand colors from design system */
  --background: #FAF8F6;
  --primary: #F58A1F;
  --foreground: #261A0F;
  --muted: #666666;
  --border: #E5E5E5;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  background: var(--background);
  color: var(--foreground);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main.container {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  min-height: calc(100vh - 200px);
}

.hero {
  text-align: center;
  max-width: 600px;
  width: 100%;
}

.app-icon {
  width: 120px;
  height: 120px;
  margin: 0 auto 2rem;
  border-radius: 26px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  display: block;
}

h1 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--foreground);
  letter-spacing: -0.02em;
}

.tagline {
  font-size: 1.25rem;
  color: var(--muted);
  margin-bottom: 1rem;
  font-weight: 500;
}

.description {
  font-size: 1rem;
  color: var(--muted);
  margin-bottom: 2.5rem;
  line-height: 1.6;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.download-button {
  display: inline-block;
  margin-top: 1rem;
  transition: transform 0.2s ease;
}

.download-button:hover {
  transform: scale(1.05);
}

.download-button:active {
  transform: scale(0.98);
}

.app-store-badge {
  height: 60px;
  width: auto;
  display: block;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
}

/* Official Apple badge sizing - maintain aspect ratio */
@media (max-width: 480px) {
  .app-store-badge {
    height: 50px;
  }
}

footer {
  text-align: center;
  padding: 2rem 1rem;
  border-top: 1px solid var(--border);
  background: white;
}

footer .container {
  max-width: 100%;
  margin: 0 auto;
  display: block;
}

.privacy-badge {
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--foreground);
  font-size: 0.95rem;
}

footer nav {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

footer nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s ease;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
}

footer nav a:hover {
  color: var(--foreground);
  background: rgba(245, 138, 31, 0.1);
}

.copyright {
  color: #999;
  font-size: 0.875rem;
  margin-top: 1rem;
}

/* Responsive Design */
@media (max-width: 768px) {
  main.container {
    padding: 1.5rem;
    min-height: calc(100vh - 180px);
  }
  
  h1 {
    font-size: 2.5rem;
  }
  
  .tagline {
    font-size: 1.1rem;
  }
  
  .description {
    font-size: 0.95rem;
  }
  
  .app-icon {
    width: 100px;
    height: 100px;
    margin-bottom: 1.5rem;
  }
  
  .app-store-badge {
    height: 50px;
  }
  
  footer {
    padding: 1.5rem 1rem;
  }
}

@media (max-width: 480px) {
  h1 {
    font-size: 2rem;
  }
  
  .tagline {
    font-size: 1rem;
  }
  
  .app-icon {
    width: 90px;
    height: 90px;
  }
}

