/* Homepage extras (demo, FAQ, trial) — lander.css covers most section grids. */

:is(.mmhp-site, .editor-styles-wrapper) .home-conversion-heading {
  margin: 0 0 12px;
  font-size: clamp(1.5rem, 1.2rem + 1vw, 1.75rem);
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: #1c2b45;
  font-weight: 700;
}

:is(.mmhp-site, .editor-styles-wrapper) .mmhp-demo-label {
  margin: 8px 0 12px;
  font-size: 14px;
  font-weight: 600;
  color: #4b5563;
}

:is(.mmhp-site, .editor-styles-wrapper) .mmhp-demo-lang {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 16px;
}

:is(.mmhp-site, .editor-styles-wrapper) .mmhp-demo-lang-btn {
  appearance: none;
  border: 1px solid #e5e7eb;
  background: #fff;
  color: #1c2b45;
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}

:is(.mmhp-site, .editor-styles-wrapper) .mmhp-demo-lang-btn.is-active,
:is(.mmhp-site, .editor-styles-wrapper) .mmhp-demo-lang-btn[aria-pressed='true'] {
  background: #eef2ff;
  border-color: #4f46e5;
  color: #4338ca;
}

:is(.mmhp-site, .editor-styles-wrapper) .mmhp-demo-frame {
  border-radius: 16px;
  overflow: hidden;
  background: #0f172a;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.06), 0 2px 6px rgba(0, 0, 0, 0.05);
}

:is(.mmhp-site, .editor-styles-wrapper) .mmhp-demo-video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  background: #0f172a;
}

:is(.mmhp-site, .editor-styles-wrapper) .mmhp-demo-cta-wrap {
  margin: 20px 0 0;
}

:is(.mmhp-site, .editor-styles-wrapper) .mmhp-faq-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 18px;
}

:is(.mmhp-site, .editor-styles-wrapper) .mmhp-faq-item {
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  background: #fff;
  padding: 0;
}

:is(.mmhp-site, .editor-styles-wrapper) .mmhp-faq-question {
  cursor: pointer;
  list-style: none;
  padding: 14px 16px;
  font-weight: 700;
  color: #1c2b45;
}

:is(.mmhp-site, .editor-styles-wrapper) .mmhp-faq-question::-webkit-details-marker {
  display: none;
}

:is(.mmhp-site, .editor-styles-wrapper) .mmhp-faq-answer {
  padding: 0 16px 16px;
  color: #4b5563;
  line-height: 1.55;
}

:is(.mmhp-site, .editor-styles-wrapper) .mmhp-faq-more {
  margin-top: 16px;
  font-weight: 600;
}

/* Match production HIW cards: image-only button, no visible copy under preview. */
:is(.mmhp-site, .editor-styles-wrapper) button.home-hiw-card-button {
  appearance: none;
  font: inherit;
  margin: 0;
  min-height: 0;
  line-height: 0;
}

:is(.mmhp-site, .editor-styles-wrapper) .home-hiw-card-button .home-hiw-card-preview {
  display: block;
}

/* Privacy standards — match Next.js HomePrivacyStandards layout */
:is(.mmhp-site, .editor-styles-wrapper) .home-privacy-standards-heading {
  margin-bottom: 28px;
}

:is(.mmhp-site, .editor-styles-wrapper) .home-credibility-media__img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: contain;
  object-position: center;
  background: #f8fafc;
  border-radius: 0;
}

:is(.mmhp-site, .editor-styles-wrapper) .home-credibility-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

:is(.mmhp-site, .editor-styles-wrapper) .home-credibility-item {
  margin: 0;
}

:is(.mmhp-site, .editor-styles-wrapper) .home-credibility-item-title {
  display: block;
}

:is(.mmhp-site, .editor-styles-wrapper) .home-credibility-item-body {
  display: block;
}

:is(.mmhp-site, .editor-styles-wrapper) .home-privacy-footnote {
  margin-top: 2px;
  color: #4b5563;
  font-size: 14px;
  line-height: 1.5;
}

:is(.mmhp-site, .editor-styles-wrapper) .home-privacy-footnote a {
  color: #4f46e5;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

:is(.mmhp-site, .editor-styles-wrapper) .mmhp-homepage > * {
  margin-block-start: 0;
  margin-block-end: 0;
}

:is(.mmhp-site, .editor-styles-wrapper) .mmhp-page-main--home {
  max-width: none;
  margin: 0;
  padding: 0;
}

/* lander.css sets display:flex on the overlay; honor the hidden attribute. */
:is(.mmhp-site, .editor-styles-wrapper) .home-hiw-lightbox-overlay[hidden] {
  display: none !important;
}

@media (max-width: 768px) {
  :is(.mmhp-site, .editor-styles-wrapper) .mmhp-demo-lang-btn {
    font-size: 12px;
    padding: 6px 10px;
  }
}

@media (max-width: 390px) {
  :is(.mmhp-site, .editor-styles-wrapper) .home-conversion-section-inner {
    padding-left: 16px;
    padding-right: 16px;
  }
}
