/* Shared editorial FAQ treatment approved in faq-design-preview.html.
   Page-specific FAQ headings intentionally remain controlled by each page. */

.ml-product-page .v-faq-list {
  border-top-color: rgba(140, 107, 48, 0.42);
}

.ml-product-page .v-faq-item {
  border-bottom-color: #e3dccf;
}

.ml-product-page .v-faq-item.active {
  background: rgba(255, 255, 255, 0.48);
  border-bottom-color: rgba(140, 107, 48, 0.42);
}

.ml-product-page .v-faq-btn {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) 28px;
  align-items: center;
  gap: 22px;
  min-height: 92px;
  padding: 24px 30px;
}

.ml-product-page .v-faq-num {
  align-self: center;
  margin: 0;
  color: #8c6b30;
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1;
  font-variant-numeric: lining-nums tabular-nums;
  font-feature-settings: 'lnum' 1, 'tnum' 1;
}

.ml-product-page .v-faq-text {
  display: block;
  min-width: 0;
  padding: 0;
  font-size: clamp(1.28rem, 2vw, 1.52rem);
  line-height: 1.32;
  text-wrap: pretty;
}

.ml-product-page .v-faq-icon {
  align-self: center;
  justify-self: end;
  margin: 0;
}

.ml-product-page .v-faq-content {
  max-width: 70ch;
  padding: 0 56px 44px 100px;
  color: #5f5d58;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.74;
  letter-spacing: 0;
  text-wrap: pretty;
}

.ml-product-page .v-faq-content p {
  margin: 0 0 1.15em;
}

.ml-product-page .v-faq-content p:last-child {
  margin-bottom: 0;
}

.ml-product-page .v-faq-content .ans-lead {
  margin-bottom: 1.15em;
  color: #292824;
  font-size: 1rem;
  font-weight: 470;
  line-height: 1.72;
}

.ml-product-page .v-faq-content strong {
  color: #272622;
  font-weight: 590;
}

.ml-product-page .v-faq-content em {
  color: #393733;
}

.ml-product-page .edition-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  margin: 1.6rem 0 1.55rem;
  padding: 0;
  list-style: none;
}

.ml-product-page .edition-list li {
  padding: 20px 0 0;
  border-top: 1px solid rgba(140, 107, 48, 0.34);
}

.ml-product-page .edition-list li::before {
  display: none;
}

.ml-product-page .edition-copy {
  margin: 0;
  color: #55534e;
  font-size: 0.96rem;
  line-height: 1.74;
}

.ml-product-page .edition-name {
  color: #272622;
  font-weight: 590;
}

.ml-product-page .edition-meta,
.ml-product-page .key-detail {
  color: #8c6b30;
  font-weight: 540;
  white-space: nowrap;
  font-variant-numeric: lining-nums tabular-nums;
  font-feature-settings: 'lnum' 1, 'tnum' 1;
}

.ml-product-page .guide-note {
  margin-top: 1.9rem;
  padding-top: 1.15rem;
  border-top: 1px solid rgba(140, 107, 48, 0.34);
}

.ml-product-page .guide-main,
.ml-product-page .guide-letter {
  display: block;
}

.ml-product-page .guide-main {
  color: #55534e;
}

.ml-product-page .guide-count {
  color: #8c6b30;
  font-weight: 540;
  white-space: nowrap;
}

.ml-product-page .guide-title {
  color: #2c2a26;
  font-weight: 560;
}

.ml-product-page .guide-letter {
  margin-top: 0.55rem;
  color: #85817a;
  font-size: 0.92rem;
}

.ml-product-page .answer-label {
  margin-top: 1.65rem;
  margin-bottom: 0.65rem;
  color: #8c6b30;
  font-size: 0.7rem;
  font-weight: 650;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.ml-product-page .example-copy {
  margin: 0 0 1rem;
  padding: 3px 0 3px 22px;
  border-left: 1px solid rgba(140, 107, 48, 0.42);
  color: #373530;
  font-size: 0.98rem;
  line-height: 1.7;
}

.ml-product-page .intake-fields {
  margin: 1.15rem 0 1.25rem;
  padding: 0;
  border-top: 1px solid rgba(140, 107, 48, 0.34);
  border-bottom: 1px solid rgba(140, 107, 48, 0.34);
  list-style: none;
}

.ml-product-page .intake-fields li {
  position: relative;
  margin: 0;
  padding: 14px 0 14px 22px;
  border-bottom: 1px solid #e3dccf;
  color: #55534e;
  line-height: 1.66;
}

.ml-product-page .intake-fields li:last-child {
  border-bottom: 0;
}

.ml-product-page .intake-fields li::before {
  content: '';
  position: absolute;
  top: 1.23em;
  left: 1px;
  display: block;
  width: 6px;
  height: 6px;
  border: 1px solid rgba(140, 107, 48, 0.75);
  border-radius: 50%;
  background: transparent;
}

.ml-product-page .intake-footer {
  margin-top: 0.9rem;
  color: #85817a;
  font-size: 0.92rem;
  line-height: 1.68;
}

.ml-product-page .policy-key,
.ml-product-page .term-anchor,
.ml-product-page .service-anchor {
  color: #32302c;
  font-weight: 570;
}

.ml-product-page .concept-pair,
.ml-product-page .service-map {
  margin: 1.35rem 0 1.45rem;
}

.ml-product-page .concept-pair p,
.ml-product-page .service-map p {
  margin: 0;
  padding: 15px 0;
  border-top: 1px solid #e3dccf;
}

.ml-product-page .concept-pair p:last-child,
.ml-product-page .service-map p:last-child {
  border-bottom: 1px solid #e3dccf;
}

/* Upgrade keeps its existing dark heading and section treatment. */
[data-m3-page='upgrade-to-pro'] .faq-list {
  border-top: 1px solid rgba(198, 166, 100, 0.26);
}

[data-m3-page='upgrade-to-pro'] .faq-item {
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease), background-color 0.3s ease, border-color 0.3s ease;
}

