/* DMF03 product page v2: layout lives in inline styles; this file only isolates the page body from legacy rules. */
.leyi-dmf03-v2 { display: block; margin: 0; padding: 0; max-width: none; }
.leyi-dmf03-v2__root a { color: #1E5BD8; }
.leyi-dmf03-v2__root a:hover { color: #123F9C; }
.leyi-dmf03-v2__root summary { cursor: pointer; }
.leyi-dmf03-v2__root img, .leyi-dmf03-v2__root video { max-width: 100%; }
html { scroll-padding-top: 140px; }
.leyi-dmf03-v2__root h1, .leyi-dmf03-v2__root h2, .leyi-dmf03-v2__root h3 { color: inherit; font-family: inherit; letter-spacing: normal; text-transform: none; max-width: none; }
.leyi-dmf03-v2__root p, .leyi-dmf03-v2__root figure, .leyi-dmf03-v2__root table { font-family: inherit; letter-spacing: normal; }
.leyi-dmf03-v2__root section { margin: 0; max-width: none; }

/* Keep the model-use cards visually centered as a group, including when
 * card copy has different line lengths. */
.leyi-dmf03-v2__root .dmf03-model-grid {
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
  justify-items: center;
}
.leyi-dmf03-v2__root .dmf03-model-card {
  width: 100%;
  text-align: center;
}
.leyi-dmf03-v2__root .dmf03-model-card > svg {
  margin-left: auto !important;
  margin-right: auto !important;
}

.leyi-dmf03-v2__root .dmf03-advantage-card,
.leyi-dmf03-v2__root .dmf03-model-card {
  transition: transform 180ms ease, filter 180ms ease;
  will-change: transform;
}
.leyi-dmf03-v2__root .dmf03-advantage-card:hover,
.leyi-dmf03-v2__root .dmf03-model-card:hover {
  transform: translateY(-6px) scale(1.03);
  filter: drop-shadow(0 8px 12px rgba(15, 27, 45, 0.16));
}
@media (prefers-reduced-motion: reduce) {
  .leyi-dmf03-v2__root .dmf03-advantage-card,
  .leyi-dmf03-v2__root .dmf03-model-card {
    transition: none;
  }
}

.leyi-dmf03-v2__root .dmf03-faq-item > summary {
  cursor: pointer;
}
.leyi-dmf03-v2__root .dmf03-faq-answer {
  display: block !important;
  height: 0;
  opacity: 0;
  overflow: hidden;
  pointer-events: none;
  transition: height 340ms cubic-bezier(0.22, 1, 0.36, 1), opacity 220ms ease;
}
.leyi-dmf03-v2__root .dmf03-faq-item.is-open > .dmf03-faq-answer {
  opacity: 1;
  pointer-events: auto;
}
@media (prefers-reduced-motion: reduce) {
  .leyi-dmf03-v2__root .dmf03-faq-answer {
    transition: none;
  }
}

/* Interaction is limited to the three benefit links. Static layout and copy stay unchanged. */
.leyi-dmf03-v2__root .dmf03-benefit-link {
  transition: color 180ms ease, transform 180ms ease;
}
.leyi-dmf03-v2__root .dmf03-benefit-link:hover {
  color: #8FB3FF !important;
  transform: translateX(4px);
}
.leyi-dmf03-v2__root .dmf03-benefit-link:active {
  transform: translateX(2px) scale(0.98);
}
.leyi-dmf03-v2__root .dmf03-benefit-link:focus-visible {
  outline: 2px solid #8FB3FF;
  outline-offset: 4px;
  border-radius: 2px;
}
@media (prefers-reduced-motion: reduce) {
  .leyi-dmf03-v2__root .dmf03-benefit-link {
    transition: none;
  }
}

/* Hero CTA feedback only: scoped to the two links in the DMF03 overview. */
.leyi-dmf03-v2[data-product-template="dmf03-v2"] #overview .dmf03-hero-actions a[href*="inquiry_type=trial_order"],
.leyi-dmf03-v2[data-product-template="dmf03-v2"] #overview .dmf03-hero-actions a[href="#workflow"] {
  transition: transform 180ms cubic-bezier(.22, 1, .36, 1),
    box-shadow 180ms ease, filter 180ms ease, color 180ms ease;
  will-change: transform;
}

.leyi-dmf03-v2[data-product-template="dmf03-v2"] #overview .dmf03-hero-actions a[href*="inquiry_type=trial_order"]:hover {
  background-color: #2B6BE9 !important;
  box-shadow: 0 12px 26px rgba(30, 91, 216, .32);
  transform: translateY(-2px);
}

