/* prototypes/live/exams/page.css — live clone of www.applicaa.com/exams
 *
 * DEV-ONLY. Page-specific deltas only, scoped `.live-exams`. The product-page template (hero,
 * switcher, intro, opener, badges, testimonial meta …) 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.
 *
 *   E1  padding classes this page needs that the shared A2 set lacks
 *   E2  measures + the blue → navy band
 *   E3  "big header": title left, button beside it, description under (.section-big-header)
 *   E4  four steps across (.event-feature-meta-2)
 *   E5  2 × 2 screenshot cards on the blue band (.frame-1707478823)
 *   E6  testimonial with a photo (.testimonial-combination)
 *   E7  personalised landing pages: artwork + three notes
 *   E8  dashboard under the tracking copy
 *   E9  two-way comms: copy + a tall collage that bleeds past the band (.section-blue)
 *
 * Live bug fixed: E7 — on a phone live's 496px artwork overflows the 390px screen.
 */

/* E1 · Padding. Names are literal: first value desktop, second the ≤991 step (or "all"). */
.live-exams .section.lv-py-64-40  { padding-block: 64px; }
.live-exams .section.lv-py-48-40  { padding-block: 48px; }
.live-exams .section.lv-py-48-all { padding-block: 48px; }
.live-exams .section.lv-py-64-all { padding-block: 64px; }
.live-exams .section.lv-pt-64-16  { padding-top: 64px; }
@media (max-width: 991px) {
  .live-exams .section.lv-py-64-40,
  .live-exams .section.lv-py-48-40 { padding-block: 40px; }
  .live-exams .section.lv-pt-64-16 { padding-top: 16px; }
}

/* E2 · Measures; live `.section-style-2` runs info blue down to navy (the DS hero gradient runs
 * the other way, so it is composed here from the same two tokens). */
.live-exams .lv-measure-720 { max-width: 720px; }
.live-exams .lv-measure-800 { max-width: 800px; }
.live-exams .lv-measure-860 { max-width: 860px; }
.live-exams .lv-bg-blue-navy { background-image: linear-gradient(var(--color-info-blue), var(--color-ink-royal)); }

/* E3 · Big header — badge + title (gap 4) beside a 288px action slot, aligned to the bottom. */
.live-exams .lv-bighead { display: flex; flex-direction: column; align-items: flex-start; row-gap: 8px; width: 100%; }
.live-exams .lv-bighead-row { display: flex; align-items: flex-end; column-gap: 16px; width: 100%; }
.live-exams .lv-head-4 { row-gap: 4px; }
.live-exams .lv-bighead-actions { display: flex; justify-content: flex-start; width: 100%; max-width: 288px; }
.live-exams .lv-bighead-desc { max-width: 800px; }
@media (max-width: 991px) {
  .live-exams .lv-bighead { align-items: center; }
  .live-exams .lv-bighead-row { flex-direction: column; align-items: center; }
  .live-exams .lv-bighead-actions { justify-content: center; }
  .live-exams .lv-bighead-desc { text-align: center; }
}

/* E4 · Four steps — 25% − 18px, 50% − 6px ≤991, one 420px column ≤767. */
.live-exams .lv-grid-steps { display: flex; flex-wrap: wrap; justify-content: center; align-items: flex-start; gap: 24px; width: 100%; }
.live-exams .lv-grid-step { display: flex; flex-direction: column; align-items: flex-start; row-gap: 12px; width: calc(25% - 18px); }
.live-exams .lv-grid-step > img { flex: none; width: 48px; height: 48px; }
.live-exams .lv-grid-step-copy { display: flex; flex-direction: column; row-gap: 4px; width: 100%; padding-top: 16px; }
@media (max-width: 991px) {
  .live-exams .lv-grid-steps { gap: 12px; }
  .live-exams .lv-grid-step { width: calc(50% - 6px); }
}
@media (max-width: 767px) {
  .live-exams .lv-grid-steps { flex-direction: column; align-items: center; gap: 0; }
  .live-exams .lv-grid-step { width: 100%; max-width: 420px; }
}

/* E5 · Screenshot cards on the blue band — 496px each in a 1016px row. */
.live-exams .lv-feature-cards { display: flex; flex-wrap: wrap; justify-content: flex-start; align-items: flex-start; gap: 24px; width: 100%; max-width: 1016px; }
.live-exams .lv-feature-card { display: flex; flex-direction: column; row-gap: 8px; width: 100%; max-width: 496px; }
.live-exams .lv-feature-thumb {
  width: 100%; overflow: hidden; border-radius: var(--radius-xl); box-shadow: var(--shadow-card);
  background-color: color-mix(in srgb, var(--color-white) 16%, transparent);
}
.live-exams .lv-feature-thumb img { display: block; width: 100%; height: auto; }
@media (max-width: 991px) { .live-exams .lv-feature-cards { justify-content: center; } }

