/* prototypes/live/data/page.css — live clone of www.applicaa.com/data
 *
 * DEV-ONLY. Page-specific deltas only, scoped `.live-data`. The product-page template (hero,
 * switcher, intro, opener, badges, padding, white ticks, landing chips …) comes from
 * ../_shared/product.css, linked before this file.
 *
 * Rules (ai-docs/coding-standards.md §2 Overrides): visuals measured from the Webflow CSS; type
 * and colour from DS tokens; narrowest properties; no !important; live breakpoints 991 / 767.
 *
 *   D1  padding step the shared A2b set lacks; intro measure
 *   D2  four-step timeline band — now shared: ../_shared/product.css A31 (.lv-steps-band)
 *   D3  "hard work" rows, copy and screenshot alternating (.data-hard-work-*)
 *   D4  "Accurate and reliable" navy band: copy right, screenshot left (.frame-1707478924)
 *   D5  live tracking: cream pad round a blue rounded panel (.progress-pads > .section-progress.narrow)
 */

/* D1 · Padding + measures. */
@media (max-width: 991px) { .live-data .section.lv-md-pb-56 { padding-bottom: 56px; } }
.live-data .lv-measure-860 { max-width: 860px; }
.live-data .lv-measure-800 { max-width: 800px; }

/* D2 · Steps band — promoted to ../_shared/product.css A31 (`.lv-steps-band`). */

/* D3 · Hard-work rows — 1016 max list, gap 24; each row two equal halves, gap 24. At ≤991 the
 * list narrows to 640 (gap 32) and each row stacks screenshot-first. */
.live-data .lv-work-list { display: flex; flex-direction: column; row-gap: 24px; width: 100%; max-width: 1016px; }
.live-data .lv-work-row { display: flex; justify-content: center; align-items: center; column-gap: 24px; width: 100%; }
.live-data .lv-work-meta { display: flex; flex-direction: column; align-items: center; row-gap: 8px; width: 100%; text-align: center; }
.live-data .lv-work-shot {
  position: relative; width: 100%; overflow: hidden; border-radius: var(--radius-xl);
}
.live-data .lv-work-shot::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; border-radius: var(--radius-xl);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--color-ink-deep) 12%, transparent);
}
.live-data .lv-work-shot img { display: block; width: 100%; height: auto; }
@media (max-width: 991px) {
  .live-data .lv-work-list { row-gap: 32px; max-width: 640px; align-self: center; }
  .live-data .lv-work-row { flex-direction: column; row-gap: 16px; column-gap: 16px; }
  .live-data .lv-work-meta { row-gap: 4px; max-width: 520px; }
  .live-data .lv-work-shot { order: -1; }
}

/* D4 · Accurate and reliable — row-reversed halves, gap 24; ticks 520 max, gap 12. At ≤991 it
 * stacks copy-first and the tick list sits on an 8% white panel. */
.live-data .lv-accurate {
  display: flex; flex-direction: row-reverse; justify-content: space-around; align-items: center;
  column-gap: 24px; row-gap: 24px;
}
.live-data .lv-accurate-copy { display: flex; flex-direction: column; align-items: flex-start; row-gap: 16px; width: 100%; }
.live-data .lv-accurate-ticks { row-gap: 12px; width: 100%; max-width: 520px; }
.live-data .lv-accurate-ticks > li { line-height: 24px; }
.live-data .lv-accurate-shot {
  width: 100%; height: auto; min-width: 0; border-radius: var(--radius-2.5);
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--color-ink-deep) 12%, transparent), var(--shadow-card);
}
@media (max-width: 991px) {
  .live-data .lv-accurate { flex-direction: column; }
  .live-data .lv-accurate-copy { align-items: center; text-align: center; }
  .live-data .lv-accurate-copy .lv-head-start { align-items: center; }
  .live-data .lv-accurate-ticks {
    row-gap: 8px; padding: 12px; border-radius: var(--radius-xl); text-align: left;
    background-color: color-mix(in srgb, var(--color-white) 8%, transparent);
  }
}

/* D5 · Live tracking — cream pad (56 top, runs 80px under section 07) round a blue 16px-radius
 * panel (1366 max, 64 top, 16 ≤991, no bottom pad). Dashboard 784 left, copy 392 right; at ≤991
 * the panel stacks dashboard-first with the copy centred under it. Live mid-blue `#407cea` = `--lv-blue-mid`. */
.live-data .lv-track-pad { position: relative; z-index: 1; display: flex; justify-content: center; margin-bottom: -80px; }
.live-data .lv-track-panel {
  display: flex; flex-direction: column; align-items: center; width: 100%; max-width: 1366px;
  padding-top: 64px; padding-inline: 12px; overflow: hidden;
  border-radius: var(--radius-2xl); background-color: var(--lv-blue-mid);
}
.live-data .lv-track-row { display: flex; justify-content: space-between; align-items: center; width: 100%; max-width: 1224px; }
.live-data .lv-track-dash {
  flex: 0 1 784px; min-width: 0; height: auto;
  border-top-left-radius: var(--radius-lg); border-top-right-radius: var(--radius-lg);
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--color-ink-deep) 12%, transparent);
}
.live-data .lv-track-text { display: flex; flex-direction: column; align-items: flex-start; row-gap: 16px; width: 100%; max-width: 392px; }
@media (max-width: 991px) {
  .live-data .lv-track-panel { padding-top: 16px; }
  .live-data .lv-track-row { flex-direction: column; }
  .live-data .lv-track-dash { flex: none; width: 100%; max-width: 784px; border-radius: var(--radius-lg); }
  .live-data .lv-track-text { align-items: center; max-width: 560px; padding-block: 24px 40px; text-align: center; }
}
@media (max-width: 767px) { .live-data .lv-track-text { row-gap: 12px; } }

/* D6 · Hero copy position — live `.section-hero-1` is space-between over three children
 * (88px spacer, `.hero-meta`, switcher), so the logo + title sit centred in the free space;
 * shared A7 pins the meta to the top. Live's logo keeps its natural width on phones. */

/* D7 · Data+ does the hard work — live closes the column with an empty `.section-actions-14`
 * whose 24px row gap still counts, so the band ends 72px (64 ≤991) under the last row. */
.live-data .lv-pb-72 { padding-bottom: 72px; }


/* CMS-only (fleet group C, not in prototypes/live/data/page.css): the chip icon assets/fi-6261546.svg
 * is served from the media library as /m/869, a 120x120 WebP (the SVG's filter would not survive the
 * sanitiser), so it rendered at its intrinsic 120px instead of the SVG's 40px and the chip row grew
 * 53px. Pin the chip icons to the 40px the local SVGs declare. */
.live-data .lv-chip img { width: 40px; height: 40px; }
