/* ==========================================================================
   Home page (index.html only). Shared nav, footer, buttons, and FAQ cards
   come from components.css and landing.css.
   ========================================================================== */

/* Hero */
.home-hero {
  padding-top: 112px;
  padding-bottom: var(--spacing-2xl);
  text-align: center;
}

.home-hero-copy {
  max-width: 760px;
  margin: 0 auto var(--spacing-xl);
}

.home-hero-title {
  font-size: clamp(2.1rem, 5.2vw, 3.5rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.025em;
  color: var(--darker);
  margin-bottom: var(--spacing-md);
  text-wrap: balance;
}

.home-hero-sub {
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  line-height: 1.6;
  color: var(--text-muted);
  max-width: 640px;
  margin: 0 auto var(--spacing-lg);
}

.home-hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: var(--spacing-sm) var(--spacing-lg);
  margin-bottom: var(--spacing-sm);
}

.home-text-link {
  color: var(--text);
  font-weight: 500;
  border-bottom: 1px solid var(--border-medium);
  padding-bottom: 2px;
}

.home-text-link:hover,
.home-text-link:focus-visible {
  color: var(--primary);
  border-bottom-color: var(--primary);
}

.home-hero-trust {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin: 0;
}

.home-hero-media {
  max-width: 1000px;
  margin: 0 auto;
}

.video-pause-btn {
  position: absolute;
  right: 12px;
  bottom: 12px;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border);
  background: rgba(15, 23, 42, 0.7);
  color: var(--text);
  font-size: 0.8rem;
  cursor: pointer;
  opacity: 0.7;
  transition: var(--transition);
}

.video-pause-btn:hover,
.video-pause-btn:focus-visible {
  opacity: 1;
}

/* Sections */
.home-section {
  padding: var(--spacing-3xl) 0;
  background: var(--bg-white);
  scroll-margin-top: 40px;
}

.home-section--alt {
  background: var(--bg-light);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.home-section-head {
  max-width: 720px;
  margin: 0 auto var(--spacing-2xl);
  text-align: center;
}

.home-section-head h2 {
  letter-spacing: -0.02em;
  margin-bottom: var(--spacing-sm);
  text-wrap: balance;
}

.home-section-head p {
  text-wrap: pretty;
}

.home-section-head p {
  color: var(--text-muted);
  font-size: 1.075rem;
  margin: 0;
}

.home-section-head .home-kicker {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: var(--spacing-sm);
}

.home-footnote {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.95rem;
  margin: var(--spacing-xl) 0 0;
}

/* Screenshot frames and lightbox: shots.css */
/* How it works */
.home-how {
  list-style: none;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--spacing-xl);
}

.home-how-step {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
}

.home-how .home-shot img {
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: top left;
}

.home-how-copy {
  display: grid;
  grid-template-columns: 28px 1fr;
  column-gap: var(--spacing-sm);
  align-items: center;
}

.home-how-copy > * {
  grid-column: 2;
}

.home-how-num {
  grid-column: 1;
  grid-row: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-medium);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-secondary);
}

.home-how-copy h3 {
  grid-row: 1;
  font-size: 1.2rem;
  margin: 0;
}

.home-how-copy p {
  color: var(--text-muted);
  margin: var(--spacing-xs) 0 0;
}

.home-how-copy .home-how-price {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-top: var(--spacing-sm);
}

.home-how-price span {
  font-weight: 400;
  color: var(--text-muted);
}

/* One real report */
.home-catches {
  list-style: none;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--spacing-md);
}

.home-catches li {
  padding: var(--spacing-lg);
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-top: 3px solid var(--warning);
  border-radius: var(--radius-lg);
}

.home-catches h3 {
  font-size: 1.1rem;
  margin: 0 0 var(--spacing-xs);
}

.home-catches p {
  color: var(--text-muted);
  margin: 0;
}

.home-example-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: var(--spacing-sm) var(--spacing-lg);
  margin-top: var(--spacing-2xl);
}

.home-example-price {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.home-disclaimer {
  text-align: center;
  font-size: 0.82rem;
  color: var(--text-light);
  margin: var(--spacing-lg) 0 0;
}

/* Founder */
.home-founder {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--spacing-lg);
}

.home-founder-photo {
  width: 96px;
  height: 96px;
  border-radius: var(--radius-full);
  object-fit: cover;
  border: 1px solid var(--border);
  flex-shrink: 0;
}

.home-founder-body h2 {
  font-size: clamp(1.5rem, 3vw, 1.9rem);
  letter-spacing: -0.02em;
  text-wrap: balance;
  margin-bottom: var(--spacing-sm);
}

.home-founder-body p {
  color: var(--text-secondary);
  font-size: 1.05rem;
  line-height: 1.7;
}

.home-founder-sig {
  color: var(--text-muted) !important;
  font-size: 0.95rem !important;
  margin: 0;
}

/* Final CTA */
.home-final-sub {
  font-size: 1.1rem;
  opacity: 0.85;
  margin-bottom: var(--spacing-lg);
}

.home-final-more {
  font-size: 0.95rem;
  opacity: 0.8;
  margin: var(--spacing-md) 0 0;
}

.home-final-more a {
  color: inherit;
  text-decoration: underline;
}

/* Tablet and up */
@media (min-width: 768px) {
  .home-catches {
    grid-template-columns: repeat(3, 1fr);
  }

  .home-founder {
    flex-direction: row;
    gap: var(--spacing-xl);
  }

}

@media (min-width: 900px) {
  .home-how {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Phones */
@media (max-width: 767px) {
  .home-hero {
    padding-top: 96px;
    padding-bottom: var(--spacing-xl);
  }

  .home-hero-actions {
    flex-direction: column;
  }

  .home-hero-actions .btn,
  .home-example-actions .btn {
    width: 100%;
    max-width: 360px;
    justify-content: center;
  }

  .home-example-actions {
    flex-direction: column;
  }

  .home-section {
    padding: var(--spacing-2xl) 0;
  }

  .home-section-head {
    margin-bottom: var(--spacing-xl);
  }

  .home-catches li {
    padding: var(--spacing-md);
    text-align: center;
  }

  .home-how-copy {
    display: block;
    text-align: center;
  }

  .home-how-num {
    margin-bottom: var(--spacing-xs);
  }

  .home-founder {
    align-items: center;
    text-align: center;
  }
}

@media (max-width: 400px) {
  .home-hero-title {
    font-size: 1.95rem;
  }
}
