.mhs-tool-wrap {
  font-family: 'Inter', 'Plus Jakarta Sans', sans-serif;
  max-width: 760px;
  margin: 0 auto;
  padding: 0 16px;
}

/* Form */
.mhs-tool-form .mhs-field {
  margin-bottom: 20px;
}

.mhs-tool-form label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: #0F172A;
  margin-bottom: 6px;
}

.mhs-required {
  color: #EF4444;
}

.mhs-tool-form input[type="text"],
.mhs-tool-form input[type="email"],
.mhs-tool-form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid #CBD5E1;
  border-radius: 8px;
  font-size: 15px;
  font-family: inherit;
  color: #1E293B;
  background: #fff;
  box-sizing: border-box;
  transition: border-color 0.15s;
  outline: none;
}

.mhs-tool-form input:focus,
.mhs-tool-form textarea:focus {
  border-color: #2563EB;
  box-shadow: 0 0 0 3px rgba(37,99,235,0.10);
}

.mhs-tool-form textarea {
  min-height: 100px;
  resize: vertical;
}

/* Submit button */
.mhs-submit {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #2563EB, #1d4ed8);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 14px 28px;
  font-size: 16px;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  transition: opacity 0.15s, transform 0.1s;
  margin-top: 8px;
}

.mhs-submit:hover { opacity: 0.9; transform: translateY(-1px); }
.mhs-submit:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }

/* Loading */
.mhs-loading {
  text-align: center;
  padding: 40px 0;
  color: #64748B;
  font-size: 16px;
}

/* Error */
.mhs-error {
  color: #DC2626;
  font-size: 14px;
  margin-top: 8px;
  padding: 10px 14px;
  background: #FEF2F2;
  border-radius: 6px;
  border: 1px solid #FECACA;
}

/* Result area */
.mhs-result {
  margin-top: 32px;
}

.mhs-result h3 {
  font-size: 18px;
  font-weight: 700;
  color: #0F172A;
  margin: 0 0 12px;
}

.mhs-result-box {
  background: #F8FAFC;
  border: 1.5px solid #E2E8F0;
  border-radius: 10px;
  padding: 24px;
  font-size: 15px;
  line-height: 1.75;
  color: #1E293B;
  white-space: pre-wrap;
  min-height: 120px;
}

/* Copy button */
.mhs-copy-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
  background: #F1F5F9;
  color: #334155;
  border: 1.5px solid #CBD5E1;
  border-radius: 6px;
  padding: 8px 18px;
  font-size: 14px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: background 0.15s;
}
.mhs-copy-btn:hover { background: #E2E8F0; }

/* Affiliate note */
.mhs-affiliate-note {
  margin-top: 20px;
  padding: 14px 18px;
  background: #EFF6FF;
  border-left: 4px solid #2563EB;
  border-radius: 0 8px 8px 0;
  font-size: 14px;
  color: #1E40AF;
}
.mhs-affiliate-note a {
  color: #2563EB;
  font-weight: 600;
}

/* Email capture */
.mhs-email-capture {
  margin-top: 32px;
  padding: 28px 28px;
  background: linear-gradient(135deg, #0F172A, #1E3A5F);
  border-radius: 12px;
  color: #fff;
  text-align: center;
}

.mhs-email-capture h3 {
  font-size: 20px;
  font-weight: 800;
  color: #fff;
  margin: 0 0 8px;
}

.mhs-email-capture p {
  font-size: 15px;
  color: #94A3B8;
  margin: 0 0 20px;
}

.mhs-subscribe-form {
  display: flex;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
}

.mhs-subscribe-form input[type="email"] {
  flex: 1;
  min-width: 220px;
  max-width: 320px;
  padding: 12px 16px;
  border-radius: 8px;
  border: none;
  font-size: 15px;
  background: #fff;
  color: #0F172A;
  box-sizing: border-box;
}

.mhs-subscribe-form button {
  background: #2563EB;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 12px 22px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  transition: opacity 0.15s;
}
.mhs-subscribe-form button:hover { opacity: 0.9; }

@media (max-width: 600px) {
  .mhs-submit { width: 100%; justify-content: center; }
  .mhs-subscribe-form { flex-direction: column; align-items: stretch; }
  .mhs-subscribe-form input[type="email"] { max-width: 100%; }
}


/* ─── SEO Tool Hero ────────────────────────────────────────────────────────── */
.mhs-tool-hero {
  background: #fff;
  padding: 32px 36px;
  border-radius: 12px;
  margin-bottom: 32px;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

.mhs-tool-hero h2.mhs-tool-heading {
  font-size: 28px;
  font-weight: 800;
  color: #0F172A;
  margin-bottom: 12px;
}

.mhs-tool-hero p.mhs-tool-lead {
  font-size: 17px;
  line-height: 1.7;
  color: #374151;
  margin-bottom: 20px;
}

.mhs-tool-benefits {
  list-style: none;
  padding: 0;
  margin: 0 0 24px 0;
}

.mhs-tool-benefits li {
  padding: 8px 0 8px 28px;
  position: relative;
  font-size: 15px;
  color: #1E293B;
  border-bottom: 1px solid #F1F5F9;
}

.mhs-tool-benefits li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #2563EB;
  font-weight: 700;
}

/* ─── FAQ Section ──────────────────────────────────────────────────────────── */
.mhs-tool-faq {
  margin-top: 48px;
  padding-top: 40px;
  border-top: 2px solid #F1F5F9;
}

.mhs-tool-faq > h2 {
  font-size: 22px;
  font-weight: 800;
  color: #0F172A;
  margin-bottom: 24px;
}

.mhs-faq-item {
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid #F1F5F9;
}

.mhs-faq-item h3 {
  font-size: 16px;
  font-weight: 700;
  color: #0F172A;
  margin-bottom: 8px;
}

.mhs-faq-item p {
  font-size: 15px;
  line-height: 1.7;
  color: #374151;
  margin: 0;
}

/* ─── Inline CTA (internal linking) ───────────────────────────────────────── */
.mhs-inline-cta {
  background: linear-gradient(135deg, #EFF6FF, #DBEAFE);
  border: 2px solid #BFDBFE;
  border-radius: 12px;
  padding: 28px 32px;
  margin: 32px 0;
  text-align: center;
}

.mhs-inline-cta-eyebrow {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #2563EB;
  margin: 0 0 8px;
}

.mhs-inline-cta h3 {
  font-size: 20px;
  font-weight: 800;
  color: #0F172A;
  margin: 0 0 8px;
}

.mhs-inline-cta > p {
  font-size: 14px;
  color: #64748B;
  margin: 0 0 20px;
}

.mhs-inline-cta-btn {
  display: inline-block;
  background: #2563EB;
  color: #fff;
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 700;
  text-decoration: none;
  font-size: 15px;
  transition: opacity 0.15s;
}

.mhs-inline-cta-btn:hover {
  opacity: 0.9;
}
