.bm-home {
  --bm-ink: #101858;
  --bm-red: #ff3f3f;
  --bm-green: #2d8a55;
  --bm-purple: #6e4ab2;
  --bm-border: rgba(16, 24, 88, .14);
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 16px 0 46px;
  color: var(--bm-ink);
  font-family: "Nunito", "Trebuchet MS", Arial, sans-serif;
  line-height: 1.45;
}

.bm-home,
.bm-home * {
  box-sizing: border-box;
}

.bm-home a {
  color: inherit;
  text-decoration: none !important;
}

.bm-home h1,
.bm-home h2,
.bm-home h3,
.bm-home p {
  margin-top: 0;
  letter-spacing: 0;
}

.bm-hero {
  display: grid;
  grid-template-columns: minmax(0, 500px) minmax(520px, 1fr);
  gap: clamp(28px, 3.2vw, 48px);
  align-items: center;
  min-height: 372px;
}

.bm-eyebrow {
  display: inline-flex;
  align-items: center;
  margin: 0 0 13px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #a890dc;
  font-size: 12px;
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.bm-hero h1 {
  max-width: 560px;
  margin: 0;
  color: var(--bm-ink);
  font-size: clamp(38px, 4vw, 55px);
  font-weight: 900;
  line-height: 1.08;
}

.bm-hero h1 span {
  color: #ff4350;
}

.bm-lead {
  max-width: 510px;
  margin: 18px 0 0;
  color: rgba(16, 24, 88, .88);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
}

.bm-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin: 24px 0 0;
}

.bm-btn {
  display: inline-flex;
  width: 172px;
  height: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 16px;
  border: 1px solid currentColor;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 900;
  line-height: 1.1;
  text-transform: none;
  white-space: nowrap;
  transition: transform .18s ease, box-shadow .18s ease;
}

.bm-btn svg {
  display: block;
  width: 17px;
  height: 17px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.5;
}

.bm-btn-primary svg {
  fill: currentColor;
  stroke: none;
}

.bm-btn:hover,
.bm-btn:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(16, 24, 88, .14);
}

.bm-btn-primary {
  color: #fff;
  width: 172px;
  min-width: 172px;
  border-color: #ff4050;
  background: #ff4050;
  box-shadow: 0 10px 20px rgba(255, 64, 80, .14);
}

.bm-btn-outline {
  width: 146px;
  min-width: 146px;
  color: var(--bm-ink);
  border-color: rgba(16, 24, 88, .10);
  background: rgba(255, 255, 255, .86);
  box-shadow: 0 9px 20px rgba(16, 24, 88, .04);
}

.bm-trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  margin-top: 24px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  overflow: visible;
}

.bm-trust {
  display: inline-flex;
  gap: 7px;
  align-items: center;
  min-width: 0;
  position: relative;
  padding: 0;
  border-right: 0;
}

.bm-trust + .bm-trust {
  margin-left: 25px;
}

.bm-trust + .bm-trust::before {
  content: "";
  position: absolute;
  left: -14px;
  top: 50%;
  width: 3px;
  height: 3px;
  border-radius: 999px;
  background: rgba(16, 24, 88, .24);
  transform: translateY(-50%);
}

.bm-trust-icon {
  display: inline-grid;
  width: 16px;
  height: 16px;
  place-items: center;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: rgba(16, 24, 88, .58);
  font-size: 14px;
  line-height: 1;
}

.bm-trust strong,
.bm-trust span {
  display: block;
  min-width: 0;
}

.bm-trust strong {
  color: var(--bm-ink);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.18;
  opacity: .72;
}

.bm-trust span span {
  margin-top: 4px;
  color: rgba(16, 24, 88, .72);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.35;
}

.bm-hero-art {
  position: relative;
  min-height: 372px;
  isolation: isolate;
}

.bm-secret-note {
  position: absolute;
  right: 2px;
  top: 18px;
  z-index: 3;
  display: grid;
  grid-template-columns: 36px 1fr;
  column-gap: 10px;
  width: 214px;
  min-height: 120px;
  padding: 17px 17px;
  border: 1px solid rgba(16, 24, 88, .09);
  border-radius: 20px;
  background: rgba(255, 255, 255, .93);
  text-align: left;
  box-shadow: 0 18px 36px rgba(16, 24, 88, .12);
}

