/* Design pass 3: the same paper, grid and reading rhythm as Perch Post. */
.home-page .wrap { max-width: 1264px; }
.home-page .hero { padding-top: 40px; }
.home-page .hero h1 { text-wrap: balance; }
.home-page .breakdown-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin: 32px 0 24px;
}
.home-page .breakdown-link::before,
.home-page .breakdown-link::after {
  content: "";
  width: 80px;
  height: 1px;
  background: #28695755;
}
.home-page .detail-card figcaption { margin-top: 20px; }
.home-page .detail-card figcaption p { max-width: 220px; margin-inline: auto; }
.home-page .scene-caption {
  margin-top: 18px;
  color: #625d62;
  font-size: 12px;
  line-height: 1.6;
}
.home-page .rankings-section .scene-caption { text-align: center; }
.home-page .closing .post-link {
  display: inline-block;
  margin-top: 26px;
  color: #fffaf0;
  font-size: 14px;
  font-weight: 750;
  text-underline-offset: 5px;
}
.home-page .closing .post-link span { margin-left: 12px; }
@media (max-width: 600px) {
  .home-page .hero { padding-top: 32px; }
  .home-page .hero h1 { text-wrap: initial; }
  .home-page .dashboard-stage {
    grid-template-rows: auto auto;
    gap: 20px;
    padding-bottom: 0;
  }
  .home-page .note-revenue {
    position: relative;
    grid-column: 1;
    grid-row: 2;
    bottom: auto;
    right: auto;
    width: 100%;
    max-width: 340px;
    justify-self: center;
    box-shadow: 0 8px 18px #172d2412;
  }
  .home-page .breakdown-link { gap: 12px; margin: 30px 0 24px; }
  .home-page .breakdown-link::before,
  .home-page .breakdown-link::after { width: 24px; flex: none; }
  .home-page .breakdown-link span { max-width: 230px; }
  .home-page .scene-caption { font-size: 11px; }
  .home-page .country-card { box-shadow: 0 8px 18px #172d2412; }
}

/* Real 2.0 captures retain their source proportions, including the taller Mac panel. */
.home-page .hero-phone { aspect-ratio: 640 / 1391; }
.home-page .hero-phone img,
.home-page .dashboard-phone img,
.home-page .dashboard-phone picture { aspect-ratio: 640 / 1391; }
.home-page .detail-card img,
.home-page .detail-card > .detail-shot { aspect-ratio: 600 / 1077; }
.home-page .mac-popover,
.home-page .mac-popover img { aspect-ratio: 720 / 1230; }
.home-page .dashboard-note > strong { font-size: clamp(37px, 4.6vw, 58px); }
.home-page .letter-capture {
  height: auto;
  padding: 20px 0 70px;
}
.home-page .review-capture {
  width: 100%;
  height: auto;
  transform: rotate(-5deg);
  border-radius: 10px;
  box-shadow: var(--shadow);
}
.home-page .letter-capture .letter-bird { width: 160px; right: -25px; bottom: -15px; z-index: 5; }
/* The app's own envelopes: the letter rises out of a sealed one, with a
   second behind it, as review letters arrive in Perch. */
.home-page .letter-capture { position: relative; padding-bottom: 150px; }
.home-page .review-capture { position: relative; z-index: 2; width: 86%; margin-left: 7%; }
.home-page .letter-envelope { position: absolute; height: auto; filter: drop-shadow(0 18px 28px rgba(60, 40, 20, .18)); pointer-events: none; }
.home-page .letter-envelope-back { width: 74%; left: 18%; bottom: 40px; transform: rotate(6deg); z-index: 1; }
.home-page .letter-envelope-front { width: 78%; left: 2%; bottom: 0; transform: rotate(-4deg); z-index: 3; }
@media (max-width: 600px) {
  .home-page .letter-capture { padding-bottom: 105px; }
  .home-page .letter-envelope-back { bottom: 26px; }
}
.home-page .stamp-captures .stamp {
  padding: 0;
  height: auto;
  aspect-ratio: 416 / 522;
  background: transparent;
  border: 0;
  border-radius: 0;
  clip-path: none;
  -webkit-mask: none;
  mask: none;
}
.home-page .price-layout { padding-bottom: 35px; }
@media (max-width: 600px) {
  .home-page .dashboard-note > strong { font-size: 40px; }
  .home-page .letter-capture { max-width: 400px; padding-bottom: 65px; }
  .home-page .letter-capture .letter-bird { width: 120px; right: -10px; bottom: -10px; }
  .home-page .price-layout { padding-bottom: 30px; }
}
