:root {
  color-scheme: light;
  font-family: system-ui, sans-serif;
  font-size: 100%;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: #fcfaf5;
  color: #221f1a;
  font-size: 1.1875rem;
  line-height: 1.55;
}

main {
  max-width: 36rem;
  margin-inline: auto;
  padding: 2rem 1rem 3rem;
  overflow-wrap: anywhere;
}

h1 {
  margin: 0 0 1rem;
  color: #183e2d;
  font-size: 2rem;
  line-height: 1.2;
}

label {
  display: block;
  font-weight: 700;
}

.hint {
  margin: .3rem 0 .65rem;
}

textarea {
  display: block;
  width: 100%;
  min-height: 9rem;
  padding: .7rem;
  border: 2px solid #675d4f;
  border-radius: .4rem;
  background: #fff;
  color: inherit;
  font: inherit;
  resize: vertical;
}

button {
  display: block;
  width: 100%;
  min-height: 3rem;
  margin-top: 1rem;
  padding: .65rem 1rem;
  border: 2px solid #18442e;
  border-radius: .4rem;
  background: #18442e;
  color: #fff;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

a {
  color: #174d81;
  text-decoration: underline;
  text-underline-offset: .15em;
}

:focus-visible {
  outline: 3px solid #2456a6;
  outline-offset: 3px;
}

.wishlist-text {
  white-space: pre-wrap;
}

.status,
.error {
  border-inline-start: .25rem solid;
  padding-inline-start: .65rem;
  font-weight: 700;
}

.status {
  color: #18442e;
}

.error {
  color: #852315;
}

@media (forced-colors: active) {
  :focus-visible {
    outline-color: Highlight;
  }
}
