:root {
  color-scheme: light;
  font-family: Georgia, "Times New Roman", serif;
  color: #25231f;
  background: #f4f0e7;
}

* { box-sizing: border-box; }

body {
  display: grid;
  min-height: 100vh;
  place-items: center;
  margin: 0;
  padding: 1.5rem;
}

main {
  width: min(100%, 28rem);
  padding: 2.5rem;
  border: 1px solid #25231f;
  background: #fbf9f3;
  box-shadow: 7px 7px 0 #d4cbb9;
  text-align: center;
}

.rule {
  border: 0;
  border-top: 1px solid #25231f;
  margin: 1.2rem 0;
}

h1 {
  margin: 0;
  font-size: clamp(2.3rem, 12vw, 3.7rem);
  line-height: .92;
  letter-spacing: -.06em;
}

p { line-height: 1.6; }

label {
  display: block;
  margin: 1.5rem 0 .5rem;
  text-align: left;
  font-weight: 700;
}

input, button {
  width: 100%;
  min-height: 3rem;
  padding: .75rem;
  font: inherit;
}

input { border: 1px solid #777064; background: white; }

button {
  margin-top: .8rem;
  border: 0;
  background: #283e36;
  color: white;
  cursor: pointer;
  font-weight: 700;
}

button:hover { background: #1d3029; }
