/* ==========================================================================
   Schmaps Website
   ========================================================================== */

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

:root {
  --blue: #007AFF;
  --text: #1D1D1F;
  --text-secondary: #86868B;
  --bg: #FFFFFF;
  --bg-secondary: #F5F5F7;
  --max-width: 680px;
}

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ==========================================================================
   Splash Page
   ========================================================================== */

.splash {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 3rem 1.5rem 2rem;
}

.hero {
  text-align: center;
  margin-bottom: 2.5rem;
}

.logo {
  width: 64px;
  height: 56px;
  margin-bottom: 1rem;
}

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

.tagline {
  font-size: 1.25rem;
  color: var(--text-secondary);
  font-weight: 400;
}

.video-container {
  width: 100%;
  max-width: 720px;
  margin-bottom: 2.5rem;
}

.video-container video {
  width: 100%;
  border-radius: 12px;
  background: #000;
}

.cta {
  text-align: center;
}

.app-store-badge {
  width: 150px;
  height: 50px;
  transition: opacity 0.15s ease;
}

.app-store-link:hover .app-store-badge {
  opacity: 0.8;
}

/* ==========================================================================
   Page Header (Privacy, etc.)
   ========================================================================== */

.page-header {
  padding: 1.5rem;
  border-bottom: 1px solid var(--bg-secondary);
}

.home-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: var(--text);
  font-size: 1.125rem;
  font-weight: 600;
}

.home-link:hover {
  color: var(--blue);
}

.logo-small {
  width: 28px;
  height: 24px;
}

/* ==========================================================================
   Prose Content (Privacy Policy, etc.)
   ========================================================================== */

.prose {
  flex: 1;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 3rem 1.5rem;
  width: 100%;
}

.prose h1 {
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
}

.prose h2 {
  font-size: 1.375rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-top: 2.5rem;
  margin-bottom: 0.75rem;
}

.prose p {
  margin-bottom: 1rem;
}

.prose hr {
  border: none;
  border-top: 1px solid var(--bg-secondary);
  margin: 2rem 0;
}

.principles {
  list-style: none;
  margin-bottom: 1rem;
}

.principles li {
  font-size: 1.125rem;
  padding: 0.25rem 0;
}

.principles li::before {
  content: counter(list-item) ". ";
  counter-increment: list-item;
}

/* ==========================================================================
   Footer
   ========================================================================== */

footer {
  text-align: center;
  padding: 2rem 1.5rem;
  color: var(--text-secondary);
  font-size: 0.875rem;
  border-top: 1px solid var(--bg-secondary);
}

footer a {
  color: var(--text-secondary);
  text-decoration: none;
}

footer a:hover {
  color: var(--blue);
}

.sep {
  margin: 0 0.5rem;
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 600px) {
  .hero h1 {
    font-size: 2rem;
  }

  .tagline {
    font-size: 1.1rem;
  }

  .prose h1 {
    font-size: 1.625rem;
  }

  .splash {
    padding: 2rem 1rem 1.5rem;
  }
}
