/* ========================================
   Strongly Report — landing-page intake pages
   Pages: /report/, /report/new, /report/verify-sent, /report/privacy
   Inter font, navy gradient hero, Strongly green CTA
   ES5/IE11 friendly: vendor prefixes throughout
   ======================================== */

/* Hero styles live in strongly.css under `.hero-gradient` — every
   /report/* page uses that site-wide class for visual consistency. */

/* ---------- Explainer content ---------- */

.report-explainer {
  background-color: #f8fafc;
  background-color: var(--background-light);
  padding: 64px 0;
}

.report-card {
  background: #ffffff;
  -webkit-border-radius: 14px;
  -moz-border-radius: 14px;
  border-radius: 14px;
  padding: 1.75rem;
  height: 100%;
  -webkit-box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  -moz-box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  border: 1px solid #e5e7eb;
  -webkit-transition: all 0.25s ease;
  -moz-transition: all 0.25s ease;
  -o-transition: all 0.25s ease;
  transition: all 0.25s ease;
}

.report-card:hover {
  -webkit-transform: translateY(-3px);
  -moz-transform: translateY(-3px);
  -ms-transform: translateY(-3px);
  -o-transform: translateY(-3px);
  transform: translateY(-3px);
  -webkit-box-shadow: 0 6px 18px rgba(0,0,0,0.08);
  -moz-box-shadow: 0 6px 18px rgba(0,0,0,0.08);
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
}

.report-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin: 0 0 0.5rem 0;
  color: #1f2937;
}

.report-card p {
  font-size: 0.95rem;
  line-height: 1.55;
  color: #4b5563;
  margin: 0;
}

.report-card .icon {
  width: 38px; height: 38px;
  -webkit-border-radius: 8px;
  -moz-border-radius: 8px;
  border-radius: 8px;
  background-color: rgba(5, 163, 74, 0.1);
  color: #05A34A;
  color: var(--primary-color);
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -webkit-align-items: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
  -ms-flex-pack: center;
  justify-content: center;
  margin-bottom: 0.85rem;
}

.report-cta-band {
  background-color: #ffffff;
  padding: 56px 0;
  text-align: center;
}

.report-cta-band h2 {
  font-size: 1.75rem;
  font-weight: 700;
  margin: 0 0 1rem 0;
}

.report-cta-band .lead {
  color: #4b5563;
  max-width: 600px;
  margin: 0 auto 2rem auto;
}

.btn-report-primary {
  display: inline-block;
  background-color: #05A34A;
  color: #ffffff;
  font-weight: 600;
  padding: 0.9rem 2rem;
  -webkit-border-radius: 8px;
  -moz-border-radius: 8px;
  border-radius: 8px;
  text-decoration: none;
  -webkit-transition: background-color 0.2s ease;
  -moz-transition: background-color 0.2s ease;
  -o-transition: background-color 0.2s ease;
  transition: background-color 0.2s ease;
}

.btn-report-primary:hover {
  background-color: #048a3e;
  color: #ffffff;
}

/* ---------- Multi-step form ---------- */

.report-form-section {
  background-color: #f8fafc;
  padding: 56px 0 96px;
  min-height: 60vh;
}

.report-form-shell {
  max-width: 720px;
  margin: 0 auto;
  background: #ffffff;
  -webkit-border-radius: 14px;
  -moz-border-radius: 14px;
  border-radius: 14px;
  -webkit-box-shadow: 0 4px 14px rgba(0,0,0,0.06);
  -moz-box-shadow: 0 4px 14px rgba(0,0,0,0.06);
  box-shadow: 0 4px 14px rgba(0,0,0,0.06);
  padding: 2rem;
  border: 1px solid #e5e7eb;
}

@media (min-width: 768px) {
  .report-form-shell { padding: 2.5rem 3rem; }
}

.report-step { display: none; }
.report-step.is-active { display: block; }

.report-progress {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -webkit-align-items: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: justify;
  -webkit-justify-content: space-between;
  -ms-flex-pack: justify;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid #e5e7eb;
}

.report-progress .dot {
  display: inline-block;
  width: 28px; height: 28px;
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  border-radius: 50%;
  background-color: #e5e7eb;
  color: #6b7280;
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 28px;
  text-align: center;
  margin: 0 4px;
}

.report-progress .dot.is-active {
  background-color: #05A34A;
  color: #ffffff;
}

.report-progress .dot.is-done {
  background-color: #1f2937;
  color: #ffffff;
}

.report-progress .label {
  font-size: 0.8rem;
  font-weight: 600;
  color: #6b7280;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.report-form-shell label {
  display: block;
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 0.4rem;
  color: #1f2937;
}

