:root {
  color-scheme: light;
  font:
    100%/1.5 "Avenir Next",
    Avenir,
    "Segoe UI",
    Arial,
    sans-serif;
  color: #253b2b;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
form {
  display: grid;
  gap: 1rem;
}
.row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}
label {
  display: grid;
  gap: 0.35rem;
  font-size: 0.9375rem;
  font-weight: 600;
}
[hidden],
form > div:empty,
#form-status:empty {
  display: none;
}
input,
textarea {
  display: block;
  width: 100%;
  min-width: 0;
  padding: 0.68rem 0.78rem;
  border: 1px solid #99a895;
  border-radius: 3px;
  background: #fdfdf8;
  color: #253b2b;
  font-weight: 400;
  font-family: inherit;
  font-size: 1rem;
  line-height: 1.5;
}
textarea {
  resize: vertical;
}
button,
.button {
  width: fit-content;
  padding: 0.72rem 1.3rem;
  background: #375f40;
  color: #fff;
  border: 1px solid #375f40;
  border-radius: 3px;
  font:
    600 1rem/1.5 "Avenir Next",
    Avenir,
    "Segoe UI",
    Arial,
    sans-serif;
  cursor: pointer;
  text-decoration: none;
}
button:hover,
.button:hover {
  background: #26482e;
}
:focus-visible {
  outline: 3px solid #986322;
  outline-offset: 2px;
}
#form-status {
  color: #664119;
  font-size: 0.95rem;
  margin: 0;
}
@media (max-width: 480px) {
  .row {
    grid-template-columns: 1fr;
  }
}
.receipt {
  min-height: 100vh;
  display: grid;
  place-content: center;
  padding: 1.5rem;
  background: #f8f8f1;
}
.receipt main {
  max-width: 35rem;
  padding-block: 2rem;
  border-top: 1px solid #bcc9b2;
}
.receipt img {
  width: 62px;
  height: auto;
}
.receipt h1 {
  font:
    400 clamp(2.8rem, 6vw, 4.5rem)/1.06 Georgia,
    serif;
  letter-spacing: -0.05em;
  margin: 1.5rem 0 0.75rem;
}
.receipt .button {
  display: inline-block;
  margin-top: 0.7rem;
}

@media (max-width: 308px) {
  form > div:has(iframe) {
    zoom: 0.8;
  }
}