.bm-secret-note::before {
  content: "";
  position: absolute;
  left: -13px;
  top: 56px;
  width: 26px;
  height: 26px;
  background: rgba(255, 255, 255, .93);
  border-left: 1px solid rgba(16, 24, 88, .09);
  border-bottom: 1px solid rgba(16, 24, 88, .09);
  transform: rotate(45deg);
}

.bm-secret-note > span {
  grid-row: 1 / span 2;
  margin-top: 2px;
  color: #f5a623;
  font-size: 26px;
  line-height: 1;
}

.bm-secret-note strong {
  display: block;
  color: var(--bm-ink);
  font-size: 15px;
  font-weight: 900;
  line-height: 1.2;
}

.bm-secret-note em {
  display: block;
  margin-top: 7px;
  color: rgba(16, 24, 88, .82);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.35;
  font-style: normal;
}

.bm-book-scene {
  position: absolute;
  right: -18px;
  top: -4px;
  width: min(630px, 92vw);
  aspect-ratio: 3 / 2;
  height: auto;
  background: url("https://bibliotecamea.com/wp-content/uploads/background.png") center bottom / contain no-repeat;
}

.bm-secret-book-link {
  position: absolute;
  left: 64px;
  bottom: 50px;
  z-index: 2;
  display: block;
  width: 342px;
  max-width: 62%;
  border: 0;
  padding: 0;
  background: transparent;
  cursor: pointer;
  transform: rotate(-8deg);
  transform-origin: 52% 58%;
  animation: bm-book-float 3.8s ease-in-out infinite;
}

.bm-secret-book-link:focus-visible {
  outline: 3px solid rgba(255, 63, 63, .55);
  outline-offset: 8px;
  border-radius: 18px;
}

.bm-secret-book {
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 22px 26px rgba(16, 24, 88, .18));
}

.bm-open-book-chip {
  position: absolute;
  right: 54px;
  bottom: 24px;
  z-index: 4;
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border: 1px solid rgba(127, 93, 198, .14);
  border-radius: 999px;
  padding: 7px 15px;
  background: rgba(255, 255, 255, .88);
  color: #8b6bd1;
  box-shadow: 0 10px 24px rgba(16, 24, 88, .1);
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  font-weight: 900;
  line-height: 1;
  white-space: nowrap;
}

.bm-open-book-chip:hover,
.bm-open-book-chip:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 14px 28px rgba(16, 24, 88, .13);
}

.bm-castle,
.bm-rainbow,
.bm-ground,
.bm-sparkle,
.bm-float {
  display: none !important;
}

