/* "Get the resource" form and the footer newsletter signup (assets/leads.js).
   Theme-kit tokens only. Plain, labelled fields; the buttons are the site's
   own buttons; the opt-in box is never ticked for the visitor. */
.lead-form { display: grid; gap: 12px; max-width: 520px; }
.lead-form[hidden] { display: none; }
.lead-form h3 { margin: 0; font-family: var(--font-sans); font-size: 18px; line-height: 1.3; }
.lead-field { display: grid; gap: 4px; }
.lead-field label, .lead-check label { font-size: 14px; font-weight: 600; }
.lead-optional { font-weight: 400; color: var(--ink-tertiary, #4a5372); }
.lead-input { width: 100%; box-sizing: border-box; padding: 11px 12px; font: inherit; font-size: 15px; color: #131b3f;
  background: #ffffff; border: 1px solid var(--surface-rule, #dfe3ec); border-radius: 8px; }
.lead-input[aria-invalid="true"] { border-color: #b91c1c; }
.lead-input:focus-visible, .lead-check input:focus-visible, .lead-form button:focus-visible, .lead-form a:focus-visible {
  outline: 2px solid var(--kit-orange, #f1a139); outline-offset: 2px; }
.lead-error:empty { display: none; }
.lead-error { font-size: 13px; color: #b91c1c; }
.lead-check { display: grid; grid-template-columns: auto 1fr; gap: 4px 10px; align-items: start; }
.lead-check input { width: 20px; height: 20px; margin: 1px 0 0; }
.lead-check .lead-error { grid-column: 2; }
.lead-check label { font-weight: 600; }
.lead-help { margin: 0; font-size: 13px; line-height: 1.5; color: var(--ink-secondary, #4a5372); }
.lead-help a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.lead-status { margin: 0; font-size: 14px; line-height: 1.5; }
.lead-status:empty { display: none; }
.lead-status.is-error { color: #b91c1c; }
.lead-hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.lead-form button[type="submit"] { justify-self: start; cursor: pointer; }
.lead-form button[type="submit"]:disabled { opacity: 0.6; cursor: default; }
/* The footer's signup sits on the navy band: its own inputs stay light. */
.lead-footer { padding: 4px 0 24px; border-bottom: 1px solid rgba(210, 215, 244, 0.12); margin-bottom: 20px; }
.lead-footer .lead-form { max-width: 420px; }
.lead-footer .lead-help, .lead-footer .lead-status { color: #d2d7f4; }
.lead-footer .lead-status.is-error, .lead-footer .lead-error { color: #fecaca; }
.lead-footer h3 { color: #ffffff; }
.lead-footer .lead-field label, .lead-footer .lead-check label { color: #ffffff; }
/* resources.html */
.lead-resource { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; align-items: start; }
@media (max-width: 800px) { .lead-resource { grid-template-columns: minmax(0, 1fr); } }
.lead-off { font-size: 14px; }
