/* ========== DMEX Product Detail — extends Home SSOT ========== */
/* Reuses: --pilot-*, .v2-section, .v2-kicker, .v2-title, .v2-lead, .max-w-128,
   .dmex-hero__*, .btn-*, .dmex-ws, .conf-product / .fp-ws */

.pd-page {
  background: #fff;
  color: #151B2E;
}

.pd-section--soft {
  background: #F7F8FC;
  border-top: 1px solid #E6E9F2;
}

.pd-section + .pd-section--soft,
.pd-section--soft + .pd-section {
  border-top: 1px solid #E6E9F2;
}

/* ----- Hero ----- */
/* Underlap full sticky header height (15.2rem), same as Home .dmex-hero.
   Using only --pilot-header-offset (9.2rem) left the top util band over white
   page bg once [data-top=true] makes .header::before transparent. */
.pd-hero {
  position: relative;
  margin-top: -15.2rem;
  padding: 18rem 0 8rem;
  background:
    radial-gradient(ellipse 80% 60% at 80% 20%, rgba(100, 113, 246, 0.28), transparent 55%),
    radial-gradient(ellipse 50% 40% at 10% 80%, rgba(152, 255, 255, 0.08), transparent 50%),
    linear-gradient(165deg, #0F172A 0%, var(--pilot-navy) 48%, #121A31 100%);
  color: var(--pilot-text);
  overflow: hidden;
}

.pd-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 4.8rem;
  align-items: center;
}

.pd-hero__copy .dmex-hero__title {
  color: #fff;
}

.pd-flow__ws {
  max-width: 58rem;
  margin-left: auto;
}

.pd-flow__body {
  min-height: 28rem;
}

.pd-flow__src {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 1.2rem 1.2rem;
  border: 1px solid rgba(100, 113, 246, 0.35);
  border-radius: 1rem;
  background: rgba(100, 113, 246, 0.12);
  color: #E8ECF8;
}

.pd-flow__src em {
  font-style: normal;
  font-size: 1.35rem;
  font-weight: 800;
}

.pd-flow__src span {
  font-size: 1.2rem;
  color: var(--pilot-muted);
}

.pd-flow__src.is-on {
  border-color: rgba(152, 255, 255, 0.45);
  box-shadow: 0 0 0 1px rgba(152, 255, 255, 0.12);
}

.pd-flow__steps li.is-done {
  color: #98FFFF;
}

.pd-flow__steps li.is-run {
  color: #fff;
  font-weight: 800;
}

.dmex-ws__live.is-on {
  background: rgba(152, 255, 255, 0.16);
  color: #98FFFF;
}

.dmex-ws__out.is-in {
  opacity: 1;
  border-color: rgba(152, 255, 255, 0.28);
  color: #E8ECF8;
}

/* ----- Problem (single composition) ----- */
.pd-problem-flow {
  margin-top: 3.2rem;
  padding: 2.8rem 2.8rem 2.4rem;
  border: 1px solid #E6E9F2;
  border-radius: 2rem;
  background:
    linear-gradient(135deg, rgba(100, 113, 246, 0.06), transparent 42%),
    #fff;
}

.pd-problem-flow__statement {
  margin: 0 0 2.4rem;
  max-width: 64rem;
  font-size: clamp(1.7rem, 1.8vw, 2rem);
  font-weight: 700;
  line-height: 1.55;
  letter-spacing: -0.02em;
  color: #151B2E;
  word-break: keep-all;
}

.pd-problem-flow__chain {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) auto minmax(0, 1fr);
  gap: 1.2rem;
  align-items: stretch;
  margin: 0;
  padding: 0;
  list-style: none;
}

.pd-problem-flow__chain > li:not(.pd-problem-flow__sep) {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  min-width: 0;
  padding: 1.6rem 1.4rem;
  border-radius: 1.2rem;
  background: #F7F8FC;
}

.pd-problem-flow__chain strong {
  font-size: 1.55rem;
  font-weight: 800;
  color: #19233F;
}

.pd-problem-flow__chain span {
  font-size: 1.35rem;
  line-height: 1.5;
  color: #4B5568;
  word-break: keep-all;
}

