/* Home page layout: hero fan of real app screens, App Store style screenshot
   strip, compact phone layouts. Loaded after styles.css and ui-139.css. */

/* ---------- Hero ---------- */
.hero { padding-top: 56px; padding-bottom: 90px; }
.hero-layout { grid-template-columns: minmax(0,1fr) minmax(460px,.95fr); gap: clamp(32px,4vw,64px); }
.hero h1 { max-width: none; font-size: clamp(52px,5.3vw,80px); }
.hero-copy { max-width: 520px; }
.hero-proof { margin: 34px 0 0; padding: 22px 0 0; display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px; border-top: 1px solid var(--line); list-style: none; }
.hero-proof li { display: grid; gap: 4px; }
.hero-proof b { font: 800 28px/1 Manrope,sans-serif; letter-spacing: -.04em; color: var(--ink); }
.hero-proof li:first-child b { color: var(--blue); }
.hero-proof span { color: var(--muted); font-size: 13px; line-height: 1.35; }

.hero-fan { position: relative; height: 640px; }
.hero-fan::before { content: ""; position: absolute; inset: 8% 4% 4%; border-radius: 48px; background: radial-gradient(circle at 30% 30%, rgba(215,255,57,.9), transparent 55%), radial-gradient(circle at 75% 75%, rgba(56,105,247,.55), transparent 55%); filter: blur(30px); opacity: .7; }
.hero-fan-phone { position: absolute; top: 50%; left: 50%; margin: 0; padding: 7px; border-radius: 38px; background: #0b0b0a; box-shadow: 0 0 0 2px #3a3a35, 0 40px 80px rgba(23,23,19,.35); }
.hero-fan-phone img { display: block; width: 100%; height: auto; border-radius: 32px; }
.hero-fan-phone.is-center { z-index: 3; width: 280px; transform: translate(-50%,-50%); }
.hero-fan-phone.is-left { z-index: 2; width: 236px; transform: translate(-112%,-46%) rotate(-9deg); }
.hero-fan-phone.is-right { z-index: 2; width: 236px; transform: translate(12%,-46%) rotate(9deg); }
.hero-fan-chip { position: absolute; z-index: 4; padding: 12px 18px; border-radius: 999px; font: 800 14px/1 Manrope,sans-serif; white-space: nowrap; box-shadow: 0 14px 34px rgba(23,23,19,.22); }
.hero-fan-chip.is-a { top: 9%; left: 2%; background: var(--ink); color: var(--lime); transform: rotate(-6deg); }
.hero-fan-chip.is-b { top: 46%; right: 0; background: var(--lime); color: var(--ink); transform: rotate(6deg); }
.hero-fan-chip.is-c { bottom: 8%; left: 10%; background: var(--blue); color: white; transform: rotate(-4deg); }

/* ---------- Screenshot strip (what's new) ---------- */
.feature-release-grid { gap: 18px; }
.release-shot { min-height: 0; flex: 0 0 236px; display: flex; flex-direction: column; gap: 14px; padding: 0; border: 0; border-radius: 0; background: none; overflow: visible; }
.release-shot figure { width: 100%; height: auto; margin: 0; display: block; }
.release-shot figure img { width: 100%; height: auto; border: 0; border-radius: 22px; box-shadow: 0 22px 44px rgba(0,0,0,.45); transition: transform .25s cubic-bezier(.2,.8,.2,1); }
.release-shot:hover figure img { transform: translateY(-6px); }
.release-shot > div { padding: 0 4px; }
.release-shot h3 { margin: 8px 0 0; font-size: 18px; line-height: 1.15; letter-spacing: -.02em; }
@media (min-width: 1240px) {
  /* All five fit: show them as a static row like an App Store listing. */
  .feature-release-grid { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); margin-inline: 0; padding-inline: 0; overflow: visible; }
  .release-shot { flex: none; }
  .feature-rail-toolbar { display: none; }
  .story-heading + .feature-rail-toolbar + .feature-release-grid { margin-top: 48px; }
}

/* ---------- Final call to action ---------- */
.final-cta .final-cta-phone { width: min(100%,270px); padding: 7px; border-radius: 38px; background: #0b0b0a; box-shadow: 0 0 0 2px #3a3a35, 0 30px 70px rgba(23,23,19,.32); }
.final-cta .final-cta-phone img { border: 0; border-radius: 32px; box-shadow: none; }

/* ---------- Tablet ---------- */
@media (max-width: 980px) {
  .hero-layout { grid-template-columns: 1fr; }
  .hero-fan { height: 600px; max-width: 620px; width: 100%; margin: 0 auto; }
}

/* ---------- Phone ---------- */
@media (max-width: 760px) {
  .hero { padding-top: 26px; padding-bottom: 40px; }
  .hero h1 { margin: 18px 0 16px; font-size: clamp(44px,12.5vw,58px); }
  .hero-copy { font-size: 16px; line-height: 1.5; }
  .hero-actions { margin-top: 22px; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
  .hero-actions .app-store-button, .hero-reels-link { width: 100%; min-height: 58px; justify-content: center; }
  .hero-actions .app-store-button { padding-inline: 12px; }
  .hero-actions .app-store-button strong { font-size: 18px; }
  .hero-reels-link { padding: 0 10px; gap: 8px; }
  .hero-reels-link .hero-reels-verb { display: none; }
  .hero-proof { margin-top: 24px; padding-top: 18px; gap: 10px; }
  .hero-proof b { font-size: 22px; }
  .hero-proof span { font-size: 12px; }
  .hero-fan { height: 440px; margin-top: 8px; }
  .hero-fan::before { inset: 10% 0 6%; }
  .hero-fan-phone { padding: 5px; border-radius: 28px; }
  .hero-fan-phone img { border-radius: 24px; }
  .hero-fan-phone.is-center { width: 190px; }
  .hero-fan-phone.is-left, .hero-fan-phone.is-right { width: 138px; }
  .hero-fan-phone.is-left { transform: translate(-92%,-45%) rotate(-8deg); }
  .hero-fan-phone.is-right { transform: translate(-8%,-45%) rotate(8deg); }
  .hero-fan-chip { padding: 10px 14px; font-size: 12px; }
  .hero-fan-chip.is-a { top: 4%; left: 0; }
  .hero-fan-chip.is-b { top: 52%; right: -4px; }
  .hero-fan-chip.is-c { bottom: 3%; left: 6%; }

  /* Community rail: peek at the next clip instead of one card per screen. */
  .clip-preview-rail .clip-card { flex-basis: 64vw; }

  .release-shot { flex-basis: 62vw; }
  .release-shot h3 { font-size: 16px; }
  .story-highlights li { padding: 13px 15px; }

  .final-cta { min-height: 0; padding-bottom: 0; }
  .final-cta .final-cta-phone { width: 190px; margin-bottom: -110px; padding: 5px; border-radius: 28px; }
  .final-cta .final-cta-phone img { border-radius: 24px; }
}