.report-form-shell input[type="text"],
.report-form-shell input[type="email"],
.report-form-shell input[type="tel"],
.report-form-shell input[type="number"],
.report-form-shell select,
.report-form-shell textarea {
  width: 100%;
  padding: 0.7rem 0.9rem;
  font-size: 1rem;
  border: 1px solid #d1d5db;
  -webkit-border-radius: 8px;
  -moz-border-radius: 8px;
  border-radius: 8px;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-color: #ffffff;
  color: #1f2937;
  font-family: inherit;
}

.report-form-shell textarea {
  min-height: 110px;
  resize: vertical;
}

.report-form-shell input:focus,
.report-form-shell select:focus,
.report-form-shell textarea:focus {
  outline: 0;
  border-color: #05A34A;
  -webkit-box-shadow: 0 0 0 3px rgba(5,163,74,0.12);
  -moz-box-shadow: 0 0 0 3px rgba(5,163,74,0.12);
  box-shadow: 0 0 0 3px rgba(5,163,74,0.12);
}

.report-form-shell .field {
  margin-bottom: 1.25rem;
}

.report-form-shell .field-help {
  font-size: 0.825rem;
  color: #6b7280;
  margin-top: 0.25rem;
}

.report-form-shell .field-error {
  font-size: 0.825rem;
  color: #b91c1c;
  margin-top: 0.4rem;
}

.report-form-shell .field-radio,
.report-form-shell .field-checkbox {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: start;
  -webkit-align-items: flex-start;
  -ms-flex-align: start;
  align-items: flex-start;
  margin-bottom: 0.6rem;
}

.report-form-shell .field-radio input,
.report-form-shell .field-checkbox input {
  margin: 0.3rem 0.6rem 0 0;
}

.report-form-shell .field-radio label,
.report-form-shell .field-checkbox label {
  margin-bottom: 0;
  font-weight: 500;
  cursor: pointer;
}

.report-form-shell .field-radio .radio-helper,
.report-form-shell .field-checkbox .check-helper {
  display: block;
  font-size: 0.85rem;
  color: #6b7280;
  font-weight: 400;
  margin-top: 0.1rem;
}

