:root {
  color: #111827;
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  background: #f5f7fb;
}

* { box-sizing: border-box; }
body { margin: 0; }

.lead-page {
  display: grid;
  min-height: 100vh;
  place-items: center;
  padding: 1.5rem;
}

.lead-form {
  width: min(100%, 34rem);
  padding: clamp(1.5rem, 5vw, 3rem);
  border: 1px solid #e5e7eb;
  border-radius: 1rem;
  background: #fff;
  box-shadow: 0 1.25rem 3.5rem rgb(15 23 42 / 0.12);
}

.lead-form__eyebrow {
  margin: 0;
  color: #475569;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1 { margin: 0.5rem 0 0; font-size: clamp(2rem, 6vw, 2.7rem); }
.lead-form__description { color: #64748b; line-height: 1.5; }

form { display: grid; gap: 1rem; margin-top: 1.75rem; }
.field { display: grid; gap: 0.4rem; }
.field label { font-weight: 700; }
.field label span { color: #64748b; font-weight: 400; }

input, textarea {
  width: 100%;
  border: 1px solid #cbd5e1;
  border-radius: 0.5rem;
  padding: 0.75rem;
  color: inherit;
  font: inherit;
}

input:focus, textarea:focus { border-color: #2563eb; box-shadow: 0 0 0 3px rgb(37 99 235 / 0.15); outline: none; }
.field__error, .form-message--error { color: #b91c1c; line-height: 1.4; }
.lead-form__trap { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }

button, .button-link {
  display: inline-flex;
  justify-content: center;
  padding: 0.85rem 1.2rem;
  border: 0;
  border-radius: 0.5rem;
  background: #111827;
  color: #fff;
  cursor: pointer;
  font: inherit;
  font-weight: 700;
  text-decoration: none;
}

button:hover, .button-link:hover { background: #24324a; }
code { overflow-wrap: anywhere; }