.leyi-dmf03-v2[data-product-template="dmf03-v2"] #overview .dmf03-hero-actions a[href*="inquiry_type=trial_order"]:active {
  box-shadow: 0 5px 12px rgba(30, 91, 216, .24);
  transform: translateY(0) scale(.98);
}

.leyi-dmf03-v2[data-product-template="dmf03-v2"] #overview .dmf03-hero-actions a[href="#workflow"]:hover {
  color: #8FB3FF !important;
  transform: translateX(3px);
}

.leyi-dmf03-v2[data-product-template="dmf03-v2"] #overview .dmf03-hero-actions a[href="#workflow"]:active {
  transform: translateX(1px) scale(.99);
}

.leyi-dmf03-v2[data-product-template="dmf03-v2"] #overview .dmf03-hero-actions a[href*="inquiry_type=trial_order"]:focus-visible,
.leyi-dmf03-v2[data-product-template="dmf03-v2"] #overview .dmf03-hero-actions a[href="#workflow"]:focus-visible {
  outline: 3px solid #8FB3FF;
  outline-offset: 4px;
}

@media (prefers-reduced-motion: reduce) {
  .leyi-dmf03-v2[data-product-template="dmf03-v2"] #overview .dmf03-hero-actions a[href*="inquiry_type=trial_order"],
  .leyi-dmf03-v2[data-product-template="dmf03-v2"] #overview .dmf03-hero-actions a[href="#workflow"] {
    transition: none;
    will-change: auto;
  }
}

/* Download link feedback only: the three document rows keep their layout. */
.leyi-dmf03-v2[data-product-template="dmf03-v2"] .dmf03-download-actions a {
  transition: transform 180ms cubic-bezier(.22, 1, .36, 1),
    color 180ms ease;
  will-change: transform;
}

.leyi-dmf03-v2[data-product-template="dmf03-v2"] .dmf03-download-actions a:hover {
  transform: translateX(3px);
}

.leyi-dmf03-v2[data-product-template="dmf03-v2"] .dmf03-download-actions a > span:last-child {
  display: inline-block;
  transition: transform 180ms cubic-bezier(.22, 1, .36, 1);
}

.leyi-dmf03-v2[data-product-template="dmf03-v2"] .dmf03-download-actions a:hover > span:last-child {
  transform: translateX(4px);
}

.leyi-dmf03-v2[data-product-template="dmf03-v2"] .dmf03-download-actions a:active {
  transform: translateX(1px) scale(.99);
}

.leyi-dmf03-v2[data-product-template="dmf03-v2"] .dmf03-download-actions a:focus-visible {
  outline: 3px solid #8FB3FF;
  outline-offset: 4px;
}

@media (prefers-reduced-motion: reduce) {
  .leyi-dmf03-v2[data-product-template="dmf03-v2"] .dmf03-download-actions a,
  .leyi-dmf03-v2[data-product-template="dmf03-v2"] .dmf03-download-actions a > span:last-child {
    transition: none;
    will-change: auto;
  }
}

/* On phones, stack the three closing CTAs without changing their appearance. */
@media (max-width: 760px) {
  .leyi-dmf03-v2[data-product-template="dmf03-v2"] .dmf03-sample-actions {
    flex-direction: column;
  }
}

/* Bottom CTA feedback: keep the existing hover, press and keyboard states. */
.leyi-dmf03-v2[data-product-template="dmf03-v2"] #sample a {
  transition: transform 180ms cubic-bezier(.22, 1, .36, 1),
    box-shadow 180ms ease, color 180ms ease, filter 180ms ease;
  will-change: transform;
}

