:root {
  color-scheme: light;
  --ink: #221d18;
  --muted: #746b60;
  --line: #d8d2c9;
  --paper: #fffdf8;
  --soft: #f2eee7;
  --accent: #0f766e;
  --accent-strong: #115e59;
  --sun: #f5c542;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}
a { color: inherit; text-decoration-thickness: 0.08em; text-underline-offset: 0.18em; }
.site-header {
  align-items: center;
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  min-height: 68px;
  padding: 0 5vw;
}
.brand { font-size: 1.2rem; font-weight: 800; text-decoration: none; }
nav { display: flex; gap: 1.2rem; }
nav a { color: var(--muted); font-weight: 650; text-decoration: none; }
.hero {
  align-items: center;
  background: linear-gradient(90deg, rgba(255,253,248,0.96), rgba(255,253,248,0.78)), var(--soft);
  border-bottom: 1px solid var(--line);
  display: grid;
  min-height: 520px;
  padding: 6rem 5vw;
}
.hero > div, .section { margin: 0 auto; max-width: 1120px; width: 100%; }
.section { padding: 4rem 5vw; }
.narrow { max-width: 760px; }
.eyebrow {
  color: var(--accent-strong);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  margin: 0 0 0.6rem;
  text-transform: uppercase;
}
h1, h2, h3, p { margin-top: 0; }
h1 { font-size: clamp(2.3rem, 7vw, 4.9rem); letter-spacing: 0; line-height: 0.98; max-width: 850px; }
h2 { font-size: 1.65rem; }
.intro { color: var(--muted); font-size: 1.15rem; max-width: 650px; }
.primary-link, .buy-link {
  align-items: center;
  background: var(--accent);
  border: 0;
  color: white;
  display: inline-flex;
  font: inherit;
  font-weight: 800;
  justify-content: center;
  min-height: 48px;
  padding: 0 1.2rem;
  text-decoration: none;
}
.primary-link:hover, .buy-link:hover { background: var(--accent-strong); }
.secondary-link { color: var(--accent-strong); font-weight: 800; }
.section-heading { align-items: end; display: flex; gap: 1rem; justify-content: space-between; margin-bottom: 1.5rem; }
.book-grid { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.book-card { background: white; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.cover-link { display: block; }
.cover, .product-cover, .preview-page { background: var(--soft); display: block; height: auto; width: 100%; }
.cover { aspect-ratio: 4 / 5; object-fit: cover; }
.book-card-body { padding: 1rem; }
.book-card h3 { font-size: 1.05rem; margin-bottom: 0.35rem; }
.book-card p { color: var(--muted); margin-bottom: 0.8rem; }
.book-meta { color: var(--ink); display: flex; font-weight: 750; gap: 0.8rem; justify-content: space-between; }
.product-layout { display: grid; gap: 3rem; grid-template-columns: minmax(260px, 440px) minmax(280px, 1fr); margin: 0 auto; max-width: 1120px; padding: 4rem 5vw; }
.product-cover { border: 1px solid var(--line); box-shadow: 0 18px 40px rgba(34,29,24,0.12); }
.facts { border-bottom: 1px solid var(--line); border-top: 1px solid var(--line); display: grid; grid-template-columns: repeat(3, 1fr); margin: 2rem 0; }
.facts div { padding: 1rem 0.8rem 1rem 0; }
.facts dt { color: var(--muted); font-size: 0.78rem; font-weight: 750; text-transform: uppercase; }
.facts dd { font-weight: 800; margin: 0.2rem 0 0; }
.preview-grid { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.preview-page { border: 1px solid var(--line); border-radius: 8px; }
.notice { color: var(--muted); margin-top: 1rem; }
@media (max-width: 760px) {
  .site-header { align-items: flex-start; flex-direction: column; gap: 0.75rem; padding-bottom: 1rem; padding-top: 1rem; }
  .hero { min-height: 460px; padding: 4rem 5vw; }
  .section { padding: 3rem 5vw; }
  .section-heading { align-items: start; flex-direction: column; }
  .product-layout { grid-template-columns: 1fr; padding-top: 2rem; }
  .facts { grid-template-columns: 1fr; }
}
