/* Calc/lead page: extends styles.css (same tokens, mobile-first). */
.calc-page .section { max-width: 1080px; margin: 0 auto; padding: 2.5rem 1.5rem 0; }
.calc-page .section:last-of-type { padding-bottom: 3rem; }
.hero-slim .hero-inner { padding-top: 3rem; padding-bottom: 2.2rem; }

.sys-group { border: 1px solid var(--border); border-radius: 10px; padding: 0.8rem 1rem 1rem; margin: 0; }
.sys-group legend { font-size: 0.85rem; font-weight: 600; color: var(--muted-foreground); padding: 0 0.4rem; }
.sys { display: flex; align-items: center; gap: 0.55rem; font-size: 0.92rem; font-weight: 500; color: var(--foreground); padding: 0.28rem 0; cursor: pointer; }
.sys input { width: 1.05rem; height: 1.05rem; accent-color: var(--primary); }

/* Author `display` beats the UA `[hidden]` rule — re-hide explicitly,
 * or the form/success/error boxes are all visible at once. */
#leadForm[hidden], #leadError[hidden], #leadSuccess[hidden] { display: none; }

.lead-form {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1.6rem;
  display: flex; flex-direction: column; gap: 1rem; max-width: 720px;
}
.lead-form label { display: flex; flex-direction: column; gap: 0.4rem; font-size: 0.85rem; font-weight: 600; color: var(--muted-foreground); }
.lead-form input[type="text"], .lead-form textarea {
  font: inherit; font-weight: 400; color: var(--foreground);
  border: 1px solid var(--input); border-radius: 10px; padding: 0.65rem 0.9rem;
  background: #fff; width: 100%; resize: vertical;
}
.lead-form input:focus, .lead-form textarea:focus { outline: 2px solid var(--ring); outline-offset: 1px; border-color: var(--ring); }
.consent { flex-direction: row !important; align-items: flex-start; gap: 0.6rem !important; cursor: pointer; }
.consent input { width: 1.1rem; height: 1.1rem; margin-top: 0.15rem; accent-color: var(--primary); flex-shrink: 0; }
.consent span { font-weight: 400; line-height: 1.5; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.lead-actions { display: flex; flex-wrap: wrap; gap: 0.8rem; }
.lead-hint { margin: 0; font-size: 0.83rem; color: var(--muted-foreground); line-height: 1.55; }
.form-error { margin: 0; color: var(--destructive); font-size: 0.88rem; font-weight: 600; }

.lead-success {
  background: var(--card); border: 1px solid var(--primary);
  border-radius: var(--radius); padding: 1.6rem; max-width: 720px;
  display: flex; flex-direction: column; gap: 0.8rem; align-items: flex-start;
}
.lead-success-title { margin: 0; font-size: 1.3rem; font-weight: 700; }
.lead-success-text { margin: 0; color: var(--muted-foreground); line-height: 1.55; }

@media (max-width: 720px) {
  .lead-actions .btn { flex: 1; }
}
