.hero {
  flex: 1;
  display: grid;
  place-items: center;
  padding-block: 30px 60px;
  text-align: center;
}
.hero-content { width: 100%; }
.hero h1 {
  font-family: var(--font-sans);
  font-size: clamp(64px, 7vw, 96px);
  font-weight: 600;
  line-height: 1.11;
  letter-spacing: -.055em;
}
.hero h1 span { display: block; }
.hero h1 em {
  color: var(--accent-display);
  font-family: var(--font-serif);
  font-size: 1.18em;
  font-weight: 500;
  letter-spacing: -.04em;
  line-height: .8;
}
.hero-description {
  color: #c1c5bf;
  font-size: clamp(15px, 1.3vw, 17px);
  max-width: 460px;
  margin: 30px auto 40px;
  text-wrap: balance;
  line-height: 1.7;
}
.message-form {
  width: 100%;
  max-width: 620px;
  margin-inline: auto;
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background:
    linear-gradient(145deg, rgb(248 245 239 / 6%), rgb(248 245 239 / 1%) 55%),
    rgb(18 28 27 / 55%);
  box-shadow: inset 0 1px 0 rgb(248 245 239 / 9%), inset 0 -1px 0 rgb(0 0 0 / 15%), 0 18px 48px rgb(0 0 0 / 14%);
  text-align: left;
}
.message-form:focus-within { border-color: var(--accent-display); }
.message-form textarea,
.message-form input {
  display: block;
  width: 100%;
  border: 0;
  border-radius: 4px;
  background: transparent;
  color: var(--text);
  caret-color: var(--text);
  font: inherit;
  font-size: 16px;
  line-height: 1.6;
}
.message-form textarea { min-height: 82px; padding: 4px; resize: vertical; }
.message-form textarea::placeholder,
.message-form input::placeholder { color: #b9beb8; opacity: 1; }
.message-input { position: relative; }
.message-input.has-example textarea::placeholder { color: transparent; }
.message-example {
  position: absolute;
  inset: 0;
  padding: 4px;
  overflow: hidden;
  pointer-events: none;
  color: #b9beb8;
  font: inherit;
  font-size: 16px;
  line-height: 1.6;
  white-space: pre-wrap;
  overflow-wrap: break-word;
}
.message-example-caret {
  display: inline-block;
  height: 1em;
  margin-left: 1px;
  border-left: 1px solid currentColor;
  vertical-align: -.12em;
  animation: example-caret-blink 1.1s step-end infinite;
}
.message-example[hidden] { display: none; }
.message-example.is-paused .message-example-caret { animation-play-state: paused; }
@keyframes example-caret-blink { 50% { opacity: 0; } }
.message-actions { display: flex; align-items: flex-end; gap: 24px; margin-top: 20px; padding-top: 16px; border-top: 1px solid rgb(230 225 217 / 8%); }
.reply-field { flex: 1; min-width: 0; }
.reply-field label { display: block; color: var(--text-secondary); font-size: 12px; margin-bottom: 8px; }
.message-form input { padding: 8px 10px; border: 1px solid var(--border-light); }
.message-form [aria-invalid="true"] { outline: 1px solid var(--error); outline-offset: 2px; }
.send-button {
  flex-shrink: 0;
  margin-left: auto;
  min-height: 46px;
  min-width: 106px;
  padding: 11px 24px;
  border: 1px solid rgb(115 186 179 / 45%);
  border-radius: 9px;
  background: linear-gradient(160deg, #2b7776, #256765);
  color: var(--warm-cream);
  box-shadow: inset 0 1px 0 rgb(248 245 239 / 12%), 0 3px 8px rgb(0 0 0 / 12%);
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: border-color .18s ease, box-shadow .18s ease;
}
.send-button:hover { border-color: var(--accent-display); box-shadow: inset 0 1px 0 rgb(248 245 239 / 18%), 0 4px 12px rgb(0 0 0 / 18%); }
.send-button:disabled { opacity: .65; cursor: wait; }
.field-error, .form-status { font-size: 13px; line-height: 1.6; margin-top: 12px; overflow-wrap: anywhere; }
.field-error, .form-status.is-error { color: var(--error); }
.form-status { color: var(--text-secondary); }
