/* BookZEN landing — bottle green, clay, cream. Gold is for drawn books only. */
:root {
  --brand: #1E3A30;
  --brand-deep: #14281f;
  --clay: #C4623A;
  --gold: #B7893C;
  --cream: #F5F0E6;
  --paper: #FBF8F2;
  --ink: #1f1d1a;
  --muted: #6b665d;
  --rule: rgba(30, 58, 48, .14);
  --wood: #7a5230;
  --wood-dark: #5b3b22;
  --display: "Fraunces", Georgia, "Times New Roman", serif;
  --body: "Lora", Georgia, serif;
  --max: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  overflow-x: hidden;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); font-weight: 600; line-height: 1.1; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.4rem, 5.2vw, 4rem); font-variation-settings: "opsz" 144; }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); font-variation-settings: "opsz" 96; }
h3 { font-size: 1.25rem; }
em { font-style: italic; color: var(--clay); }
p { margin: 0 0 1em; }
.eyebrow { font-family: var(--display); font-style: italic; color: var(--clay); font-size: 1.05rem; margin-bottom: .6em; }
.eyebrow.light { color: #e6b89c; }

/* Nav */
.nav {
  max-width: var(--max); margin: 0 auto; padding: 18px 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--display); font-weight: 700; font-size: 1.25rem; color: var(--brand); }
