/* The home page only (index.html), after site.css and demo.css: the hero's order on phones, the feature tour, the
   category strip and touch targets (docs/launch/site/05-home-page-and-ux.md). */

/* ---------- Hero: the call to action is its own grid item ---------- */
.hero-grid { grid-template-areas: "copy stage" "cta stage" "coach stage"; }
.hero-copy { align-self: end; }
.hero-cta { grid-area: cta; }
.hero-cta .stores { margin-bottom: 4px; }
/* "Your whole day, / in one private place." breaks into even lines instead of leaving one word alone. */
.hero h1 { font-size: clamp(2.5rem, 5.2vw, 4.1rem); text-wrap: balance; }
.hero h1 .grad-text { display: inline-block; text-wrap: balance; }
.chip .dot { color: #0f3b22; }
.chip .dot svg, .promise .ico svg { display: block; }
.promise .ico { color: #fff; }

@media (max-width: 960px) {
  /* Phones and narrow windows: headline, the demo with its steps right under it, then the sign-up. */
  .hero-grid { grid-template-areas: "copy" "stage" "coach" "cta"; }
  .hero-cta { text-align: center; margin-top: 28px; }
  .hero-cta .get-app { justify-items: center; } .hero-cta .waitlist { margin-inline: auto; }
  .hero-cta .stores { justify-content: center; }
  .hero-grid .coach { margin-top: 8px; }
}

/* ---------- Feature tour ---------- */
.tour-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 36px; }
.tour-card { display: grid; grid-template-columns: 120px 1fr; gap: 18px; align-items: center; padding: 16px; border-radius: 24px;
  background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow); color: var(--text); text-decoration: none;
  transition: transform .25s ease, border-color .25s ease; }
.tour-card:hover, .tour-card:focus-visible { transform: translateY(-3px); border-color: var(--accent-ink); }
.tour-card .shot { display: block; border-radius: 18px; overflow: hidden; border: 3px solid #1b1726; background: #1b1726;
  aspect-ratio: 660 / 1100; }
.tour-card .shot img { display: block; width: 100%; height: auto; }
.tour-text { display: grid; gap: 6px; }
.tour-text b { font-size: 1.15rem; }
.tour-text span { color: var(--muted); font-size: .95rem; line-height: 1.45; }

/* ---------- Category strip ---------- */
.cat-strip { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; justify-content: center; margin-top: 30px; }
.cat-strip .muted { margin-right: 4px; font-weight: 600; }
.cat-strip a { display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; border-radius: 999px;
  border: 1px solid var(--line); background: var(--card); color: var(--text); font-weight: 650; font-size: .9rem; text-decoration: none; }
.cat-strip a:hover { border-color: var(--accent-ink); }

@media (max-width: 960px) {
  .tour-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  /* A swipeable row of cards on phones. */
  .tour-grid { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 14px; margin-inline: calc(-1 * var(--gutter));
    padding: 4px var(--gutter) 14px; }
  .tour-card { flex: 0 0 82%; scroll-snap-align: center; grid-template-columns: 96px 1fr; }
  .cat-strip { flex-wrap: nowrap; overflow-x: auto; justify-content: flex-start; margin-inline: calc(-1 * var(--gutter));
    padding: 4px var(--gutter) 10px; }
  .cat-strip a, .cat-strip .muted { flex: none; }
  .cat-strip a { min-height: 44px; }

  /* Touch targets of 44 px on phones (W5.5). */
  .coach li { min-height: 44px; padding-block: 0; }
  .coach ol { gap: 2px; }
  /* The whole step row is the button (block, not flex: flex would drop the spaces around the bold words). */
  .coach li > span:last-child { flex: 1; }
  .coach .linkish { display: block; width: 100%; min-height: 44px; padding: 12px 4px; text-align: left; }
  .faq summary { min-height: 44px; }
}
@media (prefers-reduced-motion: reduce) { .tour-card { transition: none; } .tour-card:hover { transform: none; } }