.pd-problem-flow__sep {
  align-self: center;
  width: 2.4rem;
  height: 1px;
  background: linear-gradient(90deg, #6471F6, rgba(100, 113, 246, 0.2));
  border-radius: 999rem;
}

/* ----- Expand diagram ----- */
.pd-expand {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 42rem;
  margin-top: 3.2rem;
}

.pd-expand__core {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  width: 22rem;
  height: 22rem;
  border-radius: 50%;
  border: 1px solid rgba(100, 113, 246, 0.45);
  background:
    radial-gradient(circle at 30% 30%, rgba(152, 255, 255, 0.18), transparent 55%),
    linear-gradient(160deg, #19233F, #243156);
  color: #fff;
  text-align: center;
  box-shadow: 0 2rem 4.8rem rgba(25, 35, 63, 0.2);
}

.pd-expand__core em {
  font-style: normal;
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #98FFFF;
  text-transform: uppercase;
}

.pd-expand__core strong {
  font-size: 2rem;
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: -0.02em;
}

.pd-expand__core span {
  font-size: 1.25rem;
  color: #A7B0C8;
}

.pd-expand__orbit {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.pd-expand__node {
  position: absolute;
  left: 50%;
  top: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 12rem;
  padding: 1rem 1.4rem;
  border: 1px solid #D8DEF5;
  border-radius: 999rem;
  background: #fff;
  color: #313EC0;
  font-size: 1.35rem;
  font-weight: 800;
  box-shadow: 0 0.8rem 2rem rgba(25, 35, 63, 0.06);
  transform: translate(-50%, -50%);
}

.pd-expand__node[data-pos="n"] { transform: translate(-50%, calc(-50% - 17rem)); }
.pd-expand__node[data-pos="ne"] { transform: translate(calc(-50% + 15rem), calc(-50% - 8.5rem)); }
.pd-expand__node[data-pos="se"] { transform: translate(calc(-50% + 15rem), calc(-50% + 8.5rem)); }
.pd-expand__node[data-pos="s"] { transform: translate(-50%, calc(-50% + 17rem)); }
.pd-expand__node[data-pos="sw"] { transform: translate(calc(-50% - 15rem), calc(-50% + 8.5rem)); }
.pd-expand__node[data-pos="nw"] { transform: translate(calc(-50% - 15rem), calc(-50% - 8.5rem)); }

.pd-expand__mobile {
  display: none;
  margin: 2.4rem 0 0;
  padding: 0;
  list-style: none;
  gap: 1rem;
}

.pd-expand__mobile li {
  display: grid;
  gap: 0.35rem;
  padding: 1.6rem 1.8rem;
  border: 1px solid #E6E9F2;
  border-radius: 1.4rem;
  background: #fff;
}

.pd-expand__mobile strong {
  font-size: 1.3rem;
  color: #6471F6;
}

.pd-expand__mobile span {
  font-size: 1.45rem;
  font-weight: 700;
  color: #151B2E;
  word-break: keep-all;
}

/* ----- Signature: Content Lifecycle ----- */
.pd-life {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.2rem;
  margin: 3.2rem 0 0;
  padding: 0;
  list-style: none;
  align-items: stretch;
}

.pd-life__stage {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  min-width: 0;
  padding: 2rem 1.6rem 1.8rem;
  border: 1px solid #E6E9F2;
  border-radius: 1.6rem;
  background: #fff;
}

.pd-life__stage:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 2.4rem;
  right: -0.85rem;
  z-index: 1;
  width: 0.7rem;
  height: 0.7rem;
  border-top: 2px solid #6471F6;
  border-right: 2px solid #6471F6;
  transform: rotate(45deg);
  background: transparent;
}

.pd-life__phase {
  display: block;
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #6471F6;
}

.pd-life__title {
  display: block;
  font-size: 1.75rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #151B2E;
  word-break: keep-all;
}

.pd-life__desc {
  margin: 0;
  font-size: 1.35rem;
  line-height: 1.5;
  color: #4B5568;
  word-break: keep-all;
}

.pd-life__bits {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0.4rem 0 0;
  padding: 0;
  list-style: none;
}

.pd-life__bits li {
  padding: 0.4rem 0.75rem;
  border-radius: 999rem;
  background: #F7F8FC;
  border: 1px solid #E6E9F2;
  color: #313EC0;
  font-size: 1.2rem;
  font-weight: 700;
}

.pd-life__stage.is-peak {
  border-color: rgba(100, 113, 246, 0.45);
  background:
    radial-gradient(ellipse 80% 60% at 80% 0%, rgba(152, 255, 255, 0.12), transparent 55%),
    linear-gradient(165deg, #19233F 0%, #121A31 100%);
  color: #E8ECF8;
  box-shadow: 0 1.6rem 3.6rem rgba(25, 35, 63, 0.18);
}

.pd-life__stage.is-peak .pd-life__phase {
  color: #98FFFF;
}

.pd-life__stage.is-peak .pd-life__title {
  color: #fff;
  font-size: 1.9rem;
}

.pd-life__stage.is-peak .pd-life__desc {
  color: #C7D0E8;
}

.pd-life__stage.is-peak .pd-life__bits li {
  background: rgba(152, 255, 255, 0.1);
  border-color: rgba(152, 255, 255, 0.28);
  color: #98FFFF;
}

.pd-life__peak {
  display: inline-flex;
  margin-top: auto;
  padding-top: 0.8rem;
  font-style: normal;
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #98FFFF;
}

/* ----- AI recommended shorts ----- */
.pd-shorts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
}

.pd-shorts.is-compact {
  grid-template-columns: 1fr;
}

.pd-shorts.is-mock {
  grid-template-columns: 1fr;
}

@media (min-width: 900px) {
  .pd-shorts.is-mock {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.pd-shorts__card {
  display: grid;
  grid-template-columns: 7.2rem minmax(0, 1fr);
  gap: 0.9rem;
  min-width: 0;
  padding: 0.9rem;
  border: 1px solid rgba(100, 113, 246, 0.28);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.04);
}

.pd-shorts.is-compact .pd-shorts__card {
  grid-template-columns: 1fr;
}

.pd-shorts__thumb {
  display: grid;
  place-items: center;
  min-height: 7.2rem;
  border-radius: 0.8rem;
  background:
    linear-gradient(145deg, rgba(100, 113, 246, 0.45), rgba(15, 23, 42, 0.6)),
    #0F172A;
  color: #98FFFF;
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.pd-shorts__thumb.is-alt {
  background:
    linear-gradient(145deg, rgba(152, 255, 255, 0.25), rgba(25, 35, 63, 0.7)),
    #0F172A;
}

.pd-shorts__thumb.is-warm {
  background:
    linear-gradient(145deg, rgba(100, 113, 246, 0.35), rgba(49, 62, 192, 0.55)),
    #0F172A;
}

.pd-shorts__meta {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  min-width: 0;
}

.pd-shorts__type {
  font-style: normal;
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #98FFFF;
}

.pd-shorts__meta strong {
  font-size: 1.3rem;
  font-weight: 800;
  line-height: 1.35;
  color: #fff;
  word-break: keep-all;
}

.pd-shorts__dur,
.pd-shorts__src {
  font-size: 1.2rem;
  color: #A7B0C8;
}

.pd-shorts__src {
  color: #98FFFF;
  font-weight: 700;
}

/* ----- AI Assistant → video jump ----- */
.pd-assist {
  display: grid;
  gap: 0.9rem;
}

.pd-assist__q {
  justify-self: end;
  max-width: 94%;
  padding: 1.1rem 1.3rem;
  border-radius: 1.2rem;
  background: rgba(100, 113, 246, 0.28);
  color: #fff;
  font-size: 1.35rem;
  line-height: 1.5;
  word-break: keep-all;
}

.pd-assist__a {
  justify-self: start;
  max-width: 94%;
  display: grid;
  gap: 0.8rem;
  padding: 1.2rem 1.3rem;
  border-radius: 1.2rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
}

.pd-assist__a p {
  margin: 0;
  color: #C7D0E8;
  font-size: 1.35rem;
  line-height: 1.55;
  word-break: keep-all;
}

.pd-assist__jump {
  display: inline-flex;
  width: fit-content;
  padding: 0.55rem 0.9rem;
  border-radius: 999rem;
  border: 1px solid rgba(152, 255, 255, 0.35);
  background: rgba(152, 255, 255, 0.1);
  color: #98FFFF;
  font-size: 1.25rem;
  font-weight: 800;
}

/* ----- Conference Content Hub chrome ----- */
.pd-hub {
  display: grid;
  gap: 1rem;
  padding: 1.4rem 1.6rem 0.4rem;
  background: #0B1224;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.pd-hub__filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.pd-hub__filters span {
  padding: 0.45rem 0.85rem;
  border-radius: 999rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #A7B0C8;
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.pd-hub__filters span.is-on {
  background: rgba(100, 113, 246, 0.28);
  border-color: rgba(100, 113, 246, 0.45);
  color: #fff;
}

.pd-hub__search {
  padding: 1rem 1.2rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.04);
  color: #7B849E;
  font-size: 1.3rem;
}

.pd-hub__sessions {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.6rem;
  margin: 0;
  padding: 0 0 1.2rem;
  list-style: none;
}

.pd-hub__sessions li {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  min-width: 0;
  padding: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.03);
}

.pd-hub__sessions li.is-on {
  border-color: rgba(100, 113, 246, 0.45);
  background: rgba(100, 113, 246, 0.16);
}

.pd-hub__sessions em {
  font-style: normal;
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #98FFFF;
  text-transform: uppercase;
}

.pd-hub__sessions strong {
  font-size: 1.3rem;
  font-weight: 800;
  color: #E8ECF8;
  word-break: keep-all;
}

/* ----- Agency compare ----- */
.pd-agency-compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.8rem;
  width: 100%;
  margin-top: 1.6rem;
}

.pd-agency-compare__col {
  display: grid;
  gap: 0.4rem;
  min-width: 0;
  padding: 1rem 1.1rem;
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.18);
}

.pd-agency-compare__col em {
  font-style: normal;
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #A7B0C8;
  text-transform: uppercase;
}

.pd-agency-compare__col span {
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.45;
  color: #C7D0E8;
  word-break: keep-all;
}

.pd-agency-compare__col.is-new {
  border-color: rgba(152, 255, 255, 0.35);
  background: rgba(152, 255, 255, 0.08);
}

.pd-agency-compare__col.is-new em {
  color: #98FFFF;
}

.pd-agency-compare__col.is-new span {
  color: #fff;
}

/* ----- Features (desktop desk + mobile accordion) ----- */
.pd-feat {
  margin-top: 3.2rem;
}

.pd-feat__desk {
  display: grid;
  grid-template-columns: minmax(16rem, 20rem) minmax(0, 1fr);
  gap: 0;
  border: 1px solid #E6E9F2;
  background: #F7F8FC;
  overflow: hidden;
  border-radius: 1.6rem;
}

.pd-feat__mobile {
  display: none;
}

.pd-feat__nav {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 1.6rem 0;
  background: #19233F;
}

.pd-feat__nav button {
  display: flex;
  align-items: center;
  width: 100%;
  margin: 0;
  padding: 1.4rem 2rem;
  border: none;
  border-left: 3px solid transparent;
  background: transparent;
  color: rgba(232, 236, 248, 0.62);
  font: inherit;
  font-size: 1.5rem;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
  transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.pd-feat__nav button:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.04);
}

