/* ========== DMEX Product Family — Shared Final Polish ==========
 * Typography / Family cards / Media presentation / B2B CTA rhythm
 * Does not override product-specific Identity or Proof content.
 */

/* ----- Dark-hero underlap (transparent sticky header SSOT) -----
 * Desktop header height: 15.2rem · Mobile (≤1024): 7.2rem
 * All dark heroes must underlap so GNB sits on navy, not white body.
 */
.dmex-hero,
.pd-hero,
.lv-hero,
.cb-hero,
.bk-hero,
.eb-hero,
.vo-hero,
.md-hero,
.bl-hero,
.bz3-promise {
  margin-top: -15.2rem;
}

@media (max-width: 1024px) {
  .dmex-hero,
  .pd-hero,
  .lv-hero,
  .cb-hero,
  .bk-hero,
  .eb-hero,
  .vo-hero,
  .md-hero,
  .bl-hero,
  .bz3-promise {
    margin-top: -7.2rem;
  }
}


/* ----- Typography (eBook/Voice readability baseline) ----- */
.dmex-hero__sub,
.v2-lead,
.pd-page .v2-lead,
.lv-page .v2-lead,
.cb-page .v2-lead,
.bk-page .v2-lead,
.eb-page .v2-lead,
.vo-page .v2-lead,
.md-page .v2-lead,
.md-page .md-lead,
.bz-page .v2-lead,
.bz-page .bz-lead,
.pd-page .dmex-hero__sub,
.lv-page .dmex-hero__sub,
.cb-page .dmex-hero__sub,
.bk-page .dmex-hero__sub,
.eb-page .dmex-hero__sub,
.vo-page .dmex-hero__sub,
.md-page .dmex-hero__sub,
.bz-page .dmex-hero__sub {
  font-size: 1.85rem;
  line-height: 1.65;
}

.pd-page .v2-title,
.lv-page .v2-title,
.cb-page .v2-title,
.bk-page .v2-title {
  line-height: 1.28;
}

/* Body-like descriptions inside cards / steps (not kickers) */
.pd-page .pd-structure__list p,
.lv-page .lv-biz__values span,
.cb-page .cb-use__item strong,
.bk-page .bk-use__item strong,
.eb-page .eb-sig__note,
.vo-page .vo-sig__note,
.vo-page .vo-ba__note,
.vo-page .vo-cases span,
.vo-page .vo-trust span,
.vo-page .vo-qc span {
  font-size: max(1.5rem, 1em);
  line-height: 1.55;
}

/* ----- Product Family cards (unified grammar) ----- */
.pd-family,
.lv-family,
.cb-family,
.bk-family,
.eb-family,
.vo-family {
  list-style: none;
  margin: 3.4rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.2rem;
}

