/* Real, unaltered device captures lead the home page. Shared legal styles
   remain in styles.css. Screenshot filenames carry their capture date. */
body {
  min-width: 0;
}

.nav-links .nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
}

.catalog-hero {
  padding-top: clamp(42px, 5.5vw, 76px);
  padding-bottom: clamp(66px, 7vw, 94px);
}

.hero-grid {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(30px, 5vw, 66px);
}

.hero-copy h1 {
  font-size: clamp(52px, 6.7vw, 82px);
}

.hero-note {
  font-family: "Nunito", system-ui, sans-serif;
  font-style: normal;
  font-size: 13px;
  color: var(--brown-ink);
  max-width: 400px;
}

.beta-label {
  display: block;
  margin-bottom: 5px;
  color: var(--bottle-green);
  font-weight: 800;
  letter-spacing: 0.08em;
  font-size: 11px;
  text-transform: uppercase;
}

.app-preview {
  margin: 0;
  min-width: 0;
  width: 100%;
}

.phone-pair {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px 8px 22px;
}

.phone-screen {
  display: block;
  width: 100%;
  height: auto;
  border: 5px solid var(--forest-dark);
  border-radius: 22px;
  background: var(--bone-paper);
  box-shadow: 0 12px 26px rgba(44, 33, 21, 0.18);
}

.welcome-screen {
  width: 43%;
  margin-right: -4%;
  transform: rotate(-5deg);
}

.featured-screen {
  position: relative;
  width: 53%;
  transform: rotate(4deg);
}

.app-preview figcaption {
  margin-top: 10px;
  color: var(--brown-ink);
  font-family: "Fraunces", Georgia, serif;
  font-size: 15px;
  font-style: italic;
  text-align: center;
  line-height: 1.5;
}

.app-preview figcaption span {
  font-family: "Nunito", system-ui, sans-serif;
  font-size: 11px;
  font-style: normal;
}

.screenshot-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 5vw, 60px);
  align-items: start;
  max-width: 990px;
  margin-inline: auto;
}

.screen-story {
  min-width: 0;
  margin: 0;
}

.screenshot-link {
  display: block;
  border-radius: 22px;
  text-decoration: none;
  transition: transform 160ms ease;
}

.screenshot-link:hover {
  transform: translateY(-4px);
}

.screenshot-link:focus-visible {
  outline: 3px solid var(--forest-dark);
  outline-offset: 8px;
}

.screen-story figcaption {
  padding: 24px 2px 0;
}

.screen-number {
  display: block;
  margin-bottom: 10px;
  color: var(--field-rust);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.screen-story h3 {
  margin-bottom: 9px;
  font-size: clamp(23px, 2.5vw, 30px);
  line-height: 1.13;
}

.screen-story p {
  margin: 0;
  color: var(--brown-ink);
  font-size: 15px;
  line-height: 1.6;
}

.capture-note {
  max-width: 710px;
  margin: 40px auto 0;
  text-align: center;
  font-size: 13px;
  color: var(--brown-ink);
}

.capture-view {
  max-width: 780px;
  margin-inline: auto;
  padding: 32px 20px 48px;
}

.capture-view h1 {
  margin-top: 24px;
  font-size: clamp(30px, 7vw, 48px);
}

.capture-view figure {
  margin: 24px 0 0;
}

.capture-view img {
  display: block;
  width: 100%;
  height: auto;
}

.capture-view figcaption {
  margin-top: 16px;
  line-height: 1.6;
}

.journey-card {
  min-height: 355px;
  padding-bottom: 74px;
}

.journey-card small {
  font-size: 13px;
}

.download-copy .catalog-kicker {
  color: var(--aged-paper);
  margin-bottom: 16px;
  font-size: 11px;
}

@media (max-width: 980px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 30px;
  }

  .hero-copy {
    max-width: 640px;
  }

  .hero-note {
    margin-inline: auto;
  }

  .app-preview {
    max-width: 510px;
    justify-self: center;
  }

  .screenshot-gallery {
    gap: 22px;
  }
}

@media (max-width: 600px) {
  .site-nav {
    gap: 10px;
  }

  .site-nav .brand {
    gap: 8px;
    font-size: 17px;
  }

  .site-nav .brand img {
    width: 32px;
    height: 32px;
  }

  .nav-links .nav-cta {
    padding-inline: 10px;
    font-size: 11px;
  }

  .hero-copy h1 {
    font-size: clamp(44px, 12.4vw, 66px);
  }

  .hero-copy .catalog-kicker {
    font-size: 9px;
    letter-spacing: 0.1em;
    gap: 6px;
  }

  .hero-copy .catalog-kicker::before,
  .hero-copy .catalog-kicker::after {
    width: 12px;
  }

  .phone-screen {
    border-width: 4px;
    border-radius: 18px;
  }

  .screenshot-gallery {
    grid-template-columns: minmax(0, 1fr);
    gap: 46px;
    max-width: 320px;
  }

  .screen-story {
    padding-inline: 10px;
  }

  .screen-story h3 {
    font-size: 28px;
  }

  .journey-card {
    min-height: 325px;
  }
}