@keyframes bm-book-float {
  0%,
  100% {
    transform: translate3d(0, 0, 0) rotate(-8deg);
  }

  35% {
    transform: translate3d(0, -8px, 0) rotate(-5deg);
  }

  65% {
    transform: translate3d(4px, -4px, 0) rotate(-11deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .bm-secret-book-link {
    animation: none;
  }
}

.bm-age {
  margin-top: 72px;
  padding: 18px;
  border: 1px solid var(--bm-border);
  border-radius: 26px;
  background: rgba(255, 255, 255, .68);
  box-shadow: 0 14px 34px rgba(16, 24, 88, .06);
}

.bm-section-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 0 0 18px;
  color: var(--bm-ink);
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 900;
  line-height: 1.15;
  text-align: center;
}

.bm-age-tabs {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.bm-age-tab {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  min-height: 86px;
  padding: 12px;
  border: 1px solid rgba(16, 24, 88, .12);
  border-radius: 16px;
  background: rgba(255, 255, 255, .6);
  color: var(--bm-ink);
  cursor: pointer;
  font: inherit;
  font-size: 18px;
  font-weight: 900;
  line-height: 1.1;
  text-align: left;
}

.bm-age-tab[aria-selected="true"] {
  border-color: rgba(45, 138, 85, .68);
  box-shadow: inset 0 0 0 1px rgba(45, 138, 85, .38);
  color: var(--bm-green);
}

.bm-age-tab span:first-child {
  display: grid;
  width: 64px;
  height: 64px;
  place-items: center;
  border: 1px solid rgba(16, 24, 88, .08);
  border-radius: 18px;
  background: rgba(255, 255, 255, .48);
  font-size: 42px;
  line-height: 1;
}

.bm-shelf {
  position: relative;
  margin-top: 36px;
  padding: 0 0 8px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  overflow: visible;
}

.bm-shelf::before,
.bm-shelf::after {
  display: none;
}

.bm-shelf::before { top: auto; }
.bm-shelf::after { top: auto; }

.bm-shelf-row {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 92px repeat(5, 136px) 92px;
  gap: 18px;
  align-items: end;
  justify-content: center;
  min-height: 214px;
  padding: 0 0 28px;
}

.bm-shelf-row + .bm-shelf-row {
  margin-top: 32px;
}

.bm-shelf-row::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 4px;
  height: 26px;
  border-radius: 7px;
  background: linear-gradient(180deg, #d88733 0%, #be641d 58%, #9f4d15 100%);
  box-shadow:
    inset 0 4px 0 rgba(255, 185, 86, .55),
    0 5px 0 rgba(118, 57, 12, .16);
}

.bm-row-label {
  display: none;
}

.bm-decor {
  display: grid;
  min-height: 148px;
  place-items: center;
  align-self: end;
  margin-bottom: 28px;
  font-size: 72px;
  line-height: 1;
  filter: drop-shadow(0 7px 10px rgba(16, 24, 88, .10));
}

.bm-decor-empty {
  visibility: hidden;
}

.bm-book-card {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 10px;
  width: 136px;
  height: 178px;
  aspect-ratio: auto;
  min-height: 0;
  margin-bottom: 22px;
  padding: 18px 12px 12px;
  border: 0;
  border-left: 7px solid rgba(255, 255, 255, .38);
  border-radius: 7px 8px 8px 7px;
  color: var(--bm-ink);
  box-shadow:
    5px 0 0 rgba(0, 0, 0, .06),
    0 8px 14px rgba(16, 24, 88, .10);
  transition: transform .18s ease, box-shadow .18s ease;
}

.bm-book-card:hover,
.bm-book-card:focus-visible {
  transform: translateY(-4px);
  box-shadow:
    6px 0 0 rgba(0, 0, 0, .06),
    0 12px 18px rgba(16, 24, 88, .12);
}

.bm-book-card strong {
  display: block;
  min-height: 42px;
  color: var(--bm-ink);
  font-size: 16px;
  font-weight: 900;
  line-height: 1.08;
  text-align: center;
  text-transform: uppercase;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
}

.bm-book-art {
  display: grid;
  width: min(102px, 88%);
  aspect-ratio: 1 / 1;
  place-items: center;
  align-self: center;
  margin-top: auto;
  overflow: hidden;
  line-height: 1;
}

.bm-book-art > span {
  display: grid;
  width: 100%;
  height: 100%;
  place-items: center;
  font-size: 62px;
  line-height: 1;
}

.bm-book-art img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.bm-book-yellow { background: linear-gradient(180deg, rgba(255, 214, 105, .96), rgba(255, 185, 77, .72)); }
.bm-book-blue { background: linear-gradient(180deg, rgba(176, 216, 255, .96), rgba(104, 168, 226, .72)); }
.bm-book-mint { background: linear-gradient(180deg, rgba(207, 237, 205, .96), rgba(129, 190, 147, .72)); }
.bm-book-lavender { background: linear-gradient(180deg, rgba(216, 199, 244, .96), rgba(170, 138, 216, .72)); }
.bm-book-pink { background: linear-gradient(180deg, rgba(255, 205, 191, .96), rgba(250, 144, 120, .72)); }
.bm-book-cream { background: linear-gradient(180deg, rgba(255, 238, 196, .98), rgba(242, 187, 93, .72)); }
.bm-book-green { background: linear-gradient(180deg, rgba(198, 229, 206, .96), rgba(98, 166, 119, .72)); }

.bm-literature {
  margin-top: 44px;
  text-align: center;
}

.bm-literature h2 {
  margin: 0;
  color: #203456;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 29px;
  font-weight: 800;
  line-height: 1.15;
}

.bm-literature-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  margin: 9px 0 24px;
  color: #f25b5b;
}

.bm-literature-divider span {
  width: 34px;
  height: 2px;
  border-radius: 999px;
  background: #ffe0df;
}

.bm-literature-divider strong {
  font-size: 15px;
  line-height: 1;
}

.bm-literature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  max-width: 1058px;
  margin: 0 auto;
}

.bm-literature-card {
  display: grid;
  grid-template-columns: 128px minmax(0, 1fr);
  gap: 20px;
  align-items: center;
  min-height: 178px;
  padding: 24px 28px;
  border: 1px solid rgba(31, 49, 88, .08);
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(31, 49, 88, .08);
  text-align: left;
}

