/* Quote wizard — visual language of the chosen direction (variant A):
   ticket-style card, Bricolage display, Figtree body, Plex Mono numerals,
   gold reserved for the money moment. Requires tokens.css. */

.qw-card {
  background: #fff; border: 1px solid #e8e4dd; border-radius: var(--radius);
  box-shadow: var(--shadow); max-width: 640px; margin: 0 auto; overflow: hidden;
}

.qw-progress {
  display: flex; list-style: none; margin: 0; padding: 14px 18px;
  background: var(--c4c-mist); gap: 4px;
}
.qw-progress .qw-dot {
  flex: 1; text-align: center; font-family: "IBM Plex Mono", monospace;
  font-size: 0.62rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  color: #9aa7ad; padding-top: 10px; position: relative;
}
.qw-progress .qw-dot::before {
  content: ""; position: absolute; top: 0; left: 25%; right: 25%; height: 4px;
  border-radius: 2px; background: #d3dee3;
}
.qw-progress .qw-dot.done { color: var(--c4c-charcoal); }
.qw-progress .qw-dot.done::before { background: var(--c4c-green); opacity: 0.45; }
.qw-progress .qw-dot.now { color: var(--c4c-green-deep); }
.qw-progress .qw-dot.now::before { background: var(--c4c-green); }

.qw-body { padding: 28px 30px 30px; display: grid; gap: 16px; }
.qw-q { font-family: "Bricolage Grotesque", sans-serif; font-weight: 800; font-size: 1.45rem; line-height: 1.15; margin: 0; }
.qw-hint { color: #8a8377; font-size: 0.86rem; margin: -6px 0 0; }
.qw-center { text-align: center; }

.qw-field { display: grid; gap: 5px; }
.qw-field label { font-size: 0.8rem; font-weight: 600; color: var(--c4c-charcoal); }
.qw-field select, .qw-field input {
  width: 100%; padding: 12px; border: 1.5px solid #d9d2c6; border-radius: 8px;
  font: inherit; font-size: 1rem; background: #fff; color: var(--c4c-ink);
}
.qw-field select:focus, .qw-field input:focus {
  border-color: var(--c4c-green); outline: none; box-shadow: 0 0 0 3px rgba(78,139,58,0.18);
}

.qw-toggle-row {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  border: 1px solid #efece6; border-radius: 10px; padding: 14px 16px;
}
.qw-toggle-copy b { display: block; font-size: 0.97rem; }
.qw-toggle-copy small { color: #8a8377; font-size: 0.8rem; }
.qw-pills { display: flex; gap: 8px; flex: none; }
.qw-pill {
  font: 600 0.92rem "Figtree", sans-serif; padding: 9px 20px; border-radius: 999px;
  border: 1.5px solid #d9d2c6; background: #fff; color: var(--c4c-charcoal); cursor: pointer;
}
.qw-pill.on { background: var(--c4c-green); border-color: var(--c4c-green); color: #fff; }
.qw-pill:focus-visible { outline: 3px solid var(--c4c-gold); outline-offset: 2px; }

.qw-nav { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 6px; }
.qw-back {
  font: 600 0.95rem "Figtree", sans-serif; background: none; border: none; cursor: pointer;
  color: var(--c4c-charcoal); padding: 10px 6px;
}
.qw-back:hover { color: var(--c4c-green-deep); }
.qw-next {
  font: 600 1.05rem "Figtree", sans-serif; background: var(--c4c-green); color: #fff;
  border: none; cursor: pointer; padding: 14px 34px; border-radius: 10px; margin-left: auto;
  transition: background 0.15s ease;
}
.qw-next:hover { background: var(--c4c-green-deep); }
.qw-next:disabled { background: #cfc9be; cursor: not-allowed; }
.qw-next:focus-visible, .qw-back:focus-visible, .qw-restart:focus-visible { outline: 3px solid var(--c4c-gold); outline-offset: 2px; }

.qw-offer-eyebrow { font-size: 1.05rem; color: var(--c4c-charcoal); margin: 0; text-align: center; }
.qw-amount {
  font-family: "IBM Plex Mono", monospace; font-weight: 600; font-variant-numeric: tabular-nums;
  font-size: clamp(3.2rem, 9vw, 4.6rem); line-height: 1; color: var(--c4c-gold-deep); text-align: center;
}
.qw-offer-meta { text-align: center; color: var(--c4c-charcoal); font-size: 0.95rem; margin: 0; max-width: 40ch; justify-self: center; }
.qw-schedule { width: 100%; margin-left: 0; }
.qw-restart {
  font: 600 0.88rem "Figtree", sans-serif; background: none; border: none; cursor: pointer;
  color: #8a8377; text-decoration: underline; justify-self: center; padding: 4px;
}
.qw-restart:hover { color: var(--c4c-charcoal); }

@media (max-width: 520px) {
  .qw-body { padding: 22px 18px 24px; }
  .qw-toggle-row { flex-direction: column; align-items: flex-start; gap: 10px; }
  .qw-progress .qw-dot { font-size: 0.52rem; }
}
