/* =========================================================
   Integration layer for /sales-launch/ (loaded after footer.css).
   Consent checkbox, service context line, sending / test-mode
   states of the Screen 07 form. Uses the page tokens (--red,
   --ink-2) and the form's container-query sizing.
   ========================================================= */

/* — service context (visible only after a real route choice) — */
.lead-form__context {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 10px;
  margin: clamp(14px, 3.4cqw, 20px) 0 0;
  font-size: clamp(13px, 2.7cqw, 15px);
  line-height: 1.4;
  color: rgba(23, 23, 25, .72);
}
.lead-form__context[hidden] { display: none; }
.lead-form__context b { color: var(--ink-2); }
.lead-form__context-reset {
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  font-size: .92em;
  color: var(--red);
  text-decoration: underline;
  cursor: pointer;
}
.lead-form__context-reset:focus-visible { outline: 2px solid var(--red); outline-offset: 2px; }

/* — consent (mandatory, unchecked by default) — */
.consent {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: clamp(18px, 4.6cqw, 26px);
}
.consent__box {
  flex: none;
  width: 20px;
  height: 20px;
  margin: 2px 0 0;
  accent-color: var(--red);
  cursor: pointer;
}
.consent__box:focus-visible { outline: 2px solid var(--red); outline-offset: 2px; }
.consent__text {
  font-size: clamp(13px, 2.7cqw, 15px);
  line-height: 1.4;
  color: rgba(23, 23, 25, .72);
  cursor: pointer;
}
.consent__text a { color: var(--red); }
.consent__doc[hidden] { display: none; }

/* — test-mode marker (mock transport only) — */
.lead-form__testmode {
  margin: 0 0 clamp(12px, 3cqw, 16px);
  padding: 6px 10px;
  border-radius: 4px;
  background: rgba(227, 27, 43, .08);
  color: #8e0a17;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
}

/* — sending / sent — */
.lead-form.is-sending .cta { cursor: progress; }
.lead-form.is-sent .consent,
.lead-form.is-sent .lead-form__context { display: none; }
