* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: #f7f8f6;
  color: #101417;
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.6;
}
a {
  color: inherit;
}
header {
  background: #101417;
  color: white;
  padding: 24px max(24px, calc((100% - 1120px) / 2));
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}
header > a:first-child {
  text-decoration: none;
  font-size: 27px;
  font-weight: 700;
}
small {
  font-size: 10px;
}
.back {
  font-size: 13px;
}
main {
  max-width: 760px;
  margin: 65px auto;
  padding: 0 24px;
}
h1 {
  font-size: 48px;
  font-weight: 400;
  line-height: 1.15;
}
.eyebrow {
  font-size: 11px;
}
.intro {
  color: #505a5e;
}
.contact-form {
  margin-top: 40px;
  display: grid;
  gap: 24px;
}
label {
  display: grid;
  gap: 8px;
  font-size: 14px;
}
input,
textarea {
  width: 100%;
  padding: 14px;
  font: inherit;
  border: 1px solid #6b777b;
  border-radius: 2px;
  background: white;
  color: #101417;
}
textarea {
  resize: vertical;
}
button {
  min-height: 50px;
  padding: 14px 22px;
  border: 0;
  border-radius: 2px;
  background: #a5c9a0;
  color: #101417;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  justify-self: start;
}
button:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}
:focus-visible {
  outline: 3px solid #51794c;
  outline-offset: 4px;
}
.form-trap {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.privacy-note {
  font-size: 12px;
  color: #505a5e;
  margin: 0;
}
#contact-status {
  font-size: 14px;
  margin: 0;
}
#contact-status[data-state="error"] {
  color: #9b2020;
}
#contact-status[data-state="success"] {
  color: #285c2d;
}
footer {
  max-width: 760px;
  padding: 24px;
  margin: auto;
  font-size: 11px;
  color: #505a5e;
}
@media (max-width: 600px) {
  main {
    margin: 40px auto;
  }
  h1 {
    font-size: 38px;
  }
  header {
    padding: 20px;
  }
  .back {
    font-size: 11px;
  }
}
