:root {
  color-scheme: light;
  font-family: system-ui, sans-serif;
  color: #202f27;
  background: #f7f7f1;
}

body {
  display: grid;
  min-height: 100svh;
  margin: 0;
  padding: 1.25rem;
  place-items: center;
  box-sizing: border-box;
}

main {
  width: min(100%, 23rem);
  box-sizing: border-box;
  padding: clamp(1.25rem, 7vw, 2.4rem);
  border: 1px solid #d5ded3;
  border-radius: 0.85rem;
  background: #fffefa;
}

.preview-label {
  color: #1b493d;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

h1 {
  margin: 0.4rem 0;
  font-size: clamp(1.85rem, 8vw, 2.25rem);
  letter-spacing: -0.05em;
}

p {
  margin: 0 0 1.15rem;
  line-height: 1.45;
}

form {
  display: grid;
  gap: 0.55rem;
}

label {
  font-weight: 650;
}

input,
button {
  min-height: 2.75rem;
  border-radius: 0.4rem;
  font: inherit;
}

input {
  min-width: 0;
  padding: 0 0.65rem;
  border: 1px solid #85958a;
  background: #fff;
}

input + label {
  margin-top: 0.45rem;
}

button {
  border: 0;
  background: #1b493d;
  color: #fff;
  font-weight: 700;
  cursor: pointer;
}

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

:focus-visible {
  outline: 2px solid #1b493d;
  outline-offset: 3px;
}

#sign-in-status {
  margin: 0;
  color: #763915;
}

#sign-in-status:empty {
  margin-top: 0.35rem;
}
