@font-face {
  font-family: Montserrat;
  src: url("JTUSjIg1_i6t8kCHKm459Wlhyw.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: "Playfair Display";
  src: url("nuFiD-vYSZviVYUb_rj3ij__anPXDTzYgA.woff2") format("woff2");
  font-weight: 400 900;
  font-display: swap;
}

#preview-app > main.sbcr-home {
  --ink: #241644;
  --gutter: clamp(1rem, 4vw, 4rem);
  --serif: "Playfair Display", Georgia, serif;
  display: block;
  margin: 0;
  padding: 0;
  color: #3d344d;
  font: 400 1rem/1.65 Montserrat, system-ui, sans-serif;
}
#preview-app > .sbcr-home::before, #preview-app > .sbcr-home::after { content: none; }
.sbcr-home *, .sbcr-home *::before, .sbcr-home *::after { box-sizing: border-box; }
.sbcr-home :where(.sbcr-hero, .sbcr-introduction, .sbcr-story, .sbcr-tips, .sbcr-method, .sbcr-discovery, .sbcr-bonuses, .sbcr-stories-from-parents, .sbcr-closing) :is(p,h1,h2,h3,figure,blockquote) { margin: 0; }
.sbcr-home :where(.sbcr-hero, .sbcr-introduction, .sbcr-story, .sbcr-tips, .sbcr-method, .sbcr-discovery, .sbcr-bonuses, .sbcr-stories-from-parents, .sbcr-closing) p + p { margin-block-start: .85em; }
.sbcr-home :where(.sbcr-hero, .sbcr-introduction, .sbcr-story, .sbcr-tips, .sbcr-method, .sbcr-discovery, .sbcr-bonuses) :is(h1,h2,h3) { font-family: var(--serif); line-height: 1.16; text-wrap: balance; }
.sbcr-home img { display: block; max-width: 100%; height: auto; }
.sbcr-home .sbcr-wrap { width: min(68.75rem, 100% - 2 * var(--gutter)); margin-inline: auto; }
.sbcr-home :focus-visible { outline: 3px solid #9062c1; outline-offset: 3px; }
.sb-classic-surface-home .sb-classic-inline { width: min(60rem, 100% - 2rem); margin: 1.05rem auto 1.5rem; }
.sb-classic-surface-home .sb-classic-inline > summary { min-height: 44px; align-content: center; color: #5f317e; font-weight: 650; cursor: pointer; }
@font-face {
  font-family: "Playfair Display";
  src: url("nuFkD-vYSZviVYUb_rj3ij__anPXDTnogkk7.woff2") format("woff2");
  font-style: italic;
  font-weight: 400 900;
  font-display: swap;
}

.sbcr-home {
  --home-night: #191447;
  --home-mint: #d4f6dd;
  --home-plum: #5f317e;
  --home-card: #fcfaff;
  --home-line: #e0d5ef;
  --home-section: clamp(2.8rem, 6.7vw, 6rem);
  color: #3d344d;
  background: #fff;
}
.sbcr-home .sbcr-wrap { width: min(68.75rem, 100% - 2 * var(--gutter)); }
.sbcr-home h1, .sbcr-home h2, .sbcr-home h3 { color: var(--ink); }
.sbcr-home h2 {
  font-size: clamp(1.9rem, 1.32rem + 2.25vw, 3.5rem);
  font-weight: 600;
  letter-spacing: -.028em;
}
.sbcr-home h3 {
  font-size: clamp(1.3rem, 1.02rem + 1.05vw, 1.9rem);
  font-weight: 620;
  letter-spacing: -.018em;
}
.sbcr-home-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: .7rem 1rem;
  border-radius: .48rem;
  color: #fff;
  background: var(--home-plum);
  font-size: .95rem;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
}
.sbcr-home-action:hover { background: #492365; }

.sbcr-home .sbcr-hero {
  padding: clamp(1.45rem, 5.25vw, 5rem) 0;
  background:
    linear-gradient(99deg, #757bd7e6, #a479cfb5 51%, #d577bed9),
    url("babywontsleepbackground-4.jpg") center 42% / cover no-repeat,
    #8c82d9;
}
.sbcr-hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.38fr) minmax(12.5rem, .7fr);
  grid-template-areas: "copy mascot";
  gap: clamp(1.5rem, 6vw, 6rem);
  align-items: center;
  padding: clamp(1.45rem, 6vw, 5.25rem);
  border: 1px solid #fff9;
  border-radius: 1.12rem;
  background:
    linear-gradient(100deg, #edc6e9, #c6c5f7) top / 100% .25rem no-repeat,
    linear-gradient(115deg, #fffafff7, #f9f3fce8);
  box-shadow: 0 1rem 2.8rem #34205a46;
}
.sbcr-hero-copy { grid-area: copy; }
.sbcr-hero-copy h1 {
  font-size: clamp(2.4rem, 1.5rem + 3.05vw, 4.35rem);
  font-weight: 650;
  letter-spacing: -.038em;
  line-height: 1.04;
  text-wrap: balance;
}
.sbcr-hero-copy .sbcr-hero-lead {
  display: block;
  margin-top: .85rem;
  font-size: clamp(1.36rem, 1.09rem + 1.07vw, 1.95rem);
  font-weight: 470;
  letter-spacing: -.012em;
  line-height: 1.29;
}
.sbcr-hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .35rem 1.05rem;
}
.sbcr-hero-guides {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--home-plum);
  font-size: .9rem;
  font-weight: 650;
  text-underline-offset: .24em;
}
.sbcr-hero-copy p {
  max-width: 40ch;
  margin: 1rem 0 1.25rem;
  font-size: clamp(1rem, .93rem + .36vw, 1.15rem);
}
.sbcr-hero-mascot {
  grid-area: mascot;
  display: grid;
  place-items: center;
  justify-self: center;
  width: min(100%, 17rem);
  aspect-ratio: 1;
  border: 1px solid #d5c5eb;
  border-radius: 50%;
  background: radial-gradient(circle at 48% 42%, #fff9fd 5%, #f9ebfa 48%, #e0d4f4 100%);
}
.sbcr-hero-mascot img { width: 75%; height: auto; }

.sbcr-introduction, .sbcr-story, .sbcr-tips, .sbcr-bonuses, .sbcr-stories-from-parents { padding-block: var(--home-section); }
.sbcr-intro-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .98fr);
  gap: clamp(1.75rem, 6.1vw, 6rem);
  align-items: start;
}
.sbcr-letter-lead {
  margin-block-end: .8rem;
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(1.4rem, 1.08rem + 1.22vw, 2.1rem);
  line-height: 1.33;
}
.sbcr-letter-lead strong { color: var(--home-plum); }
.sbcr-approach {
  padding: clamp(1.2rem, 3.5vw, 2.65rem);
  border: 1px solid var(--home-line);
  border-radius: .9rem;
  background: linear-gradient(115deg, #f8f1fb, #f5f1ff);
}
.sbcr-approach h2 { font-size: clamp(1.75rem, 1.17rem + 1.55vw, 2.9rem); }
.sbcr-approach-lead { margin-block-start: .9rem; font-weight: 650; }

.sbcr-story { background: #f8f3fb; }
.sbcr-story-opener {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(1.3rem, 5.5vw, 5.3rem);
  align-items: center;
}
.sbcr-story-photo {
  overflow: hidden;
  border: 1px solid #d1c1e1;
  border-radius: 1rem;
  background: #e1d4e6;
  box-shadow: 0 .7rem 1.9rem #462b6630;
}
.sbcr-story-photo img { width: 100%; height: auto; }
.sbcr-story-start p, .sbcr-story-chapter h3 + p { margin-block-start: .8rem; }
.sbcr-story-chapters {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.3rem, 5.5vw, 5.3rem);
  margin-block-start: clamp(1.75rem, 4vw, 3rem);
}
.sbcr-story-chapter { padding-block-start: 1.05rem; border-block-start: 2px solid #bd9ed9; }

.sbcr-tips h2, .sbcr-bonuses h2 { margin-block-end: clamp(1.35rem, 3vw, 2.3rem); }
.sbcr-tip-grid, .sbcr-books, .sbcr-testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(.9rem, 2.3vw, 1.65rem);
}
.sbcr-tip-card {
  --tip-colour: #f4eaf9;
  min-width: 0;
  padding: clamp(1rem, 2.35vw, 1.65rem);
  border: 1px solid var(--home-line);
  border-radius: .85rem;
  background: linear-gradient(180deg, var(--tip-colour), #fcfaff 11rem);
}
.sbcr-tip-card:nth-child(2) { --tip-colour: #ececfc; }
.sbcr-tip-card:nth-child(3) { --tip-colour: #e7f3ee; }
.sbcr-tip-illustration {
  display: grid;
  width: 6.8rem;
  aspect-ratio: 1;
  margin-block-end: .65rem;
  place-items: center;
}
.sbcr-tip-illustration img { width: 100%; height: auto; }
.sbcr-tip-copy h3 + p, .sbcr-book-copy h3 + p { margin-block-start: .8rem; }

.sbcr-method { padding-block: 0 var(--home-section); }
.sbcr-method-card {
  display: grid;
  grid-template-columns: minmax(9rem, .56fr) minmax(0, 1fr);
  overflow: hidden;
  border: 1px solid #dac9ed;
  border-radius: 1rem;
  background: #f7effb;
}
.sbcr-method-art {
  min-height: 12rem;
  background: linear-gradient(120deg, #737bd9b0, #d679c096),
    url("babywontsleepbackground-4.jpg") 56% 48% / cover no-repeat;
}
.sbcr-method-copy { padding: clamp(1.3rem, 4.25vw, 3.15rem); }
.sbcr-method-copy p { margin-block-start: .75rem; max-width: 54ch; }

.sbcr-discovery, .sbcr-closing {
  padding-block: var(--home-section);
  color: #f2eefb;
  background:
    linear-gradient(98deg, #1c154ce8 5%, #241759cf 68%, #1e1444d9),
    url("babywontsleepbackground-1-1.jpg") center / cover no-repeat,
    var(--home-night);
}
.sbcr-home .sbcr-discovery h2 { color: var(--home-mint); }
.sbcr-discovery-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: clamp(1.45rem, 6vw, 5rem);
  margin: clamp(1.2rem, 3.2vw, 2.6rem) 0 0;
  padding: 0;
  list-style: none;
}
.sbcr-discovery-grid li {
  display: grid;
  grid-template-columns: 2.3rem minmax(0, 1fr);
  align-items: start;
  gap: .75rem;
  padding-block: .95rem;
  border-block-start: 1px solid #ddd0fc5c;
}
.sbcr-discovery-icon {
  display: grid;
  width: 2.3rem;
  aspect-ratio: 1;
  place-items: center;
  border-radius: .52rem;
  color: var(--home-mint);
  background: #ffffff22;
}
.sbcr-discovery-icon svg { display: block; width: 1rem; height: 1rem; fill: currentColor; }
.sbcr-discovery-signoff { margin-block-start: 1.2rem; color: var(--home-mint); }

.sbcr-bonuses { background: #f8f4fc; }
.sbcr-book {
  overflow: hidden;
  border: 1px solid var(--home-line);
  border-radius: .85rem;
  background: #fff;
  box-shadow: 0 .5rem 1.5rem #4d2e7412;
}
.sbcr-book-cover {
  display: grid;
  min-height: clamp(10rem, 18vw, 14rem);
  place-items: center;
  padding: 1rem;
  border-block-end: 1px solid var(--home-line);
  background: linear-gradient(120deg, #eee4f7, #f7edf9);
}
.sbcr-book:nth-child(2) .sbcr-book-cover { background: linear-gradient(120deg, #e9e6fa, #efe9fd); }
.sbcr-book:nth-child(3) .sbcr-book-cover { background: linear-gradient(120deg, #e0efe8, #f0f5ed); }
.sbcr-book-cover img {
  width: clamp(5.8rem, 10vw, 8.1rem);
  height: auto;
  border-radius: .2rem;
  box-shadow: .28rem .4rem .8rem #2a173143;
}
.sbcr-book-copy { padding: clamp(1rem, 2.35vw, 1.65rem); }
.sbcr-book h3 { text-transform: capitalize; }

.sbcr-testimonial {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  padding: 1.1rem 0 0;
  border-block-start: 2px solid #c9a8dc;
}
.sbcr-testimonial:nth-child(2) { border-block-start-color: #a7cbb9; }
.sbcr-testimonial:nth-child(3) { border-block-start-color: #a9a7df; }
.sbcr-quote-mark { display: block; color: #8961a7; font: 550 3.55rem/.85 var(--serif); }
.sbcr-testimonial blockquote { padding: 0 .15rem 1.25rem; }
.sbcr-testimonial figcaption {
  display: flex;
  align-items: center;
  gap: .8rem;
  margin-block-start: auto;
  color: #574466;
  font-size: .88rem;
  line-height: 1.5;
}
.sbcr-portrait {
  display: block;
  flex: 0 0 3.75rem;
  overflow: hidden;
  border: 1px solid #dfcfe8;
  border-radius: 50%;
}
.sbcr-portrait img { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; }
.sbcr-attribution em { color: var(--ink); font-style: normal; font-weight: 700; }

.sbcr-closing { text-align: center; background-position: center 29%; }
.sbcr-start-button {
  flex-wrap: wrap;
  gap: .1em .38em;
  padding: .95rem clamp(1rem, 4vw, 2.5rem);
  border: 1px solid #f1d0ed;
  border-radius: .72rem;
  color: #25163e;
  background: linear-gradient(105deg, #efd4f1, #dedbfc 85%);
  box-shadow: 0 .65rem 1.85rem #0e092f80;
  font-family: var(--serif);
  font-size: clamp(1.35rem, 1rem + 1.8vw, 2.4rem);
  line-height: 1.2;
}
.sbcr-start-button:hover { color: #271642; background: #f7e7fb; }
.sbcr-home .sbcr-start-button:focus-visible { outline: 3px solid var(--home-mint); }

@media (max-width: 860px) {
  .sbcr-tip-grid, .sbcr-books { grid-template-columns: minmax(0, 1fr); }
  .sbcr-tip-card { display: grid; grid-template-columns: 5.6rem minmax(0, 1fr); gap: .8rem; align-items: start; }
  .sbcr-tip-illustration { width: 100%; margin: 0; }
  .sbcr-book { display: grid; grid-template-columns: minmax(8.5rem, .43fr) minmax(0, 1fr); }
  .sbcr-book-cover { min-height: 100%; border: 0; border-inline-end: 1px solid var(--home-line); }
}
@media (max-width: 680px) {
  .sbcr-hero-layout { grid-template-columns: minmax(0, 1fr); grid-template-areas: "mascot" "copy"; gap: .85rem; text-align: center; }
  .sbcr-hero-mascot { width: clamp(6.2rem, 23vw, 8.4rem); }
  .sbcr-hero-copy p { margin-inline: auto; }
  .sbcr-hero-actions { justify-content: center; }
  .sbcr-intro-layout, .sbcr-story-opener, .sbcr-story-chapters, .sbcr-method-card, .sbcr-discovery-grid, .sbcr-testimonial-grid { grid-template-columns: minmax(0, 1fr); }
  .sbcr-story-photo { width: min(100%, 32rem); }
  .sbcr-method-art { min-height: 6rem; background-position: 54% 36%; }
  .sbcr-testimonial-grid { gap: 1.85rem; }
}
@media (max-width: 480px) {
  .sbcr-hero-actions { gap: .18rem .75rem; }
  .sbcr-hero-action { padding-inline: .7rem; font-size: .86rem; }
  .sbcr-hero-guides { font-size: .84rem; }
  .sbcr-tip-card { display: block; }
  .sbcr-tip-illustration { width: 4.8rem; margin-block-end: .5rem; }
  .sbcr-book { grid-template-columns: minmax(0, 1fr); }
  .sbcr-book-cover { min-height: auto; border-inline-end: 0; border-block-end: 1px solid var(--home-line); }
  .sbcr-book-cover img { width: 5.6rem; }
}

.sbcr-home :is(#sleepbaby-title, #the-discovery, #classic-start) { scroll-margin-block-start: .85rem; }
