/* prototypes/live/mat/page.css - live clone of www.applicaa.com/mat (MAT Dashboard)
 *
 * DEV-ONLY prototype stylesheet, same split as the pilot (admissions-post16/page.css):
 *
 *   ../_shared/product.css  the shared live template (linked before this file, scoped .live-page).
 *   PART B                devices only this page has so far (scoped `.live-mat`).
 *
 * Rules (ai-docs/coding-standards.md §2 Overrides): visuals measured from the live Webflow CSS,
 * type and colour from DS tokens; narrowest property, no important flags, live breakpoints 991/767.
 */

/* Shared template rules (page surface, stacks, opener, hero, intro, testimonial, lightbox)
 * come from ../_shared/product.css. Only the measure the template lacks stays here. */
.live-mat .lv-measure-800 { max-width: 800px; }

/* ═══════════════════════════════════════════════════════════════════════════════════════════
 * PART B · PAGE-SPECIFIC (mat)
 * ═══════════════════════════════════════════════════════════════════════════════════════════ */

/* B1 · Section padding with this page's live steps. Live's `.section-white` and
 * `.section-lightb/-lighty` step to 40px at ≤991 (not the pilot's 32), and the cream
 * `_09section-two-way-communication` keeps its 64px bottom at every width. */
.live-mat .section.lv-pt-48-40 { padding-top: 48px; }
.live-mat .section.lv-pb-48-40 { padding-bottom: 48px; }
.live-mat .section.lv-pt-64-40 { padding-top: 64px; }
.live-mat .section.lv-pb-64-40 { padding-bottom: 64px; }
.live-mat .section.lv-pt-64-32 { padding-top: 64px; }
.live-mat .section.lv-pb-64   { padding-bottom: 64px; }
.live-mat .section.lv-pt-64   { padding-top: 64px; }
@media (max-width: 991px) {
  .live-mat .section.lv-pt-48-40,
  .live-mat .section.lv-pt-64-40 { padding-top: 40px; }
  .live-mat .section.lv-pb-48-40,
  .live-mat .section.lv-pb-64-40 { padding-bottom: 40px; }
  .live-mat .section.lv-pt-64-32 { padding-top: 32px; }
}

/* B2 · Narrow hero - live `.section-hero-1.narrow`: 560px, 320px at ≤991; the 88px
 * (56px at ≤767) header spacers sit above and below the centred meta. */
.live-mat .lv-hero-narrow { justify-content: center; height: 560px; padding-block: 88px; }
.live-mat .lv-hero-logo { width: 384px; max-width: 100%; height: auto; }
.live-mat .lv-hero-narrow .lv-hero-title { max-width: 960px; }
@media (max-width: 991px) { .live-mat .lv-hero-narrow { height: 320px; } }
@media (max-width: 767px) { .live-mat .lv-hero-narrow { padding-block: 56px; } }

/* B3 · Trust logos under the intro - live `.mis-logo-block` (148 × 56 white cards, 8px pad,
 * 1px ring + soft shadow). Live wires these to the MIS data panels (copy-paste bug); here
 * they are static logos. They shrink with the row on a phone, as live. */
.live-mat .lv-logos { display: flex; justify-content: center; column-gap: 16px; width: 100%; height: 56px; }
.live-mat .lv-logo {
  display: flex; justify-content: center; align-items: center; flex: 0 1 148px; min-width: 0;
  padding: 8px; border-radius: var(--radius-lg); background-color: var(--color-paper);
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--color-ink-deep) 8%, transparent), var(--shadow-card);
}
.live-mat .lv-logo img { max-width: 100%; max-height: 40px; width: auto; height: auto; }

/* B4 · White feature boxes - live `.white-feature-box`: 3-up (33% − 16px, max 420), 1px hairline,
 * 12px radius, 16px pad, gap 12; 2-up at ≤991, stacked at ≤767. Live stacks them with a 0 gap
 * on a phone so the borders touch; a 12px gap is kept here (fix). */
.live-mat .lv-boxes { display: flex; flex-wrap: wrap; justify-content: center; align-items: flex-start; gap: 24px; width: 100%; }
.live-mat .lv-box {
  display: flex; flex-direction: column; align-items: center; row-gap: 12px;
  width: calc(33.3333% - 16px); max-width: 420px; padding: 16px;
  border: 1px solid color-mix(in srgb, var(--color-ink-deep) 8%, transparent);
  border-radius: var(--radius-xl); background-color: var(--color-paper);
}
.live-mat .lv-box-copy { display: flex; flex-direction: column; row-gap: 4px; width: 100%; }
.live-mat .lv-box-icon-64 { width: 64px; height: 64px; }
.live-mat .lv-box-icon-48 { width: 48px; height: 48px; }
.live-mat .lv-closing-line { margin-top: 8px; text-align: center; }
@media (max-width: 991px) {
  .live-mat .lv-boxes { gap: 12px; }
  .live-mat .lv-box { width: calc(50% - 6px); }
}
@media (max-width: 767px) { .live-mat .lv-box { width: 100%; } }

/* B5 · Scalable solutions - live `.page-horizontal-container` (row-reverse: 600px copy right,
 * 600px screenshot left, space-around, gap 24); copy first in a column at ≤991. */
