/* Paper Boy Biz theme: front page. Source: handoff css/pages/index.css
   Breakpoints (mobile-first, min-width): mobile < 768px, tablet 768-1023px,
   desktop >= 1024px. Tokens that change per breakpoint live in tokens.css.

   This page has its own template; this stylesheet is used by this page only.
   ========================================================================== */

/* ==========================================================================
   Page: Home (index.html → front-page.php)
   Order: Featured Products grid (every product, no hero) → trust strip →
   promo banners → intro copy (H1) → inventory promise → Gatlic
   partnership → subscribe CTA.
   Products appear once. Categories are in the header menu, and each
   product page offers one-time purchase or monthly subscription.
   Breakpoints: mobile < 768 · tablet 768–1023 · desktop >= 1024
   ========================================================================== */

/* 1. Page title + Featured Products: first thing on the page, so a tighter top gap.
   The H1 is a compact title line; "Featured Products" (H2) steps down below it. */
.home-products { padding-top: var(--space-6); }
.home-title { font-size: var(--fs-h2); max-width: 26ch; margin: 0 0 var(--space-6); text-wrap: balance; }
.home-products .section-head h2 { font-size: var(--fs-h3); }

/* 2. Promo banners */
.home-promos { padding-block: var(--section-gap); }
.home-promos__grid { display: grid; gap: var(--space-4); }
.home-promo {
  position: relative; display: flex; align-items: flex-end; justify-content: flex-start;
  min-height: 220px; padding: var(--space-5); border-radius: var(--radius-md); overflow: hidden; text-decoration: none;
}
.home-promo img {
  position: absolute; right: var(--space-5); top: 50%; transform: translateY(-50%);
  width: 42%; height: auto; max-height: calc(100% - 40px); object-fit: contain;
  background: #FFFFFF; border-radius: var(--radius-md);
}
.home-promo .btn { position: relative; z-index: 1; }
.home-promo--blue { background: var(--color-primary); }
.home-promo--light { background: var(--color-badge-bg); border: var(--border-width) solid var(--color-border); }

/* 3–5. Copy sections */
.home-intro__media img,
.home-promise__media img { width: 100%; max-width: 520px; margin-inline: auto; border-radius: var(--radius-md); }
.home-intro__media img { max-width: 600px; }
.home-intro__title { font-size: var(--fs-h1); }
.home-intro .btn { margin-top: var(--space-2); }
.home-promise__features { grid-template-columns: 1fr; margin-top: var(--space-5); }
.home-partner h3 { margin-top: var(--space-6); }
.home-partner__media img { width: 100%; border-radius: var(--radius-md); }
.home-partner__features { margin-top: var(--space-8); }

/* Tablet */
@media (min-width: 768px) {
  .home-products { padding-top: var(--space-8); }
  .home-promos__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-5); }
  .home-promo { min-height: 260px; }
  .home-promise__features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Desktop */
@media (min-width: 1024px) {
  .home-products { padding-top: var(--space-9); }
  .home-title { font-size: var(--fs-h1); max-width: none; margin-bottom: var(--space-7); }
  .home-promise__media { order: 0; }
  .home-partner__features { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
