/* ==========================================================================
   ZeroBusyWork -- shared design system
   Matches the look of the original single-ebook page:
   cream background, deep navy text/CTA, gold accent, Georgia headings.
   Used by all pages: the homepage and every ebook page under /ebooks/
   ========================================================================== */

:root {
  --bg: #f6f3ec;          /* warm cream page background */
  --text: #1c2430;        /* deep navy body text */
  --navy: #072654;        /* deep navy — CTA buttons, footer */
  --navy-light: #10386f;  /* hover state for navy elements */
  --gold: #e3b968;        /* gold accent — eyebrow labels, highlights */
  --card-bg: #ffffff;
  --border: #e3ddcf;
  --muted: #5b6472;

  --font-heading: Georgia, "Times New Roman", serif;
  --font-body: -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;

  --radius: 10px;
  --max-width: 880px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: var(--font-heading);
  line-height: 1.25;
  margin: 0 0 0.5em;
}

a { color: inherit; }

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

.wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

/* ---------- Site header (used on every page) ---------- */

.site-header {
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
}

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

.site-header .logo {
  font-family: var(--font-heading);
  font-weight: bold;
  font-size: 1.25rem;
  text-decoration: none;
  color: var(--navy);
}

.site-header nav a {
  text-decoration: none;
  color: var(--text);
  margin-left: 24px;
  font-size: 0.95rem;
}

/* ---------- Eyebrow label ---------- */

.eyebrow {
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 12px;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-block;
  background: var(--navy);
  color: #fff;
  text-decoration: none;
  padding: 14px 28px;
  border-radius: 6px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  transition: background 0.15s ease;
}

.btn:hover { background: var(--navy-light); }

.btn-secondary {
  background: transparent;
  color: var(--navy);
  border: 1.5px solid var(--navy);
}

.btn-secondary:hover { background: var(--navy); color: #fff; }

/* ---------- Catalog / homepage ---------- */

.hero {
  text-align: center;
  padding: 64px 0 40px;
}

.hero h1 { font-size: 2.1rem; max-width: 700px; margin: 0 auto 16px; }
.hero p.lede { color: var(--muted); max-width: 560px; margin: 0 auto; font-size: 1.05rem; }

.catalog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  padding: 40px 0 80px;
}

.book-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  text-decoration: none;
  color: var(--text);
  display: flex;
  flex-direction: column;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.book-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(7, 38, 84, 0.1);
}

.book-card .eyebrow { margin-bottom: 8px; }
.book-card h2 { font-size: 1.25rem; margin-bottom: 10px; }
.book-card p { color: var(--muted); font-size: 0.95rem; flex-grow: 1; margin-bottom: 16px; }
.book-card .price { font-weight: 700; color: var(--navy); font-size: 1.1rem; }

.book-card.coming-soon {
  opacity: 0.55;
  border-style: dashed;
}

/* ---------- Ebook landing page ---------- */

.ebook-hero {
  padding: 56px 0 32px;
  text-align: center;
  border-bottom: 1px solid var(--border);
}

.ebook-hero h1 { font-size: 2.3rem; max-width: 720px; margin: 0 auto 18px; }
.ebook-hero .subhead { font-size: 1.15rem; color: var(--muted); max-width: 640px; margin: 0 auto 28px; }

.cta-block { text-align: center; margin: 32px 0; }
.cta-block .fineprint { display: block; margin-top: 10px; font-size: 0.85rem; color: var(--muted); }

section.content-section { padding: 48px 0; }
section.content-section + section.content-section { border-top: 1px solid var(--border); }

.feature-list { list-style: none; padding: 0; margin: 0; }
.feature-list li {
  display: flex;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}
.feature-list li:last-child { border-bottom: none; }
.feature-list .check { color: var(--gold); font-weight: bold; flex-shrink: 0; }
.feature-list strong { display: block; margin-bottom: 4px; }
.feature-list span.desc { color: var(--muted); font-size: 0.95rem; }

.bonus-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 24px;
  margin-bottom: 16px;
}
.bonus-card .bonus-label {
  color: var(--gold);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 6px;
}
.bonus-card .bonus-value { color: var(--muted); font-size: 0.9rem; margin-top: 8px; }

.guarantee-box {
  background: var(--navy);
  color: #fff;
  border-radius: var(--radius);
  padding: 32px;
  text-align: center;
}
.guarantee-box h3 { color: var(--gold); }
.guarantee-box p { color: rgba(255,255,255,0.85); }

.price-box {
  text-align: center;
  padding: 40px 0 64px;
}
.price-box .price { font-size: 2.4rem; font-weight: 700; color: var(--navy); margin-bottom: 20px; }

.disclaimer {
  font-size: 0.8rem;
  color: var(--muted);
  text-align: center;
  padding: 24px 0;
}

/* ---------- Footer ---------- */

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

@media (max-width: 600px) {
  .hero h1, .ebook-hero h1 { font-size: 1.6rem; }
  .site-header nav a { margin-left: 14px; font-size: 0.85rem; }
}
