/* prototypes/live/offers/page.css — live clone of www.applicaa.com/offers
 *
 * DEV-ONLY. Page-specific rules, scoped `.live-offers`. Page surface + padding classes come
 * from ../_shared/product.css (linked first). Measured from the live Webflow CSS; type and colour
 * from DS tokens. Live breakpoints 991px / 767px.
 *
 * P1 (the light hero) is the same `.hero-light-section` that partnerships, offers, demos,
 * security, webinars and roadshows all share on live. It is repeated verbatim in each of those six
 * page.css files under the class `lv-hero-light`: PROMOTION CANDIDATE for prototypes/live/_shared/
 * (this agent may not write there). Keep the six copies identical until it is promoted.
 */

/* P1 · Light hero — live `.hero-light-section`: sky wash (#2aabec 40% → 0), 360 min-height,
 * 88px top spacer under live's fixed header, content block padded 80 more, gap 16. */
.live-offers .lv-hero-light {
  display: flex; flex-direction: column; justify-content: center; align-items: center;
  width: 100%; min-height: 360px; padding: 88px 12px 60px;
  background-image: linear-gradient(color-mix(in srgb, var(--color-product-sky) 40%, transparent),
                                    color-mix(in srgb, var(--color-product-sky) 0%, transparent));
}
.live-offers .lv-hero-light-inner {
  display: flex; flex-direction: column; align-items: center; row-gap: 16px;
  width: 100%; max-width: 984px; padding-top: 80px; text-align: center;
}
.live-offers .lv-hero-light-title { max-width: 720px; }  /* live 660 at 51px; DS h1 is 56px */
.live-offers .lv-hero-light-desc { max-width: 806px; }
@media (max-width: 991px) {
  .live-offers .lv-hero-light { min-height: 0; padding-top: 48px; padding-bottom: 32px; }
  .live-offers .lv-hero-light-inner { padding-top: 40px; }
}
@media (max-width: 767px) {
  .live-offers .lv-hero-light { padding-bottom: 24px; }
}


/* P2 · Referral panel — live `.backgroundshadow`: 1128 max, 600 min-height, 12px radius,
 * 48px pad (left + vertical), gradient 98.72deg #547fff → #263c91 with the referral illustration
 * laid over it (cover, centred). Here the art is an <img> (so the CMS can point it at /m/:id)
 * absolutely filling the panel. The white card — `.backgroundshadow-2` — is 516 max, 48/40 pad,
 * 8px radius, gap 16. Live clips the card at a fixed 504px; that rule is dropped. */
.live-offers .lv-referral {
  position: relative; overflow: hidden;
  display: flex; align-items: flex-start;
  width: 100%; max-width: 1128px; min-height: 600px; margin-inline: auto;
  padding: 48px; border-radius: var(--radius-xl);
  background-image: linear-gradient(98.72deg,
    color-mix(in srgb, var(--color-info-blue) 80%, var(--color-white)), var(--color-ink-royal));
}
.live-offers .lv-referral-art {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center;
}
.live-offers .lv-referral-card {
  position: relative;
  display: flex; flex-direction: column; align-items: flex-start; row-gap: 16px;
  width: 100%; max-width: 516px; padding: 48px 40px;
  border-radius: var(--radius-lg); background-color: var(--color-paper);
  box-shadow: 0 10px 55px color-mix(in srgb, var(--color-ink-deep) 7%, transparent);
}
.live-offers .lv-referral-title { margin-block-start: 0; text-wrap: wrap; } /* live breaks greedily; DS headings balance */
@media (max-width: 767px) {
  .live-offers .lv-referral { min-height: 0; padding: 24px 16px; }
  .live-offers .lv-referral-art { opacity: .35; }
  .live-offers .lv-referral-card { padding: 32px 24px; }
}

