/* Checklist wizard comps — extends site tokens from ../../css/styles.css */

.wizard-page {
  min-height: calc(100vh - var(--header-h));
  background: var(--cream);
  padding: 24px 16px 64px;
}

.wizard {
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
}

.wizard--wide {
  max-width: 720px;
}

.wizard__chrome {
  margin-bottom: 20px;
}

.wizard__progress-label {
  margin: 0 0 10px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--mute);
}

.wizard__dots {
  display: flex;
  gap: 8px;
  align-items: center;
  margin: 0;
  padding: 0;
  list-style: none;
}

.wizard__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: transparent;
  border: 2px solid var(--line);
}

.wizard__dot.is-done {
  background: var(--moss-soft);
  border-color: var(--moss);
}

.wizard__dot.is-current {
  background: var(--moss);
  border-color: var(--moss-deep);
  box-shadow: 0 0 0 3px var(--moss-soft);
  transform: scale(1.15);
}

.wizard__back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0 0 20px;
  font-size: 15px;
  font-weight: 600;
  color: var(--moss-deep);
  text-decoration: none !important;
}

.wizard__back:hover {
  color: var(--moss);
}

.wizard__panel {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 24px 20px 28px;
  box-shadow: 0 8px 24px rgba(44, 42, 38, 0.06);
}

.wizard__kicker {
  margin: 0 0 8px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--moss);
}

.wizard__title {
  font-family: var(--font-display);
  font-size: clamp(26px, 5vw, 32px);
  font-weight: 600;
  line-height: 1.2;
  margin: 0 0 10px;
  color: var(--ink);
}

.wizard__lede {
  margin: 0 0 22px;
  font-size: 16px;
  line-height: 1.5;
  color: var(--mute);
}

.wizard__choices {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.choice-card {
  display: block;
  padding: 18px 18px 18px 20px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  border-left: 4px solid transparent;
  text-decoration: none !important;
  color: var(--ink);
  font-size: 17px;
  font-weight: 600;
  line-height: 1.35;
  transition: background 0.15s ease, border-color 0.15s ease;
  min-height: 64px;
}

.choice-card:hover,
.choice-card:focus-visible {
  background: var(--moss-soft);
  border-color: var(--moss);
  border-left-color: var(--moss);
  color: var(--moss-deep);
  outline: none;
}

.choice-card.is-selected {
  background: var(--moss-soft);
  border-color: var(--moss);
  border-left-color: var(--moss);
  color: var(--moss-deep);
}

.choice-card__hint {
  display: block;
  margin-top: 6px;
  font-size: 14px;
  font-weight: 500;
  color: var(--mute);
  line-height: 1.4;
}

.wizard__field {
  margin: 0 0 16px;
}

.wizard__label {
  display: block;
  margin: 0 0 8px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--moss);
}

.wizard__input,
.wizard__select,
.wizard__search {
  width: 100%;
  box-sizing: border-box;
  padding: 12px 14px;
  font: inherit;
  font-size: 16px;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}

.wizard__input:focus,
.wizard__select:focus,
.wizard__search:focus {
  outline: none;
  border-color: var(--moss);
  box-shadow: 0 0 0 3px var(--moss-soft);
}

.wizard__hint {
  margin: 8px 0 0;
  font-size: 14px;
  color: var(--mute);
}

.state-list {
  list-style: none;
  margin: 12px 0 0;
  padding: 0;
  max-height: 280px;
  overflow-y: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--cream);
}

.state-list a {
  display: block;
  padding: 10px 14px;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none !important;
  border-bottom: 1px solid var(--line);
  border-left: 3px solid transparent;
}

.state-list a:last-child {
  border-bottom: none;
}

.state-list a:hover {
  background: var(--moss-soft);
  color: var(--moss-deep);
}

.state-list a.is-selected {
  background: var(--moss-soft);
  color: var(--moss-deep);
  border-left-color: var(--moss);
  font-weight: 700;
}

