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

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: #1d1d1f;
  background: #fff;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Nav */
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 2rem;
  border-bottom: 1px solid #e5e5e5;
}

.nav-brand {
  font-weight: 700;
  font-size: 1.125rem;
  color: #1d1d1f;
  text-decoration: none;
}

.nav-links {
  display: flex;
  gap: 1.5rem;
}

.nav-links a {
  color: #6e6e73;
  text-decoration: none;
  font-size: 0.875rem;
}

.nav-links a:hover {
  color: #1d1d1f;
}

/* Main */
main {
  flex: 1;
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem;
  width: 100%;
}

/* Hero */
.hero {
  text-align: center;
  padding: 4rem 0 3rem;
}

.hero h1 {
  font-size: 2.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.tagline {
  margin-top: 0.75rem;
  font-size: 1.25rem;
  color: #6e6e73;
}

/* Apps */
.apps {
  padding: 2rem 0;
}

.app-card {
  background: #f5f5f7;
  border-radius: 1rem;
  padding: 2.5rem;
  text-align: center;
}

.section-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
  text-align: center;
}

.app-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
  max-width: 400px;
  margin: 0 auto;
}

a.app-card {
  display: block;
  text-decoration: none;
  color: inherit;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

a.app-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.app-card h2,
.app-card h3 {
  font-size: 1.75rem;
  font-weight: 600;
}

.coming-soon {
  display: inline-block;
  margin-top: 0.75rem;
  padding: 0.35rem 1rem;
  background: #1d1d1f;
  color: #fff;
  border-radius: 2rem;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.app-description {
  margin-top: 1rem;
  color: #6e6e73;
  font-size: 1rem;
}

/* Page content (privacy, terms, support) */
.page-content {
  padding: 3rem 0;
}

.page-content h1 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.page-content h2 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}

.page-content p {
  color: #424245;
  line-height: 1.7;
  margin-bottom: 1rem;
}

.page-content ul {
  color: #424245;
  line-height: 1.7;
  margin-bottom: 1rem;
  padding-left: 1.5rem;
}

.page-content a {
  color: #0066cc;
}

/* App page */
.app-page {
  padding: 3rem 0;
  text-align: center;
}

.app-page h1 {
  font-size: 2.5rem;
  font-weight: 700;
}

.app-page-description {
  margin-top: 1rem;
  color: #6e6e73;
  font-size: 1.125rem;
}

.app-details {
  margin-top: 2.5rem;
  text-align: left;
  background: #f5f5f7;
  border-radius: 1rem;
  padding: 2rem;
}

.app-details h2 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.app-details p {
  color: #424245;
  line-height: 1.7;
}

.back-link {
  display: inline-block;
  margin-top: 2rem;
  color: #0066cc;
  text-decoration: none;
  font-size: 0.95rem;
}

.back-link:hover {
  text-decoration: underline;
}

/* Footer */
footer {
  border-top: 1px solid #e5e5e5;
  padding: 2rem;
  text-align: center;
}

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

.footer-links a {
  color: #6e6e73;
  text-decoration: none;
  font-size: 0.875rem;
}

.footer-links a:hover {
  color: #1d1d1f;
}

footer p {
  color: #86868b;
  font-size: 0.8rem;
}

/* Responsive */
@media (max-width: 600px) {
  nav {
    flex-direction: column;
    gap: 0.75rem;
  }

  .hero h1 {
    font-size: 1.75rem;
  }

  .tagline {
    font-size: 1rem;
  }

  .app-card {
    padding: 1.5rem;
  }
}
