:root {
  --ink: #1c2b26;
  --paper: #f3f1ea;
  --muted: #5d6b64;
  --sea: #2f6f5e;
}

* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  display: flex;
  flex-direction: column;
  min-height: 100svh;
  background: var(--paper);
  color: var(--ink);
  font-family: Outfit, "Avenir Next", "Segoe UI", sans-serif;
}
main {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 12vh 8vw 8vh;
  max-width: 42rem;
}
.mark {
  margin: 0 0 28px;
  color: var(--sea);
}
.mark svg { width: 42px; height: auto; }
h1 {
  margin: 0;
  font-family: Newsreader, Palatino, "Palatino Linotype", serif;
  font-weight: 500;
  font-size: clamp(48px, 8vw, 84px);
  letter-spacing: -0.03em;
  line-height: 0.95;
}
.line {
  margin: 22px 0 0;
  max-width: 22em;
  font-size: 20px;
  line-height: 1.45;
  color: var(--muted);
}
footer {
  padding: 22px 8vw 28px;
  font-size: 13px;
  letter-spacing: 0.08em;
  color: var(--muted);
}
.enter { margin: 32px 0 0; }
.enter a, .signout button {
  color: var(--sea);
  font-size: 14px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
h1.quiet { font-size: clamp(36px, 5vw, 56px); }
form.gate {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 18rem;
  margin-top: 28px;
}
label { font-size: 13px; letter-spacing: 0.06em; color: var(--muted); }
input {
  font: inherit;
  font-size: 16px;
  padding: 10px 12px;
  border: 1px solid #c5ccc6;
  background: #fff;
  color: var(--ink);
}
button.primary {
  font: inherit;
  font-size: 15px;
  padding: 12px 16px;
  border: 0;
  background: var(--ink);
  color: var(--paper);
  cursor: pointer;
}
.error { margin: 18px 0 0; color: #8a3d32; }
.books { list-style: none; margin: 8px 0 0; padding: 0; }
.books a { display: inline-block; margin: 0 0 16px; color: var(--sea); font-size: 20px; }
.signout { margin-top: 28px; }
.signout button {
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}
