:root {
  --navy: #152348;
  --navy-soft: #34436b;
  --yellow: #ffdc42;
  --red: #e93346;
  --sky: #e7f5ff;
  --cream: #fffef9;
  --line: #dce1e9;
  --muted: #546078;
  --shadow: 0 24px 58px rgba(21, 35, 72, .18);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  min-width: 320px;
  margin: 0;
  background: var(--cream);
  color: var(--navy);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1rem;
  line-height: 1.55;
}
a { color: inherit; }
img { display: block; max-width: 100%; }
button, input { font: inherit; }
h1, h2, h3, h4, p { margin-top: 0; }
h1, h2, h3, h4 { text-wrap: balance; }
.wrap { width: min(1180px, calc(100% - 3rem)); margin-inline: auto; }
.skip-link { position: fixed; z-index: 20; top: -5rem; left: 1rem; padding: .7rem 1rem; background: var(--yellow); font-weight: 800; }
.skip-link:focus { top: 1rem; }

.topbar { display: flex; min-height: 86px; align-items: center; justify-content: space-between; gap: 1rem; }
.brand { display: inline-flex; align-items: center; gap: .62rem; text-decoration: none; font-size: 1.05rem; font-weight: 650; letter-spacing: -.03em; white-space: nowrap; }
.brand strong { font-weight: 950; }
.brand__mark { display: grid; width: 42px; height: 42px; place-items: center; border-radius: 11px; background: var(--navy); color: var(--yellow); font-size: .75rem; font-weight: 950; letter-spacing: -.08em; }
.topbar__nav { display: flex; gap: 1.5rem; }
.topbar__nav a, .topbar__back { font-size: .9rem; font-weight: 800; text-decoration-thickness: 2px; text-underline-offset: .3em; }

