.ame-form {
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
}

.ame-form-row {
  display: flex;
  gap: .45rem;
}

.ame-form input[type="text"],
.ame-form input[type="email"],
.ame-form textarea {
  width: 100%;
  padding: .75rem .85rem;
  border: 1px solid #ccd7df;
  border-radius: 6px;
  background: #fff;
  color: #0a1628;
}

.ame-form button {
  padding: .72rem 1rem;
  border: 0;
  border-radius: 6px;
  background: #d61f2c;
  color: #fff;
  font-weight: 800;
  cursor: pointer;
}

.ame-form button:hover {
  background: #b31722;
}

.ame-consent-check {
  display: block;
  margin-top: .65rem;
  font-size: .72rem;
  line-height: 1.4;
}

.ame-honeypot {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.ame-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.ame-form-grid p {
  margin: 0;
}

.ame-form-grid label {
  display: block;
  margin-bottom: .3rem;
  font-weight: 700;
}

.ame-field-wide {
  grid-column: 1 / -1;
}

.ame-contact-form > button {
  margin-top: 1rem;
}

.ame-form-notice {
  padding: .75rem 1rem;
  margin-bottom: 1rem;
  border-radius: 6px;
  font-size: .86rem;
}

.ame-form-notice.is-success {
  background: #dff6e7;
  color: #155d31;
}

.ame-form-notice.is-error {
  background: #fee7e8;
  color: #8f1720;
}

.ame-consent {
  position: fixed;
  z-index: 10000;
  right: 1rem;
  bottom: 1rem;
  left: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(calc(100% - 2rem), 980px);
  padding: 1rem 1.2rem;
  margin-inline: auto;
  border: 1px solid #dce4ea;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 18px 60px rgba(10, 22, 40, .24);
  color: #0a1628;
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
}

.ame-consent[hidden] {
  display: none;
}

.ame-consent strong {
  display: block;
}

.ame-consent p {
  max-width: 650px;
  margin: .2rem 0 0;
  color: #627180;
  font-size: .78rem;
}

.ame-consent-actions {
  display: flex;
  flex-shrink: 0;
  gap: .5rem;
}

.ame-consent-actions button {
  padding: .7rem .9rem;
  border: 1px solid #ccd7df;
  border-radius: 6px;
  background: #fff;
  color: #0a1628;
  font-weight: 800;
  cursor: pointer;
}

.ame-consent-actions .is-primary {
  border-color: #d61f2c;
  background: #d61f2c;
  color: #fff;
}

@media (max-width: 680px) {
  .ame-form-grid {
    grid-template-columns: 1fr;
  }

  .ame-field-wide {
    grid-column: auto;
  }

  .ame-consent {
    display: block;
  }

  .ame-consent-actions {
    margin-top: .8rem;
  }

  .ame-consent-actions button {
    flex: 1;
  }
}
