* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: "Avenir Next", system-ui, sans-serif;
}
a {
  color: var(--marmalade-deep);
}
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 26px 6vw;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.brand {
  font-size: 1.5rem;
  color: var(--midnight);
  text-decoration: none;
  font-weight: 800;
}
.brand span {
  font-weight: 400;
}
nav {
  display: flex;
  gap: 28px;
  align-items: center;
}
nav a {
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 650;
}
.button {
  display: inline-block;
  padding: 18px 28px;
  border-radius: 16px;
  background: var(--marmalade-deep);
  color: white;
  text-decoration: none;
  font-weight: 750;
  box-shadow: 0 4px 0 #503093;
}
.button:hover {
  background: var(--marmalade-shade);
}
.button.small {
  padding: 12px 18px;
}
a:focus-visible {
  outline: 3px solid var(--midnight);
  outline-offset: 5px;
}
main > section {
  padding: 80px 7vw;
  max-width: 1600px;
  margin: auto;
}
.hero {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 30px;
  align-items: center;
  padding-top: 70px;
}
.eyebrow {
  color: var(--marmalade-deep);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.16em;
}
h1 {
  font-size: clamp(3rem, 5.4vw, 5.8rem);
  line-height: 1.06;
  letter-spacing: -0.05em;
  margin: 22px 0;
}
h1 em {
  font-style: normal;
  color: var(--marmalade-deep);
}
h2 {
  font-size: clamp(2rem, 3.8vw, 3.8rem);
  letter-spacing: -0.045em;
  line-height: 1.15;
  margin: 20px 0;
}
h3 {
  font-size: 1.4rem;
  letter-spacing: -0.02em;
}
p {
  font-size: 1rem;
  line-height: 1.8;
}
.intro {
  font-size: 1.2rem;
  max-width: 540px;
  color: var(--muted);
  margin-bottom: 30px;
}
.note {
  font-size: 0.8rem;
  color: var(--muted);
}
.book-art {
  position: relative;
  min-height: 490px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--paper-deep);
}
.book {
  position: relative;
  transform: rotate(8deg);
  background: #b5d8ed;
  border-radius: 8px 25px 25px 8px;
  border-left: 18px solid #8bb6d0;
  box-shadow:
    14px 14px 0 #d5c4e8,
    18px 18px 0 #a999bd;
  padding: 30px 25px;
  text-align: center;
  width: 300px;
  height: 390px;
  color: #284967;
}
.book > p {
  font-size: 0.6rem;
  font-weight: 750;
  letter-spacing: 0.1em;
}
.book h2 {
  font-size: 2rem;
  letter-spacing: -0.035em;
}
.animal {
  position: relative;
  width: 140px;
  height: 145px;
  margin: 30px auto 20px;
  background: #bd7943;
  border-radius: 45% 45% 40% 40%;
  display: grid;
  place-items: center;
}
.ear {
  position: absolute;
  top: -16px;
  width: 55px;
  height: 90px;
  background: #965b31;
  z-index: -1;
  border-radius: 30px;
}
.ear.left {
  left: -14px;
  transform: rotate(20deg);
}
.ear.right {
  right: -14px;
  transform: rotate(-20deg);
}
.face {
  font-size: 2.2rem;
  color: #352823;
}
.sun {
  position: absolute;
  top: 5px;
  left: 25px;
  font-size: 6rem;
  color: #ffc56b;
}
.sparkle {
  position: absolute;
  right: 2px;
  bottom: 18px;
  font-size: 6rem;
  color: #a889d7;
}
.ribbon {
  display: flex;
  justify-content: space-around;
  gap: 20px;
  background: #ffd88d !important;
  max-width: none !important;
  padding: 24px !important;
  color: #674724;
  font-weight: 750;
}
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 36px;
}
.steps article {
  padding: 30px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 24px;
}
.steps b {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  background: var(--paper-deep);
  color: var(--marmalade-deep);
  border-radius: 14px;
}
.steps p {
  color: var(--muted);
}
.examples {
  background: var(--paper-deep);
  border-radius: 48px;
}
.sample span {
  font-size: 4rem;
  display: block;
  text-align: center;
  padding: 30px;
  color: var(--marmalade-deep);
}
.sample.lilac {
  background: var(--paper-deep);
}
.sample.peach {
  background: #ffe2c4;
}
.sample.mint {
  background: #d5ece1;
}
.pricing {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: 30px;
}
.pricing > div {
  background: var(--paper);
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 24px;
}
.pricing .estimate {
  background: #e8f5ec;
}
.estimate strong {
  font-size: 1.6rem;
  color: #386e57;
}
dl {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  font-size: 0.9rem;
}
dd {
  margin: 0;
  font-weight: 750;
}
dt {
  line-height: 1.5;
}
.trust {
  background: #fff0da;
  border-radius: 48px;
}
.trust h2 {
  max-width: 650px;
}
.cta {
  text-align: center;
}
.cta h2 {
  font-size: clamp(3rem, 5vw, 5rem);
}
footer {
  background: var(--paper-deep);
  text-align: center;
  padding: 50px;
}
blockquote {
  padding: 20px;
  background: var(--paper);
  border-radius: 18px;
}
#testimonials:not(:empty) {
  margin-top: 30px;
}
@media (max-width: 800px) {
  header {
    padding: 20px;
    flex-wrap: wrap;
    gap: 20px;
  }
  nav {
    gap: 15px;
    flex-wrap: wrap;
  }
  nav > a:not(.button) {
    font-size: 0.8rem;
  }
  .hero {
    grid-template-columns: 1fr;
    gap: 50px;
  }
  .book-art {
    min-height: 430px;
  }
  .book {
    transform: rotate(5deg);
  }
  main > section {
    padding: 50px 24px;
  }
  .steps,
  .pricing {
    grid-template-columns: 1fr;
  }
  .ribbon {
    font-size: 0.75rem;
    flex-wrap: wrap;
  }
  .examples,
  .trust {
    border-radius: 28px;
  }
  dl {
    grid-template-columns: 1fr;
  }
  dd {
    margin-top: -10px;
  }
  .brand {
    font-size: 1.2rem;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

/* Publisher-inspired brand, shared with the story studio. */
main > section {
  padding-top: var(--space-24);
  padding-bottom: var(--space-24);
}
.book {
  background: var(--paper-deep);
  color: var(--midnight);
  border-left-color: var(--marmalade-shade);
  box-shadow: 12px 12px 0 var(--line);
}
.book-art,
.examples,
.trust,
.steps article,
.pricing > div {
  background: var(--paper-deep);
  border-radius: var(--radius-lg);
}
.ribbon {
  background: var(--midnight) !important;
  color: var(--paper);
}
.sparkle,
.sun {
  color: var(--marmalade);
}
.sample.lilac,
.sample.peach,
.sample.mint {
  background: var(--paper-deep);
}
.steps b {
  background: var(--paper);
  color: var(--marmalade-deep);
}
@media (max-width: 800px) {
  main > section {
    padding-top: var(--space-12);
    padding-bottom: var(--space-12);
  }
}
