/* styles.css — Ontario Heat Pump Rebate Check (MVP) */
:root {
  --ink: #1c2b26;
  --accent: #14684a;
  --accent-dark: #0d4f37;
  --warn: #9a6a00;
  --bad: #9c2b2b;
  --bg: #f5f7f5;
  --card: #ffffff;
  --line: #d9e2dc;
}
* { box-sizing: border-box; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.5;
}
.wrap { max-width: 780px; margin: 0 auto; padding: 0 16px; }
.site-header { background: var(--accent-dark); color: #fff; padding: 12px 0; }
.site-header .wrap { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.brand { font-weight: 700; font-size: 1.1rem; }
.header-note { font-size: .8rem; opacity: .85; }
.hero { padding: 28px 0 8px; }
.hero h1 { font-size: 1.9rem; margin: 0 0 10px; }

.progress { display: flex; gap: 6px; margin: 18px 0; }
.progress-dot { flex: 1; height: 6px; border-radius: 3px; background: var(--line); }
.progress-dot.active { background: var(--accent); }
.progress-dot.done { background: #7db89f; }

.step, .faq {
  background: var(--card); border: 1px solid var(--line); border-radius: 10px;
  padding: 22px; margin-bottom: 20px;
}
.step h2 { margin-top: 0; font-size: 1.25rem; }
fieldset { border: none; margin: 18px 0 0; padding: 0; }
legend { font-weight: 600; margin-bottom: 8px; }
.field-label { display: block; font-weight: 600; margin: 16px 0 6px; }
.hint { color: #5a6a62; font-size: .88rem; margin: 4px 0 0; }
input[type="text"], input[type="email"], input[type="tel"], input[type="number"] {
  width: 100%; padding: 11px 12px; border: 1px solid #b9c8bf; border-radius: 8px;
  font-size: 1rem; margin-bottom: 10px; background: #fff;
}
#fsa { max-width: 200px; text-transform: uppercase; }
.radio-card {
  display: block; border: 1px solid var(--line); border-radius: 8px;
  padding: 10px 12px; margin-bottom: 8px; cursor: pointer; background: #fbfcfb;
}
.radio-card:hover { border-color: var(--accent); }
.radio-card input { margin-right: 8px; }
.radio-card:has(input:checked) { border-color: var(--accent); background: #eef6f1; }

.nav { display: flex; gap: 10px; margin-top: 22px; flex-wrap: wrap; }
.btn {
  border: 1px solid var(--accent); background: #fff; color: var(--accent-dark);
  padding: 11px 20px; border-radius: 8px; font-size: 1rem; cursor: pointer;
}
.btn.primary { background: var(--accent); color: #fff; }
.btn.primary:hover { background: var(--accent-dark); }

.tier-badge {
  display: inline-block; padding: 4px 12px; border-radius: 999px;
  font-weight: 700; font-size: .95rem;
}
.tier-likely { background: #e2f2e7; color: var(--accent-dark); }
.tier-partial { background: #fdf0d0; color: var(--warn); }
.tier-unlikely { background: #fbe3e3; color: var(--bad); }
.reasons { margin: 10px 0 18px; }

.result-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; }
.result-card { border: 1px solid var(--line); border-radius: 10px; padding: 16px; background: #fbfcfb; }
.result-label { font-size: .85rem; color: #5a6a62; }
.result-value { font-size: 1.5rem; font-weight: 700; margin: 4px 0; }
.result-note { font-size: .82rem; color: #5a6a62; }
.note { background: #fdf6e0; border: 1px solid #ecd9a0; border-radius: 8px; padding: 12px 14px; }

.unlock-box, .quote-box {
  border: 1px solid var(--line); border-radius: 10px; padding: 18px; margin-top: 20px;
}
.unlock-box { background: #eef6f1; }
.quote-box { background: #f2f5fb; }
.consent { display: block; font-size: .9rem; margin: 8px 0; cursor: pointer; }
.consent input { margin-right: 8px; }
.fineprint { font-size: .8rem; color: #5a6a62; }
.form-msg { font-weight: 600; min-height: 1.2em; }
.form-msg.ok { color: var(--accent-dark); }
.form-msg.err { color: var(--bad); }

/* honeypot: visually removed, still fillable by bots */
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }

.detail-table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.detail-table th, .detail-table td { border: 1px solid var(--line); padding: 8px; text-align: left; }
.detail-table th { background: #f0f4f1; }

.faq details { border-top: 1px solid var(--line); padding: 10px 0; }
.faq summary { font-weight: 600; cursor: pointer; }

.site-footer { background: #e9efeb; padding: 22px 0 30px; font-size: .82rem; color: #44544c; }
.site-footer p { margin: 0 0 10px; }