/* E6 · Testimonial with photo — heading, then 40px down a row-reversed photo + quote. */
.live-exams .lv-testi-wrap { display: flex; flex-direction: column; align-items: center; row-gap: 40px; }
.live-exams .lv-testi {
  display: flex; flex-direction: row-reverse; justify-content: space-around; align-items: center;
  column-gap: 24px; row-gap: 24px; width: 100%; overflow: hidden; border-radius: var(--radius-xl);
}
.live-exams .lv-testi-photo { width: 480px; max-width: 100%; height: auto; border-radius: var(--radius-xl); }
.live-exams .lv-testi-copy { display: flex; flex-direction: column; align-items: flex-start; row-gap: 24px; width: 100%; max-width: 648px; }
.live-exams .lv-testi-mark { color: var(--color-coral-500); font-size: 48px; line-height: 1; }
@media (max-width: 991px) {
  .live-exams .lv-testi-wrap { max-width: 728px; }
  .live-exams .lv-testi { flex-direction: column; }
  .live-exams .lv-testi-copy { align-items: center; text-align: center; }
}
@media (max-width: 767px) { .live-exams .lv-testi { row-gap: 0; } }

/* E7 · Personalised landing pages — notes right (420px each), artwork left (704px). */
.live-exams .lv-landing {
  display: flex; flex-direction: row-reverse; justify-content: space-around; align-items: center;
  column-gap: 24px; row-gap: 24px; width: 100%;
}
.live-exams .lv-landing-notes { display: flex; flex-direction: column; align-items: center; row-gap: 12px; width: 100%; }
.live-exams .lv-landing-note { display: flex; flex-direction: column; align-items: flex-start; row-gap: 8px; width: 100%; max-width: 420px; padding: 16px; }
.live-exams .lv-landing-note > img { width: 48px; height: 48px; }
.live-exams .lv-landing-art { flex: none; width: 704px; max-width: 100%; height: auto; }
@media (max-width: 991px) {
  .live-exams .lv-landing { flex-direction: column; }
  .live-exams .lv-landing-note { align-items: center; padding-bottom: 0; text-align: center; }
  .live-exams .lv-landing-art { width: 496px; }
}
@media (max-width: 767px) { .live-exams .lv-landing { row-gap: 0; } }

/* E8 · Dashboard — live fixes it at 960 × 478 and crops (object-fit) as the screen narrows. */
.live-exams .lv-dashboard {
  width: 100%; max-width: 960px; height: 478px; object-fit: cover;
  border-top-left-radius: var(--radius-2.5); border-top-right-radius: var(--radius-2.5);
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--color-ink-deep) 12%, transparent), var(--shadow-card);
}

/* E9 · Two-way comms — copy 496px left; the collage fills a 564px slot right and overflows it
 * top and bottom (clipped by the band). Stacks collage-first at ≤991, pulled up 104px. */
.live-exams .lv-comms-split {
  display: flex; flex-direction: row-reverse; justify-content: space-around; align-items: center;
  column-gap: 40px; row-gap: 40px;
}
.live-exams .lv-comms-collage { position: relative; flex: 1 1 auto; display: flex; justify-content: center; width: 100%; height: 564px; }
.live-exams .lv-comms-collage img {
  position: absolute; top: 50%; left: 0; transform: translateY(-50%);
  width: 100%; height: auto; border-radius: var(--radius-2xl);
}
.live-exams .lv-comms-copy { display: flex; flex-direction: column; align-items: flex-start; row-gap: 16px; width: 100%; max-width: 496px; }
.live-exams .lv-comms-list { display: flex; flex-direction: column; row-gap: 16px; width: 100%; padding-block: 16px; }
.live-exams .lv-comms-list > li { display: flex; align-items: flex-start; column-gap: 12px; }
.live-exams .lv-comms-list > li > img { flex: none; width: 40px; height: 40px; }
.live-exams .lv-comms-list-copy { display: flex; flex-direction: column; row-gap: 4px; padding-top: 12px; text-align: left; }
@media (max-width: 991px) {
  .live-exams .lv-comms-split { flex-direction: column; row-gap: 32px; }
  .live-exams .lv-comms-collage { order: -1; height: auto; }
  .live-exams .lv-comms-collage img { position: relative; top: auto; transform: none; max-width: 496px; margin-top: -104px; }
  .live-exams .lv-comms-copy { align-items: center; text-align: center; }
}
@media (max-width: 767px) { .live-exams .lv-comms-split { row-gap: 0; } }

/* E10 · 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. */

