/* ============================================================
   VAULTFORD FUNNEL — styles
   Extends the brand stylesheet (vault green / brass / warm paper,
   Fraunces + Public Sans). Mobile-first: large tap targets,
   single-column, minimal typing.
   ============================================================ */

.funnel-main {
  max-width: 620px;
  margin: 0 auto;
  padding: 28px 20px 90px;
  min-height: 62vh;
}

/* ---------- progress ---------- */
.funnel-progress { margin-bottom: 30px; }
.funnel-progress-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--brass);
  margin-bottom: 8px;
}
.funnel-progress-track {
  height: 4px;
  background: var(--rule);
  border-radius: 2px;
  overflow: hidden;
}
.funnel-progress-fill {
  height: 100%;
  background: var(--vault);
  border-right: 3px solid var(--brass);
  transition: width 0.35s ease;
}

/* ---------- card ---------- */
.funnel-card { animation: funnel-in 0.28s ease; }
@keyframes funnel-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}
.funnel-title {
  font-size: clamp(26px, 5.6vw, 34px);
  margin-bottom: 14px;
}
.funnel-pretitle {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brass);
  margin-bottom: 12px;
}
.funnel-body { font-size: 16.5px; margin-bottom: 26px; max-width: 560px; }

/* ---------- choice buttons ---------- */
.choice-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 6px; }
.choice-count-2 { grid-template-columns: 1fr 1fr; }
.choice-count-3, .choice-count-7 { grid-template-columns: 1fr; }
@media (min-width: 520px) {
  .choice-count-3 { grid-template-columns: repeat(3, 1fr); }
  .choice-count-7 { grid-template-columns: 1fr 1fr; }
}
.choice-btn {
  font-family: "Public Sans", sans-serif;
  font-size: 17px;
  font-weight: 600;
  color: var(--ink);
  background: var(--white);
  border: 1.5px solid var(--rule);
  border-radius: 6px;
  padding: 20px 16px;
  min-height: 62px;
  cursor: pointer;
  text-align: center;
  transition: border-color 0.12s ease, background 0.12s ease;
}
.choice-btn:hover { border-color: var(--vault); }
.choice-btn.selected {
  border-color: var(--vault);
  background: rgba(28, 70, 52, 0.06);
  box-shadow: inset 0 0 0 1px var(--vault);
}

/* ---------- inputs ---------- */
.funnel-form { display: block; }
.funnel-field { margin-bottom: 20px; }
.funnel-label {
  display: block;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--ink);
  margin-bottom: 8px;
}
.funnel-input {
  width: 100%;
  font-family: "Public Sans", sans-serif;
  font-size: 17px;
  color: var(--ink);
  background: var(--white);
  border: 1.5px solid var(--rule);
  border-radius: 6px;
  padding: 15px 16px;
  min-height: 56px;
}
.funnel-input:focus {
  outline: none;
  border-color: var(--vault);
  box-shadow: 0 0 0 1px var(--vault);
}
select.funnel-input { appearance: auto; }
.has-error .funnel-input, .has-error .choice-btn { border-color: #9c3c2e; }
.funnel-error {
  font-size: 14px;
  color: #9c3c2e;
  margin-top: 8px;
}
.otp-input {
  font-size: 26px;
  letter-spacing: 0.5em;
  text-align: center;
  max-width: 300px;
}

/* ---------- buttons & links ---------- */
.funnel-next { width: 100%; margin-top: 8px; padding: 17px 30px; font-size: 16.5px; }
@media (min-width: 520px) { .funnel-next { width: auto; min-width: 260px; } }
.funnel-back {
  display: block;
  background: none;
  border: none;
  font-family: "Public Sans", sans-serif;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--slate);
  margin-top: 22px;
  cursor: pointer;
  padding: 6px 0;
}
.funnel-back:hover { color: var(--vault); }
.funnel-resend {
  display: block;
  background: none;
  border: none;
  font-family: "Public Sans", sans-serif;
  font-size: 14.5px;
  font-weight: 700;
  color: var(--vault);
  margin-top: 18px;
  cursor: pointer;
  padding: 6px 0;
}
.funnel-resend:disabled { color: var(--slate); font-weight: 600; cursor: default; }

/* ---------- consent ---------- */
.consent-box {
  background: var(--white);
  border: 1px solid var(--rule);
  border-radius: 6px;
  padding: 8px 20px;
  margin-bottom: 24px;
}
.consent-row {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 14px 0;
  border-bottom: 1px solid var(--rule);
  cursor: pointer;
}
.consent-row:last-of-type { border-bottom: none; }
.consent-row input[type="checkbox"] {
  width: 22px;
  height: 22px;
  margin-top: 2px;
  flex-shrink: 0;
  accent-color: var(--vault);
  cursor: pointer;
}
.consent-row.has-error .consent-text { color: #9c3c2e; }
.consent-text { font-size: 14px; line-height: 1.6; color: var(--slate); }
.consent-footnote {
  font-size: 12.5px;
  color: var(--slate);
  border-top: 1px solid var(--rule);
  padding: 14px 0 12px;
  margin: 0;
}

/* ---------- fix-it & terminal ---------- */
.funnel-fixlist { margin: 0 0 26px 22px; }
.funnel-fixlist li { margin-bottom: 8px; color: #9c3c2e; font-weight: 600; }
.funnel-terminal { text-align: center; padding-top: 26px; }
.funnel-terminal .funnel-title { margin-top: 18px; }
.funnel-terminal .funnel-body { margin: 0 auto 30px; }
.funnel-seal svg { width: 72px; height: 72px; }

/* ---------- slim funnel header note ---------- */
.funnel-header-note {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--slate);
}
.funnel-header-note svg { width: 15px; height: 15px; flex-shrink: 0; }
@media (max-width: 480px) { .funnel-header-note span { display: none; } }
