/* Book a Demo and Contact pages (assets/js/lead-form.js renders the form). */
.lead-page {
  --lead-ink: #0b1d33;
  --lead-text: #3d4f66;
  --lead-muted: #66768a;
  --lead-line: #e2e8f0;
  --lead-blue: #1f4e8c;
  --lead-mono: ui-monospace, "SFMono-Regular", "Cascadia Mono", Menlo, Consolas, monospace;
  position: relative; overflow: hidden; min-height: 100vh;
  padding: 136px 24px 112px; background: #fff; font-family: var(--mag-sans); color: var(--lead-ink);
}
/* The background is the shared blue field (assets/css/field.css), anchored low. */
.lead-wrap { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 72px; align-items: start; max-width: 1180px; margin: 0 auto; }

.lead-intro .lead-eyebrow { display: flex; align-items: center; gap: 14px; margin: 8px 0 22px; font-family: var(--lead-mono); font-size: 12.5px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--lead-blue); }
.lead-eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; opacity: 0.6; }
.lead-intro h1 { margin: 0 0 22px; font-family: var(--mag-serif); font-size: clamp(38px, 4.4vw, 56px); font-weight: 700; line-height: 1.08; letter-spacing: -0.02em; color: var(--lead-ink); text-wrap: balance; }
.lead-intro > p { max-width: 50ch; margin: 0; font-size: 18px; line-height: 1.65; color: var(--lead-text); }
.lead-intro .lead-note { margin-top: 40px; font-family: var(--lead-mono); font-size: 13px; line-height: 1.9; letter-spacing: 0.01em; color: var(--lead-muted); }
.lead-note a { color: var(--lead-ink); text-decoration: underline; text-decoration-color: #b8c4d2; text-underline-offset: 4px; }
.lead-note a:hover { text-decoration-color: var(--lead-ink); }

/* Contact details, as quiet rows. */
.lead-contacts { margin: 40px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--lead-line); max-width: 460px; }
.lead-contacts li { display: grid; grid-template-columns: 112px 1fr; gap: 16px; padding: 15px 0; border-bottom: 1px solid var(--lead-line); }
.lead-contacts span { padding-top: 2px; font-family: var(--lead-mono); font-size: 11.5px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--lead-muted); }
.lead-contacts a, .lead-contacts p { margin: 0; font-size: 15.5px; color: var(--lead-ink); text-decoration: none; line-height: 1.5; }
.lead-contacts a:hover { color: var(--lead-blue); }

/* The form card. */
.lead-card { padding: 40px; background: rgba(248, 250, 252, 0.92); border: 1px solid var(--lead-line); border-radius: 18px; box-shadow: 0 1px 2px rgba(11, 29, 51, 0.03), 0 30px 60px -40px rgba(11, 29, 51, 0.25); }
.lead-form { display: grid; gap: 24px; }
.lead-interest { margin: 0; padding: 0; border: 0; }
.lead-interest legend, .lead-field label { display: block; margin-bottom: 10px; padding: 0; font-family: var(--lead-mono); font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: #4a5a6e; }
.lead-field label span { letter-spacing: 0.02em; text-transform: none; color: var(--lead-muted); }
.lead-pills { display: flex; flex-wrap: wrap; gap: 10px; }
.lead-pills label { position: relative; cursor: pointer; }
.lead-pills input { position: absolute; opacity: 0; pointer-events: none; }
.lead-pills span { display: inline-flex; align-items: center; height: 42px; padding: 0 20px; border: 1px solid #d5dde7; border-radius: 999px; background: #fff; font-size: 15px; color: var(--lead-ink); transition: background-color 150ms ease, border-color 150ms ease, color 150ms ease; }
.lead-pills label:hover span { border-color: #b2c0d0; }
.lead-pills input:checked + span { background: #eaf4fd; border-color: #8cc4ef; color: var(--lead-blue); }
.lead-pills input:focus-visible + span { outline: 2px solid var(--lead-blue); outline-offset: 2px; }
.lead-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.lead-field input, .lead-field textarea {
  display: block; width: 100%; padding: 0 18px; border: 1px solid transparent; border-radius: 9px;
  background: #eef2f7; font: inherit; font-size: 16px; color: var(--lead-ink); outline: none;
  transition: background-color 150ms ease, border-color 150ms ease, box-shadow 150ms ease;
}
.lead-field input { height: 52px; }
.lead-field textarea { min-height: 128px; padding-top: 14px; padding-bottom: 14px; line-height: 1.5; resize: vertical; }
.lead-field input::placeholder, .lead-field textarea::placeholder { color: #7b8a9c; }
.lead-field input:hover, .lead-field textarea:hover { background: #e9eef4; }
.lead-field input:focus, .lead-field textarea:focus { background: #fff; border-color: #8cc4ef; box-shadow: 0 0 0 4px rgba(74, 163, 223, 0.14); }
.lead-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 16px; padding-top: 4px; }
.lead-send { display: inline-flex; align-items: center; gap: 10px; height: 50px; padding: 0 26px; border-radius: 9px; background: var(--lead-blue); color: #fff; font-size: 16px; font-weight: 600; transition: background-color 150ms ease, transform 120ms cubic-bezier(0.23, 1, 0.32, 1); }
.lead-send:hover { background: #18406f; }
.lead-send:active { transform: scale(0.98); }
.lead-send:disabled { opacity: 0.7; cursor: progress; }
.lead-send:focus-visible { outline: 2px solid var(--lead-blue); outline-offset: 3px; }
.lead-spinner { width: 16px; height: 16px; border: 2px solid rgba(255, 255, 255, 0.5); border-top-color: #fff; border-radius: 50%; animation: lead-spin 0.8s linear infinite; }
.lead-spinner[hidden] { display: none; }
@keyframes lead-spin { to { transform: rotate(360deg); } }
.lead-error { margin: 0; font-size: 14px; color: #b42318; }
.lead-success { padding: 40px 8px; text-align: center; }
.lead-success-mark { display: inline-grid; place-items: center; width: 44px; height: 44px; margin-bottom: 18px; border-radius: 50%; background: #eaf4fd; color: var(--lead-blue); }
.lead-success h3 { margin: 0 0 8px; font-family: var(--mag-serif); font-size: 28px; font-weight: 700; }
.lead-success p { margin: 0; color: var(--lead-text); }

@media (max-width: 960px) {
  .lead-page { padding: 112px 20px 80px; }
  .lead-wrap { grid-template-columns: minmax(0, 1fr); gap: 44px; }
}
@media (max-width: 560px) {
  .lead-card { padding: 26px 20px; border-radius: 14px; }
  .lead-grid { grid-template-columns: 1fr; }
  .lead-contacts li { grid-template-columns: 1fr; gap: 4px; }
}
@media (prefers-reduced-motion: reduce) {
  .lead-spinner { animation-duration: 2.4s; }
}

/* Hidden from people; bots that fill every field fill this one too. */
.lead-trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
