/* Sow & Read — Warm Reading-Garden direction (magazine-editorial, warm cream palette) */
:root {
  --primary: #4a3a2a;
  --primary-dark: #2e2318;
  --accent: #b17545;
  --accent-dark: #8d5b32;
  --accent-glow: rgba(177, 117, 69, 0.35);
  --accent-rgb: 177, 117, 69;
  --bg: #fbf6ec;
  --bg-alt: #f2e9d6;
  --bg-dark: #2e2318;
  --ink: #2c2418;
  --muted: #6e6250;
  --border: #ddd0b3;
  --white: #ffffff;
  --font-display: "Abril Fatface", Georgia, serif;
  --font-sub: "Fraunces", Georgia, serif;
  --font-body: "Nunito", Helvetica, Arial, sans-serif;
  --radius-md: 2px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font-body); color: var(--ink); background: var(--bg); line-height: 1.7; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
::selection { background: var(--accent); color: var(--white); }
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--bg-alt); }
::-webkit-scrollbar-thumb { background: var(--accent); }
.container { max-width: 1200px; margin: 0 auto; padding: 0 28px; }
.container-narrow { max-width: 760px; margin: 0 auto; padding: 0 28px; }
.text-center { text-align: center; }

.announcement-bar { background: var(--primary); color: var(--white); text-align: center; font-size: 0.78rem; letter-spacing: 0.14em; padding: 10px 16px; text-transform: uppercase; font-family: var(--font-sub); font-weight: 500; }

.nav { position: sticky; top: 0; z-index: 100; display: flex; align-items: center; justify-content: space-between; padding: 22px 28px; background: rgba(251, 246, 236, 0.92); backdrop-filter: blur(10px); transition: box-shadow 0.3s ease; }
.nav.scrolled { box-shadow: 0 4px 24px rgba(74,58,42,0.08); }
.nav-logo { font-family: var(--font-display); font-size: 1.5rem; display: flex; align-items: center; gap: 10px; letter-spacing: -0.01em; }
.nav-links { display: flex; gap: 36px; list-style: none; margin: 0; padding: 0; }
.nav-links a { position: relative; font-family: var(--font-sub); font-weight: 500; font-size: 0.95rem; padding-bottom: 4px; }
.nav-links a::after { content: ""; position: absolute; left: 0; bottom: 0; width: 0; height: 2px; background: var(--accent); transition: width 0.3s ease; }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-cta { padding: 11px 22px; background: var(--accent); color: var(--white); font-family: var(--font-sub); font-weight: 600; font-size: 0.88rem; border-radius: 999px; }
.hamburger { display: none; background: none; border: none; cursor: pointer; }

/* Hero — split, warm, book-cover forward */
.hero { position: relative; min-height: 90vh; display: flex; align-items: center; overflow: hidden; background: linear-gradient(135deg, var(--bg) 55%, var(--bg-alt) 55%); }
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; max-width: 1200px; margin: 0 auto; padding: 80px 28px; width: 100%; }
.hero-copy > * { opacity: 0; transform: translateY(24px); animation: heroReveal 0.9s cubic-bezier(0.16,1,0.3,1) forwards; }
.hero-copy > *:nth-child(1) { animation-delay: .1s; }
.hero-copy > *:nth-child(2) { animation-delay: .25s; }
.hero-copy > *:nth-child(3) { animation-delay: .4s; }
.hero-copy > *:nth-child(4) { animation-delay: .55s; }
@keyframes heroReveal { to { opacity: 1; transform: translateY(0); } }
.hero-eyebrow { display: inline-block; font-family: var(--font-sub); font-size: 0.78rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--accent-dark); font-weight: 600; margin-bottom: 28px; }
.hero h1 { font-family: var(--font-display); font-size: clamp(3.6rem, 8vw, 7.2rem); font-weight: 400; line-height: 0.92; letter-spacing: -0.02em; margin: 0 0 28px; color: var(--primary); }
.hero p { font-family: var(--font-sub); font-size: 1.15rem; max-width: 480px; color: var(--muted); margin: 0 0 32px; font-weight: 400; }

