/* ==========================================================
   health-check.css
   Page-specific styles for /health-check only.
   Colors/fonts match the rest of the site:
   purple = #571680, cream bg = #f8f6f2, font = DM Sans.
   ========================================================== */

/* Single-column version of the hero, used only here via the
   extra "single-col" class so the homepage's two-column
   .block-hero .hero rule is completely unaffected. */
.block-hero.single-col .hero {
  grid-template-columns: 1fr;
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.block-hero.single-col .hero h1 {
  font-size: clamp(28px, 4vw, 46px);
  line-height: 1.2;
}

.block-hero.single-col .text-side {
  align-items: center;
}

.block-hero.single-col .hero-badges {
  justify-content: center;
}

/* Checklist styles (legacy, currently unused) */
.plan-list {
  list-style: none;
  margin: 0 0 22px 0;
  padding: 0;
  display: inline-block;
  text-align: left;
}

.plan-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: #fff;
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  line-height: 1.5;
  margin-bottom: 10px;
}

.plan-list li .plan-check {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(255,255,255,0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}

.plan-list li .plan-check svg {
  width: 10px;
  height: 10px;
}

/* Checkbox field ("I use QuickBooks Online") */
.form-checkbox-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 4px 0 18px 0;
}

.form-checkbox-row input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: #571680;
  cursor: pointer;
  flex-shrink: 0;
}

.form-checkbox-row label {
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  color: #333;
  cursor: pointer;
}

/* Small muted note under the submit button */
.form-note {
  text-align: center;
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  color: #888;
  margin-top: 14px;
}

/* Multi-step reveal panels (invite step / all-set step) */
.plan-step,
.plan-success {
  scroll-margin-top: 100px;
}

.plan-step {
  text-align: left;
}

.plan-step .eyebrow {
  color: #571680;
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.plan-step h3 {
  font-family: 'Crimson Pro', serif;
  font-size: 28px;
  font-weight: 500;
  color: #1a1a1a;
  margin: 0 0 16px 0;
}

.plan-step p {
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  line-height: 1.6;
  color: #555;
  margin: 0 0 14px 0;
}

/* Accountant email box */
.accountant-email-box {
  background: #f8f6f2;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 14px;
  padding: 18px 20px;
  margin: 18px 0 20px 0;
}

.accountant-email-label {
  display: block;
  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: #888;
  margin-bottom: 8px;
}

.accountant-email-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.accountant-email-row code {
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: #571680;
  word-break: break-all;
}

.copy-email-btn {
  flex-shrink: 0;
  background: #571680;
  color: #fff;
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 600;
  border: none;
  border-radius: 30px;
  padding: 10px 20px;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.2s;
  white-space: nowrap;
}

.copy-email-btn:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

.copy-email-btn.copied {
  background: #2f9e44;
}

/* "Show Me How" accordion — reuses the FAQ look, scoped so it
   only affects this page's .plan-step accordion. */
.plan-step .faq-item {
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 14px;
  margin-bottom: 20px;
  overflow: hidden;
}

.plan-step .faq-question {
  width: 100%;
  background: #fff;
  border: none;
  text-align: left;
  padding: 16px 20px;
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: #571680;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.plan-step .faq-question .plus {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #f0eaf5;
  color: #571680;
  position: relative;
}

.plan-step .faq-question .plus::before,
.plan-step .faq-question .plus::after {
  content: '';
  position: absolute;
  background: #571680;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.plan-step .faq-question .plus::before { width: 10px; height: 2px; }
.plan-step .faq-question .plus::after { width: 2px; height: 10px; }

.plan-step .faq-item.active .faq-question .plus::after { display: none; }

.plan-step .faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  background: #fbfaf8;
}

.plan-step .faq-item.active .faq-answer {
  max-height: 500px;
}

.plan-step .faq-answer-inner {
  padding: 4px 20px 18px 20px;
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  color: #555;
  line-height: 1.6;
}

.plan-step .faq-answer-inner ol {
  margin: 0;
  padding-left: 20px;
}

.plan-step .faq-answer-inner li {
  margin-bottom: 8px;
}

.plan-step .form-submit {
  margin-top: 4px;
}

.plan-step-note {
  text-align: center;
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  color: #888;
  margin-top: 10px;
}

/* Final success state — replaces the entire form section
   (heading included) once the visitor confirms they've sent
   the QuickBooks invite. */
.plan-success {
  text-align: center;
  max-width: 560px;
  margin: 0 auto;
}

.plan-success-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #571680;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px auto;
}

.plan-success-icon svg {
  width: 28px;
  height: 28px;
}

.plan-success h2 {
  font-family: 'Crimson Pro', serif;
  font-weight: 500;
  font-size: clamp(28px, 4vw, 38px);
  color: #1a1a1a;
  margin: 0 0 8px 0;
}

.plan-success-subhead {
  font-family: 'DM Sans', sans-serif;
  font-size: 17px;
  font-weight: 600;
  color: #571680;
  margin: 0 0 22px 0;
}

.plan-success p {
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  line-height: 1.65;
  color: #555;
  margin: 0 0 16px 0;
}

.plan-success p:last-child {
  margin-bottom: 0;
}

/* Disclaimer strip at the bottom of the page content */
.plan-disclaimer {
  max-width: 720px;
  margin: 0 auto;
  padding: 32px 24px 48px 24px;
  text-align: center;
}

.plan-disclaimer p {
  font-family: 'DM Sans', sans-serif;
  font-size: 12.5px;
  line-height: 1.6;
  color: #999;
  margin: 0;
}

@media (max-width: 480px) {
  .accountant-email-row {
    flex-direction: column;
    align-items: flex-start;
  }
  .copy-email-btn {
    width: 100%;
    text-align: center;
  }
}

.block-hero.single-col .hero-cta { margin-left: auto; margin-right: auto; }
.block-hero.single-col .hero p { margin-left: auto; margin-right: auto; }
.block-hero.single-col .hero p.hero-alt-label { margin: 10px auto 8px auto; }