/* Honeypot — visible to bots, invisible to humans and screen readers. */
.report-honeypot {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.report-actions {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -webkit-justify-content: space-between;
  -ms-flex-pack: justify;
  justify-content: space-between;
  -webkit-box-align: center;
  -webkit-align-items: center;
  -ms-flex-align: center;
  align-items: center;
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid #e5e7eb;
}

.btn-secondary-step {
  background: transparent;
  border: 1px solid #d1d5db;
  color: #4b5563;
  font-weight: 600;
  padding: 0.65rem 1.25rem;
  -webkit-border-radius: 8px;
  -moz-border-radius: 8px;
  border-radius: 8px;
  cursor: pointer;
}

.btn-secondary-step:disabled {
  opacity: 0.5;
  cursor: default;
}

.btn-primary-step {
  background-color: #05A34A;
  color: #ffffff;
  border: 0;
  font-weight: 600;
  padding: 0.7rem 1.5rem;
  -webkit-border-radius: 8px;
  -moz-border-radius: 8px;
  border-radius: 8px;
  cursor: pointer;
  -webkit-transition: background-color 0.2s ease;
  -moz-transition: background-color 0.2s ease;
  -o-transition: background-color 0.2s ease;
  transition: background-color 0.2s ease;
}

.btn-primary-step:hover { background-color: #048a3e; }
.btn-primary-step:disabled {
  opacity: 0.6;
  cursor: default;
}

/* ============================================================
   Mobile responsiveness
   ------------------------------------------------------------
   The form is shown to prospects on phones often as not. The
   default flex row layouts (progress + action row) need to
   adapt below the tablet breakpoint so:
     - stage dots don't wrap onto a second line
     - the "Submit" button doesn't stretch full-width or grow
       in font-size from a missing constraint
     - shell padding stays roomy without crowding edges
   ============================================================ */

@media (max-width: 575px) {
  .report-form-shell {
    padding: 1.5rem 1.25rem;
    border-radius: 10px;
  }

  /* Progress bar: stack the "Step X of Y" label under the dots
     so neither competes for horizontal space. Dots shrink and
     scroll-clip if the screen is genuinely tiny (≤340px). */
  .report-progress {
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-align-items: flex-start;
    -ms-flex-align: start;
    align-items: flex-start;
    gap: 0.5rem;
    margin-bottom: 1.25rem;
    padding-bottom: 1rem;
  }
  .report-progress > div {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-flex-wrap: nowrap;
    -ms-flex-wrap: nowrap;
    flex-wrap: nowrap;
    overflow-x: hidden;
  }
  .report-progress .dot {
    width: 24px;
    height: 24px;
    line-height: 24px;
    font-size: 0.7rem;
    margin: 0 3px 0 0;
    -webkit-flex: 0 0 auto;
    -ms-flex: 0 0 auto;
    flex: 0 0 auto;
  }
  .report-progress .label {
    font-size: 0.7rem;
    letter-spacing: 0.06em;
  }

  /* Step headings shrink to keep line breaks sensible */
  .report-step h2 {
    font-size: 1.1rem !important;
  }

  /* Inputs: bigger touch targets on phones */
  .report-form-shell input[type="text"],
  .report-form-shell input[type="email"],
  .report-form-shell input[type="tel"],
  .report-form-shell input[type="number"],
  .report-form-shell select,
  .report-form-shell textarea {
    font-size: 16px; /* avoids iOS auto-zoom on focus */
    padding: 0.7rem 0.85rem;
  }

  /* Action row: Back left, Submit/Continue right; both compact.
     Cap the primary button's width so a long label (or future
     "Submitting…" state) doesn't blow up the layout. */
  .report-actions {
    gap: 0.75rem;
  }
  .btn-secondary-step,
  .btn-primary-step {
    padding: 0.65rem 1.1rem;
    font-size: 0.95rem;
    /* Keep buttons sized to content, not stretched */
    -webkit-flex: 0 0 auto;
    -ms-flex: 0 0 auto;
    flex: 0 0 auto;
    min-width: 88px;
    max-width: 60%;
  }
}

/* Even-smaller screens (≤360px) — tighten dots gap further and
   trim the form shell padding to maximize content area. */
@media (max-width: 360px) {
  .report-form-shell {
    padding: 1.25rem 1rem;
  }
  .report-progress .dot {
    width: 22px;
    height: 22px;
    line-height: 22px;
    margin: 0 2px 0 0;
  }
}

.report-error-banner {
  background-color: #fef2f2;
  border: 1px solid #fecaca;
  color: #991b1b;
  padding: 0.75rem 1rem;
  -webkit-border-radius: 8px;
  -moz-border-radius: 8px;
  border-radius: 8px;
  margin-bottom: 1rem;
  font-size: 0.95rem;
  display: none;
}

.report-error-banner.is-visible { display: block; }

/* ---------- Closed-for-business notice ---------- */
/* Shown when /api/reports/intake-schema reports intakeOpen=false. */
/* Replaces the form so the prospect doesn't fill 5 steps for nothing. */
.report-closed-notice {
  background-color: #fff7ed;
  border: 1px solid #fed7aa;
  color: #7c2d12;
  padding: 2rem 1.5rem;
  -webkit-border-radius: 12px;
  -moz-border-radius: 12px;
  border-radius: 12px;
  text-align: center;
}
.report-closed-notice h2 {
  font-size: 1.25rem;
  margin: 0 0 0.75rem 0;
  color: #7c2d12;
}
.report-closed-notice p {
  margin: 0 0 0.5rem 0;
  font-size: 1rem;
  line-height: 1.55;
}
.report-closed-notice a {
  color: #7c2d12;
  font-weight: 600;
  text-decoration: underline;
}

/* ---------- Confirmation & static pages ---------- */

.report-confirm {
  background-color: #f8fafc;
  padding: 96px 0;
  text-align: center;
}

.report-confirm-card {
  max-width: 600px;
  margin: 0 auto;
  background: #ffffff;
  padding: 3rem 2rem;
  -webkit-border-radius: 14px;
  -moz-border-radius: 14px;
  border-radius: 14px;
  -webkit-box-shadow: 0 4px 14px rgba(0,0,0,0.06);
  -moz-box-shadow: 0 4px 14px rgba(0,0,0,0.06);
  box-shadow: 0 4px 14px rgba(0,0,0,0.06);
}

.report-confirm-card .checkmark {
  width: 56px; height: 56px;
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  border-radius: 50%;
  background-color: rgba(5,163,74,0.12);
  color: #05A34A;
  display: -webkit-inline-box;
  display: -webkit-inline-flex;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
  -webkit-align-items: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
  -ms-flex-pack: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.report-confirm-card h1 {
  font-size: 1.6rem;
  font-weight: 700;
  margin: 0 0 0.75rem 0;
}

.report-confirm-card p {
  color: #4b5563;
  margin-bottom: 1rem;
}

.report-confirm-card .email-shown {
  font-weight: 700;
  color: #1f2937;
}

/* ---------- Privacy page ---------- */

.report-privacy-section {
  background-color: #ffffff;
  padding: 80px 0;
}

.report-privacy-section h2 {
  font-size: 1.4rem;
  font-weight: 700;
  margin-top: 2rem;
  margin-bottom: 0.5rem;
  color: #1f2937;
}

.report-privacy-section ul li {
  margin-bottom: 0.5rem;
  line-height: 1.6;
  color: #374151;
}

.report-privacy-section p {
  line-height: 1.7;
  color: #374151;
}