/* Book — stacked with page shadow */
.hero-book-wrap { position: relative; display: flex; justify-content: center; align-items: center; perspective: 1600px; }
.hero-book {
  position: relative; width: 300px; height: 440px;
  background: linear-gradient(160deg, #d68b57 0%, #b17545 60%, #8d5b32 100%);
  transform: rotateY(-16deg) rotateX(3deg);
  transform-style: preserve-3d;
  box-shadow: 22px 26px 55px rgba(74,58,42,0.35), inset -6px 0 14px rgba(0,0,0,0.3);
  padding: 42px 32px;
  display: flex; flex-direction: column; justify-content: space-between; color: var(--bg);
  transition: transform 0.6s cubic-bezier(0.16,1,0.3,1);
  border-radius: 2px 6px 6px 2px;
}
.hero-book:hover { transform: rotateY(-6deg); }
.hero-book::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 14px; background: linear-gradient(90deg, rgba(0,0,0,0.3), transparent); }
.hero-book::after { content: ""; position: absolute; right: -10px; top: 8px; bottom: 8px; width: 10px; background: repeating-linear-gradient(180deg, #fbf6ec 0px, #fbf6ec 2px, #ddd0b3 2px, #ddd0b3 4px); transform: translateZ(-8px); }
.hero-book .book-eyebrow { font-family: var(--font-sub); font-size: 0.7rem; letter-spacing: 0.28em; text-transform: uppercase; opacity: 0.9; font-weight: 600; }
.hero-book h3 { font-family: var(--font-display); font-size: 2.2rem; font-weight: 400; line-height: 1.02; margin: 20px 0 0; }
.hero-book .book-author { font-family: var(--font-sub); font-size: 0.82rem; opacity: 0.85; border-top: 1px solid rgba(255,255,255,0.3); padding-top: 14px; font-style: italic; }

.btn { display: inline-flex; align-items: center; gap: 10px; padding: 15px 30px; font-family: var(--font-sub); font-weight: 600; font-size: 0.95rem; border: none; cursor: pointer; border-radius: 999px; transition: all 0.25s cubic-bezier(0.34,1.56,0.64,1); }
.btn-primary { background: var(--primary); color: var(--white); }
.btn-outline { background: transparent; color: var(--primary); border: 1.5px solid var(--primary); }
.btn:hover { transform: translateY(-2px); box-shadow: 0 12px 32px var(--accent-glow); }

.fade-up { opacity: 0; transform: translateY(24px); transition: opacity 0.8s ease, transform 0.8s ease; }
.fade-up.visible { opacity: 1; transform: translateY(0); }

.section { padding: 110px 0; }
.section-alt { background: var(--bg-alt); }
.section-dark { background: var(--bg-dark); color: var(--white); }
.section-eyebrow { font-family: var(--font-sub); font-size: 0.75rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--accent-dark); font-weight: 600; margin-bottom: 18px; display: block; }
.section-title { font-family: var(--font-display); font-size: clamp(2.4rem, 5vw, 4rem); font-weight: 400; line-height: 1.05; letter-spacing: -0.01em; margin: 0 0 24px; }
.separator { width: 60px; height: 2px; background: var(--accent); margin: 0 0 24px; }

/* Chapter cards — stamp-like */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; }
.chapter-card { background: var(--white); padding: 36px 30px; border: 1px solid var(--border); position: relative; }
.chapter-card::before { content: ""; position: absolute; top: -1px; left: -1px; right: -1px; height: 4px; background: var(--accent); }
.chapter-card .card-num { font-family: var(--font-display); font-size: 3rem; color: var(--accent-dark); line-height: 1; }
.chapter-card h3 { font-family: var(--font-display); font-size: 1.4rem; margin: 14px 0 12px; font-weight: 400; }
.chapter-card p { color: var(--muted); margin: 0; font-family: var(--font-sub); }

/* Pricing */
.pricing-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.pricing-card { background: var(--white); border: 1px solid var(--border); padding: 48px 40px; max-width: 460px; margin: 0 auto; position: relative; }
.pricing-card::before { content: ""; position: absolute; top: -1px; left: -1px; right: -1px; height: 4px; background: var(--accent); }
.price-tag { font-family: var(--font-display); font-size: 4.4rem; color: var(--primary); line-height: 1; }
.price-tag sup { font-family: var(--font-sub); font-size: 1.4rem; top: -1.8rem; }
.includes-list { list-style: none; padding: 0; margin: 28px 0; text-align: left; font-family: var(--font-sub); }
.includes-list li { display: flex; gap: 12px; margin-bottom: 14px; font-size: 0.95rem; color: var(--muted); }
.includes-list li::before { content: "✿"; color: var(--accent); }

