:root {
  font-family: system-ui, sans-serif;
  color: #122035;
  background: #fff;
  font-size: 16px;
  color-scheme: light;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
main {
  max-width: 680px;
  margin: auto;
  padding: 28px;
}
h1 {
  font-size: clamp(24px, 5vw, 34px);
  line-height: 1.2;
}
.description {
  white-space: pre-wrap;
  color: #526174;
  line-height: 1.7;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 22px 0;
}
label {
  font-weight: 600;
  line-height: 1.5;
}
input,
select,
textarea {
  font: inherit;
  width: 100%;
  padding: 12px;
  border: 1px solid #aebbc8;
  border-radius: 8px;
  background: white;
  color: #122035;
}
textarea {
  min-height: 100px;
  resize: vertical;
}
.check {
  flex-direction: row;
  align-items: flex-start;
}
.check input {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}
button {
  font: inherit;
  padding: 14px 24px;
  background: var(--primary, #0f766e);
  color: white;
  border: 0;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
}
a {
  color: #0f766e;
}
button:disabled {
  opacity: 0.65;
  cursor: default;
}
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
button:focus-visible,
a:focus-visible {
  outline: 3px solid #2563eb;
  outline-offset: 3px;
}
.trap {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
#result {
  line-height: 1.6;
}
@media (max-width: 400px) {
  main {
    padding: 20px 16px;
  }
}
