:root {
  --bg: #0c0d10;
  --bg-raised: #16181c;
  --ink: #ece7de;
  --muted: #9b968c;
  --accent: #d9713c;
  --border: #2a2d33;
}

* { box-sizing: border-box; }

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

.wrap {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.site-header {
  border-bottom: 1px solid var(--border);
  padding: 1.25rem 0;
  background: var(--bg);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  font-size: 1.25rem;
  font-weight: bold;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: 0.02em;
}

nav a {
  margin-left: 1.5rem;
  color: var(--muted);
  text-decoration: none;
  font-size: 0.95rem;
}

nav a:hover { color: var(--accent); }

.hero-full {
  position: relative;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  background: var(--bg-raised);
}

.hero-full img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-full.placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-full.placeholder img { display: none; }

.hero-full.placeholder::after {
  content: "Cover coming soon";
  color: var(--muted);
  font-size: 1rem;
}

.signup {
  padding: 4rem 1.5rem;
  text-align: center;
  max-width: 560px;
}

.signup h1 {
  font-size: 1.9rem;
  margin: 0 0 2rem;
  line-height: 1.3;
}

.signup-form { margin: 0; }

.signup-row {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  justify-content: center;
}

.signup-row input[type="email"] {
  flex: 1 1 260px;
  padding: 0.8rem 1rem;
  border-radius: 3px;
  border: 1px solid var(--border);
  background: var(--bg-raised);
  color: var(--ink);
  font-size: 1rem;
  font-family: inherit;
}

.signup-row input[type="email"]::placeholder { color: var(--muted); }

.signup-row input[type="email"]:focus {
  outline: none;
  border-color: var(--accent);
}

.signup-row button {
  padding: 0.8rem 1.5rem;
  border: none;
  border-radius: 3px;
  background: var(--accent);
  color: #fff;
  font-size: 0.95rem;
  cursor: pointer;
  font-family: inherit;
}

.signup-row button:hover { opacity: 0.9; }
.signup-row button:disabled { opacity: 0.6; cursor: default; }

.reassurance {
  color: var(--muted);
  font-size: 0.85rem;
  margin: 1rem 0 0;
}

.signup-error {
  color: #e58a7a;
  font-size: 0.9rem;
  margin: 0.75rem 0 0;
}

.signup-success {
  font-size: 1.1rem;
  color: var(--accent);
}

.books-list { padding: 3rem 1.5rem; }

.books-list h1 { margin-bottom: 2rem; }

.book-card {
  display: flex;
  gap: 2rem;
  align-items: center;
  flex-wrap: wrap;
}

.book-cover {
  flex: 0 0 200px;
  max-width: 200px;
  aspect-ratio: 2 / 3;
  background: var(--bg-raised);
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.book-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.book-cover.placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
}

.book-cover.placeholder img { display: none; }

.book-cover.placeholder::after {
  content: "Cover coming soon";
  color: var(--muted);
  font-size: 0.85rem;
  text-align: center;
  padding: 1rem;
}

.book-info h2 { margin: 0 0 0.5rem; font-size: 1.75rem; }

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.8rem;
  color: var(--accent);
  margin: 0 0 0.5rem;
}

.site-footer {
  border-top: 1px solid var(--border);
  padding: 1.5rem 0;
  color: var(--muted);
  font-size: 0.85rem;
}

.site-footer .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-footer a {
  color: var(--muted);
  text-decoration: none;
}

.site-footer a:hover { color: var(--accent); }

@media (max-width: 640px) {
  .signup-row { flex-direction: column; }
  .signup-row button { width: 100%; }
}