.pd-family li,
.lv-family li,
.cb-family li,
.bk-family li,
.eb-family li,
.vo-family li {
  display: grid;
  gap: 0.75rem;
  align-content: start;
  padding: 2.2rem;
  border-radius: 1.8rem;
  border: 1px solid #E6E9F2;
  background: #fff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.pd-family li:hover,
.lv-family li:hover,
.cb-family li:hover,
.bk-family li:hover,
.eb-family li:hover,
.vo-family li:hover {
  border-color: rgba(100, 113, 246, 0.35);
  box-shadow: 0 1rem 2.4rem rgba(25, 35, 63, 0.06);
}

.pd-family li.is-current,
.lv-family li.is-current,
.cb-family li.is-current,
.bk-family li.is-current,
.eb-family li.is-current,
.vo-family li.is-current {
  border-color: rgba(100, 113, 246, 0.42);
  background: linear-gradient(180deg, rgba(100, 113, 246, 0.08), #fff 55%);
  box-shadow: none;
}

.pd-family p,
.pd-family__label,
.lv-family p,
.cb-family p,
.bk-family p,
.eb-family p,
.vo-family p {
  margin: 0;
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: #6471F6;
  text-transform: none;
}

.pd-family strong,
.lv-family strong,
.cb-family strong,
.bk-family strong,
.eb-family strong,
.vo-family strong {
  font-size: 1.6rem;
  line-height: 1.4;
  font-weight: 700;
  color: #151B2E;
  min-height: 0;
}

.pd-family a,
.lv-family a,
.cb-family a,
.bk-family a,
.eb-family a,
.vo-family a {
  width: fit-content;
  font-size: 1.4rem;
  font-weight: 700;
  color: #19233F;
  text-decoration: underline;
  text-underline-offset: 0.25em;
}

.pd-family__now,
.lv-family__now,
.cb-family__now,
.bk-family__now,
.eb-family__now,
.vo-family__now {
  font-size: 1.3rem;
  font-weight: 700;
  color: #6471F6;
}

/* ----- Media presentation grammar (frames only) ----- */
.eb-page .eb-hero__viewer,
.eb-page .eb-ba__visual,
.eb-page .eb-sig__visual,
.eb-page .eb-viewer-real__shot,
.eb-page .eb-proof__frame,
.bk-page .bk-together__shot,
.bk-page .bk-lib__shot,
.lv-page .lv-shot.is-proof,
.lv-page .lv-shot.is-proj-main,
.lv-page .lv-shot.is-dl,
.lv-page .lv-shot.is-detail {
  border-radius: 1.6rem;
  overflow: hidden;
  border: 1px solid rgba(25, 35, 63, 0.08);
  box-shadow: 0 1.6rem 3.2rem rgba(25, 35, 63, 0.1);
}

.eb-page .eb-hero__viewer img,
.eb-page .eb-ba__visual img,
.eb-page .eb-sig__visual img,
.eb-page .eb-viewer-real__shot img,
.eb-page .eb-proof__frame img,
.bk-page .bk-together__shot img,
.bk-page .bk-lib__shot img,
.lv-page .lv-shot.is-proof img,
.lv-page .lv-shot.is-proj-main img,
.lv-page .lv-shot.is-dl img,
.lv-page .lv-shot.is-detail img {
  display: block;
  width: 100%;
  height: auto;
}

/* Soft-surface proof frames */
.eb-page .eb-ba__visual,
.eb-page .eb-proof__frame,
.bk-page .bk-together__shot,
.bk-page .bk-lib__shot {
  background: #F7F8FC;
}

/* ----- B2B CTA rhythm ----- */
.eb-biz__cta,
.cb-biz__cta,
.bk-biz__cta,
.vo-biz__cta,
.lv-biz__cta,
.pd-final .dmex-hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}

.eb-biz__cta .btn-ghost-pilot.is-dark,
.cb-biz__cta .btn-ghost-pilot.is-dark,
.bk-biz__cta .btn-ghost-pilot.is-dark,
.vo-biz__cta .btn-ghost-pilot.is-dark {
  color: #19233F;
  border-color: rgba(25, 35, 63, 0.22);
}

/* Single-CTA B2B: avoid sparse isolation */
.vo-biz__cta:has(> :only-child),
.lv-biz__cta > .btn-base:only-of-type {
  margin-top: 0.4rem;
}

.vo-biz {
  gap: 2.8rem;
}

@media (max-width: 1100px) {
  .pd-family,
  .lv-family,
  .cb-family,
  .bk-family,
  .eb-family,
  .vo-family {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .dmex-hero__sub,
  .v2-lead,
  .pd-page .v2-lead,
  .lv-page .v2-lead,
  .cb-page .v2-lead,
  .bk-page .v2-lead,
  .eb-page .v2-lead,
  .vo-page .v2-lead,
  .md-page .v2-lead,
  .md-page .md-lead,
  .bz-page .v2-lead,
  .bz-page .bz-lead,
  .pd-page .dmex-hero__sub,
  .lv-page .dmex-hero__sub,
  .cb-page .dmex-hero__sub,
  .bk-page .dmex-hero__sub,
  .eb-page .dmex-hero__sub,
  .vo-page .dmex-hero__sub,
  .md-page .dmex-hero__sub,
  .bz-page .dmex-hero__sub {
    font-size: 1.6rem;
    line-height: 1.6;
  }

  .pd-family,
  .lv-family,
  .cb-family,
  .bk-family,
  .eb-family,
  .vo-family {
    grid-template-columns: 1fr;
    margin-top: 2.4rem;
    gap: 1rem;
  }

  .pd-family li,
  .lv-family li,
  .cb-family li,
  .bk-family li,
  .eb-family li,
  .vo-family li {
    padding: 1.8rem 1.6rem;
  }

  .pd-family strong,
  .lv-family strong,
  .cb-family strong,
  .bk-family strong,
  .eb-family strong,
  .vo-family strong {
    font-size: 1.55rem;
  }

  .eb-biz__cta .btn-base,
  .cb-biz__cta .btn-base,
  .bk-biz__cta .btn-base,
  .vo-biz__cta .btn-base,
  .lv-biz__cta .btn-base,
  .pd-final .dmex-hero__cta .btn-base,
  .eb-biz__cta .btn-ghost-pilot,
  .cb-biz__cta .btn-ghost-pilot,
  .bk-biz__cta .btn-ghost-pilot,
  .vo-biz__cta .btn-ghost-pilot {
    min-height: 4.8rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
}

/* GEO answer blocks — existing type scale, no extra decoration */
.seo-geo__answer {
  max-width: 72rem;
}
.seo-geo__qa {
  list-style: none;
  margin: 3.2rem 0 0;
  padding: 0;
  display: grid;
  gap: 2.4rem;
}
.seo-geo__qa h3 {
  margin: 0 0 0.8rem;
  font-size: 2rem;
  line-height: 1.4;
  font-weight: 700;
}
.seo-geo__qa p {
  margin: 0;
  max-width: 72rem;
  font-size: 1.7rem;
  line-height: 1.65;
}
.bz-page .seo-geo {
  padding: 8rem 0;
}
.bz-page .seo-geo .seo-geo__qa h3 {
  color: inherit;
}
