:root {
  --background: #fffaf1;
  --foreground: #38291f;
  --card: #ffffff;
  --card-foreground: #38291f;
  --primary: #df542f;
  --primary-foreground: #ffffff;
  --secondary: #f7e7c8;
  --secondary-foreground: #593a29;
  --muted: #f8f0e4;
  --muted-foreground: #756357;
  --accent: #8aaa4c;
  --accent-foreground: #ffffff;
  --border: #ead9c4;
  --input: #ead9c4;
  --ring: #df542f;
  --destructive: #bd2f2f;
  --radius: 1rem;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--background);
  color: var(--foreground);
  font-family: "Avenir Next", Avenir, "Trebuchet MS", sans-serif;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 32px;
  min-height: 76px;
  padding: 12px clamp(20px, 5vw, 76px);
  flex-wrap: wrap;
  border-bottom: 1px solid color-mix(in srgb, var(--border), transparent 25%);
  background: color-mix(in srgb, #fffaf1 92%, transparent);
  backdrop-filter: blur(16px);
}
.brand { display: inline-flex; align-items: center; gap: 10px; width: fit-content; font-size: 1.25rem; font-weight: 800; letter-spacing: -0.03em; }
.brand-mark { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 13px 13px 13px 5px; color: white; background: var(--primary); transform: rotate(-3deg); }
.brand-mark svg { width: 20px; }
.site-header nav { display: flex; gap: 28px; font-size: .92rem; font-weight: 650; }
.site-header nav a { transition: color .2s ease; }
.site-header nav a:hover { color: var(--primary); }
.header-actions { justify-self: end; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.language-switch { display: inline-flex; align-items: center; padding: 3px; border: 1px solid var(--border); border-radius: 999px; background: rgba(255, 255, 255, .72); }
.language-switch a { display: grid; place-items: center; min-width: 34px; height: 30px; border-radius: 999px; color: #756357; font-size: .72rem; font-weight: 850; letter-spacing: .04em; }
.language-switch a.active { color: white; background: #4e6e39; }
.header-cta { padding: 11px 18px; border-radius: 999px; color: white; background: #4e6e39; font-weight: 750; }

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(380px, .98fr);
  align-items: center;
  gap: clamp(44px, 6vw, 92px);
  min-height: calc(100vh - 76px);
  padding: clamp(64px, 8vw, 116px) clamp(20px, 7vw, 110px);
  overflow: hidden;
  background:
    radial-gradient(circle at 4% 8%, rgba(246, 188, 72, .2), transparent 23%),
    radial-gradient(circle at 96% 90%, rgba(135, 169, 78, .2), transparent 25%),
    #fffaf1;
}
.hero-copy { position: relative; z-index: 2; max-width: 720px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 18px; color: #9b3b24; font-size: .77rem; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
.eyebrow svg { width: 17px; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { text-wrap: balance; }
h1 { margin-bottom: 24px; font-family: Georgia, "Times New Roman", serif; font-size: clamp(3rem, 5.7vw, 6.25rem); line-height: .99; letter-spacing: -.055em; }
.hero-lead { max-width: 660px; margin-bottom: 32px; color: #6e584b; font-size: clamp(1.05rem, 1.5vw, 1.28rem); line-height: 1.7; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 50px; padding: 0 22px; border: 1px solid transparent; border-radius: 999px; font-size: .95rem; font-weight: 800; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.button:hover { transform: translateY(-2px); }
.button svg { width: 18px; }
.button-primary { color: white; background: var(--primary); box-shadow: 0 12px 30px rgba(190, 62, 31, .2); }
.button-primary:hover { background: #c84424; box-shadow: 0 15px 34px rgba(190, 62, 31, .28); }
.button-secondary { border-color: var(--border); background: white; }
.button-secondary:hover { background: #fff5e5; }
.hero-notes { display: flex; flex-wrap: wrap; gap: 17px 24px; margin-top: 28px; color: #705d51; font-size: .86rem; font-weight: 650; }
.hero-notes span { display: inline-flex; align-items: center; gap: 6px; }
.hero-notes svg { width: 16px; color: #6d8f3f; }
.hero-art { position: relative; justify-self: end; width: min(100%, 650px); }
.hero-art img { position: relative; z-index: 2; width: 100%; border-radius: 34px; box-shadow: 0 35px 80px rgba(75, 47, 32, .22); transform: rotate(1.5deg); }
.sun-dot { position: absolute; border-radius: 50%; }
.sun-dot-one { z-index: 1; width: 210px; height: 210px; top: -38px; right: -45px; background: #f4bd42; }
.sun-dot-two { width: 145px; height: 145px; bottom: -45px; left: -55px; background: #8da951; }
.floating-note { position: absolute; z-index: 3; right: -24px; bottom: 45px; display: inline-flex; align-items: center; gap: 8px; padding: 13px 17px; border-radius: 999px; background: white; box-shadow: 0 14px 35px rgba(75, 47, 32, .2); font-size: .86rem; font-weight: 800; }
.floating-note svg { width: 17px; fill: #df542f; color: #df542f; }

.section { padding: clamp(78px, 10vw, 140px) clamp(20px, 7vw, 110px); }
.section-heading { max-width: 760px; margin-bottom: 56px; }
.section-heading.centered { margin-left: auto; margin-right: auto; text-align: center; }
.section-heading .eyebrow { justify-content: center; }
h2 { margin-bottom: 20px; font-family: Georgia, "Times New Roman", serif; font-size: clamp(2.2rem, 4.2vw, 4.4rem); line-height: 1.06; letter-spacing: -.045em; }
.section-heading > p:last-child, .inside-copy > p:last-child { color: #756357; font-size: 1.08rem; line-height: 1.7; }

.book-section { background: #fffdf8; }
.book-grid { display: grid; grid-template-columns: minmax(280px, .8fr) minmax(0, 1.2fr); gap: clamp(50px, 8vw, 120px); align-items: center; max-width: 1180px; margin: 0 auto; }
.book-cover-wrap { position: relative; padding: 24px; border-radius: 38px; background: #e8f3f8; }
.book-cover-wrap::before { content: ""; position: absolute; inset: 13px; border: 2px dashed rgba(58, 123, 149, .25); border-radius: 28px; }
.book-cover-wrap img { position: relative; z-index: 1; width: 100%; border-radius: 18px; box-shadow: 0 26px 55px rgba(43, 71, 81, .2); }
.pill { display: inline-block; margin-bottom: 18px; padding: 7px 12px; border-radius: 999px; color: #7a3d15; background: #ffebc6; font-size: .78rem; font-weight: 800; }
.book-details h3 { margin-bottom: 18px; font-family: Georgia, "Times New Roman", serif; font-size: clamp(1.9rem, 3vw, 3.2rem); line-height: 1.08; letter-spacing: -.035em; }
.book-details > p { color: #756357; font-size: 1.05rem; line-height: 1.72; }
.book-details ul { display: grid; gap: 18px; padding: 0; margin: 30px 0 34px; list-style: none; }
.book-details li { display: flex; align-items: center; gap: 16px; }
.book-details li > span { display: grid; place-items: center; min-width: 42px; height: 42px; border-radius: 50%; color: #6a3d20; background: #f8e4bc; font-size: .77rem; font-weight: 850; }
.book-details li div { display: grid; gap: 3px; }
.book-details li strong { font-size: .98rem; }
.book-details li small { color: #817064; font-size: .88rem; }

.inside-section { display: grid; grid-template-columns: minmax(270px, .7fr) minmax(0, 1.3fr); gap: clamp(44px, 7vw, 100px); align-items: center; padding: clamp(78px, 10vw, 140px) clamp(20px, 7vw, 110px); background: #26392d; color: white; }
.inside-copy { max-width: 530px; }
.inside-copy .eyebrow { color: #f8c35b; }
.inside-copy > p:last-child { color: #cfd9d1; }
.inside-gallery { display: grid; grid-template-columns: 1.16fr .84fr; gap: 20px; align-items: end; }
.inside-card { overflow: hidden; margin: 0; border-radius: 26px; background: white; box-shadow: 0 22px 48px rgba(0, 0, 0, .25); transform: rotate(2deg); }
.inside-card-large { transform: rotate(-2.5deg); }
.inside-card img { width: 100%; aspect-ratio: .75; object-fit: cover; }
.inside-card figcaption { padding: 14px 16px 16px; color: #44342a; font-size: .82rem; font-weight: 750; }

.free-section { background: #f8ead4; }
.free-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; max-width: 1240px; margin: 0 auto; }
.free-card { overflow: hidden; border: 1px solid rgba(120, 79, 52, .12); border-radius: 28px; background: white; box-shadow: 0 18px 40px rgba(91, 60, 39, .08); transition: transform .25s ease, box-shadow .25s ease; }
.free-card:hover { transform: translateY(-6px); box-shadow: 0 25px 48px rgba(91, 60, 39, .14); }
.free-image { padding: 16px; background: #fffdf9; }
.free-image img { width: 100%; aspect-ratio: 1; object-fit: contain; border-radius: 18px; }
.free-body { padding: 2px 22px 24px; }
.free-body h3 { margin-bottom: 8px; font-family: Georgia, "Times New Roman", serif; font-size: 1.45rem; }
.free-body p { min-height: 47px; color: #756357; font-size: .9rem; line-height: 1.55; }
.download-link { display: inline-flex; align-items: center; gap: 7px; color: #b33f24; font-size: .9rem; font-weight: 850; }
.download-link svg { width: 16px; }
.download-link:hover { text-decoration: underline; }

.next-section { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 30px; margin: clamp(70px, 9vw, 120px) clamp(20px, 7vw, 110px); padding: clamp(38px, 5vw, 64px); border-radius: 36px; color: white; background: linear-gradient(135deg, #d94e2c, #f08b37); box-shadow: 0 28px 65px rgba(169, 55, 25, .2); }
.next-icon { display: grid; place-items: center; width: 78px; height: 78px; border-radius: 24px; color: #d94e2c; background: #fff3d9; transform: rotate(-5deg); }
.next-icon svg { width: 36px; height: 36px; }
.next-section .eyebrow { margin-bottom: 12px; color: #ffe6ab; }
.next-section h2 { margin-bottom: 12px; font-size: clamp(2rem, 3.5vw, 3.6rem); }
.next-section p:last-child { max-width: 780px; margin-bottom: 0; color: #fff1e8; line-height: 1.7; }
.coming-badge { padding: 10px 14px; border: 1px solid rgba(255,255,255,.35); border-radius: 999px; background: rgba(255,255,255,.13); font-size: .78rem; font-weight: 850; white-space: nowrap; }

.author-section { display: grid; grid-template-columns: auto minmax(0, 760px); justify-content: center; align-items: center; gap: 34px; padding: 40px 20px 110px; }
.author-symbol { display: grid; place-items: center; width: 104px; height: 104px; border-radius: 50% 50% 46% 54%; color: white; background: #4e6e39; font-family: Georgia, serif; font-size: 2.8rem; transform: rotate(-4deg); }
.author-symbol span { transform: rotate(4deg); }
.author-section .eyebrow { margin-bottom: 10px; }
.author-section h2 { margin-bottom: 12px; font-size: clamp(1.8rem, 3vw, 3rem); }
.author-section p:last-child { margin-bottom: 0; color: #756357; line-height: 1.7; }

footer { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; padding: 28px clamp(20px, 5vw, 76px); color: #d7dfd8; background: #26392d; font-size: .84rem; }
.brand-footer { color: white; }
footer p { margin: 0; }
footer p:last-child { justify-self: end; }

@media (max-width: 980px) {
  .site-header { grid-template-columns: 1fr auto; }
  .site-header nav { display: none; }
  .hero { grid-template-columns: 1fr; min-height: auto; }
  .hero-art { justify-self: center; max-width: 650px; }
  .book-grid, .inside-section { grid-template-columns: 1fr; }
  .book-cover-wrap { max-width: 560px; margin: 0 auto; }
  .inside-copy { max-width: 720px; }
  .free-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .free-card:last-child { grid-column: 1 / -1; max-width: 560px; justify-self: center; }
  .next-section { grid-template-columns: auto 1fr; }
  .coming-badge { grid-column: 2; justify-self: start; }
  footer { grid-template-columns: 1fr; text-align: center; }
  footer .brand { justify-self: center; }
  footer p:last-child { justify-self: center; }
}

@media (max-width: 640px) {
  .site-header { min-height: 68px; padding-inline: 16px; }
  .header-actions { gap: 8px; }
  .language-switch a { min-width: 30px; height: 28px; font-size: .67rem; }
  .header-cta { padding: 9px 14px; font-size: .84rem; }
  .hero { padding-top: 52px; }
  h1 { font-size: clamp(2.7rem, 13vw, 4rem); }
  .hero-actions .button { width: 100%; }
  .hero-notes { display: grid; }
  .hero-art img { border-radius: 24px; }
  .floating-note { right: 8px; bottom: 20px; }
  .free-grid { grid-template-columns: 1fr; }
  .free-card:last-child { grid-column: auto; max-width: none; }
  .inside-gallery { grid-template-columns: 1fr 1fr; gap: 10px; }
  .inside-card { border-radius: 16px; }
  .inside-card figcaption { padding: 10px; font-size: .7rem; }
  .next-section { grid-template-columns: 1fr; margin-inline: 14px; border-radius: 28px; }
  .coming-badge { grid-column: auto; }
  .author-section { grid-template-columns: 1fr; justify-items: start; padding-inline: 22px; }
  .author-symbol { width: 82px; height: 82px; }
}

@media (max-width: 430px) {
  .header-cta { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}
  .zefir-banner {
    display: grid;
    grid-template-columns: minmax(180px, .85fr) minmax(0, 1.15fr);
    align-items: center;
    gap: clamp(28px, 5vw, 80px);
    margin: clamp(60px, 8vw, 110px) clamp(14px, 7vw, 110px);
    padding: clamp(28px, 5vw, 64px);
    border-radius: 32px;
    color: #142d46;
    background:
      radial-gradient(ellipse at 16% 80%, #fff3cc, transparent 58%),
      linear-gradient(125deg, #ddf5ff, #b8e4fa);
    box-shadow: 0 24px 60px #173b5c12;
    scroll-margin-top: 100px;
  }

  .zefir-image {
    width: 100%;
    max-width: 310px;
    justify-self: center;
  }

  .zefir-image img {
    display: block;
    width: 100%;
    height: auto;
    filter: drop-shadow(0 20px 18px #183c5930);
  }

  .zefir-copy { min-width: 0; }

  .zefir-label {
    margin: 0 0 16px;
    color: #254c5e;
    font-size: 14px;
    font-weight: 800;
    line-height: 1.6;
    letter-spacing: .08em;
  }

  .zefir-banner h2 {
    margin: 0;
    color: #142d46;
    font-size: clamp(2.2rem, 4.5vw, 4.5rem);
    line-height: 1.08;
    letter-spacing: -.035em;
    overflow-wrap: anywhere;
  }

  .zefir-banner h2 span { color: #aa4007; }

  .zefir-description {
    max-width: 490px;
    margin: 22px 0 26px;
    font-size: 17px;
    line-height: 1.7;
  }

  .zefir-buy {
    display: inline-block;
    padding: 16px 28px;
    border-radius: 999px;
    background: #a83f09;
    color: #fff;
    text-decoration: none;
    text-align: center;
    font-size: 16px;
    font-weight: 750;
  }

  .zefir-buy:hover { background: #843007; }

  .zefir-buy:focus-visible {
    outline: 3px solid #142d46;
    outline-offset: 5px;
  }

  .zefir-author {
    margin: 16px 0 0;
    color: #375669;
    font-size: 14px;
    line-height: 1.5;
  }

  @media (max-width: 640px) {
    .zefir-banner {
      grid-template-columns: minmax(0, 1fr);
      text-align: center;
    }

    .zefir-image { max-width: 220px; }
    .zefir-description { margin-inline: auto; }
    .zefir-buy { display: block; }
  }