/* Live's offer-card glow is a saturated red (#e40f00) with no DS token (coral-700 reads brown). */
.live-offers { --lv-red-glow: #e40f00; }

/* P3 · MAT discount — live `.background-3` / `.container-30`: copy (648 max, gap 24) and a 456px
 * illustration pushed apart; bars are a #ddd 16px-radius track with a coral fill. Live fills are
 * fixed px (300 / 129.6 / 64.8 of a 648 track) - kept as the same proportions so they hold on a
 * phone. */
.live-offers .lv-mat {
  display: flex; justify-content: space-between; align-items: flex-start; column-gap: 24px;
  width: 100%; max-width: 1128px; margin-inline: auto;
}
.live-offers .lv-mat-copy { display: flex; flex-direction: column; align-items: flex-start; row-gap: 24px; width: 100%; max-width: 648px; }
.live-offers .lv-mat-head { display: flex; flex-direction: column; row-gap: 22px; }
.live-offers .lv-mat-desc { max-width: 744px; }
.live-offers .lv-bars { display: flex; flex-direction: column; row-gap: 8px; width: 100%; }
.live-offers .lv-bar-row { display: flex; flex-direction: column; }
.live-offers .lv-bar-label { line-height: 26px; }
.live-offers .lv-bar-track {
  display: flex; width: 100%; overflow: hidden; border-radius: var(--radius-2xl);
  background-color: color-mix(in srgb, var(--color-ink-deep) 13%, transparent);
}
.live-offers .lv-bar-fill {
  display: block; padding-inline: 11px; text-align: right;
  background-color: var(--color-coral-500); color: var(--color-white);
  font-family: var(--font-heading); font-weight: 700; font-size: var(--font-size-body-xs); line-height: 19px;
}
.live-offers .lv-bar-fill-50 { width: 46.3%; }
.live-offers .lv-bar-fill-25 { width: 20%; }
.live-offers .lv-bar-fill-15 { width: 10%; min-width: 48px; }
.live-offers .lv-mat-art { flex: none; width: 100%; max-width: 456px; height: auto; }
@media (max-width: 767px) {
  .live-offers .lv-mat { flex-direction: column; align-items: center; row-gap: 32px; }
  .live-offers .lv-mat-art { max-width: 320px; }
}

/* P4 · Bursary16+ offer — live `.background-9`: copy left, two cards right (gap 24, 24px side
 * pad); cards are 236px tall, black 10% fill, white 16% hairline, 16px radius, red glow shadow. */
.live-offers .lv-bursary {
  display: flex; align-items: center; column-gap: 24px;
  width: 100%; max-width: 1128px; margin-inline: auto;
}
.live-offers .lv-bursary-copy { display: flex; flex-direction: column; align-items: flex-start; row-gap: 12px; width: 100%; }
.live-offers .lv-bursary-copy .h2 { max-width: 480px; }
.live-offers .lv-offer-ticks { display: flex; flex-direction: column; row-gap: 8px; color: var(--color-white); }
.live-offers .lv-offer-ticks li { display: flex; align-items: center; column-gap: 6px; font-size: var(--font-size-body-m); line-height: 24px; }
.live-offers .lv-offer-ticks i { flex: none; font-size: 14px; color: var(--color-warn-amber); }
.live-offers .lv-offer-cards { display: flex; align-items: flex-start; column-gap: 24px; width: 100%; padding-inline: 24px; }
.live-offers .lv-offer-card {
  display: flex; flex-direction: column; align-items: center; row-gap: 24px;
  width: 100%; min-height: 236px; padding: 24px 12px; text-align: center;
  border: 1px solid color-mix(in srgb, var(--color-white) 16%, transparent); border-radius: var(--radius-2xl);
  background-color: color-mix(in srgb, var(--color-ink-deep) 10%, transparent);
  box-shadow: 30px 42px 72px var(--lv-red-glow), 24px 56px 56px color-mix(in srgb, var(--color-ink-deep) 6%, transparent);
}
.live-offers .lv-offer-card .h4 { max-width: 216px; font-weight: 700; }
.live-offers .lv-offer-icon { width: 64px; height: auto; }
.live-offers .lv-offer-sub { max-width: 216px; color: color-mix(in srgb, var(--color-white) 64%, transparent); }
@media (max-width: 767px) {
  .live-offers .lv-bursary { flex-direction: column; align-items: stretch; row-gap: 32px; }
  .live-offers .lv-offer-cards { padding-inline: 0; column-gap: 12px; }
  .live-offers .lv-offer-card { min-height: 0; }
}

/* B-HOLD · These buttons are NOT Webflow `.button` on live (button-style-39): no hover and no
 * pressed state. Hold the resting look - no colour change, no text-shadow, no 1px press (ix merge
 * 2026-11-22; live classes read from the live page source; selected by each button's own href). */
.live-offers a.btn-primary[href="https://applicaa.referral-factory.com/ci5VoOAV/signup"]:hover,
.live-offers a.btn-primary[href="https://applicaa.referral-factory.com/ci5VoOAV/signup"]:active {
  background-color: var(--color-coral-500); border-color: var(--color-coral-500);
  text-shadow: none; transform: none;
}