.leyi-dmf03-v2[data-product-template="dmf03-v2"] #sample a:first-of-type:hover {
  background-color: #2B6BE9 !important;
  box-shadow: 0 12px 26px rgba(30, 91, 216, .32);
  transform: translateY(-2px);
}

.leyi-dmf03-v2[data-product-template="dmf03-v2"] #sample a:first-of-type:active {
  box-shadow: 0 5px 12px rgba(30, 91, 216, .24);
  transform: translateY(0) scale(.98);
}

.leyi-dmf03-v2[data-product-template="dmf03-v2"] #sample a:not(:first-of-type):hover {
  color: #8FB3FF !important;
  transform: translateY(-2px);
}

.leyi-dmf03-v2[data-product-template="dmf03-v2"] #sample a:not(:first-of-type):active {
  transform: translateY(0) scale(.99);
}

.leyi-dmf03-v2[data-product-template="dmf03-v2"] #sample a:focus-visible {
  outline: 3px solid #8FB3FF;
  outline-offset: 4px;
}

@media (prefers-reduced-motion: reduce) {
  .leyi-dmf03-v2[data-product-template="dmf03-v2"] #sample a {
    transition: none;
    will-change: auto;
  }
}

/* DMF03 flow: compact 4-column steps */
@media (max-width: 960px) {
  .leyi-dmf03-v2__root .dmf03-flow-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
}
@media (max-width: 520px) {
  .leyi-dmf03-v2__root .dmf03-flow-grid { grid-template-columns: 1fr !important; }
}

/* 2026-10-11 Full-width feature banners (#features, #exposure, #colors).
 * The photo fills the band; copy sits on the empty side of the photo.
 * The image box stops at 2400px and is anchored to the subject side, so on
 * very wide screens the empty side continues in the section's flat colour. */
.leyi-dmf03-v2__root .dmf03-banner {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.leyi-home-aligned .leyi-dmf03-v2__root > section.dmf03-banner,
.leyi-dmf03-v2__root > section.dmf03-banner {
  padding-block: 0 !important;
}
.leyi-dmf03-v2__root .dmf03-banner__media {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: min(100%, 2400px);
  margin: 0;
  z-index: -1;
}
.leyi-dmf03-v2__root .dmf03-banner--text-left .dmf03-banner__media {
  left: auto;
  right: 0;
}
.leyi-dmf03-v2__root .dmf03-banner__media img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: left center;
}
.leyi-dmf03-v2__root .dmf03-banner--text-left .dmf03-banner__media img {
  object-position: right center;
}
.leyi-dmf03-v2__root .dmf03-banner__media::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(to left, var(--dmf03-banner-bg) 0, transparent 12%);
}
.leyi-dmf03-v2__root .dmf03-banner--text-left .dmf03-banner__media::after {
  background: linear-gradient(to right, var(--dmf03-banner-bg) 0, transparent 12%);
}
.leyi-dmf03-v2__root .dmf03-banner__inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  min-height: clamp(460px, calc(min(100vw, 2400px) / 2.4), 1000px);
}
.leyi-dmf03-v2__root .dmf03-banner--text-left .dmf03-banner__inner {
  justify-content: flex-start;
}
.leyi-dmf03-v2__root .dmf03-banner__text {
  width: min(500px, 100%);
  padding-block: 56px;
}
@media (max-width: 960px) {
  .leyi-dmf03-v2__root .dmf03-banner__media {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;
    z-index: auto;
  }
  .leyi-dmf03-v2__root .dmf03-banner__media::after { display: none; }
  .leyi-dmf03-v2__root .dmf03-banner__inner { min-height: 0; }
  .leyi-dmf03-v2__root .dmf03-banner__text {
    width: 100%;
    padding-block: 32px 64px;
  }
}

/* Links inside the page body use the brand blue, never the theme teal. */
.leyi-dmf03-v2__root a:not([style*="color"]) { color: #1E5BD8; }
