/* The call-back form. Each page sets the --cb-* values from its own tokens and brings its own button class. */
.cb {
  --cb-ink: var(--sw-ink);
  --cb-soft: var(--sw-ink-muted);
  --cb-field: var(--sw-surface);
  --cb-field-ink: var(--sw-ink);
  --cb-line: var(--sw-border-strong);
  --cb-focus: var(--sw-ink);
  --cb-gap: 0.85rem;
  display: grid; gap: var(--cb-gap); max-width: 30rem; margin: 0; color: var(--cb-ink);
  scroll-margin-top: calc(var(--crew-bar-h, 64px) + 1rem);
}
.cb__h { margin: 0; font-family: var(--sw-font-serif); font-weight: 500; font-size: clamp(1.45rem, 1.2rem + 0.9vw, 1.9rem); line-height: 1.14; letter-spacing: -0.015em; text-wrap: balance; color: inherit; }
.cb__line { margin: 0; font-size: 1.0625rem; line-height: 1.45; color: var(--cb-soft); }
.cb__f { display: grid; gap: 0.3rem; margin: 0; }
.cb__f > span { font-weight: 700; font-size: 1rem; line-height: 1.2; }
.cb__f input {
  width: 100%; box-sizing: border-box; min-height: 50px; padding: 0 0.95rem; border-radius: 12px;
  border: 1.5px solid var(--cb-line); background: var(--cb-field); color: var(--cb-field-ink);
  font: 600 1.0625rem/1.2 var(--sw-font-sans); -webkit-appearance: none; appearance: none;
}
.cb__f input:focus-visible { outline: 2px solid var(--cb-focus); outline-offset: 2px; }
.cb__f input[aria-invalid="true"] { border-color: var(--cb-ink); border-width: 2px; }
.cb__go { justify-self: start; border: 0; cursor: pointer; font-family: inherit; }
.cb__go:disabled { opacity: 0.6; cursor: default; }
.cb__err { margin: 0; font-size: 1rem; font-weight: 600; line-height: 1.35; color: inherit; }
.cb__done { margin: 0; font-family: var(--sw-font-serif); font-weight: 500; font-size: clamp(1.45rem, 1.2rem + 0.9vw, 1.9rem); line-height: 1.14; letter-spacing: -0.015em; color: inherit; outline: 0; }
/* the honeypot: off-screen for people, present for bots */
.cb__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.cb.is-done > :not(.cb__done) { display: none; }
@media (max-width: 760px) {
  .cb__go { justify-self: stretch; width: 100%; }
}
