body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.7;
  color: #171717;
  background: #f7f7f8;
}

main {
  width: min(100% - 32px, 720px);
  margin: 48px auto;
}

a, button {
  font: inherit;
}

.choices {
  display: grid;
  gap: 12px;
  margin: 24px 0;
}

.choices a,
button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid #c9c9cf;
  border-radius: 8px;
  background: #fff;
  color: #111;
  text-decoration: none;
}

form {
  display: grid;
  gap: 16px;
}

label {
  display: grid;
  gap: 6px;
  font-weight: 600;
}

input,
select,
textarea {
  box-sizing: border-box;
  width: 100%;
  min-height: 42px;
  padding: 8px 10px;
  border: 1px solid #c9c9cf;
  border-radius: 8px;
  font: inherit;
  background: #fff;
}

textarea {
  min-height: 120px;
  resize: vertical;
}

.check {
  display: flex;
  align-items: center;
}

.check input {
  width: auto;
}

.error {
  padding: 12px;
  border: 1px solid #c62828;
  border-radius: 8px;
  background: #fff4f4;
}