.eyebrow { display: flex; align-items: center; gap: .6rem; margin-bottom: 1.05rem; color: #b01d36; font-size: .78rem; font-weight: 950; letter-spacing: .12em; line-height: 1.2; text-transform: uppercase; }
.eyebrow::before { display: block; width: 10px; height: 10px; border-radius: 2px; background: var(--red); content: ""; transform: rotate(45deg); }
.hero { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(440px, .95fr); gap: clamp(2rem, 4vw, 4.5rem); align-items: center; min-height: 680px; padding: clamp(3rem, 5vw, 5.5rem) 0 clamp(4rem, 6vw, 6rem); }
.hero h1 { max-width: 670px; margin-bottom: 1.55rem; font-size: clamp(3.3rem, 5.6vw, 5.7rem); letter-spacing: -.068em; line-height: .96; }
.hero h1 em { color: var(--red); font-family: Georgia, "Times New Roman", serif; font-weight: 400; letter-spacing: -.07em; }
.hero__intro { max-width: 620px; margin-bottom: 1.45rem; color: var(--navy-soft); font-size: 1.1rem; line-height: 1.66; }
.hero__intro strong { color: var(--navy); font-weight: 850; }
.hero__actions { display: flex; align-items: center; flex-wrap: wrap; gap: 1.2rem; margin-bottom: 1.7rem; }
.text-link { font-weight: 850; text-decoration-thickness: 2px; text-underline-offset: .3em; }
.hero__facts { display: flex; flex-wrap: wrap; gap: .45rem; }
.hero__facts span { padding: .47rem .74rem; border: 1px solid #bec9d9; border-radius: 999px; background: white; color: var(--navy-soft); font-size: .8rem; font-weight: 650; }
.hero__facts strong { color: var(--navy); font-weight: 950; }

.form-card { max-width: 620px; padding: clamp(1.4rem, 3vw, 2rem); border: 2px solid var(--navy); border-radius: 14px; background: white; box-shadow: 8px 8px 0 var(--yellow); scroll-margin-top: 1.5rem; }
.card-kicker { margin-bottom: .55rem; color: #b01d36; font-size: .72rem; font-weight: 950; letter-spacing: .13em; }
.form-card h3 { margin-bottom: .4rem; font-size: clamp(1.55rem, 2.4vw, 2.05rem); letter-spacing: -.05em; line-height: 1.08; }
.form-card > p:not(.card-kicker) { margin-bottom: 0; color: var(--muted); font-size: .94rem; }
.signup-form { margin-top: 1.25rem; }
.signup-form label { display: block; margin-bottom: .4rem; font-size: .84rem; font-weight: 850; }
.form-row { display: flex; gap: .6rem; }
.form-row input { min-width: 0; flex: 1; min-height: 49px; padding: .75rem .9rem; border: 1px solid #76849e; border-radius: 5px; color: var(--navy); background: white; }
.form-row input::placeholder { color: #68758b; }
.form-row input:focus { outline: 3px solid var(--yellow); outline-offset: 2px; }
button, .button { display: inline-flex; align-items: center; justify-content: center; min-height: 49px; padding: .75rem 1rem; border: 0; border-radius: 5px; cursor: pointer; font-weight: 900; line-height: 1.15; text-align: center; text-decoration: none; transition: transform .18s ease, box-shadow .18s ease; }
button { flex: 0 0 auto; background: var(--red); color: white; }
button:hover, .button:hover { transform: translateY(-2px); box-shadow: 0 6px 0 rgba(21,35,72,.18); }
.form-note, .form-error { margin: .7rem 0 0; font-size: .75rem; line-height: 1.4; }
.form-note { color: var(--muted); }
.form-error { color: #a21928; font-weight: 800; }

.hero__covers { position: relative; min-height: 600px; align-self: stretch; }
.hero__covers::before { position: absolute; inset: 2% 2% 7% 3%; border: 2px dashed #bfd6ea; border-radius: 999px; background: radial-gradient(circle at center, #e5f5ff 0 42%, transparent 70%); content: ""; }
.hero-cover { position: absolute; overflow: hidden; aspect-ratio: 8.5 / 11; border: 5px solid white; border-radius: 5px; box-shadow: var(--shadow); }
.hero-cover img { width: 100%; height: 100%; object-fit: cover; }
.hero-cover--back { top: 5%; left: 2%; width: 46%; transform: rotate(-9deg); }
.hero-cover--back img { object-position: right center; }
.hero-cover--front { top: 13%; right: 1%; width: 57%; transform: rotate(7deg); }
.hero-cover--front img { object-position: center; }
.cover-sticker { position: absolute; right: 0; bottom: 5%; display: grid; width: 112px; height: 112px; place-content: center; border: 3px solid var(--navy); border-radius: 50%; background: var(--yellow); box-shadow: 5px 5px 0 var(--red); color: var(--navy); font-size: .78rem; font-weight: 950; line-height: 1.1; text-align: center; transform: rotate(-10deg); }

.explore-section { padding: clamp(4rem, 7vw, 6rem) 0; background: #f8fbfd; }
.explore-section__inner { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(310px, .9fr); gap: clamp(2rem, 7vw, 7rem); align-items: center; }
.explore-section h2 { max-width: 560px; margin-bottom: 1rem; font-size: clamp(2.2rem, 4vw, 3.7rem); letter-spacing: -.06em; line-height: 1.05; }
.explore-section p:not(.eyebrow) { max-width: 630px; margin-bottom: 0; color: var(--navy-soft); font-size: 1.1rem; }
.category-card { display: grid; gap: .5rem; min-height: 270px; align-content: center; padding: 2rem; border-radius: 16px; background: var(--navy); box-shadow: 9px 9px 0 var(--yellow); color: white; text-decoration: none; transition: transform .18s ease; }
.category-card:hover { transform: translateY(-3px); }
.category-card__icon { display: grid; width: 48px; height: 48px; place-items: center; border-radius: 12px; background: var(--yellow); color: var(--navy); font-size: 1.7rem; }
.category-card__eyebrow { margin-top: .6rem; color: var(--yellow); font-size: .72rem; font-weight: 950; letter-spacing: .13em; }
.category-card strong { font-size: clamp(2rem, 3vw, 3rem); letter-spacing: -.05em; line-height: 1.05; }
.category-card > span:last-child { max-width: 350px; color: #edf5ff; }

.book-section { padding: clamp(4rem, 8vw, 7rem) 0; background: var(--sky); scroll-margin-top: 1rem; }
.section-heading { display: grid; grid-template-columns: 1fr 1fr; column-gap: 4rem; align-items: end; margin-bottom: 2.5rem; }
.section-heading .eyebrow { grid-column: 1 / -1; }
.section-heading h2 { max-width: 620px; margin-bottom: 0; font-size: clamp(2.2rem, 4vw, 3.8rem); letter-spacing: -.06em; line-height: 1.05; }
.section-heading > p:last-child { max-width: 480px; margin: 0; color: var(--navy-soft); font-size: 1rem; }
.book-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.35rem; }
.book-card { overflow: hidden; border: 1px solid #bfcedf; border-radius: 13px; background: white; }
.book-card__art { display: grid; min-height: 420px; place-items: center; padding: 2.2rem; }
.book-card__art--blue { background: #7fb8df; }
.book-card__art--yellow { background: #ffe26b; }
.book-cover { width: min(270px, 78%); aspect-ratio: 8.5 / 11; overflow: hidden; background: white; box-shadow: 13px 15px 25px rgba(21,35,72,.25); transform: rotate(-3deg); }
.book-card:nth-child(2) .book-cover { transform: rotate(3deg); }
.book-cover img { width: 100%; height: 100%; object-fit: cover; }
.book-cover--spread img { object-position: right center; }
.book-card__content { padding: 1.65rem 1.8rem 1.85rem; }
.edition-label { display: block; margin-bottom: .6rem; color: #a72139; font-size: .72rem; font-weight: 950; letter-spacing: .13em; }
.book-card h3 { margin-bottom: .55rem; font-size: clamp(1.3rem, 2.2vw, 1.7rem); letter-spacing: -.04em; line-height: 1.13; }
.book-card p { max-width: 470px; margin-bottom: 0; color: var(--muted); font-size: 1rem; }
.book-features { display: grid; gap: .4rem; margin: 1.1rem 0 0; padding-left: 1.25rem; color: var(--navy-soft); }
.book-features li::marker { color: var(--red); }
.sample-gallery { margin: 0 1.8rem 1.8rem; border-top: 1px solid var(--line); padding-top: 1.3rem; }
.sample-gallery__heading h4 { margin-bottom: .2rem; font-size: 1.2rem; letter-spacing: -.04em; }
.sample-gallery__heading p { margin-bottom: 1rem; font-size: .92rem; }
.sample-viewer { margin: 0; padding: 1rem; border: 1px solid var(--line); border-radius: 10px; background: #f5f8fb; }
.sample-viewer__image { display: block; width: min(100%, 385px); margin-inline: auto; border: 1px solid #cfd5dc; background: white; box-shadow: 0 12px 28px rgba(21,35,72,.14); }
.sample-viewer__image img { width: 100%; height: auto; aspect-ratio: 595 / 842; object-fit: contain; }
.sample-viewer figcaption { display: flex; justify-content: space-between; flex-wrap: wrap; gap: .4rem 1rem; margin-top: 1rem; color: var(--navy); font-size: .9rem; font-weight: 750; }
.sample-viewer figcaption a { color: #a72139; font-weight: 850; text-decoration-thickness: 2px; text-underline-offset: .3em; }
.sample-switcher { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .9rem; }
.sample-switcher button { min-height: 39px; padding: .55rem .7rem; border: 1px solid #9dadc4; border-radius: 5px; background: white; color: var(--navy); font-size: .8rem; font-weight: 850; }
.sample-switcher button.is-active { border-color: var(--navy); background: var(--navy); color: white; }
.sample-switcher button:hover { box-shadow: none; transform: none; border-color: var(--red); }
.sample-switcher button:focus-visible, .sample-viewer a:focus-visible, .category-card:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }
.book-section__note { margin: 1.6rem 0 0; color: var(--navy-soft); font-size: .9rem; }

.newsletter-section { padding: clamp(4rem, 8vw, 7rem) 0; background: #fff3ca; scroll-margin-top: 1rem; }
.newsletter-section__inner { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.newsletter-section h2 { max-width: 550px; margin-bottom: 1rem; font-size: clamp(2.4rem, 4.4vw, 4.1rem); letter-spacing: -.06em; line-height: 1.03; }
.newsletter-section__copy > p:last-child { max-width: 530px; margin-bottom: 0; color: var(--navy-soft); font-size: 1.1rem; }
.listen-section { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 2rem; padding: clamp(4rem, 8vw, 7rem) 0; scroll-margin-top: 1rem; }
.listen-section__mark { align-self: start; color: var(--red); font-family: Georgia, serif; font-size: 9rem; line-height: .9; }
.listen-section h2 { max-width: 780px; margin-bottom: 1rem; font-size: clamp(2.2rem, 4vw, 3.8rem); letter-spacing: -.06em; line-height: 1.05; }
.listen-section p:not(.eyebrow) { max-width: 770px; color: var(--navy-soft); font-size: 1.1rem; }
.listen-section .listen-section__note { margin-bottom: 0; color: var(--muted); font-size: .88rem; }
.button--dark { color: white; background: var(--navy); }
.button--yellow { color: var(--navy); background: var(--yellow); }
.footer { display: flex; justify-content: space-between; gap: 1rem; padding: 1.6rem 0 2.3rem; border-top: 1px solid var(--line); color: var(--muted); font-size: .8rem; }
.footer p { margin: 0; }

.download-page { background: #f2f8fd; }
.download { display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, .9fr); column-gap: clamp(2rem, 7vw, 7rem); align-items: center; padding: clamp(3rem, 6vw, 6rem) 0 4rem; }
.download__lead h1 { max-width: 630px; margin-bottom: 1.2rem; font-size: clamp(3rem, 5.9vw, 5.5rem); letter-spacing: -.07em; line-height: .96; }
.download__lead > p:not(.eyebrow):not(.download__small) { max-width: 530px; color: var(--navy-soft); font-size: 1.1rem; }
.download__lead .button { margin-top: 1.15rem; }
.download__small { margin: .75rem 0 0; color: var(--muted); font-size: .82rem; }
.download__preview { width: min(100%, 410px); justify-self: end; overflow: hidden; border: 6px solid white; border-radius: 5px; box-shadow: var(--shadow); transform: rotate(3deg); }
.download__preview img { width: 100%; height: auto; }
.download__footnote { grid-column: 1 / -1; margin-top: clamp(4rem, 7vw, 7rem); padding: 2rem 2.4rem; border: 1px solid #bfd0e3; border-radius: 12px; background: white; }
.download__footnote h2 { margin-bottom: .4rem; font-size: 1.4rem; letter-spacing: -.04em; }
.download__footnote p { max-width: 800px; margin-bottom: .65rem; color: var(--muted); }
.download__footnote a { color: #a72139; font-weight: 850; text-underline-offset: .3em; }

@media (max-width: 950px) {
  .hero { grid-template-columns: 1fr; gap: 1rem; padding-top: 3rem; }
  .hero__covers { min-height: 550px; width: min(600px, 100%); margin-inline: auto; }
  .explore-section__inner, .newsletter-section__inner { grid-template-columns: 1fr; }
  .section-heading { grid-template-columns: 1fr; gap: 1.2rem; }
  .book-grid { grid-template-columns: 1fr; }
  .download { grid-template-columns: 1fr; row-gap: 3rem; }
  .download__preview { justify-self: center; }
  .download__footnote { margin-top: 1rem; }
}

@media (max-width: 620px) {
  .wrap { width: calc(100% - 2rem); }
  .topbar { min-height: 72px; flex-wrap: wrap; padding: .9rem 0; }
  .topbar__nav { width: 100%; justify-content: space-between; gap: .5rem; }
  .topbar__nav a, .topbar__back { font-size: .8rem; }
  .hero { padding-top: 2.25rem; }
  .hero h1, .download__lead h1 { font-size: clamp(2.7rem, 12vw, 4rem); }
  .hero__covers { min-height: 410px; }
  .hero-cover--back { width: 48%; }
  .hero-cover--front { width: 58%; }
  .cover-sticker { width: 82px; height: 82px; font-size: .62rem; }
  .form-card { box-shadow: 5px 5px 0 var(--yellow); }
  .form-row { flex-direction: column; }
  .form-row button { width: 100%; }
  .book-card__art { min-height: 360px; }
  .book-card__content { padding: 1.5rem; }
  .sample-gallery { margin: 0 1rem 1.5rem; }
  .sample-viewer { padding: .6rem; }
  .sample-switcher button { font-size: .75rem; }
  .listen-section { grid-template-columns: 1fr; gap: 0; }
  .listen-section__mark { display: none; }
  .footer { flex-direction: column; align-items: flex-start; }
  .download__footnote { padding: 1.5rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  button, .button, .category-card { transition: none; }
}
