/* ============================================================
   Qote site — shared page components (content pages)
   Builds on base.css + home.css (forest/clay editorial).
   ============================================================ */

/* Page header (non-home pages) */
.page-head {
  position: relative;
  z-index: 1;
  padding: 64px 0 40px;
  border-bottom: 1px solid var(--rule);
}
.page-head__eyebrow {
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--green-mid);
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}
.page-head__eyebrow::before {
  content: "";
  width: 28px; height: 1.5px; background: var(--green-dark);
}
.page-head__title {
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 900;
  font-size: clamp(40px, 5vw, 66px);
  line-height: 1.06;
  letter-spacing: -0.025em;
  color: var(--green-dark);
  max-width: 20ch;
  text-wrap: pretty;
}
.page-head__title em { font-style: italic; color: var(--green-mid); }
.page-head__lede {
  font-size: 18px;
  line-height: 1.65;
  color: var(--text);
  max-width: 580px;
  margin-top: 28px;
  position: relative;
}

/* Generic prose row */
.prose-row {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 56px;
  align-items: start;
}
.prose-row p { font-size: 16px; line-height: 1.75; color: var(--text); margin: 0 0 16px; max-width: 60ch; }

/* ── STEPPER (product intake flow + "how it works") ── */
.stepper {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
  margin-top: 48px;
}
.stepper__step {
  background: var(--cream);
  padding: 28px 26px 30px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
}
.stepper__step::before {
  content: "";
  position: absolute;
  top: -1px; left: -1px;
  width: 36px; height: 4px;
  background: var(--green-dark);
}
.stepper__n {
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px;
  letter-spacing: 0.2em;
  color: var(--green-mid);
}
.stepper__step h4 {
  font-family: "Playfair Display", serif;
  font-size: 21px;
  font-weight: 700;
  color: var(--green-dark);
  letter-spacing: -0.01em;
  margin: 0;
  line-height: 1.1;
}
.stepper__step p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-muted);
  margin: 0;
}
.stepper__tag {
  margin-top: auto;
  font-family: "IBM Plex Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green-mid);
  border-top: 1px solid var(--rule);
  padding-top: 12px;
}

/* ── Wizard mock (the live product intake stepper) ── */
.wizard {
  background: #fff;
  border: 1px solid var(--rule);
  max-width: 560px;
  width: 100%;
  box-shadow: 0 1px 0 rgba(26,58,40,0.06) inset, 0 40px 60px -34px rgba(15,33,24,0.22);
}
.wizard__bar {
  display: flex;
  border-bottom: 1px solid var(--rule);
}
.wizard__crumb {
  flex: 1;
  padding: 14px 10px 13px;
  text-align: center;
  font-family: "IBM Plex Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  border-right: 1px solid var(--rule);
  position: relative;
}
.wizard__crumb:last-child { border-right: none; }
.wizard__crumb.is-done { color: var(--green-mid); }
.wizard__crumb.is-active { color: var(--cream); background: var(--green-dark); }
.wizard__crumb .num { display: block; font-size: 13px; margin-bottom: 3px; font-weight: 600; }
.wizard__body { padding: 26px 28px 28px; }
.wizard__q {
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--green-mid);
  margin-bottom: 8px;
}
.wizard__h {
  font-family: "Playfair Display", serif;
  font-size: 26px;
  font-weight: 700;
  color: var(--green-dark);
  letter-spacing: -0.015em;
  margin: 0 0 22px;
  line-height: 1.1;
}
.wizard__opts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.wizard__opt {
  border: 1px solid var(--rule);
  padding: 16px 16px;
  font-size: 14px;
  color: var(--text);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.wizard__opt:hover { border-color: var(--green-mid); }
.wizard__opt.is-sel { border-color: var(--green-dark); background: rgba(26,58,40,0.05); }
.wizard__opt .dot {
  width: 14px; height: 14px; border: 1.5px solid var(--rule); flex: 0 0 auto;
}
.wizard__opt.is-sel .dot { border-color: var(--green-dark); background: var(--green-dark); box-shadow: inset 0 0 0 3px #fff; }
.wizard__foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid var(--rule);
}
.wizard__progress {
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--text-muted);
}
.wizard__progress b { color: var(--green-dark); }

@media (max-width: 860px) {
  .stepper { grid-template-columns: 1fr 1fr; }
  .prose-row { grid-template-columns: 1fr; gap: 20px; }
}
@media (max-width: 560px) {
  .stepper { grid-template-columns: 1fr; }
  .wizard__opts { grid-template-columns: 1fr; }
}