.wizard__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.wizard-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  font-family: var(--font-ui);
  font-size: 16px;
  font-weight: 700;
  border-radius: var(--radius-sm);
  text-decoration: none !important;
  border: 1px solid transparent;
  cursor: pointer;
}

.wizard-btn--primary {
  background: var(--moss);
  border-color: var(--moss-deep);
  color: var(--paper) !important;
}

.wizard-btn--primary:hover {
  background: var(--moss-deep);
}

.wizard-btn--ghost {
  background: var(--paper);
  border-color: var(--line);
  color: var(--ink) !important;
}

.wizard-btn--ghost:hover {
  border-color: var(--moss);
  background: var(--moss-soft);
  color: var(--moss-deep) !important;
}

.wizard-btn--link {
  background: none;
  border: none;
  color: var(--moss-deep) !important;
  text-decoration: underline !important;
  font-weight: 600;
  padding: 12px 4px;
}

.wizard__summary {
  margin: 0 0 20px;
  padding: 12px 14px;
  background: var(--moss-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  font-size: 14px;
  color: var(--ink);
}

.wizard__summary strong {
  font-weight: 700;
}

.checklist-group {
  margin: 0 0 28px;
}

.checklist-group__title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  margin: 0 0 12px;
  color: var(--ink);
}

.checklist-items {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.checklist-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 14px 16px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.checklist-item input[type="checkbox"] {
  margin-top: 4px;
  width: 18px;
  height: 18px;
  accent-color: var(--moss);
  flex-shrink: 0;
}

.checklist-item__body {
  min-width: 0;
  flex: 1;
}

.checklist-item__body a {
  font-weight: 700;
  font-size: 16px;
  color: var(--moss-deep);
  text-decoration: none !important;
}

.checklist-item__body a:hover {
  color: var(--moss);
  text-decoration: underline !important;
}

.checklist-item__body p {
  margin: 4px 0 0;
  font-size: 14px;
  color: var(--mute);
  line-height: 1.45;
}

.checklist-item:has(input:checked) {
  background: var(--moss-soft);
  border-color: var(--moss);
}

.checklist-item:has(input:checked) .checklist-item__body a {
  text-decoration: line-through !important;
  opacity: 0.75;
}

.wizard__footer-note {
  margin: 24px 0 0;
  font-size: 14px;
  color: var(--mute);
}

/* —— Home CTA mock extras —— */
.home-mock .home-lede {
  max-width: 42ch;
}

.start-here {
  margin: 0 0 40px;
}

.start-here__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin: 0 0 14px;
}

.start-here__head h2 {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 600;
  margin: 0;
}

.start-here__browse {
  font-size: 15px;
  font-weight: 600;
}

.start-here__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  list-style: none;
  margin: 0;
  padding: 0;
}

@media (min-width: 640px) {
  .start-here__grid {
    grid-template-columns: 1fr 1fr;
  }
}

.start-here__grid a {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--paper);
  text-decoration: none !important;
  color: var(--ink);
}

.start-here__grid a:hover {
  border-color: var(--moss);
  background: var(--moss-soft);
}

.start-here__grid strong {
  font-size: 16px;
}

.start-here__grid span {
  font-size: 14px;
  color: var(--mute);
  line-height: 1.4;
}

.comp-banner {
  margin: 0 0 16px;
  padding: 10px 14px;
  background: var(--moss-soft);
  border: 1px dashed var(--moss);
  border-radius: var(--radius-sm);
  font-size: 13px;
  color: var(--moss-deep);
}

.comp-banner code {
  font-size: 12px;
  background: var(--paper);
  padding: 1px 5px;
  border-radius: 4px;
  border: 1px solid var(--line);
}

@media print {
  .site-header,
  .comp-banner,
  .wizard__chrome,
  .wizard__back,
  .wizard__actions,
  .wizard__footer-note {
    display: none !important;
  }
  .wizard-page {
    padding: 0;
    background: white;
  }
  .wizard__panel {
    box-shadow: none;
    border: none;
    padding: 0;
  }
  .checklist-item {
    break-inside: avoid;
  }
}