.pd-feat__nav button.is-active {
  color: #fff;
  background: rgba(100, 113, 246, 0.22);
  border-left-color: #6471F6;
}

.pd-feat__stage {
  position: relative;
  min-width: 0;
  padding: 2.4rem;
  background: #fff;
}

.pd-feat__panel {
  display: none;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 2.4rem;
  align-items: start;
}

.pd-feat__panel.is-active {
  display: grid;
  animation: pdFade 0.35s ease both;
}

.pd-feat__label {
  margin: 0 0 1rem;
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #6471F6;
}

.pd-feat__copy strong {
  display: block;
  margin: 0 0 1.2rem;
  font-size: clamp(1.9rem, 2vw, 2.4rem);
  font-weight: 800;
  line-height: 1.35;
  letter-spacing: -0.02em;
  color: #151B2E;
  word-break: keep-all;
}

.pd-feat__copy p {
  margin: 0;
  font-size: 1.5rem;
  line-height: 1.65;
  color: #4B5568;
  word-break: keep-all;
}

/* Feature product UI preview */
.pd-feat-ui {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  min-width: 0;
  padding: 1.4rem;
  border-radius: 1.4rem;
  background:
    linear-gradient(165deg, #121A31 0%, #19233F 100%);
  color: #E8ECF8;
  box-shadow: 0 1.2rem 3.2rem rgba(25, 35, 63, 0.18);
}

.pd-feat-ui__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #98FFFF;
}