.bm-literature-visual {
  position: relative;
  width: 116px;
  height: 116px;
  border-radius: 50%;
  overflow: hidden;
  flex: 0 0 auto;
}

.bm-literature-stories {
  background:
    radial-gradient(circle at 50% 88%, #f8e9b4 0 24%, transparent 25%),
    linear-gradient(145deg, #def4e8 0%, #fff4c9 100%);
}

.bm-lit-book {
  position: absolute;
  left: 21px;
  bottom: 16px;
  width: 76px;
  height: 28px;
  border-radius: 8px 8px 18px 18px;
  background: linear-gradient(90deg, #55b27f 0 48%, #f7f1cf 49% 51%, #55b27f 52%);
  box-shadow: 0 5px 0 rgba(39, 114, 86, .2);
}

.bm-lit-castle {
  position: absolute;
  left: 34px;
  bottom: 37px;
  font-size: 42px;
  line-height: 1;
}

.bm-lit-sun {
  position: absolute;
  right: 19px;
  top: 17px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #ffc450;
}

.bm-lit-tree {
  position: absolute;
  bottom: 23px;
  width: 28px;
  height: 48px;
  border-radius: 18px 18px 5px 5px;
  background: #4fb879;
  transform: rotate(-20deg);
}

.bm-lit-tree::after {
  content: "";
  position: absolute;
  left: 12px;
  bottom: -10px;
  width: 5px;
  height: 18px;
  border-radius: 5px;
  background: #976b38;
}

.bm-lit-tree-one { left: 13px; }
.bm-lit-tree-two { right: 13px; transform: rotate(20deg); }

.bm-literature-poems {
  background: linear-gradient(145deg, #ffe2b6 0%, #fff0bf 100%);
}

.bm-lit-page {
  position: absolute;
  left: 43px;
  top: 26px;
  width: 48px;
  height: 66px;
  border-radius: 4px;
  background: #fff8df;
  box-shadow: 0 6px 16px rgba(127, 75, 31, .14);
  transform: rotate(7deg);
}

.bm-lit-page::before,
.bm-lit-page::after {
  content: "";
  position: absolute;
  left: 10px;
  width: 27px;
  height: 2px;
  border-radius: 2px;
  background: #f4c783;
}

.bm-lit-page::before { top: 21px; }
.bm-lit-page::after { top: 33px; }

.bm-lit-quill {
  position: absolute;
  left: 24px;
  top: 16px;
  width: 20px;
  height: 78px;
  border-radius: 80% 12% 80% 12%;
  background: linear-gradient(150deg, #e94742 0 45%, #f2c14d 46% 100%);
  transform: rotate(23deg);
}

.bm-lit-ink {
  position: absolute;
  left: 25px;
  bottom: 18px;
  width: 28px;
  height: 30px;
  border-radius: 7px 7px 10px 10px;
  background: #0b7a8d;
}

.bm-lit-spark-one,
.bm-lit-spark-two {
  position: absolute;
  color: #fff;
  font-size: 16px;
}

.bm-lit-spark-one { left: 18px; top: 35px; }
.bm-lit-spark-two { right: 18px; top: 25px; }

.bm-literature-worksheets {
  background: linear-gradient(145deg, #ffe4df 0%, #fff4dd 100%);
}

.bm-lit-board {
  position: absolute;
  left: 30px;
  top: 23px;
  width: 58px;
  height: 76px;
  border: 4px solid #d89156;
  border-radius: 6px;
  background: #fffdf2;
  box-shadow: 0 7px 15px rgba(129, 83, 43, .16);
}

.bm-lit-board::before {
  content: "";
  position: absolute;
  left: 15px;
  top: -12px;
  width: 28px;
  height: 18px;
  border-radius: 7px 7px 4px 4px;
  background: #c9793e;
}

.bm-lit-pencil {
  position: absolute;
  right: 17px;
  bottom: 19px;
  width: 10px;
  height: 70px;
  border-radius: 8px;
  background: linear-gradient(180deg, #f2c14d 0 72%, #35a56e 73% 100%);
  transform: rotate(12deg);
}

.bm-lit-check {
  position: absolute;
  left: 44px;
  width: 25px;
  height: 3px;
  border-radius: 5px;
  background: #f0bd79;
}

.bm-lit-check-one { top: 50px; }
.bm-lit-check-two { top: 66px; }
.bm-lit-check-three { top: 82px; }

.bm-literature-copy h3 {
  margin: 0;
  color: #203456;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.15;
}

.bm-literature-copy p {
  max-width: 184px;
  margin: 10px 0 15px;
  color: #203456;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.55;
}

.bm-literature-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 31px;
  padding: 0 18px;
  border-radius: 999px;
  color: #fff;
  font-size: 11px;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
  box-shadow: 0 6px 12px rgba(31, 49, 88, .08);
}

.bm-literature-link:hover,
.bm-literature-link:focus-visible {
  color: #fff;
  transform: translateY(-1px);
}

.bm-literature-green { background: #238d75; }
.bm-literature-gold { background: #f6b83c; }
.bm-literature-coral { background: #ef6268; }

.bm-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 28px;
}

.bm-feature {
  display: grid;
  grid-template-columns: 58px 1fr 92px;
  gap: 14px;
  align-items: center;
  min-height: 150px;
  padding: 20px;
  border: 1px solid var(--bm-border);
  border-radius: 18px;
  background: rgba(255, 255, 255, .66);
  box-shadow: 0 14px 34px rgba(16, 24, 88, .06);
}

.bm-feature-icon {
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  border: 1px solid rgba(16, 24, 88, .12);
  border-radius: 16px;
  background: rgba(255, 255, 255, .48);
  font-size: 32px;
  line-height: 1;
}

.bm-feature h3 {
  margin: 0;
  color: var(--bm-ink);
  font-size: 21px;
  font-weight: 900;
  line-height: 1.15;
}

.bm-feature p {
  margin: 7px 0 0;
  color: rgba(16, 24, 88, .76);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.45;
}

.bm-feature-visual {
  text-align: center;
  font-size: 66px;
  line-height: 1;
}

.bm-small-link {
  display: inline-flex;
  margin-top: 13px;
  padding: 8px 13px;
  border: 1px solid currentColor;
  border-radius: 999px;
  color: var(--bm-green);
  font-size: 13px;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
}

.bm-subscribe {
  display: grid;
  grid-template-columns: 120px 1fr minmax(260px, 420px) 120px;
  gap: 20px;
  align-items: center;
  margin-top: 22px;
  padding: 18px 22px;
  border: 1px solid var(--bm-border);
  border-radius: 20px;
  background: rgba(244, 236, 255, .68);
  box-shadow: 0 14px 34px rgba(110, 74, 178, .08);
}

.bm-subscribe-visual {
  text-align: center;
  font-size: 74px;
  line-height: 1;
}

.bm-subscribe h2 {
  margin: 0;
  color: var(--bm-ink);
  font-size: 24px;
  font-weight: 900;
  line-height: 1.12;
}

.bm-subscribe p {
  margin: 6px 0 0;
  color: rgba(16, 24, 88, .76);
  font-weight: 700;
  line-height: 1.4;
}

.bm-form {
  display: flex;
  gap: 10px;
  align-items: center;
}

.bm-form input {
  min-width: 0;
  flex: 1;
  min-height: 48px;
  border: 1px solid var(--bm-border);
  border-radius: 999px;
  padding: 0 18px;
  background: rgba(255, 255, 255, .86);
  color: var(--bm-ink);
  font: inherit;
  font-size: 15px;
  font-weight: 700;
}

.bm-form button {
  min-height: 48px;
  border: 0;
  border-radius: 999px;
  padding: 0 20px;
  background: var(--bm-purple);
  color: #fff;
  font: inherit;
  font-size: 15px;
  font-weight: 900;
  cursor: pointer;
  white-space: nowrap;
}

.bm-bottom-trust {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--bm-border);
}

.bm-bottom-trust div {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 10px;
  align-items: center;
  min-width: 0;
  color: var(--bm-ink);
  font-size: 13px;
  font-weight: 900;
  line-height: 1.25;
}

.bm-bottom-trust span:first-child {
  font-size: 28px;
  line-height: 1;
}

@media (max-width: 980px) {
  .bm-hero {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .bm-hero-art {
    min-height: 430px;
  }

  .bm-trust-row,
  .bm-age-tabs,
  .bm-feature-grid,
  .bm-bottom-trust {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .bm-literature-grid {
    grid-template-columns: 1fr;
    max-width: 680px;
    gap: 12px;
  }

  .bm-literature-card {
    grid-template-columns: 128px 1fr;
  }

  .bm-shelf {
    padding: 0 0 8px;
  }

  .bm-shelf-row {
    grid-template-columns: repeat(3, 136px);
    justify-content: center;
  }

  .bm-row-label {
    grid-column: 1 / -1;
  }

  .bm-decor {
    display: none;
  }

  .bm-subscribe {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .bm-subscribe-visual:last-child {
    display: none;
  }
}

@media (max-width: 640px) {
  .bm-home {
    width: min(100% - 20px, 1180px);
    padding: 18px 0 32px;
  }

  .bm-hero h1 {
    font-size: clamp(38px, 13vw, 54px);
  }

  .bm-lead {
    font-size: 17px;
  }

  .bm-actions,
  .bm-form {
    flex-direction: column;
    align-items: stretch;
  }

  .bm-btn,
  .bm-form button {
    width: 100%;
    min-width: 0;
    min-height: 54px;
    font-size: 15px;
  }

  .bm-trust-row,
  .bm-age-tabs,
  .bm-feature-grid,
  .bm-bottom-trust {
    grid-template-columns: 1fr;
  }

  .bm-literature {
    margin-top: 34px;
  }

  .bm-literature h2 {
    font-size: 24px;
  }

  .bm-literature-grid {
    gap: 12px;
  }

  .bm-literature-card {
    grid-template-columns: 104px 1fr;
    gap: 16px;
    min-height: 150px;
    padding: 18px;
  }

  .bm-literature-visual {
    width: 96px;
    height: 96px;
  }

  .bm-literature-copy p {
    max-width: none;
    font-size: 12px;
  }

  .bm-literature-link {
    min-height: 29px;
    padding: 0 14px;
    font-size: 10px;
  }

  .bm-trust {
    border-right: 0;
    border-bottom: 1px solid var(--bm-border);
  }

  .bm-trust-row {
    display: grid;
    gap: 10px;
  }

  .bm-trust + .bm-trust {
    margin-left: 0;
  }

  .bm-trust + .bm-trust::before {
    display: none;
  }

  .bm-trust:last-child {
    border-bottom: 0;
  }

  .bm-hero-art {
    min-height: 360px;
  }

  .bm-secret-note {
    right: 8px;
    top: 28px;
    width: 150px;
    min-height: 96px;
    grid-template-columns: 28px 1fr;
    padding: 13px 12px;
  }

  .bm-secret-note strong {
    font-size: 12px;
  }

  .bm-secret-note em {
    font-size: 10px;
  }

  .bm-secret-note > span {
    font-size: 20px;
  }

  .bm-secret-note::before {
    left: -9px;
    top: 43px;
    width: 18px;
    height: 18px;
  }

  .bm-book-scene {
    left: 50%;
    right: auto;
    top: 26px;
    bottom: auto;
    width: min(390px, 98vw);
    aspect-ratio: 3 / 2;
    height: auto;
    transform: translateX(-50%);
  }

  .bm-secret-book {
    width: 100%;
  }

  .bm-secret-book-link {
    left: 30px;
    right: auto;
    top: auto;
    bottom: 30px;
    width: 210px;
    max-width: 60%;
  }

  .bm-open-book-chip {
    right: 18px;
    bottom: 20px;
    min-height: 30px;
    padding: 6px 11px;
    font-size: 11px;
  }

  .bm-age-tab {
    grid-template-columns: 58px minmax(0, 1fr);
  }

  .bm-age {
    margin-top: 42px;
  }

  .bm-age-tab span:first-child {
    width: 58px;
    height: 58px;
    font-size: 36px;
  }

  .bm-shelf {
    margin-left: -2px;
    margin-right: -2px;
  }

  .bm-shelf-row {
    grid-template-columns: repeat(2, 136px);
    gap: 14px;
    min-height: 0;
  }

  .bm-book-card {
    width: 136px;
    height: 178px;
    aspect-ratio: auto;
  }

  .bm-book-card strong {
    font-size: 14px;
  }

  .bm-book-art {
    width: min(82px, 72%);
  }

  .bm-book-art > span {
    font-size: 50px;
  }

  .bm-feature {
    grid-template-columns: 52px 1fr;
  }

  .bm-feature-visual {
    grid-column: 1 / -1;
    font-size: 54px;
  }
}