/* —— Prod extras (disclaimer, radio cards, needs, results) —— */
.wizard-btn {
  min-height: 44px;
}
.wizard-btn:disabled,
.wizard-btn[aria-disabled="true"] {
  opacity: 0.45;
  cursor: not-allowed;
  pointer-events: none;
}

.choice-card--radio {
  cursor: pointer;
  position: relative;
}
.choice-card--radio input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.choice-card--radio.is-selected,
.choice-card--radio:has(input:checked) {
  background: var(--moss-soft);
  border-color: var(--moss);
  border-left-width: 3px;
  border-left-color: var(--moss);
  color: var(--moss-deep);
}

.wizard__disclaimer {
  margin: 0 0 20px;
  padding: 14px 16px;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink);
}
.wizard__disclaimer h2 {
  font-family: var(--font-display);
  font-size: 20px;
  margin: 0 0 10px;
}
.wizard__disclaimer p {
  margin: 0 0 10px;
}
.wizard__disclaimer p:last-child {
  margin-bottom: 0;
}

.wizard__agree {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin: 0 0 8px;
  font-size: 15px;
  line-height: 1.45;
  color: var(--ink);
}
.wizard__agree input {
  margin-top: 3px;
  width: 18px;
  height: 18px;
  accent-color: var(--moss);
  flex-shrink: 0;
}

.needs-grid {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.needs-grid label {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  cursor: pointer;
  font-size: 15px;
  font-weight: 600;
  border-left: 3px solid transparent;
}
.needs-grid label:has(input:checked),
.needs-grid label.is-selected {
  background: var(--moss-soft);
  border-color: var(--moss);
  border-left-color: var(--moss);
  color: var(--moss-deep);
}
.needs-grid input {
  margin-top: 2px;
  width: 18px;
  height: 18px;
  accent-color: var(--moss);
  flex-shrink: 0;
}

.checklist-excerpt {
  margin: 8px 0 0;
  padding: 10px 12px;
  background: var(--cream);
  border-radius: var(--radius-sm);
  font-size: 13px;
  line-height: 1.45;
  color: var(--mute);
  max-height: 140px;
  overflow: auto;
}
.checklist-excerpt ul {
  margin: 0;
  padding-left: 1.1em;
}
.checklist-excerpt p {
  margin: 0 0 6px;
}
.checklist-meta {
  margin: 0 0 16px;
  font-size: 13px;
  color: var(--mute);
}
.checklist-footer-legal {
  margin-top: 28px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--mute);
  line-height: 1.5;
}

.hub-cta {
  margin: 0 0 28px;
  padding: 20px 18px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(44, 42, 38, 0.06);
}
.hub-cta__title {
  font-family: var(--font-display);
  font-size: 24px;
  margin: 0 0 8px;
}
.hub-cta__lede {
  margin: 0 0 14px;
  font-size: 15px;
  color: var(--mute);
}
.hub-cta .wizard-btn {
  text-decoration: none !important;
}

@media print {
  .site-header,
  .menu-toggle,
  .site-nav,
  .wizard__chrome,
  .wizard__back,
  .wizard__actions,
  .wizard__footer-note,
  .no-print {
    display: none !important;
  }
  .wizard.wizard--wide,
  .wizard {
    max-width: none;
  }
  .wizard-page {
    padding: 0;
    background: white;
  }
  .wizard__panel {
    box-shadow: none;
    border: none;
    padding: 0;
  }
  .checklist-item {
    break-inside: avoid;
  }
}