.pd-feat-ui__bar em {
  font-style: normal;
  color: #A7B0C8;
  letter-spacing: 0;
  text-transform: none;
  font-weight: 700;
}

.pd-feat-ui__player {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  min-height: 10rem;
  padding: 1.6rem;
  border: 1px solid rgba(100, 113, 246, 0.3);
  border-radius: 1rem;
  background:
    linear-gradient(180deg, rgba(100, 113, 246, 0.2), rgba(15, 23, 42, 0.25)),
    #0F172A;
}

.pd-feat-ui__player strong {
  font-size: 1.55rem;
  font-weight: 800;
  color: #fff;
}

.pd-feat-ui__player span {
  font-size: 1.25rem;
  color: #A7B0C8;
}

.pd-feat-ui__title {
  display: block;
  font-size: 1.55rem;
  font-weight: 800;
  line-height: 1.4;
  color: #fff;
  word-break: keep-all;
}

.pd-feat-ui__list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.5rem;
}

.pd-feat-ui__list li {
  display: grid;
  grid-template-columns: 5.2rem minmax(0, 1fr);
  gap: 0.8rem;
  padding: 0.9rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 0.8rem;
  font-size: 1.3rem;
}

.pd-feat-ui__list li.is-on {
  border-color: rgba(100, 113, 246, 0.45);
  background: rgba(100, 113, 246, 0.14);
}

.pd-feat-ui__list em {
  font-style: normal;
  color: #98FFFF;
  font-weight: 800;
}

.pd-feat-ui__list.is-dense li {
  padding: 0.75rem 1rem;
}

.pd-feat-ui__meta {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.6rem;
}

.pd-feat-ui__meta li {
  padding: 0.9rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 0.8rem;
  color: #C7D0E8;
  font-size: 1.3rem;
}

.pd-feat-ui__clips {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
}

.pd-feat-ui__clips article {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  min-height: 9rem;
  padding: 1.2rem;
  border: 1px solid rgba(100, 113, 246, 0.28);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.03);
}

.pd-feat-ui__clips em {
  font-style: normal;
  color: #98FFFF;
  font-size: 1.15rem;
  font-weight: 800;
}

.pd-feat-ui__clips span {
  margin-top: auto;
  font-size: 1.3rem;
  font-weight: 700;
}

.pd-feat-ui__clips.is-row {
  grid-template-columns: 1fr 1fr;
}

.pd-feat-ui__clips.is-row article {
  min-height: 7rem;
}

