/* Landing showcase sections (9/26): "What goes in your app", the niche wall, "How it works".
   Ported from the Claude Design mockup (leadradar/site/homepage-sections.dc.html). Most styling is
   inline on the markup; this file only carries layout that has to change by screen size, plus the
   wall animation. Plain CSS on purpose: it is not part of the Tailwind build. */

.ls-sec { padding: 96px 0 112px; border-bottom: 2px solid #131313; }
.ls-head { display: flex; flex-direction: column; align-items: flex-start; gap: 22px; max-width: 820px; }
.ls-h2 { font-family: 'Archivo Black', sans-serif; text-transform: uppercase; font-size: clamp(40px, 6vw, 72px); line-height: .95; margin: 0; text-wrap: balance; }
.ls-h2 mark { background: #FFD23F; color: inherit; padding: 0 12px; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.ls-lede { font-size: clamp(18px, 2vw, 24px); line-height: 1.35; margin: 0; font-weight: 500; max-width: 680px; text-wrap: pretty; }
.ls-tag { font-family: 'IBM Plex Mono', monospace; font-size: 12px; font-weight: 600; letter-spacing: .12em; border: 2px solid #131313; padding: 6px 12px; background: #fff; box-shadow: 3px 3px 0 #131313; }

/* Section 1: three phones */
.ls-pillars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; margin-top: 72px; }
.ls-pillar { position: relative; display: flex; flex-direction: column; align-items: center; padding-top: 36px; }

/* Section 2: niche wall */
.ls-wall-sec { background: #0FA3B1; overflow: hidden; }
.ls-wall-top { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; flex-wrap: wrap; }
.ls-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; width: 480px; max-width: 100%; font-family: 'IBM Plex Mono', monospace; }
.ls-wall { display: flex; flex-direction: column; gap: 40px; margin-top: 64px; overflow: hidden; }
.ls-row { display: flex; width: max-content; }
.ls-row-l { animation: lsWallLeft 175s linear infinite; }
.ls-row-r { animation: lsWallRight 200s linear infinite; }
.ls-row:hover { animation-play-state: paused; }
@keyframes lsWallLeft { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes lsWallRight { from { transform: translateX(-50%); } to { transform: translateX(0); } }
@media (prefers-reduced-motion: reduce) {
  .ls-row-l, .ls-row-r { animation: none; }
  .ls-row { width: auto; overflow-x: auto; }
  .ls-dup { display: none !important; }
}

/* Section 3: timeline */
.ls-timeline { position: relative; padding: 24px 0; margin-top: 80px; }
.ls-timeline-line { position: absolute; left: -24px; right: -24px; top: 50%; height: 6px; background: #131313; transform: translateY(-50%); }
.ls-steps { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; align-items: stretch; }

@media (max-width: 1000px) {
  .ls-pillars { grid-template-columns: 1fr; gap: 72px; max-width: 420px; margin-left: auto; margin-right: auto; }
  .ls-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ls-timeline-line { display: none; }
}
@media (max-width: 600px) {
  .ls-sec { padding: 72px 0 88px; }
  .ls-steps { grid-template-columns: 1fr; gap: 24px; }
  .ls-stats { width: 100%; gap: 12px; }
  .ls-stats > div { padding: 12px 12px !important; }
  .ls-stats > div > span:first-child { font-size: 28px !important; white-space: nowrap; }
  .ls-stats > div > span:last-child { font-size: 10px !important; }
  .ls-wall { margin-top: 48px; gap: 28px; }
}
