/* =====================================================================
   StarPay homepage (/, templates/landing.html), consumer first (2026-10-21)

   The shared design language (the colour hero, notifications, portrait cards,
   points, steps, doors, the blue close) is static/landing/people.css, which
   loads before this sheet. What is here belongs to the homepage alone: the
   rails strip, the app section's spacing, the phone beside the three steps and
   the small product pieces inside the doors.
   ===================================================================== */

/* ── Works with ────────────────────────────────────────────────────────── */
.h-rails-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 32px; padding-top: 36px; padding-bottom: 36px; }
.h-rail { display: inline-flex; align-items: center; gap: 10px; font-size: 0.95rem; font-weight: 600; color: var(--body-c); }
.h-rail img, .h-rail svg { height: 26px; width: auto; display: block; }
.h-rail img.wordmark { height: 18px; }

/* ── The app: four people, four things the app does ────────────────────── */
.h-app { padding: 72px 0 120px; }

/* ── Three steps, beside the app itself ────────────────────────────────── */
.h-start { padding: 0 0 120px; }
.h-start-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 80px; align-items: center; }
.h-start-art {
  position: relative; overflow: hidden;
  aspect-ratio: 1 / 1; border-radius: 40px;
  background: var(--h-ice);
}
/* The phone rises out of the bottom of its panel, like a product shot. */
.h-phone {
  position: absolute; left: 50%; bottom: -16%; width: 50%; aspect-ratio: 9 / 18.5;
  transform: translateX(-50%);
  padding: 2.2%; border-radius: 13% / 6.4%;
  background: var(--ink);
  box-shadow: 0 40px 80px -30px rgba(20, 35, 71, 0.55), inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}
/* The app's own home screen (static/landing/img/app-home.jpg): a real
   screenshot, its status bar cropped and the account's phone number painted
   out. */
.h-phone-screen { height: 100%; overflow: hidden; border-radius: 11% / 5.4%; background: var(--navy); }
.h-phone-screen img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; }
.h-start .h-ctas { margin-top: 44px; }

/* ── The doors' product pieces ─────────────────────────────────────────── */
.h-product { display: flex; align-items: center; gap: 14px; padding: 10px; border-radius: 20px; background: #fff; box-shadow: var(--h-float); }
.h-product img { width: 72px; height: 72px; flex: none; border-radius: 14px; object-fit: cover; }
.h-product span { display: flex; flex-direction: column; line-height: 1.35; }
.h-product b { font-size: 0.95rem; }
.h-product small { font-size: 0.88rem; font-weight: 700; color: var(--body-c); font-variant-numeric: tabular-nums; }

.h-swap { flex-direction: row; align-items: center; justify-content: center; gap: 14px; color: var(--h-ok); }
.h-swap svg { width: 28px; height: 28px; flex: none; }
.h-coin {
  display: grid; place-items: center; width: 84px; height: 84px; border-radius: 50%;
  background: #fff; box-shadow: var(--h-float);
  font-weight: 800; font-size: 0.95rem; letter-spacing: 0.02em; color: var(--ink);
}
.h-coin.is-usdt { color: var(--h-ok); }
.h-coin.is-ghs { color: var(--h-bill); }

.h-door-code { justify-content: center; margin: auto -28px 0; padding: 26px 28px 30px; background: rgba(0, 0, 0, 0.22); }
.h-door-code code { font-family: var(--font-mono); font-size: 0.86rem; line-height: 1.7; color: #C9D7F2; white-space: nowrap; }
.h-door-code b { color: var(--orange-bright); font-weight: 600; }

/* ── Smaller screens ───────────────────────────────────────────────────── */
@media (max-width: 1080px) {
  .h-start-grid { gap: 48px; }
}
@media (max-width: 900px) {
  .h-start-grid { grid-template-columns: minmax(0, 1fr); }
  .h-start-art { aspect-ratio: 1 / 0.9; max-width: 520px; width: 100%; margin: 0 auto; }
}
@media (max-width: 720px) {
  .h-app { padding: 56px 0 80px; }
  .h-start { padding: 0 0 80px; }
  .h-rails-inner { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 16px; padding-top: 28px; padding-bottom: 28px; }
}