.pd-feat-ui__q {
  margin: 0;
  font-size: 1.4rem;
  font-weight: 700;
  line-height: 1.5;
  color: #fff;
  word-break: keep-all;
}

.pd-feat-ui__quiz {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.6rem;
}

.pd-feat-ui__quiz li {
  padding: 0.9rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 0.8rem;
  color: #C7D0E8;
  font-size: 1.3rem;
  word-break: keep-all;
}

.pd-feat-ui__quiz li.is-on {
  border-color: rgba(152, 255, 255, 0.35);
  background: rgba(152, 255, 255, 0.08);
  color: #fff;
}

.pd-feat-ui__chat {
  display: grid;
  gap: 0.8rem;
}

.pd-feat-ui__chat .is-q,
.pd-feat-ui__chat .is-a {
  max-width: 92%;
  padding: 1rem 1.2rem;
  border-radius: 1rem;
  font-size: 1.3rem;
  line-height: 1.5;
  word-break: keep-all;
}

.pd-feat-ui__chat .is-q {
  justify-self: end;
  background: rgba(100, 113, 246, 0.28);
  color: #fff;
}

.pd-feat-ui__chat .is-a {
  justify-self: start;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #C7D0E8;
}

.pd-feat-ui.is-compact {
  padding: 1.2rem;
}

/* Mobile accordion */
.pd-feat-acc__item {
  border: 1px solid #E6E9F2;
  border-radius: 1.4rem;
  background: #fff;
  overflow: hidden;
}

.pd-feat-acc__item + .pd-feat-acc__item {
  margin-top: 1rem;
}

.pd-feat-acc__trigger {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-areas:
    "name chev"
    "hint chev";
  gap: 0.25rem 1rem;
  width: 100%;
  margin: 0;
  padding: 1.5rem 1.6rem;
  border: none;
  background: #fff;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.pd-feat-acc__trigger::after {
  grid-area: chev;
  align-self: center;
  content: "";
  width: 0.7rem;
  height: 0.7rem;
  border-right: 2px solid #6471F6;
  border-bottom: 2px solid #6471F6;
  transform: rotate(45deg);
  transition: transform 0.2s ease;
}

.pd-feat-acc__trigger.is-active {
  background: #F7F8FC;
}

.pd-feat-acc__trigger.is-active::after {
  transform: rotate(-135deg);
}

.pd-feat-acc__name {
  grid-area: name;
  font-size: 1.55rem;
  font-weight: 800;
  color: #151B2E;
}

.pd-feat-acc__trigger.is-active .pd-feat-acc__name {
  color: #313EC0;
}

.pd-feat-acc__hint {
  grid-area: hint;
  font-size: 1.3rem;
  color: #6B7280;
  word-break: keep-all;
}

.pd-feat-acc__panel {
  display: none;
  padding: 0 1.6rem 1.6rem;
}

.pd-feat-acc__panel.is-open {
  display: block;
  animation: pdFade 0.3s ease both;
}

.pd-feat-acc__panel > p {
  margin: 0 0 1.2rem;
  font-size: 1.4rem;
  line-height: 1.6;
  color: #4B5568;
  word-break: keep-all;
}

@keyframes pdFade {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}

/* ----- Process flow (How it works) ----- */
.pd-process {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin: 3.2rem 0 0;
  padding: 0;
  list-style: none;
  counter-reset: none;
}

.pd-process > li {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  min-width: 0;
  padding: 0 1.6rem 0 0;
}

.pd-process > li:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 1.1rem;
  left: 4.8rem;
  right: 0.8rem;
  height: 1px;
  background: linear-gradient(90deg, #6471F6, #D8DEF5);
  pointer-events: none;
}

.pd-process__num {
  position: relative;
  z-index: 1;
  display: inline-block;
  width: fit-content;
  margin: 0;
  padding: 0;
  border: none;
  background: transparent;
  color: #6471F6;
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1;
  pointer-events: none;
  user-select: none;
}

.pd-process__body {
  min-width: 0;
}

.pd-process__body strong {
  display: block;
  margin: 0 0 0.6rem;
  font-size: 1.7rem;
  font-weight: 800;
  color: #151B2E;
  word-break: keep-all;
}

.pd-process__body p {
  margin: 0;
  font-size: 1.4rem;
  line-height: 1.55;
  color: #4B5568;
  word-break: keep-all;
}

/* ----- Business value board ----- */
.pd-value-board {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin-top: 3.2rem;
  border: 1px solid #E6E9F2;
  border-radius: 2rem;
  overflow: hidden;
  background: #fff;
}

.pd-value-board__col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
  padding: 2.8rem 2.2rem;
  border-right: 1px solid #E6E9F2;
  background: #fff;
}

.pd-value-board__col:last-child {
  border-right: none;
}

.pd-value-board__who {
  margin: 0 0 1.4rem;
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #6471F6;
}

.pd-value-board__col strong {
  display: block;
  margin: 0 0 0.8rem;
  font-size: 1.8rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #151B2E;
  word-break: keep-all;
}

