:root {
  --cream: #faf3e6;
  --ink: #173d79;
  --orange: #db4625;
  --mustard: #f0b429;
  --deep-blue: #123368;
  --paper: #fffdfa;
  --body: #26384f;
  --line: rgba(23, 61, 121, 0.18);
}

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

.skip-link { position: absolute; left: -999px; top: 0; z-index: 20; padding: 0.8rem 1rem; background: var(--ink); color: white; }
.skip-link:focus { left: 0; }
.site-header { width: min(1180px, calc(100% - 3rem)); margin: 0 auto; height: 104px; display: flex; align-items: center; justify-content: space-between; }
.wordmark { color: var(--ink); display: flex; flex-direction: column; font-family: "Fraunces", Georgia, serif; font-size: 1.22rem; font-weight: 800; letter-spacing: -0.07em; line-height: 0.82; }
.wordmark i { color: var(--orange); font-style: normal; }
nav { display: flex; align-items: center; gap: 1.65rem; color: var(--ink); font-size: 0.9rem; font-weight: 600; }
nav > a:not(.nav-button):hover, .text-link:hover { color: var(--orange); }
.nav-button { border: 1.5px solid var(--ink); padding: 0.62rem 0.85rem; border-radius: 999px; }
.nav-button:hover { background: var(--ink); color: white; }

