:root {
  color-scheme: light;
  font-family: "Helvetica Neue", Arial, sans-serif;
  color: #17382d;
  background: #f3f6f1;
  accent-color: #28644d;
}
* { box-sizing: border-box; }
body { margin: 0; }
main {
  width: min(65rem, calc(100% - 2 * clamp(1.25rem, 5vw, 4rem)));
  margin: 0 auto;
  padding: clamp(3.5rem, 9vw, 7.5rem) 0 clamp(3.5rem, 8vw, 7rem);
}
.intro {
  padding-bottom: clamp(2rem, 5vw, 3.75rem);
  animation: intro-in .7s cubic-bezier(.2, .65, .3, 1) both;
}
h1 {
  max-width: 12ch;
  margin: 0 0 clamp(1.25rem, 3vw, 2rem);
  font-size: clamp(3.1rem, 8vw, 7rem);
  font-weight: 500;
  line-height: .98;
  letter-spacing: -.065em;
  text-wrap: balance;
}
p { margin: 0; line-height: 1.55; }
.intro p {
  max-width: 34rem;
  color: #435a50;
  font-size: clamp(1rem, 2vw, 1.19rem);
  text-wrap: pretty;
}
.progress {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .6rem 1.25rem;
  color: #486156;
  font-size: .875rem;
  padding-bottom: 1.1rem;
}
progress {
  width: 7rem;
  height: .25rem;
  appearance: none;
  border: 0;
  border-radius: 1rem;
  overflow: hidden;
  background: #d9e5dd;
}
progress::-webkit-progress-bar { background: #d9e5dd; }
progress::-webkit-progress-value { background: #28644d; transition: width .35s ease; }
progress::-moz-progress-bar { background: #28644d; }
ol {
  list-style: none;
  counter-reset: question;
  padding: 0;
  margin: 0;
}
li {
  counter-increment: question;
  display: grid;
  grid-template-columns: clamp(2.3rem, 8vw, 7rem) minmax(0, 1fr);
  column-gap: clamp(.4rem, 2vw, 1.5rem);
  row-gap: 1rem;
  border-top: 1px solid #cedbd2;
  padding: clamp(1.4rem, 4vw, 2.5rem) 0;
}
li::before {
  content: counter(question, decimal-leading-zero);
  grid-row: 1 / 3;
  padding-top: .15em;
  color: #526d60;
  font-size: clamp(.95rem, 2vw, 1.2rem);
  font-variant-numeric: tabular-nums;
}
li label {
  max-width: 43rem;
  font-size: clamp(1.05rem, 2vw, 1.28rem);
  line-height: 1.45;
  letter-spacing: -.015em;
  text-wrap: pretty;
}
textarea {
  grid-column: 2;
  width: 100%;
  min-height: 6rem;
  padding: .9rem 1rem;
  resize: vertical;
  font: inherit;
  line-height: 1.45;
  border: 1px solid #bdcec3;
  border-radius: .3rem;
  background: #fafcf9;
  color: inherit;
  transition: background-color .2s ease, border-color .2s ease, box-shadow .2s ease;
}
textarea::placeholder { color: #597064; }
textarea:focus {
  background: #fff;
  border-color: #28644d;
  box-shadow: 0 0 0 2px #28644d26;
  outline: none;
}
.actions {
  border-top: 1px solid #cedbd2;
  padding-top: 1.5rem;
}
button {
  padding: .8rem 1.25rem;
  border: 1px solid #205c46;
  border-radius: .3rem;
  background: #205c46;
  color: #fff;
  cursor: pointer;
  font: inherit;
  transition: background-color .2s ease, border-color .2s ease;
}
button:enabled:hover { background: #123c2e; border-color: #123c2e; }
button:focus-visible { outline: 2px solid #28644d; outline-offset: 4px; }
button:disabled {
  color: #4c6358;
  background: #e3ece5;
  border-color: #cbdacf;
  cursor: default;
}
@keyframes intro-in {
  from { opacity: 0; transform: translateY(.55rem); }
  to { opacity: 1; transform: translateY(0); }
}
@media (max-width: 36rem) {
  textarea { grid-column: 1 / -1; }
  li::before { grid-row: auto; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

#mail-note { margin-top: .7rem; font-size: .95rem; }
#send-status:not(:empty) { margin-top: .65rem; }

fieldset { min-width: 0; margin: 0; border: 0; padding: 0; }
legend {
  padding: 0;
  font-size: clamp(1.05rem, 2vw, 1.28rem);
  line-height: 1.45;
  letter-spacing: -.015em;
}
.choice-hint, .detail-label {
  color: #486156;
  font-size: .9rem;
}
.choice-hint { margin: .35rem 0 .7rem; }
.options { display: grid; gap: .4rem; }
.option {
  display: flex;
  gap: .6rem;
  align-items: baseline;
  padding: .5rem .65rem;
  border: 1px solid #cedbd2;
  border-radius: .3rem;
  cursor: pointer;
}
.option input { flex: none; margin: 0; }
.option:hover, .option:has(input:checked) { background: #e3ece5; }
.detail-label { display: block; margin: .9rem 0 .4rem; }
.detail-label span { white-space: nowrap; }
fieldset textarea { min-height: 4.25rem; }