.pd-value-board__col p {
  margin: 0;
  font-size: 1.45rem;
  line-height: 1.6;
  color: #4B5568;
  word-break: keep-all;
}

.pd-value-board__col.is-agency {
  background:
    linear-gradient(180deg, rgba(100, 113, 246, 0.14) 0%, #19233F 100%);
  color: #E8ECF8;
}

.pd-value-board__col.is-agency .pd-value-board__who {
  color: #98FFFF;
}

.pd-value-board__col.is-agency strong {
  color: #fff;
}

.pd-value-board__col.is-agency p {
  color: #C7D0E8;
}

.pd-value-board__tag {
  display: inline-flex;
  margin-top: 1.6rem;
  padding: 0.45rem 0.9rem;
  border: 1px solid rgba(152, 255, 255, 0.35);
  border-radius: 999rem;
  color: #98FFFF;
  font-style: normal;
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

/* ----- Use case chips ----- */
.pd-usecase-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 2.8rem 0 0;
  padding: 0;
  list-style: none;
}

.pd-usecase-chips li {
  display: inline-flex;
  align-items: center;
  padding: 1rem 1.6rem;
  border: 1px solid #D8DEF5;
  border-radius: 999rem;
  background: #fff;
  color: #19233F;
  font-size: 1.45rem;
  font-weight: 700;
  word-break: keep-all;
}

/* ----- Product mock ----- */
.pd-mock {
  margin-top: 3.2rem;
  max-width: 100%;
  width: 100%;
  overflow: hidden;
}

.pd-mock__layout {
  display: grid;
  grid-template-columns: minmax(12rem, 16rem) minmax(0, 1fr);
  min-height: 38rem;
}

.pd-mock__nav {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding: 1.4rem 1rem;
  background: #0B1224;
  border-right: 1px solid rgba(255, 255, 255, 0.06);
}

.pd-mock__nav button {
  margin: 0;
  padding: 1.1rem 1.2rem;
  border: none;
  border-radius: 0.8rem;
  background: transparent;
  color: #A7B0C8;
  font: inherit;
  font-size: 1.35rem;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
}

.pd-mock__nav button.is-active {
  background: rgba(100, 113, 246, 0.22);
  color: #fff;
}

.pd-mock__body {
  padding: 2rem 2.2rem;
  background: #121A31;
  color: #E8ECF8;
}

.pd-mock__panel {
  display: none;
}

.pd-mock__panel.is-active {
  display: block;
  animation: pdFade 0.3s ease both;
}

.pd-mock__panel > strong {
  display: block;
  margin: 0 0 1.2rem;
  font-size: 1.8rem;
  font-weight: 800;
}

.pd-mock__panel > p {
  margin: 0 0 1.4rem;
  color: #A7B0C8;
  font-size: 1.4rem;
  line-height: 1.55;
  word-break: keep-all;
}

.pd-mock__video {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  min-height: 16rem;
  margin-bottom: 1.6rem;
  padding: 2rem;
  border: 1px solid rgba(100, 113, 246, 0.28);
  border-radius: 1.2rem;
  background:
    linear-gradient(180deg, rgba(100, 113, 246, 0.18), rgba(15, 23, 42, 0.2)),
    #0F172A;
}

.pd-mock__video span {
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: #98FFFF;
  text-transform: uppercase;
}

.pd-mock__video strong {
  font-size: 1.8rem;
}

.pd-mock__video em {
  font-style: normal;
  color: #A7B0C8;
  font-size: 1.3rem;
}

.pd-mock__chapters {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.6rem;
}

.pd-mock__chapters li {
  display: grid;
  grid-template-columns: 5.6rem 1fr;
  gap: 1rem;
  padding: 1rem 1.2rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 0.8rem;
}

.pd-mock__chapters li.is-on {
  border-color: rgba(100, 113, 246, 0.45);
  background: rgba(100, 113, 246, 0.12);
}

.pd-mock__chapters em {
  font-style: normal;
  color: #98FFFF;
  font-weight: 800;
  font-size: 1.25rem;
}

.pd-mock__panel ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.8rem;
}

.pd-mock__panel ul li {
  padding: 1rem 1.2rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 0.8rem;
  color: #C7D0E8;
  font-size: 1.4rem;
}

.pd-mock__panel ol {
  margin: 0;
  padding-left: 1.8rem;
  color: #C7D0E8;
  font-size: 1.45rem;
  line-height: 1.7;
}

.pd-mock__shorts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.pd-mock__shorts article {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  min-height: 12rem;
  padding: 1.4rem;
  border: 1px solid rgba(100, 113, 246, 0.28);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.03);
}

.pd-mock__shorts em {
  font-style: normal;
  color: #98FFFF;
  font-size: 1.2rem;
  font-weight: 800;
}

.pd-mock__shorts span {
  margin-top: auto;
  font-size: 1.4rem;
  font-weight: 700;
}

