:root {
  --bg: #fbf9f4;
  --ink: #1d2433;
  --muted: #6b6f7a;
  --line: #e8e3d8;
  --accent: #2a4a7f;
  --accent-soft: #eef2f9;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-weight: 300;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 600;
  line-height: 1.15;
  margin: 0 0 0.5em;
  letter-spacing: -0.01em;
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

img { max-width: 100%; display: block; }

/* Nav */
.nav {
  position: sticky;
  top: 0;
  background: rgba(251, 249, 244, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
  z-index: 10;
}
.nav-inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 18px 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.brand {
  font-family: 'Fraunces', serif;
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--ink);
}
.nav nav a {
  margin-left: 24px;
  color: var(--muted);
  font-size: 0.95rem;
}
.nav nav a:hover { color: var(--ink); text-decoration: none; }

/* Hero */
main { max-width: 1080px; margin: 0 auto; padding: 0 32px; }

.hero {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 64px;
  align-items: center;
  padding: 96px 0 80px;
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.78rem;
  color: var(--muted);
  margin: 0 0 16px;
}
.hero h1 {
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 800;
  margin-bottom: 20px;
}
.lede {
  font-size: 1.15rem;
  color: var(--muted);
  max-width: 38ch;
  margin: 0 0 32px;
}
.hero-cover img {
  width: 100%;
  max-width: 360px;
  margin-left: auto;
  border-radius: 6px;
  box-shadow: 0 30px 60px -20px rgba(29, 36, 51, 0.35), 0 10px 20px -10px rgba(29, 36, 51, 0.2);
  transform: rotate(-1.5deg);
  transition: transform 0.4s ease;
}
.hero-cover img:hover { transform: rotate(0deg) translateY(-4px); }

/* Buttons */
.cta { display: flex; gap: 12px; flex-wrap: wrap; }
.btn {
  display: inline-block;
  padding: 12px 22px;
  background: var(--ink);
  color: var(--bg);
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 500;
  border: 1px solid var(--ink);
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease;
}
.btn:hover { background: var(--accent); border-color: var(--accent); text-decoration: none; transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--bg); }

/* Sections */
.section {
  padding: 80px 0;
  border-top: 1px solid var(--line);
}
.section h2 {
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  margin-bottom: 40px;
}

/* Books */
.book {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 48px;
  align-items: start;
  margin-bottom: 56px;
}
.book-cover {
  width: 100%;
  border-radius: 4px;
  box-shadow: 0 20px 40px -15px rgba(29, 36, 51, 0.3);
}
.book-cover.placeholder {
  aspect-ratio: 2 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-soft);
  color: var(--muted);
  font-family: 'Fraunces', serif;
  font-size: 1.1rem;
  border-radius: 4px;
  box-shadow: none;
  border: 1px dashed var(--line);
}
.book-number {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.75rem;
  color: var(--muted);
  margin: 0 0 8px;
}
.book h3 { font-size: 1.7rem; margin-bottom: 16px; }
.book-blurb { color: var(--muted); margin-bottom: 20px; max-width: 56ch; }
.meta {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  font-size: 0.9rem;
  color: var(--muted);
}
.meta li { padding: 4px 0; }

/* About */
.about p { max-width: 60ch; color: var(--muted); font-size: 1.05rem; }
.about strong { color: var(--ink); font-weight: 500; }

/* Contact */
.contact p { color: var(--muted); margin-bottom: 24px; }
.signup {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
  max-width: 480px;
}
.signup input {
  flex: 1;
  min-width: 220px;
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.95rem;
  font-family: inherit;
  background: white;
  color: var(--ink);
}
.signup input:focus {
  outline: none;
  border-color: var(--accent);
}
.thanks {
  width: 100%;
  color: var(--accent);
  font-size: 0.9rem;
  margin: 8px 0 0;
}
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* Footer */
footer {
  border-top: 1px solid var(--line);
  padding: 32px;
  text-align: center;
  color: var(--muted);
  font-size: 0.85rem;
}

/* Responsive */
@media (max-width: 760px) {
  .nav-inner { padding: 14px 20px; }
  .nav nav a { margin-left: 16px; font-size: 0.9rem; }
  main { padding: 0 20px; }
  .hero {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 56px 0;
    text-align: center;
  }
  .lede { margin-left: auto; margin-right: auto; }
  .cta { justify-content: center; }
  .hero-cover img { margin: 0 auto; }
  .section { padding: 56px 0; }
  .book {
    grid-template-columns: 1fr;
    gap: 24px;
    text-align: center;
  }
  .book-cover { max-width: 220px; margin: 0 auto; }
  .meta { display: inline-block; text-align: left; }
}
