:root {
  --header: #e4edf0;
  --intro: #e0eaee;
  --surface: #e5edf0;
  --footer: #dbe7e9;
  --pink: #f6bcbc;
  --ink: #141717;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--surface); font-family: Lato, Arial, sans-serif; }
.masthead { height: 96px; display: flex; align-items: center; justify-content: center; background: var(--header); }
.brand { padding: 0 20px; text-align: center; font: 700 clamp(20px, 3vw, 28px)/1.2 Montserrat, Arial, sans-serif; }
.hero { min-height: 605px; overflow: hidden; color: white; background: linear-gradient(136deg, #2c76be 29.4%, #3fc0ad 84%); }
.hero-inner { width: 744px; min-height: 605px; margin: 0 auto; position: relative; }
.hero-copy { position: relative; z-index: 1; width: 315px; padding-top: 63px; padding-bottom: 48px; }
.eyebrow { margin: 0 0 22px; font: italic 500 15px/19px Montserrat, Arial, sans-serif; color: #d8e6f4; }
h1 { margin: 0 0 21px; font: 700 38px/44px Montserrat, Arial, sans-serif; letter-spacing: -.3px; }
.hero-subtitle { margin: 0 0 21px; font: 700 20px/23px Montserrat, Arial, sans-serif; letter-spacing: -.2px; }
.cta { display: inline-flex; align-items: center; justify-content: center; border-radius: 6px; background: var(--pink); color: white; text-align: center; text-decoration: none; font: 700 16px/20px Lato, Arial, sans-serif; transition: background .16s, box-shadow .16s; }
.cta:hover { background: #efa7a7; box-shadow: 0 4px 12px #1f40521a; }
.cta:focus-visible, footer a:focus-visible { outline: 3px solid #602e86; outline-offset: 5px; }
.hero-cta { width: 299px; min-height: 60px; padding: 10px 12px; }
.purchase-note { width: 299px; max-width: 100%; margin: 18px 0 0; text-align: center; font: 400 15px/1.6 Lato, Arial, sans-serif; }
.book { position: absolute; width: 370px; height: auto; top: 56px; left: 370px; filter: drop-shadow(0 16px 20px #173c4c33); }
.book-cover {
  display: block;
  width: 100%;
  height: auto;
  clip-path: polygon(14.3% 11.6%, 16.1% 11.4%, 80.9% 6%, 81.6% 6.4%, 81.7% 6.9%, 86.3% 7.7%, 86.7% 8.1%, 86.7% 92.6%, 81.5% 95.1%, 14.3% 90.7%);
}
.introduction { background: var(--intro); min-height: 416px; padding: 79px 24px 57px; }
.intro-inner { max-width: 960px; margin: 0 auto; }
.introduction h2 { margin: 0 0 23px; text-align: center; font: 400 34px/39px Montserrat, Arial, sans-serif; letter-spacing: -.4px; }
.intro-body { font: 400 17px/1.6 Lato, Arial, sans-serif; }
.intro-body p { margin: 0 0 20px; }
.intro-body p:last-child { margin-bottom: 0; }
.inside { min-height: 879px; padding: 40px 24px 62px; background: var(--surface); }
.inside-inner { max-width: 1100px; margin: 0 auto; text-align: center; }
.features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 64px; text-align: left; }
.features h2 { margin: 0 0 21px; font: 700 20px/25px Montserrat, Arial, sans-serif; letter-spacing: -.3px; }
.features p { margin: 0; font: 400 17px/1.6 Lato, Arial, sans-serif; }
.secondary-cta { margin-top: 37px; min-height: 44px; padding: 8px 17px; font-size: 14px; line-height: 20px; border-radius: 8px; }
.inside .secondary-purchase-note { width: 100%; max-width: 600px; margin: 18px auto 0; }
.preview { scroll-margin-top: 28px; margin: 22px auto 0; width: 730px; max-width: 100%; }
.preview img { display: block; width: 100%; height: auto; }
.preview:focus { outline: none; }
footer { min-height: 66px; padding: 23px 20px; display: flex; justify-content: center; align-items: center; background: var(--footer); }
footer p { margin: 0; font: 400 13px/20px Georgia, 'Times New Roman', serif; text-align: center; color: #353a3b; }
footer a { color: inherit; text-decoration: none; }
footer a:hover { text-decoration: underline; }
@media (min-width: 1000px) {
  .hero-inner { width: 900px; }
  .hero-copy {
    --copy-expansion: clamp(0px, calc(50vw - 474px), 60px);
    --copy-left-space: clamp(0px, calc(50vw - 534px), 160px);
    width: calc(360px + var(--copy-expansion) + var(--copy-expansion) + var(--copy-left-space));
    left: calc(0px - var(--copy-expansion) - var(--copy-left-space));
  }
  .hero-copy .desktop-break { display: none; }
  .eyebrow { font-size: clamp(16px, 1.6vw, 17px); line-height: 1.35; }
  .hero h1 { font-size: clamp(44px, calc(4vw + 4px), 48px); line-height: 1.14; }
  .hero-subtitle { font-size: clamp(22px, 2.2vw, 24px); line-height: 1.2; }
  .hero-cta { width: 100%; font-size: clamp(17px, 1.7vw, 18px); line-height: 1.25; }
  .purchase-note { width: 100%; }
  .book { width: 448px; left: calc(40vw + 47px); top: 4px; }
}
@media (max-width: 800px) {
  .hero-inner { width: calc(100% - 64px); }
  .book { left: auto; right: -44px; width: 380px; top: 40px; }
  .hero-copy { width: 300px; }
  .features { grid-template-columns: 1fr 1fr 1fr; gap: 32px; }
  .features h2 { font-size: 17px; }
}
@media (max-width: 700px) {
  .masthead { height: 82px; }
  .hero { min-height: 0; }
  .hero-inner { width: calc(100% - 48px); min-height: 0; display: flex; flex-direction: column; align-items: center; }
  .hero-copy { width: 100%; padding-top: 42px; padding-bottom: 0; text-align: center; }
  .eyebrow { font-size: 14px; line-height: 20px; max-width: 350px; margin: 0 auto 24px; }
  h1 { font-size: clamp(32px, 8.5vw, 38px); line-height: 1.16; max-width: 360px; margin: 0 auto 22px; }
  .hero-subtitle { font-size: 19px; line-height: 1.3; max-width: 350px; margin: 0 auto 24px; }
  .desktop-break { display: none; }
  .hero-cta { width: 100%; max-width: 330px; }
  .purchase-note { width: 100%; max-width: 330px; margin-left: auto; margin-right: auto; }
  .book { position: relative; width: 360px; max-width: calc(100% + 16px); left: auto; right: auto; top: auto; margin: 16px 0 20px; }
  .introduction { min-height: 0; padding: 51px 26px 48px; }
  .introduction h2 { font-size: 27px; line-height: 1.25; margin-bottom: 29px; }
  .intro-body, .features p { font-size: 16px; line-height: 1.6; }
  .intro-body p { margin-bottom: 22px; }
  .inside { min-height: 0; padding: 40px 26px 55px; }
  .features { grid-template-columns: 1fr; gap: 31px; }
  .features h2 { font-size: 21px; line-height: 1.3; margin-bottom: 12px; }
  .secondary-cta { margin-top: 35px; width: 100%; padding: 14px 18px; font-size: 15px; }
  .preview { margin-top: 32px; width: calc(100% + 26px); max-width: none; margin-left: -13px; }
  footer { padding: 23px 25px; }
  footer p { font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .cta { transition: none; } }