[data-m3-page='upgrade-to-pro'] .faq-item.is-open {
  background: rgba(198, 166, 100, 0.035);
  border-bottom-color: rgba(198, 166, 100, 0.28);
}

[data-m3-page='upgrade-to-pro'] .faq-q {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) 28px;
  align-items: center;
  gap: 22px;
  min-height: 92px;
  padding: 24px 18px;
}

[data-m3-page='upgrade-to-pro'] .faq-num {
  color: var(--gold);
  font-family: var(--f-playfair);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1;
  font-variant-numeric: lining-nums tabular-nums;
  font-feature-settings: 'lnum' 1, 'tnum' 1;
}

[data-m3-page='upgrade-to-pro'] .faq-qt {
  min-width: 0;
  padding: 0;
}

[data-m3-page='upgrade-to-pro'] .faq-ic {
  justify-self: end;
}

[data-m3-page='upgrade-to-pro'] .faq-ai {
  max-width: 70ch;
  padding: 0 56px 32px 88px;
  color: rgba(247, 242, 232, 0.76);
  font-size: 1rem;
  line-height: 1.74;
}

[data-m3-page='upgrade-to-pro'] .faq-ai p {
  margin: 0 0 1.15em;
}

[data-m3-page='upgrade-to-pro'] .faq-ai p:last-child {
  margin-bottom: 0;
}

[data-m3-page='upgrade-to-pro'] .key-detail {
  color: var(--gold-bright);
  font-weight: 560;
  white-space: nowrap;
  font-variant-numeric: lining-nums tabular-nums;
  font-feature-settings: 'lnum' 1, 'tnum' 1;
}

[data-m3-page='upgrade-to-pro'] .service-anchor,
[data-m3-page='upgrade-to-pro'] .term-anchor,
[data-m3-page='upgrade-to-pro'] .policy-key {
  color: #f2eadc;
  font-weight: 570;
}

@media (max-width: 768px) {
  .ml-product-page .v-faq-btn {
    grid-template-columns: 31px minmax(0, 1fr) 22px;
    gap: 10px;
    min-height: 76px;
    padding: 20px 12px;
  }

  .ml-product-page .v-faq-num {
    font-size: 0.92rem;
  }

  .ml-product-page .v-faq-text {
    padding: 0;
    font-size: 1.08rem;
    line-height: 1.37;
  }

  .ml-product-page .v-faq-icon {
    width: 18px;
    height: 18px;
  }

  .ml-product-page .v-faq-icon::before {
    top: 8px;
    width: 16px;
  }

  .ml-product-page .v-faq-icon::after {
    left: 8px;
    height: 16px;
  }

  .ml-product-page .v-faq-content {
    max-width: none;
    padding: 0 14px 32px 43px;
    font-size: 0.9375rem;
    line-height: 1.68;
  }

  .ml-product-page .v-faq-content .ans-lead {
    font-size: 0.96rem;
  }

  .ml-product-page .edition-list {
    grid-template-columns: 1fr;
    gap: 18px;
    margin: 1.25rem 0 1.4rem;
  }

  .ml-product-page .edition-list li {
    padding-top: 15px;
  }

  .ml-product-page .edition-copy {
    font-size: 0.91rem;
    line-height: 1.68;
  }

  .ml-product-page .guide-note {
    margin-top: 1.5rem;
    padding-top: 0.95rem;
  }

  .ml-product-page .guide-main {
    font-size: 0.92rem;
  }

  .ml-product-page .guide-letter,
  .ml-product-page .intake-footer {
    font-size: 0.87rem;
  }

  .ml-product-page .intake-fields {
    margin: 1rem 0 1.1rem;
  }

  .ml-product-page .intake-fields li {
    padding: 12px 0 12px 19px;
    font-size: 0.9rem;
    line-height: 1.62;
  }

  .ml-product-page .intake-fields li::before {
    top: 1.17em;
    width: 5px;
    height: 5px;
  }

  .ml-product-page .example-copy {
    padding-left: 16px;
    font-size: 0.94rem;
    line-height: 1.62;
  }

  [data-m3-page='upgrade-to-pro'] .faq-q {
    grid-template-columns: 31px minmax(0, 1fr) 22px;
    gap: 10px;
    min-height: 76px;
    padding: 20px 12px;
    font-size: 1.08rem;
    line-height: 1.37;
  }

  [data-m3-page='upgrade-to-pro'] .faq-num {
    font-size: 0.92rem;
  }

  [data-m3-page='upgrade-to-pro'] .faq-ic {
    width: 18px;
    height: 18px;
  }

  [data-m3-page='upgrade-to-pro'] .faq-ai {
    max-width: none;
    padding: 0 14px 30px 43px;
    font-size: 0.9375rem;
    line-height: 1.68;
  }
}