.pd-mock__quiz li.is-on {
  border-color: rgba(152, 255, 255, 0.35);
  background: rgba(152, 255, 255, 0.08);
  color: #fff;
}

.pd-mock__chat {
  display: grid;
  gap: 1rem;
}

.pd-mock__chat .is-q,
.pd-mock__chat .is-a {
  max-width: 90%;
  padding: 1.2rem 1.4rem;
  border-radius: 1.2rem;
  font-size: 1.4rem;
  line-height: 1.55;
  word-break: keep-all;
}

.pd-mock__chat .is-q {
  justify-self: end;
  background: rgba(100, 113, 246, 0.28);
  color: #fff;
}

.pd-mock__chat .is-a {
  justify-self: start;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #C7D0E8;
}

/* ----- Service structure (pipeline, not pricing cards) ----- */
.pd-structure {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin: 3.2rem 0 2.4rem;
  padding: 0;
  list-style: none;
  border: 1px solid #E6E9F2;
  border-radius: 1.8rem;
  overflow: hidden;
  background: #fff;
}

.pd-structure > li {
  position: relative;
  min-width: 0;
  padding: 2.4rem 2rem;
  border-right: 1px solid #E6E9F2;
}

.pd-structure > li:last-child {
  border-right: none;
}

.pd-structure > li:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -0.55rem;
  z-index: 1;
  width: 1rem;
  height: 1rem;
  border-top: 1px solid #D8DEF5;
  border-right: 1px solid #D8DEF5;
  background: #fff;
  transform: translateY(-50%) rotate(45deg);
}

.pd-structure__label {
  display: block;
  margin: 0 0 1rem;
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #6471F6;
}

.pd-structure strong {
  display: block;
  margin: 0 0 0.8rem;
  font-size: 1.7rem;
  font-weight: 800;
  color: #151B2E;
  word-break: keep-all;
}

.pd-structure p {
  margin: 0;
  font-size: 1.4rem;
  line-height: 1.55;
  color: #4B5568;
  word-break: keep-all;
}

.pd-ghost-light {
  color: #313EC0 !important;
  border-color: rgba(100, 113, 246, 0.35) !important;
  background: #fff !important;
}

.pd-ghost-light:hover {
  color: #19233F !important;
  border-color: #6471F6 !important;
}

.pd-section-cta {
  margin-top: 0.8rem;
}

.pd-section-cta--center {
  justify-content: center;
}

/* ----- Product Family ----- */
.pd-family {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.6rem;
  margin: 3.2rem 0 2.4rem;
  padding: 0;
  list-style: none;
}

.pd-family li {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-height: 100%;
  padding: 2.4rem 2rem;
  border: 1px solid #E6E9F2;
  border-radius: 1.6rem;
  background: #fff;
}

.pd-family__label {
  margin: 0 0 1rem;
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #6471F6;
}

.pd-family strong {
  display: block;
  margin: 0 0 1.6rem;
  flex: 1;
  font-size: 1.7rem;
  font-weight: 800;
  line-height: 1.4;
  letter-spacing: -0.02em;
  color: #151B2E;
  word-break: keep-all;
}

.pd-family a {
  font-size: 1.35rem;
  font-weight: 800;
  color: #6471F6;
  text-decoration: none;
  border-bottom: 1px solid transparent;
}

.pd-family a:hover {
  border-bottom-color: #6471F6;
}