/* Stats */
.stats-section { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; text-align: center; }
.stat-number { font-family: var(--font-display); font-size: clamp(2.8rem, 5.5vw, 4.2rem); color: var(--accent); }
.stat-label { font-family: var(--font-sub); font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.18em; color: rgba(255,255,255,0.6); margin-top: 8px; }

/* Testimonials */
.testimonial-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.testimonial-card { padding: 32px 26px; background: var(--white); border: 1px solid var(--border); }
.testimonial-card p { font-family: var(--font-sub); font-size: 1.05rem; margin: 0 0 20px; font-style: italic; }
.testimonial-name { font-weight: 700; font-size: 0.9rem; }
.testimonial-role { font-family: var(--font-sub); font-size: 0.82rem; color: var(--muted); }

/* FAQ */
.faq-item { border-bottom: 1px solid var(--border); padding: 24px 0; }
.faq-item summary { cursor: pointer; font-family: var(--font-display); font-size: 1.3rem; list-style: none; display: flex; justify-content: space-between; align-items: center; font-weight: 400; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; color: var(--accent); font-size: 1.6rem; }
.faq-item[open] summary::after { content: "−"; }
.faq-item p { color: var(--muted); font-family: var(--font-sub); margin: 14px 0 0; }

/* Newsletter */
.newsletter { background: var(--bg-dark); color: var(--white); padding: 100px 0; }
.newsletter-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.newsletter-form { display: flex; gap: 12px; }
.newsletter-form input { flex: 1; padding: 15px 22px; border-radius: 999px; border: 1px solid rgba(255,255,255,0.2); background: rgba(255,255,255,0.06); color: var(--white); font-family: var(--font-body); }
.newsletter-form input::placeholder { color: rgba(255,255,255,0.5); }

/* Footer */
footer { background: var(--primary-dark); color: rgba(255,255,255,0.75); padding: 80px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 48px; padding-bottom: 50px; border-bottom: 1px solid rgba(255,255,255,0.1); }
.footer-grid h4 { color: var(--white); font-family: var(--font-display); font-size: 1.2rem; font-weight: 400; margin: 0 0 20px; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid li { margin-bottom: 10px; font-family: var(--font-sub); font-size: 0.94rem; }
.footer-grid a:hover { color: var(--accent); }
.footer-brand p { max-width: 300px; color: rgba(255,255,255,0.6); font-family: var(--font-sub); font-size: 0.9rem; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding-top: 30px; font-family: var(--font-sub); font-size: 0.84rem; color: rgba(255,255,255,0.5); }
.footer-bottom a { margin-left: 20px; }

/* Forms */
.form-field { margin-bottom: 24px; }
.form-field label { display: block; font-family: var(--font-display); font-weight: 400; margin-bottom: 8px; font-size: 1rem; }
.form-field input, .form-field textarea { width: 100%; padding: 14px 18px; border: 1px solid var(--border); font-family: var(--font-body); font-size: 0.95rem; background: var(--white); }
.form-success { background: #e9f0e5; color: var(--primary); padding: 18px 22px; margin-bottom: 24px; }
.notice { padding: 18px 22px; font-size: 0.9rem; margin: 24px 0; font-family: var(--font-sub); }
.notice-info { background: var(--bg-alt); border-left: 4px solid var(--accent); }

/* Legal */
.legal-content h2 { font-family: var(--font-display); margin-top: 44px; font-weight: 400; font-size: 1.6rem; }
.legal-content table { width: 100%; border-collapse: collapse; margin: 24px 0; }
.legal-content th, .legal-content td { border: 1px solid var(--border); padding: 12px 16px; text-align: left; font-size: 0.9rem; }
.legal-content th { background: var(--bg-alt); font-family: var(--font-display); font-weight: 400; }
.legal-content p { font-family: var(--font-sub); }

@media (max-width: 1024px) {
  .hero { background: var(--bg); }
  .hero-grid { grid-template-columns: 1fr; text-align: center; gap: 40px; }
  .hero-book-wrap { order: -1; }
  .hero p { margin-left: auto; margin-right: auto; }
  .grid-3, .testimonial-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-section { grid-template-columns: repeat(2, 1fr); }
  .pricing-wrap { grid-template-columns: 1fr; gap: 40px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .nav-links { display: none; }
  .hamburger { display: block; }
  .grid-3, .testimonial-grid { grid-template-columns: 1fr; }
  .newsletter-grid { grid-template-columns: 1fr; }
  .newsletter-form { flex-direction: column; }
  .footer-grid { grid-template-columns: 1fr; }
}
