:root {
  color-scheme: light;
  font-family: system-ui, sans-serif;
  color: #173e33;
  background: #f7f7ef;
  line-height: 1.65;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
a {
  color: inherit;
  text-underline-offset: 3px;
}
header {
  background: #173e33;
  color: #fff6df;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px max(22px, calc((100vw - 1140px) / 2));
}
.brand {
  font-family: Georgia, serif;
  font-size: 27px;
  font-weight: bold;
  text-decoration: none;
}
main {
  max-width: 1184px;
  margin: auto;
  padding: 48px 22px 64px;
}
.intro {
  max-width: 800px;
  margin-bottom: 36px;
}
h1,
h2 {
  font-family: Georgia, serif;
  font-weight: normal;
  line-height: 1.15;
}
h1 {
  font-size: clamp(36px, 5vw, 60px);
  margin: 16px 0 24px;
}
h2 {
  font-size: 28px;
  margin-top: 0;
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 12px;
  color: #6e6548;
}
.intro > p:not(.eyebrow) {
  font-size: 18px;
}
.steps {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  margin-top: 26px;
  font-size: 14px;
}
.steps b {
  display: inline-grid;
  place-items: center;
  width: 27px;
  height: 27px;
  background: #e9eddf;
  border-radius: 50%;
  margin-right: 4px;
}
.layout {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(250px, 1fr);
  gap: 32px;
  align-items: start;
}
.form-panel {
  background: #fffefa;
  border: 1px solid #dee3d5;
  border-radius: 18px;
  padding: 30px;
}
aside {
  padding: 24px 4px;
}
aside li {
  margin-bottom: 12px;
}
aside ul {
  padding-left: 20px;
}
.notice {
  background: #eaf0e3;
  border-radius: 12px;
  padding: 22px;
  margin-top: 28px;
}
.notice p {
  margin-bottom: 0;
}
.field {
  display: flex;
  flex-direction: column;
  margin: 18px 0;
  gap: 7px;
}
label,
legend {
  font-weight: 600;
}
input,
select,
textarea {
  width: 100%;
  min-width: 0;
  font: inherit;
  padding: 11px 12px;
  border: 1px solid #aebcad;
  border-radius: 7px;
  background: white;
  color: inherit;
}
input,
select {
  min-height: 46px;
}
textarea {
  resize: vertical;
}
small,
.privacy,
fieldset > p {
  font-size: 13px;
  color: #52634f;
}
.pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
fieldset {
  border: 1px solid #dee3d5;
  border-radius: 10px;
  padding: 12px 18px;
  margin: 22px 0;
}
legend {
  padding: 0 6px;
}
fieldset .pair .field {
  margin-top: 0;
}
.check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  font-weight: 400;
}
.check input {
  width: 19px;
  min-height: 19px;
  margin-top: 3px;
  flex-shrink: 0;
}
.trap {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
button {
  font: inherit;
  font-weight: 600;
  border: 0;
  border-radius: 8px;
  padding: 14px 22px;
  background: #173e33;
  color: #fff7df;
  cursor: pointer;
  min-height: 48px;
}
button:disabled {
  opacity: 0.65;
  cursor: wait;
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid #b47d2c;
  outline-offset: 3px;
}
#submission-status {
  font-weight: 600;
  scroll-margin: 20px;
  overflow-wrap: anywhere;
}
footer {
  max-width: 1184px;
  margin: auto;
  padding: 0 22px 30px;
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  font-size: 14px;
}
@media (max-width: 760px) {
  header {
    padding: 18px;
    flex-wrap: wrap;
  }
  header > a:last-child {
    font-size: 13px;
  }
  main {
    padding: 30px 16px;
  }
  .layout {
    grid-template-columns: 1fr;
  }
  .form-panel {
    padding: 22px 18px;
  }
  .pair {
    grid-template-columns: 1fr;
    gap: 0;
  }
  aside {
    padding: 0;
  }
  .steps {
    gap: 10px 16px;
  }
  button {
    width: 100%;
  }
}
