.featured-hero {
  grid-template-columns: minmax(0, 1fr);
  gap: 26px;
}

.featured-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  width: 100%;
}

.notebook-spotlight {
  display: grid;
  grid-template-columns: 128px minmax(0, 1fr);
  align-items: center;
  gap: 20px;
  padding: 18px;
  border: 1px solid #88709c;
  background: radial-gradient(ellipse at top left, #58366d, #352141 75%);
  color: #fff8e9;
  text-align: left;
}

.notebook-spotlight .eyebrow, .notebook-spotlight h2 em { color: #f2cc82; }
.notebook-spotlight h2 { font-size: clamp(25px, 3vw, 34px); margin: 0 0 10px; color: #fff8e9; }
.notebook-feature-copy > p:not(.eyebrow, .notebook-small) { font-size: 14px; margin: 0 0 12px; }
.notebook-spotlight .button { font-size: 13px; padding-inline: 12px; }
.notebook-small { font-size: .85rem; line-height: 1.5; }
.notebook-feature-copy .notebook-small { margin: 9px 0 0; color: #f3dfef; }

.promo-book-art {
  display: grid;
  justify-items: center;
  align-items: center;
  min-width: 0;
  padding: 10px 12px 10px 14px;
}

.promo-book-cover {
  position: relative;
  display: grid;
  width: min(100%, 130px);
  min-height: 142px;
  aspect-ratio: .72;
  place-content: center;
  padding: 10px 4px;
  border: 1px solid #caa365;
  border-radius: 4px 9px 9px 4px;
  background: linear-gradient(152deg, #59376a, #2b1838 76%);
  box-shadow: inset 4px 0 #9a6fa338, 3px 3px #f4e8cf, 5px 6px #c3a98c, 0 12px 17px #1e102859;
  color: #f6d495;
  text-align: center;
}

.promo-book-cover::before, .promo-book-cover::after {
  position: absolute;
  content: "";
  pointer-events: none;
}

.promo-book-cover::before {
  inset: 6px auto 6px -12px;
  width: 22px;
  background:
    radial-gradient(ellipse 10px 3px at 50% 38%, transparent 53%, #93602f 64%, #ffdd9a 81%, #a56e39 96%, transparent 100%),
    radial-gradient(ellipse 10px 3px at 50% 59%, transparent 53%, #93602f 64%, #ffdd9a 81%, #a56e39 96%, transparent 100%);
  background-size: 100% 12px;
  background-repeat: no-repeat space;
}

.promo-book-cover::after {
  inset: 19% -10px auto auto;
  width: 9px;
  height: 12px;
  border-radius: 0 3px 3px 0;
  background: #afdce7;
  box-shadow: 0 18px #f5b7cf, 0 36px #f9d77d, 0 54px #c3e69c, 0 72px #d7b3f0;
}

.promo-book-cover span { font-size: 7px; letter-spacing: .13em; }
.promo-book-cover strong { margin-top: 6px; font: 600 clamp(14px, 2vw, 20px)/1.04 Georgia, serif; }

.tools-panel .intent-product {
  display: grid;
  grid-template-columns: minmax(72px, 108px) minmax(0, 1fr);
  align-items: center;
  gap: 13px;
}

.intent-product img { display: block; width: 100%; height: auto; border-radius: 5px; }
.intent-product .product-action { flex-wrap: wrap; }
.notebook-text-link { display: inline-flex; align-items: center; min-height: 44px; color: #582962; font-weight: 650; text-underline-offset: .2em; }

.notebook-demos { display: grid; gap: 16px; margin: 0 0 24px; }
.demos-page .notebook-demo-card {
  display: grid;
  grid-template-columns: minmax(124px, 190px) minmax(0, 1fr);
  align-items: center;
  gap: clamp(14px, 4vw, 27px);
  padding: clamp(17px, 3vw, 30px);
  border: 1px solid #c5aa87;
  border-left: 4px solid #573367;
  background: #fffaf0;
  color: #2f2035;
  scroll-margin-top: 20px;
}

.notebook-demo-card .eyebrow { color: #612e65; }
.notebook-demo-card h2 { margin: 0 0 10px; }
.notebook-demo-card p { margin-bottom: 12px; }
.notebook-demo-card p:last-child { margin-bottom: 0; }
.notebook-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 5px 18px; margin-bottom: 10px; }
.demos-page .intent-demo-card { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.intent-demo-card figure { min-width: 0; margin: 0; }
.intent-demo-card video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; background: #281833; }
.intent-demo-card figcaption { margin-top: 8px; }

@media (max-width: 1000px) and (min-width: 751px) {
  .notebook-spotlight { grid-template-columns: 95px minmax(0, 1fr); gap: 12px; padding: 13px; }
}

@media (max-width: 750px) {
  .featured-pair { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .notebook-spotlight { grid-template-columns: 93px minmax(0, 1fr); gap: 13px; padding: 13px; }
  .notebook-spotlight .eyebrow { font-size: 9px; letter-spacing: .1em; margin-bottom: 8px; }
  .demos-page .intent-demo-card { grid-template-columns: minmax(0, 1fr); }
  .intent-demo-card > div { grid-row: 1; }
}

@media (max-width: 460px) {
  .demos-page .notebook-demo-card { grid-template-columns: minmax(0, 1fr); }
  .notebook-demo-card .promo-book-art { display: none; }
  .tools-panel .intent-product { grid-template-columns: 66px minmax(0, 1fr); gap: 9px; }
}
