/* PromptMyImage Theme 1.2.2 — final homepage readability and hierarchy pass. */
body.home .pmi-home-v118 {
  --pmi-v122-blue: #3168f5;
  --pmi-v122-violet: #7657ef;
  --pmi-v122-pink: #d82bbd;
  --pmi-v122-ink: #091a38;
}

/* Unified control geometry. */
body.home .pmi-home-v118 .btn,
body.home .pmi-home-v118 button,
body.home .pmi-home-v118 .pmi-v118-text-button {
  min-height: 46px;
  border-radius: 12px;
  font-family: Poppins, sans-serif !important;
  font-size: 14px !important;
  font-weight: 650;
}
body.home .pmi-v118-final-inner > .btn,
body.home .pmi-v118-hero-actions .btn { min-height: 48px; }

/* Hero: stronger proof panel and calmer headline measure. */
body.home .pmi-v118-hero-grid {
  grid-template-columns: minmax(390px, .78fr) minmax(760px, 1.22fr) !important;
  gap: clamp(48px, 4.8vw, 82px) !important;
}
body.home .pmi-v118-hero-copy { max-width: 590px !important; }
body.home .pmi-v118-hero h1 {
  max-width: 590px;
  font-size: clamp(54px, 4.65vw, 60px) !important;
  line-height: 1.01 !important;
}
body.home .pmi-v118-demo-card {
  grid-template-columns: minmax(290px, .72fr) minmax(0, 1.78fr) !important;
  box-shadow: 0 28px 70px rgba(43, 55, 95, .10) !important;
}
body.home .pmi-v118-demo-output { padding: 24px !important; }
body.home .pmi-v118-demo-tabs { gap: 7px !important; }
body.home .pmi-v118-demo-tabs button { min-height: 38px; padding: 8px 13px !important; }
body.home .pmi-v118-prompt-panel p {
  min-height: 188px !important;
  font-size: 15.5px !important;
  line-height: 1.7 !important;
}
body.home .pmi-v118-analysis :is(dt,dd) { font-size: 14px !important; }

/* Steps: make numbering and guidance unmistakable. */
body.home .pmi-v118-step-grid article > span {
  display: grid !important;
  place-items: center !important;
  width: 28px !important;
  height: 28px !important;
  border-radius: 999px !important;
  background: #eef0ff !important;
  color: #6049e8 !important;
  font-size: 14px !important;
  font-weight: 800 !important;
  opacity: 1 !important;
}
body.home .pmi-v118-step-grid h3 { font-size: 18px !important; }
body.home .pmi-v118-step-grid p {
  max-width: 330px;
  margin-inline: auto !important;
  color: #5f6f89 !important;
  font-size: 15px !important;
  line-height: 1.6 !important;
}

/* Comparison + examples: improve balance and scanability. */
body.home .pmi-v118-proof-grid {
  grid-template-columns: minmax(390px, .82fr) minmax(0, 1.58fr) !important;
  gap: 26px !important;
}
body.home .pmi-v118-compare-card { padding: 28px !important; }
body.home .pmi-v118-compare-card h2 { font-size: clamp(30px, 2.65vw, 43px) !important; }
body.home .pmi-v118-compare-table span {
  min-width: 0;
  padding: 11px 9px !important;
  font-size: 14px !important;
  line-height: 1.35 !important;
}
body.home .pmi-v122-compare-link {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  margin-top: 18px;
  color: #5c49df;
  font-size: 14px !important;
  font-weight: 700;
  text-decoration: none;
}
body.home .pmi-v118-example-grid p {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  min-height: calc(1.55em * 3) !important;
  color: #68758b !important;
}
body.home .pmi-v118-example-grid h3 { font-size: 18px !important; }

/* Privacy: elevate supporting facts from flat text to real cards. */
body.home .pmi-v118-trust-facts > div {
  display: flex !important;
  align-items: flex-start !important;
  gap: 14px !important;
  min-height: 108px;
  padding: 20px !important;
  border: 1px solid #e5e9f2 !important;
  border-radius: 16px !important;
  background: #fff !important;
  box-shadow: 0 10px 30px rgba(35, 49, 83, .045) !important;
}
body.home .pmi-v118-trust-facts .icon {
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  padding: 10px;
  border-radius: 13px;
  background: #f0efff;
  color: #624ce8;
}
body.home .pmi-v118-trust-facts > div > span {
  display: grid;
  gap: 5px;
}
body.home .pmi-v118-trust-facts strong { font-size: 16px !important; }
body.home .pmi-v118-trust-facts small {
  color: #68758b;
  font-size: 14px !important;
  line-height: 1.55;
}

/* Pricing: improve recommendation hierarchy without visual noise. */
body.home .pmi-v118-pricing-grid article { position: relative; }
body.home .pmi-v118-pricing-grid article.is-featured {
  border-color: rgba(105, 75, 235, .7) !important;
  box-shadow: 0 20px 46px rgba(89, 69, 194, .11) !important;
}
body.home .pmi-v118-pricing-grid article.is-featured > small {
  top: -15px !important;
  padding: 7px 15px !important;
  border-radius: 999px !important;
  font-size: 14px !important;
}
body.home .pmi-v118-unit-price {
  color: #44526b !important;
  font-size: 14px !important;
  font-weight: 650 !important;
}

/* FAQ CTA: softer gradient and distinct role. */
body.home .pmi-v118-ready-card {
  background: linear-gradient(135deg, #4a73ee 0%, #7457e8 55%, #b735c1 100%) !important;
  box-shadow: 0 18px 42px rgba(87, 67, 187, .14) !important;
}
body.home .pmi-v118-ready-card h3 { font-size: 26px !important; }
body.home .pmi-v118-ready-card .btn-white { min-height: 46px; }

/* Final CTA consistency. */
body.home .pmi-v118-final-inner > .btn {
  min-width: 210px;
  justify-content: center;
  border-radius: 12px !important;
}

/* Footer legibility is non-negotiable. */
body.home .site-footer :is(p,a,li,span,small) {
  font-size: 14px !important;
  line-height: 1.55 !important;
}
body.home .site-footer .brand-copy strong { font-size: 18px !important; }

@media (max-width: 1280px) {
  body.home .pmi-v118-hero-grid { grid-template-columns: 1fr !important; }
  body.home .pmi-v118-hero-copy { max-width: 780px !important; }
  body.home .pmi-v118-demo-card { max-width: 1160px !important; }
  body.home .pmi-v118-proof-grid { grid-template-columns: 1fr !important; }
  body.home .pmi-v118-compare-card { max-width: 760px; }
}
@media (max-width: 980px) {
  body.home .pmi-v118-demo-card { grid-template-columns: 1fr !important; }
  body.home .pmi-v118-prompt-panel p { min-height: 0 !important; }
}
@media (max-width: 580px) {
  body.home .pmi-v118-hero h1 { font-size: clamp(40px, 12vw, 54px) !important; }
  body.home .pmi-v118-compare-card { padding: 20px !important; }
  body.home .pmi-v118-trust-facts > div { min-height: 0; }
}
