* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  background: #000000;
  color: #ffffff;
  font-family: "Source Sans 3", "Source Sans Pro", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.42857;
}

body.has-modal {
  overflow: hidden;
}

button,
input,
select,
textarea {
  font: inherit;
}

.page-shell {
  width: 100%;
  min-height: 100vh;
  background: #000000;
}

.hero-logo {
  display: flex;
  justify-content: center;
  padding: 20px 10px;
}

.hero-logo img {
  width: 211px;
  max-width: 100%;
  height: auto;
  display: block;
}

.form-section {
  display: flex;
  justify-content: center;
  padding: 0 10px 80px;
}

.form-card {
  width: 100%;
  max-width: 400px;
}

.form-header {
  width: 100%;
  max-width: 360px;
  margin: 0 auto 7px;
  text-align: center;
}

.form-header h1 {
  margin: 0;
  color: #ffffff;
  font-size: 28px;
  font-weight: 400;
  line-height: 1.2;
}

.form-header p {
  margin: 0 0 7px;
  color: #ffffff;
  font-size: 14px;
  line-height: 1.42;
}

.lead-form {
  width: 100%;
  max-width: 360px;
  margin: 0 auto;
}

.field {
  display: flex;
  flex-direction: column;
  width: 100%;
  margin: 0 0 15px;
  padding: 0;
  border: 0;
}

.field label,
.field legend {
  display: inline-block;
  margin: 0 0 0.4em;
  padding: 0;
  color: #ffffff;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.25;
  text-align: left;
}

.field input[type="text"],
.field input[type="email"],
.field input[type="tel"],
.field select,
.field textarea {
  display: block;
  width: 100%;
  min-width: 0;
  color: #555555;
  background: #ffffff;
  border: 0;
  border-radius: 4px;
  box-shadow: inset 0 2px 3px #dddddd;
  font-size: 16px;
  line-height: 1.42857;
  outline: none;
}

.field input,
.field select {
  height: 32px;
  padding: 0 0.5em;
}

.field textarea {
  min-height: 86px;
  padding: 0.45em 0.5em;
  resize: vertical;
}

.field input::placeholder,
.field textarea::placeholder {
  color: transparent;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  box-shadow: inset 0 2px 3px #dddddd, 0 0 0 2px rgba(234, 19, 58, 0.35);
}

.field.is-invalid > input,
.field.is-invalid > select,
.field.is-invalid > textarea,
.field.is-invalid input[type="radio"] {
  outline: 1px solid #dc3543;
}

.radio-field {
  gap: 0;
}

.radio-field label {
  display: flex;
  align-items: flex-start;
  gap: 0.35em;
  margin-bottom: 0.2em;
  color: #ffffff;
}

.radio-field input[type="radio"] {
  width: 13px;
  height: 13px;
  margin: 3px 0 0;
  flex: 0 0 auto;
}

.conditional-fields[hidden],
.field[hidden] {
  display: none;
}

.form-message {
  min-height: 18px;
  color: #ffffff;
  font-size: 13px;
  line-height: 1.3;
  text-align: center;
}

.form-message.is-error {
  color: #ff6879;
}

.form-message.is-success {
  color: #ffffff;
}

.submit-wrap {
  display: flex;
  flex-direction: column;
}

.submit-wrap button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 280px;
  min-height: 50px;
  margin: 15px auto 0;
  padding: 0 10px;
  color: #ffffff;
  background: #ea133a;
  border: 0;
  border-radius: 35px;
  cursor: pointer;
  font-family: Ubuntu, Arial, sans-serif;
  font-size: 22px;
  font-weight: 400;
  line-height: 1.42857;
  text-align: center;
}

.submit-wrap button:disabled {
  cursor: wait;
  opacity: 0.72;
}

.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(0, 0, 0, 0.68);
}

.modal-overlay[hidden] {
  display: none;
}

.modal-card {
  width: min(360px, 100%);
  padding: 24px 22px 22px;
  color: #ffffff;
  background: #1d1d1d;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.55);
  text-align: center;
}

.modal-card h2 {
  margin: 0 0 8px;
  font-size: 22px;
  font-weight: 600;
  line-height: 1.2;
}

.modal-card p {
  margin: 0 0 22px;
  color: #f4f4f4;
  font-size: 16px;
  line-height: 1.35;
}

.modal-card button {
  width: 120px;
  height: 42px;
  color: #ffffff;
  background: #ea133a;
  border: 0;
  border-radius: 35px;
  cursor: pointer;
  font-family: Ubuntu, Arial, sans-serif;
  font-size: 18px;
}

.modal-card button:focus {
  outline: 2px solid rgba(255, 255, 255, 0.75);
  outline-offset: 3px;
}

@media (max-width: 480px) {
  .form-section {
    padding-bottom: 48px;
  }

  .submit-wrap button {
    min-height: auto;
    padding-top: 0.66em;
    padding-bottom: 0.66em;
  }
}
