/* Before You Scroll — Landing page (Prayer Lock–inspired) */

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

html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: #fff;
  color: #1a1a1a;
  height: 100vh;
  display: flex;
  flex-direction: column;
  padding: 1rem 1.25rem;
  overflow: hidden;
}

body.scrollable {
  height: auto;
  min-height: 100vh;
  overflow: visible;
}

main.hero {
  flex: 1;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  max-width: 56rem;
  margin: 0 auto;
  min-height: 0;
}

.hero-left {
  flex: 1;
  text-align: left;
  min-width: 12rem;
}

.hero-right {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  min-width: 0;
}

.logo-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.logo {
  width: 150px;
  height: auto;
  flex-shrink: 0;
}

.app-name {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.75rem;
  font-weight: 600;
  color: #1a1a1a;
  letter-spacing: -0.02em;
}

h1 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(2rem, 4.5vw, 2.75rem);
  font-weight: 400;
  line-height: 1.3;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
  max-width: 18em;
}

.tagline {
  font-size: 1.25rem;
  font-weight: 400;
  color: #555;
  margin-bottom: 0.75rem;
  letter-spacing: 0.02em;
}

.site-how-link {
  font-size: 0.9375rem;
  margin-bottom: 1.25rem;
}

.site-how-link a {
  color: #555;
  text-decoration: none;
}

.site-how-link a:hover {
  color: #1a1a1a;
  text-decoration: underline;
}

.badges {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: flex-end;
}

.badge-link {
  display: inline-block;
  transition: opacity 0.2s;
}

.badge-link:hover {
  opacity: 0.85;
}

.badge-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.25rem;
}

.badge-link-disabled {
  display: inline-block;
  opacity: 0.9;
  cursor: default;
}

.badge-link-disabled:hover {
  opacity: 0.9;
}

.badge-coming-soon {
  font-size: 0.75rem;
  color: #888;
}

.badge-img {
  height: 56px;
  width: auto;
  display: block;
}

/* Same height as App Store badge so they align level */
.badge-img-google {
  height: 56px;
  width: auto;
  display: block;
  object-fit: contain;
}

.video-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 100%;
  max-width: 240px;
}

.video-caption {
  font-size: 1.25rem;
  color: #444;
  line-height: 1.4;
  margin-bottom: 0.75rem;
  padding: 0 0.5rem;
  min-height: 2.5em;
}

.video-wrapper {
  width: 100%;
  aspect-ratio: 9 / 19.5;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
  background: #f5f5f5;
}

.app-preview {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

footer {
  flex-shrink: 0;
  padding-top: 0.75rem;
  text-align: center;
  font-size: 0.8125rem;
  color: #888;
}

footer a {
  color: #666;
  text-decoration: none;
}

footer a:hover {
  color: #1a1a1a;
  text-decoration: underline;
}

.separator {
  margin: 0 0.5rem;
  color: #bbb;
}

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

.company {
  margin-top: 0.25rem;
  font-size: 0.75rem;
  color: #aaa;
}

@media (max-width: 768px) {
  body {
    height: auto;
    min-height: 100vh;
    overflow: visible;
    padding: 1.5rem 1rem;
  }

  main.hero {
    flex-direction: column;
    gap: 1.5rem;
    padding: 0;
    min-height: auto;
  }

  .hero-left {
    text-align: center;
    min-width: 0;
  }

  .logo-row {
    justify-content: center;
  }

  h1 {
    max-width: none;
  }

  .badges {
    justify-content: center;
  }

  .badge-wrapper {
    align-items: center;
  }

  .site-how-link {
    text-align: center;
  }
}