/* ----- Final CTA ----- */
.pd-final {
  padding: 10rem 0;
  background:
    radial-gradient(ellipse 70% 50% at 70% 0%, rgba(100, 113, 246, 0.28), transparent 55%),
    linear-gradient(165deg, #0F172A 0%, var(--pilot-navy) 55%, #121A31 100%);
  color: var(--pilot-text);
  text-align: center;
}

.pd-final .dmex-hero__title {
  color: #fff;
}

.pd-final .dmex-hero__sub {
  margin-left: auto;
  margin-right: auto;
}

.pd-final .dmex-hero__cta {
  justify-content: center;
}

/* ----- Reveal (reuse home pattern if present) ----- */
.pd-page [data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.pd-page [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

/* ========== Responsive ========== */
@media (max-width: 1024px) {
  .pd-hero {
    margin-top: -7.2rem;
    padding: 10.8rem 0 4.8rem;
  }

  .pd-hero__grid {
    grid-template-columns: 1fr;
    gap: 2.4rem;
  }

  .pd-flow__ws {
    margin: 0;
    max-width: none;
  }

  .pd-flow__body {
    min-height: 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }

  .pd-problem-flow {
    padding: 2rem 1.6rem;
  }

  .pd-problem-flow__chain {
    grid-template-columns: 1fr;
    gap: 0.8rem;
  }

  .pd-problem-flow__sep {
    width: 1px;
    height: 1.6rem;
    margin: 0 auto;
    background: linear-gradient(180deg, #6471F6, rgba(100, 113, 246, 0.2));
  }

  .pd-family {
    grid-template-columns: 1fr;
  }

  .pd-process {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding-left: 0.4rem;
    border-left: 1px solid #D8DEF5;
  }

  .pd-process > li {
    padding: 0 0 0 1.6rem;
  }

  .pd-process > li:not(:last-child)::after {
    display: none;
  }

  .pd-process__num {
    display: block;
    margin-bottom: 0.4rem;
  }

  .pd-value-board {
    grid-template-columns: 1fr;
  }

  .pd-value-board__col {
    border-right: none;
    border-bottom: 1px solid #E6E9F2;
  }

  .pd-value-board__col:last-child {
    border-bottom: none;
  }

  .pd-structure {
    grid-template-columns: 1fr;
  }

  .pd-structure > li {
    border-right: none;
    border-bottom: 1px solid #E6E9F2;
  }

  .pd-structure > li:last-child {
    border-bottom: none;
  }

  .pd-structure > li:not(:last-child)::after {
    display: none;
  }

  .pd-expand {
    display: none;
  }

  .pd-expand__mobile {
    display: grid;
  }

  .pd-life {
    grid-template-columns: 1fr;
    gap: 1rem;
    padding-left: 0;
    border-left: none;
  }

  .pd-life__stage {
    border-radius: 1.4rem;
    border-left: 1px solid #E6E9F2;
    margin-bottom: 0;
  }

  .pd-life__stage:not(:last-child)::after {
    display: none;
  }

  .pd-life__stage.is-peak {
    border-left: 3px solid #98FFFF;
    border-color: rgba(100, 113, 246, 0.45);
    border-left-color: #98FFFF;
  }

  .pd-shorts {
    grid-template-columns: 1fr;
  }

  .pd-shorts__card {
    grid-template-columns: 6.4rem minmax(0, 1fr);
  }

  .pd-hub__sessions {
    grid-template-columns: 1fr 1fr;
  }

  .pd-agency-compare {
    grid-template-columns: 1fr;
  }

  /* Desktop feature desk hidden; mobile accordion shown */
  .pd-feat__desk {
    display: none;
  }

  .pd-feat__mobile {
    display: block;
    max-width: 100%;
  }

  .pd-mock__layout {
    grid-template-columns: 1fr;
    min-width: 0;
  }

  .pd-mock__nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    max-width: 100%;
    overflow: visible;
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    padding: 1rem;
  }

  .pd-mock__nav button {
    flex: 0 1 auto;
    white-space: nowrap;
    max-width: 100%;
  }

  .pd-mock__body {
    min-width: 0;
  }

  .pd-mock__shorts {
    grid-template-columns: 1fr;
  }

  .pd-final {
    padding: 6.4rem 0;
    text-align: left;
  }

  .pd-final .dmex-hero__cta {
    justify-content: flex-start;
  }

  .pd-section-cta--center {
    justify-content: flex-start;
  }
}

@media (max-width: 700px) {
  .pd-feat-ui__clips {
    grid-template-columns: 1fr 1fr;
  }

  .pd-hub__sessions {
    grid-template-columns: 1fr;
  }

  .pd-shorts__card {
    grid-template-columns: 1fr;
  }

  .pd-final .dmex-hero__cta,
  .pd-section .fp-section-cta,
  .pd-hero .dmex-hero__cta {
    flex-direction: column;
    align-items: stretch;
  }

  .pd-final .dmex-hero__cta .btn-base,
  .pd-final .dmex-hero__cta .btn-ghost-pilot,
  .pd-section .fp-section-cta .btn-base,
  .pd-section .fp-section-cta .btn-ghost-pilot,
  .pd-hero .dmex-hero__cta .btn-base,
  .pd-hero .dmex-hero__cta .btn-ghost-pilot {
    width: 100%;
    max-width: 100%;
    justify-content: center;
    box-sizing: border-box;
  }
}

@media (prefers-reduced-motion: reduce) {
  .pd-page [data-reveal],
  .pd-feat__panel.is-active,
  .pd-feat-acc__panel.is-open,
  .pd-mock__panel.is-active {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
    transition: none !important;
  }
}

/* Product pages only: closed off-canvas must not expand document scrollWidth.
   Keep drawer on the right; collapse width when closed (no body overflow-x hack). */
html:has(main.pd-page) .header-m {
  right: 0;
  width: 0;
  overflow: hidden;
  transform: none;
  transition: width 0.2s ease-in;
  pointer-events: none;
}

html:has(main.pd-page)[data-nav="open"] .header-m {
  width: min(28.8rem, 100vw);
  pointer-events: auto;
}

html:has(main.pd-page) .header-m-wrap {
  width: min(28.8rem, 100vw);
  min-width: min(28.8rem, 100vw);
  box-sizing: border-box;
}

html:has(main.pd-page) .header-m-scroll {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

html:has(main.pd-page) .header-m .header-language {
  transform: none;
  max-width: 100%;
}

