@import url("https://applicaa.github.io/ndes/style.css?v=1.0.4") layer(base.ndes);

/* national-enrolment-day-survey-2025 — page deltas (scope .live-national-enrolment-day-survey-2025).
 * The survey app's own stylesheet is imported into a sub-layer of base, so its global Tailwind v3
 * preflight cannot override DS components (loaded unlayered, as on live, it reset the hero badge,
 * title and button on this page). Shared template rules (padding classes, .lv-head, .lv-stack-24) come from ../_shared/product.css.
 */

/* Live has no site chrome here; the injected fixed header (88px, 60 ≤991) sits over the page top,
   so the hero's 24px top pad becomes 24 + header height. */
/* 01 · Hero — live .hero-light-section.ndes-hero: sky wash #2aabec 40% -> transparent (as the pricing
   hero maps it), 24px top / 0 bottom (24 top at every width), 12px side pad; row-reverse, two calc(50% - 12px)
   columns, gap 24; illustration hangs 34px (31 ≤991) into the survey band. ≤991 copy first (max
   560, centred), art after it (max 380, tucked 24px up under the copy). Copy: badge, 38px title (DS .h2), 19/28 desc. */
.live-national-enrolment-day-survey-2025 .lv-ndes-hero {
  position: relative; z-index: 1;
  padding: 112px 12px 0;
  background-image: linear-gradient(color-mix(in srgb, var(--color-product-sky) 40%, transparent), transparent);
}
.live-national-enrolment-day-survey-2025 .lv-ndes-hero-row {
  display: flex; flex-direction: row-reverse; justify-content: space-around; align-items: center; gap: 24px;
}
.live-national-enrolment-day-survey-2025 .lv-ndes-hero-art,
.live-national-enrolment-day-survey-2025 .lv-ndes-hero-copy {
  display: flex; flex-direction: column; row-gap: 16px; width: calc(50% - 12px);
}
.live-national-enrolment-day-survey-2025 .lv-ndes-hero-art { align-items: center; }
.live-national-enrolment-day-survey-2025 .lv-ndes-hero-copy { align-items: flex-start; }
.live-national-enrolment-day-survey-2025 .lv-ndes-hero-img { display: block; width: 100%; height: auto; margin-bottom: -34px; }
.live-national-enrolment-day-survey-2025 .lv-ndes-hero-desc { margin-block: 0 4px; }
@media (max-width: 991px) {
  .live-national-enrolment-day-survey-2025 .lv-ndes-hero { padding-top: 84px; }
  .live-national-enrolment-day-survey-2025 .lv-ndes-hero-row { flex-direction: column; }
  .live-national-enrolment-day-survey-2025 .lv-ndes-hero-copy {
    width: 100%; max-width: 560px; row-gap: 12px; align-items: center; text-align: center;
  }
  .live-national-enrolment-day-survey-2025 .lv-ndes-hero-art {
    position: relative; z-index: -1; order: 1; width: 100%; max-width: 380px; margin-top: -24px; pointer-events: none;
  }
  .live-national-enrolment-day-survey-2025 .lv-ndes-hero-img { margin-bottom: -31px; }
}
@media (max-width: 767px) {
  .live-national-enrolment-day-survey-2025 .lv-ndes-hero-row { gap: 0; }
  .live-national-enrolment-day-survey-2025 .lv-ndes-hero-desc { margin-bottom: 0; }
}

/* 02 · Survey — the external app mounts here, pulled up 32px (20 ≤991) under the hanging art.
   Live's embed also forces the app's own min-h-screen wrapper transparent. */
.live-national-enrolment-day-survey-2025 .lv-ndes-survey-box { display: flex; flex-direction: column; align-items: center; margin-top: -32px; position: relative; z-index: 2; }
/* z-index 2 (over the hero's 1): on live the survey card covers the hanging illustration's foot,
   so the art never sits on top of the card's first heading. */
.live-national-enrolment-day-survey-2025 .lv-ndes-survey-content { width: 100%; scroll-margin-top: 100px; }
/* The DS base heading/label sizes outrank the app's Tailwind (it sits in a lower layer), which blew
   its 18px question titles up to 24-40px. Restore live's app sizes: 18px titles, 14px options, body face. */
