:root {
  color-scheme: dark;
  font-family: "Segoe UI", system-ui, sans-serif;
  color: #f5f2ee;
  background: #141719;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  min-height: 100vh;
  display: grid;
  place-items: center;
  background: linear-gradient(140deg, #152323, #141719 55%, #231e19);
}
main {
  width: min(100%, 32rem);
  padding: 2rem 1.25rem;
}
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}
.brand {
  font-family: Georgia, serif;
  font-size: 1.6rem;
  letter-spacing: 0.03em;
}
section {
  background: #202526;
  padding: 1.5rem;
  border-radius: 0.65rem;
  border: 1px solid #394142;
}
h1 {
  font-size: 1.55rem;
  margin: 0 0 1rem;
}
p {
  line-height: 1.5;
  overflow-wrap: anywhere;
}
form {
  display: grid;
  gap: 0.65rem;
  margin: 1rem 0;
}
label {
  display: grid;
  gap: 0.32rem;
}
input,
button,
.action {
  font: inherit;
  border-radius: 0.35rem;
  padding: 0.7rem 0.9rem;
  border: 1px solid #556161;
}
input {
  min-width: 0;
  background: #151a1b;
  color: inherit;
}
button,
.action {
  display: block;
  text-align: center;
  cursor: pointer;
  background: #e6be87;
  color: #1b1917;
  font-weight: 650;
  text-decoration: none;
  margin: 0.35rem 0;
}
button:disabled {
  opacity: 0.55;
  cursor: wait;
}
header button,
.secondary {
  background: transparent;
  color: #eae4dc;
}
:focus-visible {
  outline: 2px solid #efc88c;
  outline-offset: 3px;
}
.notice {
  color: #f1cc9a;
}
img {
  max-width: 100%;
  background: white;
  border: 0.6rem solid white;
}
code {
  display: block;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