.hero { position: relative; width: min(1180px, calc(100% - 3rem)); min-height: 592px; margin: 0 auto; display: grid; grid-template-columns: 1.02fr 0.98fr; align-items: center; gap: 2rem; overflow: hidden; }
.hero-copy { position: relative; z-index: 2; padding-bottom: 1.5rem; }
.eyebrow { display: flex; align-items: center; gap: 0.55rem; margin: 0 0 1rem; color: var(--orange); font-size: 0.74rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }
.eyebrow span { width: 22px; height: 2px; background: currentColor; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { color: var(--ink); font-family: "Fraunces", Georgia, serif; }
h1 { max-width: 680px; margin-bottom: 1.3rem; font-size: clamp(3.05rem, 5.5vw, 5.45rem); font-weight: 700; letter-spacing: -0.065em; line-height: 0.98; }
h1 em { color: var(--orange); font-style: italic; }
.lede { max-width: 570px; margin-bottom: 1.75rem; font-size: clamp(1.05rem, 1.55vw, 1.24rem); line-height: 1.55; }
.hero-actions { display: flex; align-items: center; gap: 1.35rem; }
.button { display: inline-flex; align-items: center; gap: 0.7rem; border-radius: 999px; padding: 0.92rem 1.2rem; font-size: 0.94rem; font-weight: 700; transition: transform 160ms ease, background 160ms ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--orange); color: white; box-shadow: 0 8px 0 rgba(178, 53, 26, 0.16); }
.text-link { color: var(--ink); font-size: 0.95rem; font-weight: 700; }
.readers { margin: 2.1rem 0 0; color: #66758a; font-size: 0.81rem; }
.hero-art { position: relative; align-self: stretch; min-height: 510px; }
.sun { position: absolute; top: 66px; right: 0; width: min(32vw, 420px); aspect-ratio: 1; border-radius: 50%; background: var(--mustard); }
.hero-book { position: absolute; border-radius: 3px 5px 5px 3px; box-shadow: 0 24px 32px rgba(17, 50, 104, 0.22); transition: transform 180ms ease; }
.hero-book:hover { transform: translateY(-7px) rotate(0deg); }
.book-back { width: min(30vw, 275px); top: 112px; right: 190px; transform: rotate(-10deg); }
.book-front { width: min(34vw, 325px); top: 99px; right: 17px; transform: rotate(7deg); }
.scribble { position: absolute; right: 8px; bottom: 77px; color: var(--orange); font-size: 3.5rem; transform: rotate(15deg); }

.promise { display: grid; grid-template-columns: 0.9fr 1fr; gap: 5rem; padding: 5.4rem max(1.5rem, calc((100% - 1180px) / 2)); background: var(--mustard); }
.promise h2, .section-heading h2 { margin-bottom: 0; font-size: clamp(2.2rem, 3.5vw, 3.7rem); line-height: 1.03; letter-spacing: -0.06em; }
.promise > p { max-width: 545px; align-self: end; margin: 0; color: #4f4a2d; font-size: 1.12rem; line-height: 1.6; }

.how-it-works, .books { padding: 6.5rem max(1.5rem, calc((100% - 1180px) / 2)); }
.section-heading { max-width: 700px; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; margin-top: 3.5rem; }
.steps article { min-height: 242px; padding: 1.55rem; border: 1px solid var(--line); border-radius: 4px; background: var(--paper); }
.step-number { margin-bottom: 3rem; color: var(--orange); font-family: "Fraunces", Georgia, serif; font-size: 1.12rem; font-weight: 800; }
.steps h3 { margin-bottom: 0.75rem; font-size: 1.45rem; letter-spacing: -0.04em; }
.steps p:last-child { margin-bottom: 0; color: #647187; font-size: 0.94rem; line-height: 1.55; }

.books { padding-top: 2.4rem; background: #fffdfa; }
.books-heading { display: flex; max-width: none; align-items: end; justify-content: space-between; gap: 3rem; }
.books-heading > p { max-width: 365px; margin-bottom: 0.35rem; color: #647187; line-height: 1.6; }
.book-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 1.15rem; margin-top: 3.6rem; }
.book-card { min-width: 0; color: var(--ink); }
.book-card img { width: 100%; aspect-ratio: 0.625; object-fit: cover; margin-bottom: 1.05rem; border-radius: 2px; box-shadow: 0 10px 18px rgba(22, 54, 103, 0.14); transition: transform 170ms ease, box-shadow 170ms ease; }
.book-card:hover img { box-shadow: 0 17px 26px rgba(22, 54, 103, 0.2); transform: translateY(-6px); }
.book-title { display: block; font-family: "Fraunces", Georgia, serif; font-size: 1.15rem; font-weight: 800; letter-spacing: -0.04em; }
.book-detail { display: block; margin-top: 0.16rem; color: #6a778b; font-size: 0.71rem; line-height: 1.3; }

.audiobooks { display: grid; grid-template-columns: 0.92fr 1.08fr; gap: 4rem; align-items: center; padding: 5.8rem max(1.5rem, calc((100% - 1180px) / 2)); background: #e9f0f6; }
.audiobooks-copy h2 { max-width: 520px; margin-bottom: 1rem; color: var(--ink); font-size: clamp(2.2rem, 3.6vw, 3.75rem); line-height: 1.02; letter-spacing: -0.06em; }
.audiobooks-copy > p { max-width: 500px; margin-bottom: 0; color: #53677f; line-height: 1.65; }
.audiobook-list { display: grid; gap: 0.9rem; }
.audiobook-card { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 1rem; padding: 1.18rem 1.25rem; border: 1px solid rgba(23, 61, 121, 0.16); border-radius: 5px; background: var(--paper); color: var(--ink); transition: transform 170ms ease, box-shadow 170ms ease; }
.audiobook-card:hover { box-shadow: 0 12px 22px rgba(22, 54, 103, 0.12); transform: translateY(-3px); }
.listen-mark { display: grid; place-items: center; width: 2.5rem; height: 2.5rem; border-radius: 50%; background: var(--orange); color: white; font-size: 0.75rem; }
.audiobook-card b { display: block; font-family: "Fraunces", Georgia, serif; font-size: 1.22rem; letter-spacing: -0.035em; }
.audiobook-card small { display: block; margin-top: 0.2rem; color: #6a778b; font-size: 0.76rem; }
.listen-arrow { color: var(--orange); font-size: 1.2rem; font-weight: 700; }

.find-a-book { display: grid; grid-template-columns: 1fr 0.65fr; gap: 2rem; align-items: center; min-height: 410px; padding: 5.5rem max(1.5rem, calc((100% - 1180px) / 2)); background: var(--deep-blue); overflow: hidden; }
.eyebrow-light { color: #f6bd42; }
.find-copy h2 { max-width: 690px; margin-bottom: 1.05rem; color: var(--cream); font-size: clamp(2.3rem, 4vw, 4.15rem); line-height: 1; letter-spacing: -0.065em; }
.find-copy > p { max-width: 500px; color: #d5dfec; line-height: 1.6; }
.button-light { margin-top: 1rem; background: var(--cream); color: var(--ink); }
.find-mark { display: grid; justify-items: start; color: rgba(255,255,255,0.1); font-family: "Fraunces", Georgia, serif; font-size: clamp(3.8rem, 7vw, 7rem); font-weight: 800; letter-spacing: -0.09em; line-height: 0.7; transform: rotate(-9deg); }
.find-mark span:nth-child(even) { color: rgba(240,180,41,0.21); transform: translateX(1.5rem); }

footer { width: min(1180px, calc(100% - 3rem)); margin: 0 auto; display: grid; grid-template-columns: auto 1fr 1.35fr; align-items: center; gap: 2rem; min-height: 125px; color: #69768a; font-size: 0.8rem; }
footer p { margin: 0; }
.footer-note { text-align: right; }

@media (max-width: 800px) {
  .site-header { height: 82px; width: min(100% - 2rem, 1180px); }
  nav a:not(.nav-button) { display: none; }
  .hero { width: min(100% - 2rem, 1180px); min-height: 720px; display: block; padding-top: 3.5rem; }
  .hero-copy { padding-bottom: 0; }
  .hero-art { min-height: 350px; margin-top: 2rem; }
  .sun { top: 24px; width: 270px; }
  .book-back { top: 52px; right: 42%; width: 184px; }
  .book-front { top: 47px; right: 7%; width: 207px; }
  .scribble { bottom: 5px; }
  .promise, .books-heading { grid-template-columns: 1fr; gap: 1.4rem; }
  .promise, .how-it-works, .books, .audiobooks, .find-a-book { padding-left: 1.5rem; padding-right: 1.5rem; }
  .steps { grid-template-columns: 1fr; margin-top: 2rem; }
  .steps article { min-height: auto; }
  .step-number { margin-bottom: 1.3rem; }
  .book-grid { grid-template-columns: repeat(3, 1fr); gap: 1.3rem 0.8rem; margin-top: 2.6rem; }
  .book-detail { font-size: 0.67rem; }
  .audiobooks, .find-a-book { grid-template-columns: 1fr; gap: 2rem; padding-top: 4.5rem; padding-bottom: 4.5rem; }
  .find-mark { display: none; }
  footer { width: min(100% - 3rem, 1180px); grid-template-columns: 1fr; gap: 0.75rem; padding: 2.5rem 0; }
  .footer-note { text-align: left; }
}

@media (max-width: 400px) {
  h1 { font-size: 2.78rem; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 1.15rem; }
  .book-front { right: -2%; }
}
