:root {
  color-scheme: light;
  --ink: #1c1917;
  --muted: #57534e;
  --line: #e7e5e4;
  --paper: #fafaf9;
  --link: #9f1239;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.5;
}

a { color: var(--link); }

.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--line);
  padding: 1rem 1.25rem;
}

.brand {
  color: inherit;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-decoration: none;
  text-transform: uppercase;
}

.wrap {
  max-width: 40rem;
  margin: 0 auto;
  padding: 2rem 1.25rem 4rem;
}

h1 { font-size: 2rem; line-height: 1.2; margin: 0 0 0.75rem; }

p { margin: 0 0 1rem; color: var(--muted); }

form.auth { display: grid; gap: 0.75rem; margin-top: 1.5rem; }
label { display: grid; gap: 0.35rem; }
input, button { font: inherit; }
input {
  width: 100%;
  padding: 0.55rem 0.7rem;
  border: 1px solid var(--line);
  background: white;
}
button {
  justify-self: start;
  background: var(--ink);
  color: white;
  border: 0;
  padding: 0.6rem 1rem;
  cursor: pointer;
}
.alert { color: var(--link); }