.live-mat .lv-scale { display: flex; flex-direction: row-reverse; justify-content: space-around; align-items: center; gap: 24px; width: 100%; }
.live-mat .lv-scale-copy { display: flex; flex-direction: column; align-items: flex-start; row-gap: 24px; width: 100%; max-width: 600px; }
.live-mat .lv-scale-shot {
  width: 100%; max-width: 600px; height: auto; border-radius: var(--radius-2\.5);
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--color-ink-royal) 12%, transparent), var(--shadow-card);
}
.live-mat .lv-ticks { display: flex; flex-direction: column; row-gap: 12px; margin-block: 0; padding-left: 0; list-style: none; }
.live-mat .lv-tick { display: flex; align-items: flex-start; column-gap: 8px; }
.live-mat .lv-tick > i { flex: none; margin-top: 5px; color: var(--color-product-green); font-size: var(--font-size-body-l); }
@media (max-width: 991px) {
  .live-mat .lv-scale { flex-direction: column; }
}

/* B6 · Features - live `.frame-1707478874.col-4-desktop`: four across (25% − 18px), tinted
 * 16px-radius tiles, 16px pad, gap 12; three across at ≤991, stacked (max 420) at ≤767. */
.live-mat .lv-tiles { display: flex; flex-wrap: wrap; justify-content: center; align-items: flex-start; gap: 24px; width: 100%; }
.live-mat .lv-tile {
  display: flex; flex-direction: column; align-items: center; row-gap: 12px;
  width: calc(25% - 18px); padding: 16px; text-align: center;
  border-radius: var(--radius-2xl); background-color: var(--color-page-bg);
}
.live-mat .lv-tile-icon { width: 48px; height: 48px; }
@media (max-width: 991px) {
  .live-mat .lv-tiles { gap: 12px; }
  .live-mat .lv-tile { width: calc(33.3333% - 8px); }
}
@media (max-width: 767px) { .live-mat .lv-tile { width: 100%; max-width: 420px; } }

/* B7 · Three steps on the blue band - live `.col-3-desktop.left`: 40px tick, then title +
 * text, 33% − 16px; 2-up at ≤991, stacked (max 420) at ≤767. */
.live-mat .lv-steps { display: flex; flex-wrap: wrap; justify-content: center; align-items: flex-start; gap: 24px; width: 100%; }
.live-mat .lv-step { display: flex; flex-direction: column; align-items: flex-start; row-gap: 16px; width: calc(33.3333% - 16px); }
.live-mat .lv-step-icon { color: var(--color-ok-green-soft); font-size: 40px; line-height: 1; }
.live-mat .lv-step-copy { display: flex; flex-direction: column; row-gap: 8px; padding-top: 3px; }
@media (max-width: 991px) {
  .live-mat .lv-steps { gap: 12px; }
  .live-mat .lv-step { width: calc(50% - 6px); }
}
@media (max-width: 767px) { .live-mat .lv-step { width: 100%; max-width: 420px; } }

/* B8 · Testimonial panel - live `.section-testimonial-block`: cream, 16px radius, 64px side pad,
 * 1352 max. Live keeps the 64px pad on a phone (a 230px-wide column); 16px here (fix). */
.live-mat .lv-quote-panel {
  width: 100%; max-width: 1352px; margin-inline: auto; padding-inline: 64px;
  border-radius: var(--radius-2xl); background-color: var(--color-light-yellow); overflow: hidden;
}
.live-mat .lv-quote-panel .lv-quote { max-width: 1224px; margin-inline: auto; }
.live-mat .lv-quote-copy-centre { align-items: center; row-gap: 24px; text-align: center; }
.live-mat .lv-quote-text { padding-inline: 24px; }
@media (max-width: 767px) { .live-mat .lv-quote-panel { padding-inline: 16px; padding-block: 16px 24px; } }

/* B9 · Destination reporting - three icon notes either side of a laptop over a light-blue
 * blob; the laptop moves above both columns at ≤991. Live `.section-content-8.big`. */
.live-mat .lv-device-row { display: flex; justify-content: center; align-items: center; column-gap: 24px; width: 100%; }
.live-mat .lv-notes { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; row-gap: 24px; width: 100%; }
.live-mat .lv-note {
  display: flex; flex-direction: column; align-items: center; row-gap: 12px;
  width: 100%; max-width: 320px; padding-block: 12px; text-align: center;
}
.live-mat .lv-note-icon { width: 48px; height: 48px; }
.live-mat .lv-device { flex: none; width: 100%; max-width: 640px; padding-block: 32px; }
.live-mat .lv-device-frame { position: relative; }
.live-mat .lv-device-blob { position: absolute; top: -19px; left: 16px; width: 95%; height: auto; }
.live-mat .lv-device-shot { position: relative; display: block; width: 100%; height: auto; }
@media (max-width: 991px) {
  .live-mat .lv-device-row { flex-direction: column; }
  .live-mat .lv-device { order: -1; }
  .live-mat .lv-notes { row-gap: 0; }
}
@media (max-width: 767px) { .live-mat .lv-device { padding-top: 0; } }