.brand img { border-radius: 7px; }
.nav nav { display: flex; gap: 22px; align-items: center; }
.nav nav a { text-decoration: none; color: var(--brand); font-size: .95rem; }
.nav nav a:not(.pill):hover { color: var(--clay); }
.pill {
  display: inline-block; background: var(--brand); color: var(--cream) !important; text-decoration: none;
  padding: 10px 20px; border-radius: 999px; font-family: var(--display); font-weight: 600; font-size: 1rem;
  transition: background .2s;
}
.pill:hover { background: var(--brand-deep); }
.pill.light { background: var(--cream); color: var(--brand) !important; }
.pill.light:hover { background: #fff; }

/* Hero */
.hero {
  max-width: var(--max); margin: 24px auto 0; padding: 32px 24px 0;
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center;
}
.lede { font-size: 1.2rem; color: #3b3831; max-width: 34em; }
.fineprint { color: var(--muted); font-size: .92rem; }
.stores { display: flex; flex-wrap: wrap; gap: 12px; margin: 22px 0 10px; }
.store {
  display: inline-flex; align-items: center; gap: 12px; text-decoration: none;
  background: var(--brand); color: var(--cream); padding: 10px 18px 10px 14px; border-radius: 14px;
  min-width: 190px; transition: background .2s, transform .2s;
}
.store:hover { background: var(--brand-deep); transform: translateY(-1px); }
.store svg { width: 28px; height: 28px; fill: currentColor; flex: none; }
.store span { display: flex; flex-direction: column; line-height: 1.1; font-family: var(--display); font-weight: 600; font-size: 1.15rem; }
.store small { font-family: var(--body); font-weight: 400; font-size: .72rem; opacity: .85; margin-bottom: 2px; }

.hero-art { position: relative; min-height: 520px; min-width: 0; }
.hero-copy { min-width: 0; }
.reader { position: absolute; right: -6%; bottom: 0; width: 92%; filter: drop-shadow(0 20px 30px rgba(30,58,48,.18)); }

/* Phone mockup */
.phone {
  width: 236px; aspect-ratio: 9 / 19; background: #101613; border-radius: 34px; padding: 9px;
  box-shadow: 0 30px 60px rgba(20,40,31,.35), inset 0 0 0 2px #2b332e;
}
.phone-hero { position: absolute; left: 2%; bottom: 24px; transform: rotate(-4deg); }
.screen {
  background: var(--paper); border-radius: 26px; height: 100%; padding: 26px 16px 14px;
  display: flex; flex-direction: column; gap: 8px; font-size: .78rem; overflow: hidden;
}
.scr-eyebrow { font-family: var(--display); font-style: italic; color: var(--clay); margin: 0; }
.scr-title { font-family: var(--display); font-weight: 600; font-size: 1.1rem; margin: 0 0 6px; color: var(--ink); }
.ring {
  width: 108px; height: 108px; border-radius: 50%; margin: 4px auto 8px;
  background: conic-gradient(var(--brand) 0 68%, rgba(30,58,48,.12) 68% 100%);
  display: grid; place-items: center; position: relative;
}
.ring::before { content: ""; position: absolute; inset: 10px; background: var(--paper); border-radius: 50%; }
.ring span { position: relative; font-family: var(--display); font-weight: 700; font-size: 1.9rem; color: var(--brand); line-height: 1; }
.ring small { display: block; font-family: var(--body); font-weight: 400; font-size: .68rem; color: var(--muted); text-align: center; }
.scr-row { display: flex; justify-content: space-between; padding: 7px 10px; background: rgba(30,58,48,.06); border-radius: 10px; color: var(--muted); }
.scr-row b { color: var(--ink); font-weight: 600; }
.mini-shelf { margin-top: auto; height: 64px; display: flex; align-items: flex-end; gap: 3px; padding: 0 8px 8px; position: relative; }
.mini-shelf i { flex: 1; height: var(--h); background: var(--c); border-radius: 2px 2px 0 0; box-shadow: inset 0 0 0 1px rgba(0,0,0,.15), inset 0 6px 0 -4px var(--gold); }
.mini-shelf u { position: absolute; left: 0; right: 0; bottom: 0; height: 8px; background: linear-gradient(var(--wood), var(--wood-dark)); border-radius: 2px; }

/* Band */
.band { background: var(--brand); color: var(--cream); text-align: center; padding: 34px 24px; margin-top: 40px; }
.band p { margin: 0; font-family: var(--display); font-style: italic; font-size: clamp(1.2rem, 2.4vw, 1.7rem); }

/* Features */
.features { max-width: var(--max); margin: 0 auto; padding: 72px 24px 40px; }
.features h2 { text-align: center; margin-bottom: 40px; }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.features article {
  background: var(--paper); border: 1px solid var(--rule); border-radius: 20px; padding: 26px 24px 18px;
  transition: transform .2s, box-shadow .2s;
}
.features article:hover { transform: translateY(-3px); box-shadow: 0 16px 30px rgba(30,58,48,.10); }
.glyph { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: rgba(196,98,58,.12); color: var(--clay); font-size: 1.3rem; margin-bottom: 14px; }
.features article p { color: #3b3831; font-size: .98rem; }

/* Shelf section */
.shelf-section { max-width: var(--max); margin: 0 auto; padding: 56px 24px; display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.checks { list-style: none; padding: 0; margin: 18px 0 0; }
.checks li { padding: 8px 0 8px 30px; position: relative; border-top: 1px solid var(--rule); }
.checks li::before { content: "✓"; position: absolute; left: 4px; color: var(--clay); font-weight: 700; }
.bookcase {
  background: linear-gradient(180deg, #8a6240, #6b4a2c); border-radius: 18px; padding: 18px 18px 10px;
  box-shadow: inset 0 0 0 6px #5b3b22, 0 30px 50px rgba(30,58,48,.25);
}
.ledge { height: 128px; display: flex; align-items: flex-end; gap: 5px; padding: 0 10px 10px; border-bottom: 12px solid #4a2f1b; position: relative; background: linear-gradient(180deg, rgba(0,0,0,.22), rgba(0,0,0,0) 40%); }
.ledge + .ledge { margin-top: 8px; }
.ledge i {
  flex: 1; height: var(--h); background: var(--c); border-radius: 3px 3px 0 0;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.2), inset 0 10px 0 -7px var(--gold), inset 0 -10px 0 -7px var(--gold), 2px 0 4px rgba(0,0,0,.25);
}
.ledge .plate { position: absolute; right: 14px; bottom: -10px; background: var(--gold); color: #3b2a10; font-family: var(--display); font-weight: 700; font-size: .72rem; padding: 1px 10px; border-radius: 3px; box-shadow: 0 1px 0 #7a5a20; }
.ledge.empty { justify-content: center; align-items: center; }
.ledge.empty em { color: rgba(255,240,220,.7); font-family: var(--display); }

/* Quotes */
.quotes { background: var(--paper); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); padding: 64px 24px; }
.quotes h2 { text-align: center; max-width: var(--max); margin: 0 auto 36px; }
.quotes .grid { max-width: var(--max); margin: 0 auto; }
blockquote { margin: 0; padding: 22px 24px; background: var(--cream); border-radius: 18px; border-left: 4px solid var(--clay); }
blockquote p { font-style: italic; margin-bottom: 12px; }
blockquote cite { font-style: normal; font-family: var(--display); font-weight: 600; font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; color: var(--brand); }

/* Pro */
.pro { max-width: var(--max); margin: 0 auto; padding: 72px 24px 24px; display: grid; grid-template-columns: 1.1fr .9fr; gap: 32px; align-items: center; }
.pro-card { background: var(--brand); color: var(--cream); border-radius: 26px; padding: 40px 38px; }
.pro-card h2 { color: #fff; }
.pro-card ul { padding-left: 20px; margin: 0 0 24px; }
.pro-card li { margin: 6px 0; }
.glasses { opacity: .95; filter: drop-shadow(0 16px 24px rgba(30,58,48,.18)); }

/* CTA */
.cta { text-align: center; padding: 64px 24px 80px; }
.cta .stores { justify-content: center; }

/* Footer */
footer { background: var(--brand-deep); color: rgba(245,240,230,.8); padding: 36px 24px; }
footer > div, footer nav, footer .sources { max-width: var(--max); margin: 0 auto; }
footer > div { display: flex; align-items: center; gap: 8px; margin-bottom: 14px; }
footer > div img { border-radius: 5px; }
footer nav { display: flex; gap: 22px; flex-wrap: wrap; margin-bottom: 18px; }
footer nav a { color: var(--cream); text-decoration: none; }
footer nav a:hover { color: #e6b89c; }
.sources { font-size: .8rem; opacity: .7; }

/* Responsive */
@media (max-width: 900px) {
  .hero, .shelf-section, .pro { grid-template-columns: 1fr; }
  .hero-art { min-height: 460px; order: -1; overflow: hidden; }
  .reader { right: 0; width: 78%; }
  .phone-hero { left: 0; }
  .grid { grid-template-columns: 1fr 1fr; }
  .nav nav a:not(.pill) { display: none; }
  .glasses { max-width: 420px; margin: 0 auto; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .grid { grid-template-columns: 1fr; }
  .hero { padding-top: 8px; }
  .hero-art { min-height: 380px; }
  .reader { width: 72%; right: -4%; }
  .phone { width: 180px; }
  .pro-card { padding: 30px 24px; }
  .store { width: 100%; justify-content: center; }
}
