:root {
  color-scheme: light;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #2a2520;
  background: #faf7f2;
}

* {
  box-sizing: border-box;
}

body {
  min-width: 320px;
  margin: 0;
  background: #faf7f2;
}

.site-header {
  border-bottom: 1px solid #ddd7ce;
}

.site-header,
.content {
  width: min(calc(100% - 32px), 640px);
  margin-inline: auto;
}

.brand {
  margin: 0;
  padding-block: 20px;
  font-size: 18px;
  font-weight: 700;
}

.content {
  padding-block: 48px 64px;
}

h1 {
  margin: 0;
  font-size: 32px;
  line-height: 1.2;
  letter-spacing: 0;
}

.intro {
  max-width: 58ch;
  margin: 16px 0 32px;
  color: #625b53;
  font-size: 16px;
  line-height: 1.6;
}

.status {
  margin: 0 0 28px;
  border-left: 4px solid #3a6f50;
  padding: 12px 16px;
  background: #f1f5f2;
  color: #254c37;
  line-height: 1.5;
}

form {
  display: grid;
  gap: 24px;
  border-top: 1px solid #ddd7ce;
  padding-top: 28px;
}

.field {
  display: grid;
  gap: 8px;
}

label {
  font-size: 15px;
  font-weight: 650;
}

input,
select,
button {
  width: 100%;
  min-height: 48px;
  border-radius: 8px;
  font: inherit;
  letter-spacing: 0;
}

input,
select {
  border: 1px solid #8b8379;
  padding: 10px 12px;
  background: #ffffff;
  color: #2a2520;
}

button {
  border: 1px solid #a32727;
  padding: 11px 18px;
  background: #b52f2f;
  color: #ffffff;
  font-weight: 700;
  cursor: pointer;
}

button:hover {
  background: #992626;
}

input:focus-visible,
select:focus-visible,
button:focus-visible {
  outline: 3px solid #1d64a8;
  outline-offset: 3px;
}

@media (max-width: 480px) {
  .site-header,
  .content {
    width: min(calc(100% - 24px), 640px);
  }

  .content {
    padding-block: 36px 48px;
  }

  h1 {
    font-size: 28px;
  }
}
