:root {
  color-scheme: light;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  color: #17211d;
  background: #f4f7f3;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
}

.page {
  display: grid;
  min-height: 100vh;
  place-items: center;
  padding: 24px;
}

.sender {
  width: min(100%, 560px);
  padding: 32px;
  border: 1px solid #d5ddd3;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 18px 50px rgb(30 55 42 / 10%);
}

h1 {
  margin: 0 0 24px;
  font-size: clamp(2rem, 5vw, 3.5rem);
  line-height: 1;
}

.form {
  display: grid;
  gap: 14px;
}

label {
  font-weight: 700;
}

textarea {
  width: 100%;
  resize: vertical;
  border: 1px solid #b9c5b6;
  border-radius: 8px;
  padding: 14px;
  font: inherit;
  line-height: 1.5;
  color: inherit;
}

textarea:focus {
  border-color: #1d8f54;
  outline: 3px solid rgb(29 143 84 / 20%);
}

button {
  min-height: 48px;
  border: 0;
  border-radius: 8px;
  background: #1d8f54;
  color: #ffffff;
  cursor: pointer;
  font: inherit;
  font-weight: 800;
}

button:hover:not(:disabled) {
  background: #167346;
}

button:disabled {
  cursor: wait;
  opacity: 0.7;
}

.status {
  min-height: 24px;
  margin: 4px 0 0;
  font-weight: 700;
}

.success {
  color: #167346;
}

.error {
  color: #ba1f33;
}