.live-national-enrolment-day-survey-2025 #ndes-content { font-family: var(--font-sans); }
.live-national-enrolment-day-survey-2025 #ndes-content :is(h2, h3) { font-size: var(--font-size-body-l); line-height: 1.25; margin-block-end: 0; }
/* Likewise the DS list reset beat the app's space-y-7 (28px between questions). */
.live-national-enrolment-day-survey-2025 #ndes-content .space-y-7 > li + li { margin-block-start: 28px; }
.live-national-enrolment-day-survey-2025 #ndes-content label { font-size: var(--font-size-body-s); line-height: 1.5; }
.live-national-enrolment-day-survey-2025 #ndes-content .min-h-screen { background-color: transparent; }
/* The app's enabled "Get my results" fill is an arbitrary class (bg-[#EC634B]) that only its own
   sheet defines. That sheet sits in a sub-layer of base, so preflight's transparent button
   background beat it and the white label vanished on the white card. Restore the coral fill. */
.live-national-enrolment-day-survey-2025 #ndes-content button.bg-\[\#EC634B\] { background-color: var(--color-coral-500); }
.live-national-enrolment-day-survey-2025 #ndes-content button.bg-\[\#EC634B\]:hover { background-color: var(--color-coral-600); }
/* Same cause, interactive states (ix sweep 2026-11-22): the app's hover/selected rules sit in base.ndes
   and lose to the DS layers, so options never react to hover, a picked option loses its blue border +
   2px ring, and Reset loses its hover wash. Restored on DS tokens (live: neutral-300 / blue-500 /
   blue-200 / neutral-50, 150ms). */
.live-national-enrolment-day-survey-2025 #ndes-content label.border-neutral-200:hover { border-color: var(--color-neutral-300); }
.live-national-enrolment-day-survey-2025 #ndes-content label.ring-2 {
  border-color: var(--color-blue-500);
  box-shadow: 0 0 0 2px var(--color-blue-200);
}
.live-national-enrolment-day-survey-2025 #ndes-content button.bg-white:hover { background-color: var(--color-page-bg-soft); }
@media (max-width: 991px) {
  .live-national-enrolment-day-survey-2025 .lv-ndes-survey-box { margin-top: -20px; }
}

/* 03 · Testimonials — three white cards, 16px radius, 32 pad, gap 24, stretch; column ≤991. Logos at
   live's widths (185 / 185 / 111.5). Quote text 19/28 navy at 80%: DS .text-body-l in ink-royal. */
.live-national-enrolment-day-survey-2025 .lv-ndes-testis { align-items: center; }
.live-national-enrolment-day-survey-2025 .lv-ndes-mark { width: 48px; height: auto; }
.live-national-enrolment-day-survey-2025 .lv-ndes-quotes { display: flex; justify-content: center; align-items: flex-start; gap: 24px; width: 100%; }
.live-national-enrolment-day-survey-2025 .lv-ndes-quote {
  display: flex; flex-direction: column; row-gap: 16px; align-self: stretch;
  width: 100%; margin: 0; padding: 32px; border-radius: var(--radius-2xl); background-color: var(--color-paper);
}
.live-national-enrolment-day-survey-2025 .lv-ndes-logo-185 { width: 185px; height: auto; }
.live-national-enrolment-day-survey-2025 .lv-ndes-logo-112 { width: 112px; height: auto; }
.live-national-enrolment-day-survey-2025 .lv-ndes-quote-text { color: color-mix(in srgb, var(--color-ink-royal) 80%, transparent); }
@media (max-width: 991px) {
  .live-national-enrolment-day-survey-2025 .lv-ndes-quotes { flex-direction: column; gap: 16px; }
}

/* B-HOLD · These buttons are NOT Webflow `.button` on live (button-regular-5): 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-national-enrolment-day-survey-2025 a.btn-primary[href="#ndes-content"]:hover,
.live-national-enrolment-day-survey-2025 a.btn-primary[href="#ndes-content"]:active {
  background-color: var(--color-coral-500); border-color: var(--color-coral-500);
  text-shadow: none; transform: none;
}