/* Prod hooks used by checklist.js */
.wizard-page { min-height: 60vh; }
.wizard__agree { display:flex; gap:12px; align-items:flex-start; margin:16px 0; font-size:15px; line-height:1.45; }
.wizard__agree input { margin-top:3px; width:18px; height:18px; accent-color:var(--moss); flex-shrink:0; }
.wizard__disclaimer { margin:0 0 16px; padding:14px 16px; background:var(--cream); border:1px solid var(--line); border-radius:var(--radius); font-size:15px; line-height:1.55; }
.wizard__disclaimer h2 { font-family:var(--font-display); font-size:1.1rem; margin:0 0 8px; }
.wizard__disclaimer p { margin:0; }
.wizard__actions { display:flex; flex-wrap:wrap; gap:10px; margin-top:18px; }
.wizard-btn { display:inline-flex; align-items:center; justify-content:center; min-height:44px; padding:0 18px; border-radius:999px; font-weight:600; font-size:15px; border:1px solid transparent; cursor:pointer; text-decoration:none !important; font-family:var(--font-ui); }
.wizard-btn--primary { background:var(--moss); color:#fff; }
.wizard-btn--primary:hover { background:var(--moss-deep); color:#fff; }
.wizard-btn--primary:disabled { opacity:.45; cursor:not-allowed; }
.wizard-btn--ghost { background:transparent; border-color:var(--line); color:var(--ink); }
.wizard__footer-note { margin-top:18px; font-size:14px; color:var(--mute); }
.wizard__choices { list-style:none; margin:16px 0 0; padding:0; display:flex; flex-direction:column; gap:10px; }
.choice-card { display:block; width:100%; text-align:left; padding:16px 18px; border:1px solid var(--line); border-radius:12px; background:var(--paper); border-left:3px solid transparent; font:inherit; font-weight:600; cursor:pointer; color:var(--ink); }
.choice-card:hover, .choice-card:focus-visible { background:var(--moss-soft); border-color:var(--moss); border-left-color:var(--moss); color:var(--moss-deep); }
.choice-card__hint { display:block; margin-top:4px; font-weight:400; font-size:14px; color:var(--mute); }
.needs-grid { display:flex; flex-direction:column; gap:8px; }
.needs-item { display:flex; gap:12px; align-items:flex-start; padding:12px 14px; border:1px solid var(--line); border-radius:10px; background:var(--paper); cursor:pointer; }
.needs-item:has(input:checked) { background:var(--moss-soft); border-color:var(--moss); }
.checklist-group { margin-top:28px; }
.checklist-group__title { font-family:var(--font-display); font-size:1.25rem; margin:0 0 12px; }
.checklist-items { list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:10px; }
.checklist-item { display:flex; gap:12px; align-items:flex-start; padding:12px 14px; border:1px solid var(--line); border-radius:10px; background:var(--paper); }
.checklist-item input { margin-top:4px; width:18px; height:18px; accent-color:var(--moss); }
.checklist-item__group { margin:2px 0 0; font-size:12px; color:var(--mute); text-transform:uppercase; letter-spacing:.04em; }
.checklist-excerpt { margin:8px 0 0; font-size:14px; color:var(--mute); line-height:1.45; }
.checklist-meta { color:var(--mute); font-size:14px; margin:0 0 16px; }
.checklist-banner { margin:0 0 12px; padding:10px 12px; background:var(--cream); border-left:3px solid var(--moss); font-size:14px; }
.checklist-footer-legal { margin-top:28px; padding-top:16px; border-top:1px solid var(--line); font-size:13px; color:var(--mute); line-height:1.5; }
.wizard--wide, .wizard.wizard--wide { max-width:720px; margin:0 auto; }
.content-status { color:var(--mute); }
@media print {
  .site-header, .no-print, .menu-toggle { display:none !important; }
  .wizard-page { background:#fff; padding:0; }
  .wizard__panel { box-shadow:none; border:none; }
}

/* polish: choice default left bar only on hover/selected */
button.choice-card { border-left: 3px solid transparent; }
button.choice-card:hover,
button.choice-card:focus-visible,
button.choice-card.is-selected { border-left-color: var(--moss); }
