@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=DM+Serif+Display:ital@0;1&display=swap');

:root {
  --green: #52b46b;
  --green-dark: #2f7f49;
  --yellow: #fbb724;
  --cream: #f4f4e8;
  --ink: #09070a;
  --paper: #fafaf4;
  --muted: #5d625d;
  --line: rgba(9,7,10,.15);
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "DM Sans", Arial, sans-serif;
  line-height: 1.55;
}
a { color: inherit; }
img { max-width: 100%; display: block; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 4vw;
  background: rgba(250,250,244,.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.wordmark {
  font-weight: 800;
  letter-spacing: .04em;
  text-decoration: none;
  font-size: 14px;
}
nav { display: flex; align-items: center; gap: 24px; font-size: 14px; }
nav a { text-decoration: none; }
.nav-cta {
  background: var(--ink);
  color: var(--paper);
  padding: 10px 16px;
  border-radius: 999px;
  font-weight: 700;
}

.hero {
  min-height: 760px;
  background: var(--green);
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  align-items: center;
  gap: 5vw;
  padding: 80px max(5vw, calc((100vw - var(--max))/2));
  overflow: hidden;
}
.hero-copy { max-width: 650px; }
.eyebrow, .section-kicker {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.hero h1 {
  font-family: "DM Serif Display", Georgia, serif;
  font-size: clamp(52px, 6.4vw, 94px);
  line-height: .94;
  letter-spacing: -.045em;
  margin: 22px 0 28px;
}
.hero h1 em { font-weight: 400; }
.lead {
  max-width: 560px;
  font-size: clamp(21px, 2vw, 29px);
  line-height: 1.25;
  margin: 0 0 32px;
}
.hero-actions { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 54px;
  padding: 14px 22px;
  border-radius: 999px;
  font-weight: 800;
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease;
}
.button:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(0,0,0,.14); }
.button-dark { background: var(--ink); color: white; }
.button-light { background: var(--cream); color: var(--ink); }
.text-link { font-weight: 700; text-decoration-thickness: 2px; text-underline-offset: 5px; }
.microcopy { font-size: 13px; margin-top: 18px; opacity: .8; }

.hero-book { position: relative; width: min(440px, 80%); justify-self: center; }
.hero-book img {
  position: relative;
  z-index: 2;
  width: 100%;
  transform: rotate(2deg);
  box-shadow: 18px 25px 50px rgba(0,0,0,.25);
}
.book-shadow {
  position: absolute;
  width: 88%;
  height: 95%;
  left: 8%;
  top: 7%;
  background: var(--yellow);
  transform: rotate(-4deg);
  filter: blur(1px);
}

section { padding: 110px max(5vw, calc((100vw - var(--max))/2)); }
.statement { background: var(--paper); }
.statement h2, .method h2, .excerpt-heading h2, .author h2, .final-cta h2 {
  font-family: "DM Serif Display", Georgia, serif;
  font-size: clamp(42px, 5vw, 72px);
  line-height: .98;
  letter-spacing: -.04em;
  margin: 18px 0 45px;
}
.statement h2 span { color: var(--green-dark); }
.statement-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8vw;
  font-size: 20px;
  max-width: 1000px;
}
.statement-grid p { margin: 0; }

.blurb-section { background: var(--cream); }
.blurb-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.quote-card {
  margin: 0;
  padding: clamp(30px, 5vw, 60px);
  background: white;
  min-height: 330px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid var(--line);
}
.quote-card-accent { background: var(--yellow); }
.quote-card blockquote {
  font-family: "DM Serif Display", Georgia, serif;
  font-size: clamp(29px, 3vw, 45px);
  line-height: 1.06;
  letter-spacing: -.025em;
  margin: 0;
}
.quote-card figcaption { font-weight: 800; }

.method { background: var(--ink); color: white; }
.method .section-kicker { color: var(--yellow); }
.method-intro { max-width: 850px; }
.method-intro p { font-size: 21px; color: #e7e7df; max-width: 740px; }
.chapters {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: 70px;
  background: rgba(255,255,255,.2);
  border: 1px solid rgba(255,255,255,.2);
}
.chapters article {
  background: var(--ink);
  padding: 32px;
  min-height: 245px;
}
.chapters span { color: var(--yellow); font-weight: 800; font-size: 13px; }
.chapters h3 { font-size: 25px; margin: 30px 0 10px; }
.chapters p { color: #c9c9c1; margin: 0; }

.social-proof { background: var(--green); }
.social-proof { display: grid; grid-template-columns: .75fr 1.25fr; gap: 7vw; align-items: start; }
.social-copy { position: sticky; top: 100px; }
.social-copy h2 { font-family: "DM Serif Display", Georgia, serif; font-size: clamp(43px, 5vw, 70px); line-height: 1; letter-spacing: -.04em; margin: 18px 0 25px; }
.small-note { font-size: 13px; max-width: 420px; opacity: .72; }
code { font-size: .9em; background: rgba(255,255,255,.25); padding: 2px 5px; border-radius: 4px; }
.screenshot-wall {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
.screenshot-placeholder {
  min-height: 250px;
  background: var(--cream);
  border: 2px dashed rgba(9,7,10,.2);
  display: grid;
  place-items: center;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .1em;
  font-weight: 800;
  opacity: .7;
}
.screenshot-wall img {
  width: 100%;
  background: white;
  border: 1px solid rgba(0,0,0,.1);
}

.excerpt { background: var(--paper); display: grid; grid-template-columns: .72fr 1.28fr; gap: 8vw; }
.excerpt-heading { position: sticky; top: 100px; align-self: start; }
.excerpt-heading p { font-size: 20px; }
.excerpt-text { font-family: Georgia, serif; font-size: 19px; line-height: 1.72; max-width: 720px; }
.excerpt-text p { margin: 0 0 1.35em; }
.excerpt-text > p:first-child { font-family: "DM Serif Display", Georgia, serif; font-size: 34px; line-height: 1.05; }

.author { background: var(--cream); display: grid; grid-template-columns: .75fr 1.25fr; gap: 8vw; align-items: center; }
.author-photo { min-height: 520px; }
.photo-placeholder {
  width: 100%; height: 100%; min-height: 520px;
  display: grid; place-items: center; text-align: center;
  background: var(--green); font-family: "DM Serif Display", Georgia, serif; font-size: 35px;
}
.photo-placeholder small { font: 700 12px "DM Sans", sans-serif; letter-spacing: .05em; text-transform: uppercase; }
.author-copy p { font-size: 20px; max-width: 650px; }

.final-cta {
  background: var(--yellow);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
}
.final-cta h2 { margin-bottom: 15px; }
.final-cta p { font-size: 19px; max-width: 680px; margin: 0; }

footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 28px max(5vw, calc((100vw - var(--max))/2));
  font-size: 13px;
  border-top: 1px solid var(--line);
}
footer a { text-decoration: none; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }

@media (max-width: 850px) {
  .site-header { padding: 14px 20px; }
  nav a:not(.nav-cta) { display: none; }
  .hero { grid-template-columns: 1fr; padding-top: 70px; min-height: auto; }
  .hero-book { width: min(360px, 80vw); margin-top: 30px; }
  section { padding-top: 80px; padding-bottom: 80px; }
  .statement-grid, .blurb-grid, .social-proof, .excerpt, .author { grid-template-columns: 1fr; gap: 45px; }
  .chapters { grid-template-columns: 1fr 1fr; }
  .social-copy, .excerpt-heading { position: static; }
  .author-photo, .photo-placeholder { min-height: 420px; }
  .final-cta { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 560px) {
  .hero { padding-left: 22px; padding-right: 22px; }
  .hero h1 { font-size: 52px; }
  .lead { font-size: 20px; }
  section { padding-left: 22px; padding-right: 22px; }
  .chapters, .screenshot-wall { grid-template-columns: 1fr; }
  .quote-card { min-height: 280px; }
  .excerpt-text { font-size: 18px; }
  footer { padding-left: 22px; padding-right: 22px; flex-wrap: wrap; }
}
