/* The same moon imprint sits beside a live, selectable wordmark at both ends of the page. */
.sb-brand-header {
  --sb-brand-ink: #1e3248;
  --sb-brand-domain: #465b68;
  --sb-brand-paper: #fffaf0;
  background: linear-gradient(105deg, #fffcf5, var(--sb-brand-paper) 58%, #faf1de);
  border-block-end: 1px solid #c6b996;
  box-shadow: 0 2px 9px #23374b12;
  backdrop-filter: none;
}

.sb-brand-header .preview-nav,
.sb-brand-footer .preview-footer-inner {
  width: min(74rem, calc(100% - clamp(1.5rem, 7vw, 6.5rem)));
  max-inline-size: none;
  margin-inline: auto;
  display: flex;
  flex-wrap: nowrap;
  justify-content: space-between;
  align-items: center;
  gap: clamp(1rem, 3.2vw, 3rem);
}

.sb-brand-header .preview-nav { min-height: clamp(4.55rem, 5.5vw, 5.55rem); }

.sb-brand-header .preview-brand.sb-brand-link,
.sb-brand-footer .preview-brand.sb-brand-link {
  display: inline-flex;
  align-items: center;
  justify-content: start;
  gap: clamp(.43rem, 1vw, .72rem);
  flex: none;
  width: max-content;
  max-width: 100%;
  min-height: 44px;
  padding: 0;
  background: transparent;
  border: none;
  border-radius: .32rem;
  box-shadow: none;
  color: var(--sb-brand-ink);
  text-decoration: none;
}

.sb-brand-header .sb-brand-link .sb-brand-mark,
.sb-brand-footer .sb-brand-link .sb-brand-mark {
  display: block;
  width: clamp(3rem, 4.2vw, 3.85rem);
  height: auto;
  aspect-ratio: 1;
  flex: none;
  object-fit: contain;
  border-radius: 50%;
  filter: none;
}

.sb-brand-link .sb-brand-name {
  display: inline-block;
  color: var(--sb-brand-ink);
  font: 650 clamp(1.72rem, 2.75vw, 2.48rem)/1.23 "Playfair Display", Georgia, serif;
  letter-spacing: -.048em;
  white-space: nowrap;
}

.sb-brand-name .sb-brand-domain {
  color: var(--sb-brand-domain);
  font-size: .77em;
  font-weight: 550;
  letter-spacing: -.035em;
}

.sb-brand-header .preview-nav nav,
.sb-brand-footer .preview-footer-inner nav {
  display: flex;
  flex: none;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(.4rem, 1.65vw, 1.45rem);
}

.sb-brand-header .preview-nav .preview-nav-link,
.sb-brand-footer .preview-footer-inner nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: .35rem .42rem;
  font: 650 clamp(.8rem, .74rem + .24vw, .95rem)/1.23 Montserrat, system-ui, sans-serif;
  letter-spacing: 0;
  white-space: nowrap;
  text-decoration: none;
  text-underline-offset: .31em;
}

.sb-brand-header .preview-nav .preview-nav-link { color: var(--sb-brand-ink); }

.sb-brand-header .preview-nav .preview-nav-link:is(:hover, [aria-current="page"]),
.sb-brand-footer .preview-footer-inner nav a:hover {
  text-decoration: underline;
  text-decoration-thickness: .1em;
}

.sb-brand-header .preview-nav .preview-nav-link[aria-current="page"] { text-decoration-color: #87683d; }

.sb-brand-header .preview-nav .preview-nav-link--price,
.sb-brand-footer .preview-footer-inner nav a:last-child {
  background: #263c51;
  color: #fff9ea;
  border: 1px solid #263c51;
  border-radius: .5rem;
  padding-inline: clamp(.8rem, 1.7vw, 1.4rem);
  box-shadow: none;
}

.sb-brand-header .preview-nav .preview-nav-link--price:hover { background: #354f65; }

.sb-brand-header .reading-progress {
  height: 2px;
  background: transparent;
}

.sb-brand-header .reading-progress span {
  background: linear-gradient(90deg, #637d83, #9e7548);
  box-shadow: none;
}

.sb-brand-footer {
  --sb-brand-ink: #fff6e0;
  --sb-brand-domain: #e0cda6;
  padding-block: clamp(1.7rem, 4vw, 3.8rem);
  background: linear-gradient(112deg, #192b3f, #23394b 75%, #293e4b);
  border-block-start: 1px solid #aa946e;
  color: var(--sb-brand-ink);
}

.sb-brand-footer .sb-brand-link .sb-brand-mark {
  background: #fff6df;
  width: clamp(3.2rem, 5vw, 4.15rem);
}

.sb-brand-footer .preview-footer-inner nav a { color: #f7efdf; }

.sb-brand-footer .preview-footer-inner nav a:last-child {
  color: #fff2d3;
  border-color: #a59a82;
  background: transparent;
}

.sb-brand-footer .preview-footer-inner nav a:last-child:hover { background: #354a58; }

.sb-brand-header .preview-nav a:focus-visible,
.sb-brand-footer .preview-footer-inner a:focus-visible {
  outline: 3px solid #966738;
  outline-offset: 3px;
}

.sb-brand-footer .preview-footer-inner a:focus-visible { outline-color: #ffdfa5; }

@media (max-width: 41rem) {
  .sb-brand-header .preview-nav,
  .sb-brand-footer .preview-footer-inner {
    width: min(100% - 1.25rem, 29rem);
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    justify-items: center;
  }

  .sb-brand-header .preview-nav {
    gap: 0;
    min-height: 0;
    padding-block: .25rem .14rem;
  }

  .sb-brand-header .preview-nav nav,
  .sb-brand-footer .preview-footer-inner nav {
    display: grid;
    width: 100%;
    grid-template-columns: minmax(0, .94fr) minmax(0, 1.06fr) minmax(0, 1.12fr);
    justify-content: space-between;
    gap: .15rem;
  }

  .sb-brand-header .sb-brand-link .sb-brand-mark { width: 2.48rem; }
  .sb-brand-header .sb-brand-name { font-size: 1.68rem; }

  .sb-brand-header .preview-nav .preview-nav-link,
  .sb-brand-footer .preview-footer-inner nav a {
    font-size: .8rem;
    padding-inline: .24rem;
    text-align: center;
    white-space: normal;
  }

  .sb-brand-header .preview-nav .preview-nav-link--price,
  .sb-brand-footer .preview-footer-inner nav a:last-child { padding-inline: .63rem; }

  .sb-brand-footer .preview-footer-inner { gap: .95rem; }
  .sb-brand-footer .preview-brand.sb-brand-link { justify-self: center; }

  .sb-brand-footer .preview-footer-inner nav {
    border-block-start: 1px solid #91a2a33d;
    padding-block-start: .75rem;
  }
}

@media (max-width: 22.5rem) {
  .sb-brand-header .preview-nav,
  .sb-brand-footer .preview-footer-inner { width: calc(100% - .75rem); }

  .sb-brand-header .preview-nav .preview-nav-link,
  .sb-brand-footer .preview-footer-inner nav a {
    padding-inline: .1rem;
    font-size: .775rem;
  }

  .sb-brand-header .preview-nav .preview-nav-link--price,
  .sb-brand-footer .preview-footer-inner nav a:last-child { padding-inline: .25rem; }
}

@media (forced-colors: active) {
  .sb-brand-header .reading-progress span { background: Highlight; }
  .sb-brand-header .preview-nav .preview-nav-link--price,
  .sb-brand-footer .preview-footer-inner nav a:last-child { border-color: ButtonText; }
}

/* Reading width and leading for the existing nursery opening. Lighting still follows the lamp. */
.preview-pitch .hero .hero-copy > :is(h1,.pitch-title) { text-wrap: pretty; }
.preview-pitch .hero .hero-copy > p { max-inline-size: 41ch; line-height: 1.62; }

/* Cream letter paper and the small amber rule on Kacey's facing note. */
.preview-pitch .introduction {
  background: radial-gradient(ellipse at 88% 16%,#eee9d8 0,transparent 54%),#fbf5e9;
}
.preview-pitch .introduction .letter {
  border-color: #bca78e;
  background: linear-gradient(128deg,#fffaf0 20%,#fbf1de);
  box-shadow: .18rem .24rem 0 #dacaad,0 .59rem 1.2rem #54463115;
}
.preview-pitch .introduction .letter .letter-greeting { color: #754452; }
.preview-pitch .introduction .letter p:not(.letter-lead) { color: #3e4246; }
.preview-pitch .introduction .approach h2 { color: #233f61; }
.preview-pitch .introduction .approach h2 strong { color: #80582e; }
.preview-pitch .introduction .approach .approach-lead {
  border-block-color: #bfa683;
  color: #314d62;
}

/* The original family photograph sits in an ink-blue mat. */
.preview-pitch .story {
  border-block-color: #c9bdab;
  background: radial-gradient(ellipse at 14% 12%,#f1ded1,transparent 46rem),
    linear-gradient(135deg,#f2eee5,#e9edf0);
}
.preview-pitch .story .story-photo {
  border-color: #797b80;
  box-shadow: 0 2px #c0b6a1,0 3px #858082,0 .7rem 1.35rem #34465929;
}
.preview-pitch .story .story-photo::before {
  border-color: #9daab3;
  background: linear-gradient(132deg,#405570,#293e57);
  box-shadow: inset 0 0 0 2px #304760;
}
.preview-pitch .story .story-photo::after {
  --corner-light: #c3a88b;
  --corner-dark: #354b63;
  background:
    linear-gradient(135deg,var(--corner-dark) 0 38%,var(--corner-light) 40% 44%,#596a78 46% 54%,transparent 56%) left top,
    linear-gradient(225deg,var(--corner-dark) 0 38%,var(--corner-light) 40% 44%,#596a78 46% 54%,transparent 56%) right top,
    linear-gradient(45deg,var(--corner-dark) 0 38%,var(--corner-light) 40% 44%,#596a78 46% 54%,transparent 56%) left bottom,
    linear-gradient(315deg,var(--corner-dark) 0 38%,var(--corner-light) 40% 44%,#596a78 46% 54%,transparent 56%) right bottom;
  background-size: var(--corner-size) var(--corner-size);
  background-repeat: no-repeat;
}
.preview-pitch .story .story-start {
  border-color: #cbb9a4;
  border-inline-start-color: #af8f64;
  background: #fff9ed;
}
.preview-pitch .story .story-start h2 { color: #273f60; }
.preview-pitch .story .story-start p { color: #3e454b; }
.preview-pitch .story .story-chapters {
  border-color: #c4b39b;
  border-inline-start-color: #425977;
  background: linear-gradient(90deg,#fdf7ea,#faf1e4 48.7%,#d7ccb8 49.93%,#fff9ed 50.3%,#fbf5e9 63%);
}
.preview-pitch .story .story-chapter h3 { color: #344e6c; }
.preview-pitch .story .story-chapter p { color: #41454a; }
.preview-pitch .story .story-chapter:first-child p:last-child { border-inline-start-color: #baa078; }
.preview-pitch .story .story-chapter:first-child p:last-child strong { color: #3e5269; }

/* Let each original bonus jacket carry its own accent, with one consistent reading surface. */
.preview-pitch .bonuses {
  border-block-color: #c4b398;
  background: radial-gradient(ellipse at 8% 13%,#f5e4c8 0,transparent 47%),linear-gradient(117deg,#f1eada,#f7f1e4 58%,#e5e8e9);
}
.preview-pitch .bonuses h2 { color: #263e5b; }
.preview-pitch .bonuses h2::after { border-color: #b29b79a6; }
.preview-pitch .bonuses .books {
  border-color: #958c80;
  box-shadow: 0 2px #dfceb3,0 3px #a69985,0 .68rem 1.4rem #3540501d;
}
.preview-pitch .bonuses .book:nth-child(1) { --book-ink: #365474; }
.preview-pitch .bonuses .book:nth-child(2) { --book-ink: #79525d; }
.preview-pitch .bonuses .book:nth-child(3) { --book-ink: #3b6164; }
.preview-pitch .bonuses .book-copy {
  background: linear-gradient(142deg,#fffaf0 18%,#fdf3e3);
  border-block-start-color: color-mix(in srgb,var(--book-ink) 65%,#ddc9a8);
}
.preview-pitch .bonuses .book-copy h3 {
  margin-block-end: .54em;
  line-height: 1.14;
  letter-spacing: -.026em;
}
.preview-pitch .bonuses .book-copy p { color: #3e4348; line-height: 1.69; }
.preview-pitch .bonuses .bonus-cover-open:focus-visible {
  outline: 3px solid #ffe2ac;
  outline-offset: 3px;
  box-shadow: 0 0 0 2px #283e55;
}

/* Preserve each account in full and set the portrait apart from its attribution. */
.preview-pitch .stories-from-parents {
  background: radial-gradient(ellipse at 18% 18%,#f0e1d0 0,transparent 60%),#e8e9e5;
}
.preview-pitch .stories-from-parents .testimonial-grid {
  border-color: #afa294;
  box-shadow: 0 2px #ddcdb6,0 .63rem 1.52rem #41485522;
}
.preview-pitch .stories-from-parents .testimonial-grid .testimonial {
  --album-tint: #eedbc9;
  --album-tone: #755344;
  background: #fffaef;
}
.preview-pitch .stories-from-parents .testimonial:nth-child(2) { --album-tint: #e2e9e5; --album-tone: #405d60; }
.preview-pitch .stories-from-parents .testimonial:nth-child(3) { --album-tint: #e1e9f1; --album-tone: #3e5675; }
.preview-pitch .stories-from-parents .testimonial-grid .testimonial figcaption {
  column-gap: clamp(.7rem,1.1vw,1.08rem);
  background: linear-gradient(110deg,var(--album-tint),#fcf2e3);
}
.preview-pitch .stories-from-parents .testimonial .attribution,
.preview-pitch .stories-from-parents .testimonial:first-child .attribution {
  color: #485766;
  line-height: 1.32;
}
.preview-pitch .stories-from-parents .testimonial .attribution em,
.preview-pitch .stories-from-parents .testimonial:first-child .attribution em { color: #2e445f; }
.preview-pitch .stories-from-parents .testimonial-grid .testimonial .portrait {
  padding: .18rem;
  border-color: #ae967c;
  background: #fff8e9;
  box-shadow: 0 0 0 1px #fff7e98c,0 .2rem .4rem #34374526;
}
.preview-pitch .stories-from-parents .testimonial-grid .testimonial blockquote {
  color: #40434a;
  line-height: 1.71;
  text-wrap: pretty;
}
.preview-pitch .stories-from-parents .testimonial-grid .testimonial blockquote p:first-of-type { color: #34495e; }
.preview-pitch .stories-from-parents .testimonial-grid .testimonial blockquote p + p { margin-block-start: .84em; }
@media(max-width:740px) {
  .preview-pitch .story .story-chapters { background: #fbf4e6; }
  .preview-pitch .story .story-chapter:last-child { border-block-start-color: #cdbda4; }
  .preview-pitch .story .story-opener { row-gap: 1rem; }
  .preview-pitch .story .story-start p { line-height: 1.69; }
}
@media(min-width:741px) and (max-width:920px) {
  .preview-pitch .stories-from-parents .testimonial-grid { grid-template-columns: minmax(0,1fr); }
  .preview-pitch .stories-from-parents .testimonial-grid .testimonial {
    display: grid;
    grid-template-columns: minmax(11rem,.65fr) minmax(0,1.65fr);
    grid-template-areas: "byline words";
  }
  .preview-pitch .stories-from-parents .testimonial-grid .testimonial + .testimonial {
    border-inline-start: 0;
    border-block-start: 1px solid #c8b8a2;
  }
  .preview-pitch .stories-from-parents .testimonial-grid .testimonial figcaption {
    grid-area: byline;
    grid-template-columns: minmax(0,1fr);
    align-content: center;
    justify-items: start;
    border: 0;
    border-inline-end: 1px solid #d2c5b4;
  }
  .preview-pitch .stories-from-parents .testimonial-grid .testimonial blockquote { grid-area: words; }
}
@media(max-width:540px) {
  .preview-pitch .introduction .letter { padding: 1.2rem 1.1rem 1.3rem; }
  .preview-pitch .stories-from-parents .testimonial-grid .testimonial figcaption { padding: .89rem 1.04rem; }
  .preview-pitch .stories-from-parents .testimonial-grid .testimonial blockquote { padding: 1rem 1.04rem 1.12rem; }
  .preview-pitch .bonuses .book-copy p { line-height: 1.65; }
}

/* Three shaped paper leaves, followed by the original moonlit workshop spread. */
.preview-pitch .tips {
  border-block-start-color: #c9baa2;
  background: linear-gradient(145deg,#fbf4e7,#ece8df 82%);
}
.preview-pitch .tips h2 { color: #293e59; }
.preview-pitch .tips h2 strong { color: #2d4d70; }
.preview-pitch .tips .tip-grid {
  --cut-edge: #b8a78f;
  margin-block-start: clamp(1.4rem,2.72vw,2.45rem);
}
.preview-pitch .tips .tip-card:first-child { --leaf-ink: #3c5d57; --leaf-color: #e2e8d9; }
.preview-pitch .tips .tip-card:nth-child(2) { --leaf-ink: #77503b; --leaf-color: #f3dfcd; }
.preview-pitch .tips .tip-card:nth-child(3) { --leaf-ink: #384f75; --leaf-color: #e2e7ee; }
.preview-pitch .tips .tip-card .tip-illustration { border-color: #b3a38b; }
.preview-pitch .tips .tip-copy h3 { line-height: 1.16; }
.preview-pitch .tips .tip-copy p { color: #3c454b; line-height: 1.69; }
.preview-pitch .tips .tip-copy p strong { color: #304458; }
.preview-pitch .method {
  background: radial-gradient(ellipse at 22% 23%,#f4e7cf,transparent 59%),#e5dccb;
}
.preview-pitch .method .method-card {
  border-color: #b5a38b;
  background: #fff6e5;
  box-shadow: 0 2px #d6c4a7,0 4px #efe2cb,0 5px #b8a894,0 .8rem 1.45rem #353e5122;
}
.preview-pitch .method .dawn-art { border-color: #908674; }
.preview-pitch .method .method-copy h2 { color: #2c4361; }
.preview-pitch .method .method-copy h2 strong { color: #80582e; }
.preview-pitch .method .method-copy p { max-inline-size: 41ch; line-height: 1.68; color: #3f474d; }
.preview-pitch .method .method-copy p strong { color: #30465c; }

.preview-pitch .discovery {
  border-block-color: #a8977e;
  background: radial-gradient(ellipse at 8% 15%,#354c65,transparent 58%),
    linear-gradient(114deg,#26394e,#1e304a 72%,#233754);
}
.preview-pitch .discovery h2 { color: #fff0d6; }
.preview-pitch .discovery .daybreak-discovery-art { border-color: #bda889; }
.preview-pitch .discovery .discovery-grid li {
  border-block-start-color: #b8c4ce61;
  color: #eef0ed;
}
.preview-pitch .discovery .discovery-icon {
  color: #f8d9a2;
  border-color: #baa47f;
  background: #324963;
}
.preview-pitch .discovery .discovery-grid li > span:last-child { line-height: 1.63; }
.preview-pitch .discovery .discovery-grid li strong { color: #ffe9c3; }
.preview-pitch .discovery .discovery-signoff { color: #ecd0a8; }
@media(max-width:700px) {
  .preview-pitch .method .method-card { row-gap: .94rem; }
  .preview-pitch .method .method-copy p { max-inline-size: 49ch; }
}
@media(max-width:540px) {
  .preview-pitch .tips .tip-copy p { line-height: 1.66; }
  .preview-pitch .discovery .discovery-grid li { padding-block: .91rem; }
}

/* Article opening. An ivory mount protects the edges of each original illustration. */
.preview-article {
  --reader-ink: #243849;
  --reader-soft: #475b65;
  --reader-rule: #c5cbc7;
  --reader-note: #f0f1e9;
  --reader-gold: #997140;
  --index-ink: #284852;
  --index-edge: #adbdb9;
  --index-surface: #f3f5ed;
  --index-leaf: #fcfaf1;
}
.preview-article .guide-hero {
  background: radial-gradient(ellipse at 93% 5%,#e1ebe8 0,transparent 53%),linear-gradient(115deg,#fff9ea,#f6f1e6);
  border-bottom: 1px solid #adbeb8;
}
.preview-article .guide-hero::before { opacity: .055; }
.preview-article .guide-hero .guide-topic {
  padding: .1rem 0; border: 0; border-radius: 0; background: none;
  color: #325b62; text-transform: none; font-size: .9rem; letter-spacing: .014em;
}
.preview-article .guide-hero .guide-topic::before {
  width: 1.75rem; height: .3rem; border: 0; border-radius: 0;
  background: linear-gradient(#8d6944,#8d6944) left center / 100% 1px no-repeat;
}
.preview-article .guide-hero h1 {
  max-inline-size: 23ch; margin-block: .62rem .95rem;
  color: #1d3445; font-size: clamp(2.1rem,1.12rem + 3.55vw,4.65rem);
  line-height: 1.055; letter-spacing: -.044em; text-wrap: pretty; overflow-wrap: anywhere;
}
.preview-article .guide-hero .guide-deck {
  max-inline-size: 48ch; color: #3f515c; font-size: clamp(1rem,.95rem + .31vw,1.19rem); line-height: 1.64;
}
.preview-article .guide-hero .guide-byline {
  border-top: 1px solid #b8c4c0; color: #445b62; padding-block-start: .73rem;
}
.preview-article .guide-hero .guide-read-on { color: #294f5a; text-decoration-thickness: .075em; text-underline-offset: .2em; }
.preview-article .guide-hero .guide-hero-art {
  --cover-mount: clamp(.43rem,1.05vw,.93rem);
  aspect-ratio: 1.54; border-radius: .18rem; background: #f9f0dc;
  border: 1px solid #b3af9c;
  box-shadow: 0 0 0 3px #ffffff66,0 2px 0 3px #c5bca3,.25rem .72rem 1.65rem #223d4a30;
}
.preview-article .guide-hero .guide-hero-art img {
  inset: var(--cover-mount); width: calc(100% - 2 * var(--cover-mount)); height: calc(100% - 2 * var(--cover-mount));
  object-fit: cover; object-position: center; box-shadow: 0 0 0 1px #6c7974;
}
.preview-article .guide-hero .guide-hero-art::after {
  inset: .15rem; pointer-events: none; border: 0; border-image: none;
  background:
    linear-gradient(135deg,#304b54 0 45%,#9e8c62 46% 52%,transparent 53%) top left,
    linear-gradient(315deg,#304b54 0 45%,#9e8c62 46% 52%,transparent 53%) bottom right;
  background-size: clamp(1.05rem,2.1vw,2rem) clamp(1.05rem,2.1vw,2rem); background-repeat: no-repeat;
}
.preview-article:has(.guide-reading[data-reading-light="night"]) .guide-hero .guide-topic { border: 0; background: transparent; }
.preview-article:has(.guide-reading[data-reading-light="night"]) .guide-hero .guide-topic::before { background: #beaa7d; height: 1px; }
.preview-article:has(.guide-reading[data-reading-light="night"]) .guide-hero .guide-hero-art {
  background: #42545a; border-color: #9f996f; box-shadow: 0 0 0 2px #526562,0 .6rem 1.4rem #0b191f70;
}

/* The chapter rail and mobile sticky bar inherit the reader's actual light setting. */
.preview-article .guide-reading {
  background: linear-gradient(100deg,#e2e7e2,#eef0e8 46%,#e3e8e4);
}
.preview-article .guide-reading .guide-paper {
  background: #fffdf5; border: 1px solid #c5c8b9; border-radius: .46rem;
  box-shadow: 0 2px #dbd7c8,0 4px #bcbdad,0 .75rem 1.65rem #29414a16;
}
.preview-article .guide-reading[data-reading-light="night"] .guide-paper {
  background: var(--night-paper); border-color: var(--night-rail); box-shadow: 0 2px #53605f,0 .7rem 1.5rem #08161c4f;
}
.preview-article .guide-reading .guide-reading-nav { color: var(--index-ink); }
.preview-article .guide-reading-nav .guide-contents a {
  line-height: 1.47; text-decoration-thickness: .07em; text-underline-offset: .2em;
}
.preview-article .guide-reading-nav :is(.guide-type-switch,.reading-light-switch)[aria-pressed="true"] {
  background: var(--index-leaf); box-shadow: inset 0 -2px var(--reader-gold);
}
.preview-article .guide-reading-nav :is(a,summary,button):focus-visible,
.preview-article .guide-body :is(a,summary,[tabindex="0"]):focus-visible,
.preview-article .guide-hero .guide-read-on:focus-visible {
  outline: 3px solid #347281; outline-offset: 2px;
}
.preview-article .guide-reading[data-reading-light="night"] :is(a,summary,button,[tabindex="0"]):focus-visible,
.preview-article:has(.guide-reading[data-reading-light="night"]) .guide-read-on:focus-visible {
  outline-color: #e1b970;
}
.preview-article .guide-body {
  max-inline-size: 63ch; line-height: 1.73; font-size: clamp(1.07rem,1rem + .36vw,1.22rem);
  overflow-wrap: break-word;
}
.preview-article .guide-body .lead-paragraph {
  margin-block-start: 0; padding: 0; border: 0; color: var(--reader-ink); line-height: 1.62;
}
.preview-article .guide-body h2 {
  max-inline-size: 36ch; padding-block-start: .58em; margin-block: 1.55em .48em;
  border-block-start: 0; background: linear-gradient(90deg,var(--reader-gold) 0 2.45rem,var(--reader-rule) 2.45rem 100%) left top / 100% 1px no-repeat;
  color: var(--reader-ink); font-size: clamp(1.74rem,1.36rem + 1.4vw,2.66rem); text-wrap: pretty;
}
.preview-article .guide-body h3 { line-height: 1.3; margin-block: 1.3em .44em; }
.preview-article .guide-body :is(h2,h3,h4,figcaption) { overflow-wrap: anywhere; }
.preview-article .guide-body :is(p,ul,ol,blockquote,table,figure) + :is(p,ul,ol,blockquote,table,figure) { margin-block-start: .98em; }
.preview-article .guide-body a:not(.sb-article-cta a) { color: #295b68; text-decoration-thickness: .075em; text-underline-offset: .17em; }
.preview-article .guide-body li + li { margin-block-start: .5em; }
.preview-article .guide-body :is(.sbds-answer,.sb-quick-answer,.sbds-callout,blockquote) {
  border-radius: .3rem; border-inline-start: .2rem solid var(--reader-gold);
}
.preview-article .guide-body :is(.sbds-answer,.sb-quick-answer) > h2:first-of-type { background: none; }
.preview-article .guide-body .article-table { max-inline-size: 100%; scrollbar-color: #63818a transparent; overscroll-behavior-inline: contain; }
.preview-article .guide-body .article-table :is(td,th) { padding: .72em .86em; }
.preview-article .guide-body .article-table th { background: #2e5059; }
.preview-article .guide-body .article-table tr:nth-child(even) td { background: #edf2ee; }
.preview-article .guide-body .editorial-figure:has(img) { overflow: hidden; border: 1px solid var(--index-edge); padding: .55rem; }
.preview-article .guide-body .editorial-figure:has(img) figcaption { padding: .68rem .35rem .22rem; line-height: 1.5; }
.preview-article .guide-body .guide-supplement { margin-block: 1.03em; }
.preview-article .guide-body details > summary { min-block-size: 3rem; line-height: 1.42; }

/* Each invitation keeps its approved art, text and native homepage anchor. */
.preview-article .guide-body .sb-article-cta { margin-block: clamp(1.85rem,4vw,3.35rem); }
.preview-article .guide-body .sb-article-cta--sunrise > a {
  grid-template: "art copy" auto / minmax(4.7rem,32%) minmax(0,1fr); gap: 0; padding: .36rem;
  background: #f8f0df; border-color: #b0a58b; border-radius: .35rem;
  box-shadow: 0 2px #d8cdb4,0 .44rem .95rem #273f4320;
}
.preview-article .guide-body .sb-article-cta--sunrise .sb-article-cta-art { border-radius: .16rem; background-position: 50% 44%; }
.preview-article .guide-body .sb-article-cta--sunrise .sb-article-cta-copy { padding: .82rem clamp(.7rem,2.1vw,1.55rem); }
.preview-article .guide-body .sb-article-cta--sunrise .sb-article-cta-action,
.preview-article .guide-body .sb-article-cta--stars .sb-article-cta-action {
  justify-self: start; line-height: 1.38; text-underline-offset: .22em; text-decoration-thickness: .09em;
}
.preview-article .guide-body .sb-article-cta--book .sb-article-cta-copy {
  margin: 0; padding: .83rem .67rem; color: #482d3d; background: #f9ebd6;
  box-shadow: 0 0 0 1px #9e7e62,0 0 0 4px #f4d7ad,0 .3rem .7rem #2316214d;
}
.preview-article .guide-body .sb-article-cta--stars > a {
  color: #fbefd7; border-color: #536e72; border-radius: .36rem;
  background: linear-gradient(108deg,#223a46,#1b2d3a); box-shadow: 0 2px #a8aa99,0 .46rem 1.15rem #263d452e;
}
.preview-article .guide-body .sb-article-cta--stars .sb-article-cta-art { border-color: #b0aa86; border-radius: .12rem; }
.preview-article .guide-body .sb-article-cta--stars .sb-article-cta-copy strong { color: #fff2d7; }
.preview-article .guide-body .sb-article-cta--stars .sb-article-cta-action { color: #efd093; }
.preview-article .guide-body .sb-article-cta > a:focus-visible { outline: 3px solid #347281; outline-offset: 4px; }
.preview-article .guide-reading[data-reading-light="night"] .sb-article-cta > a:focus-visible { outline-color: #e1b970; }

/* Directory. Search leads on small screens and illustrations retain a fuller crop. */
.preview-directory { background: #f6f4eb; }
.preview-directory .directory-hero {
  background: radial-gradient(ellipse at 87% 35%,#345660,transparent 65%),#203644;
  border-bottom: 3px double #c2ab7e;
}
.preview-directory .directory-hero .library-opening { column-gap: clamp(1.65rem,4.8vw,4.75rem); }
.preview-directory .directory-hero .library-cabinet {
  border-radius: .37rem; padding: clamp(.32rem,.72vw,.58rem); background: #e3d6bb;
  border-color: #ac9e81; box-shadow: 0 0 0 3px #98aea53b,0 .7rem 1.7rem #1228335e;
}
.preview-directory .directory-hero .library-cabinet img { object-position: 50% 52%; border-radius: .15rem; }
.preview-directory .directory-hero h1 { text-wrap: pretty; color: #fff2d5; }
.preview-directory .library-opening .directory-filter {
  background: #f8f4e8; border-color: #d5cbb3; border-radius: .45rem; box-shadow: 0 .35rem .94rem #0d25314d;
}
.preview-directory .directory-filter label { color: #344e56; }
.preview-directory .library-opening .directory-filter :is(input[type="search"],select) {
  min-height: 3.05rem; font-size: 1rem; border: 1px solid #879c9e; border-radius: .31rem; background-color: #fffdf6;
}
.preview-directory .directory-filter input[type="search"]::placeholder { color: #596b72; opacity: 1; }
.preview-directory .topic-shelf-grid button { background: #fffaf0; color: #294952; border-color: #b7c1b7; border-radius: .35rem; }
.preview-directory .topic-shelf-grid button[aria-pressed="true"] {
  color: #fff4d4; background: #294d57; border-color: #294d57; box-shadow: inset 0 0 0 2px #b5c7be;
}
.preview-directory .directory-status {
  border-block-end: 1px solid #c9c8b8; margin-block-end: .8rem; justify-content: space-between;
}
.preview-directory .directory-status .directory-count { color: #36515b; font-variant-numeric: tabular-nums; }
.preview-directory .directory-status .reset-search {
  min-height: 2.75rem; padding-inline: .9rem; border-color: #92a4a3; color: #294e59;
}
.preview-directory .directory-grid { gap: clamp(.78rem,1.68vw,1.44rem); }
.preview-directory .directory-card a { border: 1px solid #bec2b4; border-radius: .36rem; background: #fffcf3; box-shadow: 0 2px #ddddce; }
.preview-directory .directory-card img { aspect-ratio: 1.95; }
.preview-directory .directory-card-copy { background: #fffcf3; }
.preview-directory .directory-card-copy h2 mark { background: #ffe1a2; box-shadow: inset 0 -.08em #a77c37; }
.preview-directory .directory-next a {
  min-height: 3rem; padding-inline: 1.5rem; background: #2e515c; border-color: #294a53; border-radius: .35rem;
}
.preview-directory .directory-next a[rel="prev"] { color: #294e59; background: #fffbef; }
.preview-directory :is(input,select,button,a):focus-visible,
.related-guides .related-inner a:focus-visible { outline: 3px solid #277185; outline-offset: 3px; }
.related-guides { background: #e8eee8; border-top: 1px solid #acbab4; }
.related-guides .related-inner h2 { color: #29434c; }
.related-guides .related-inner a:has(img) {
  padding: .29rem; gap: .12rem; border-color: #adbab4; border-radius: .33rem; background: #fffcf2;
  box-shadow: 0 2px #c6cec5;
}
.related-guides .related-inner a img { border: 0; border-radius: .16rem; }
.related-guides .related-inner a span { padding: .62rem .66rem; color: #293f4b; line-height: 1.39; overflow-wrap: anywhere; }
@media (min-width: 931px) {
  .preview-article .guide-reading .guide-reading-nav {
    padding: .43rem; gap: .25rem; border: 1px solid var(--index-edge); border-top: .19rem solid var(--reader-gold);
    border-radius: .35rem; background: var(--index-surface);
  }
  .preview-article .guide-reading-nav .guide-contents { border: 0; background: transparent; }
  .preview-article .guide-reading-nav .guide-contents[open] > summary { border-block-end: 1px solid var(--index-edge); border-radius: 0; }
  .preview-article .guide-reading-nav .guide-contents ol { padding-block-end: .22rem; }
  .preview-article .guide-reading-nav .guide-contents a { min-height: 2.5rem; }
}
@media (max-width: 930px) {
  .preview-article .guide-reading .guide-reading-nav {
    border-radius: .42rem; border-color: var(--index-edge); box-shadow: 0 2px 5px #1b32381c; background: var(--index-surface);
  }
  .preview-article .guide-reading-nav .guide-contents > summary { min-height: 3rem; }
  .preview-article .guide-reading-nav .guide-current-chapter:not(:empty) { color: var(--reader-soft); line-height: 1.4; }
  .preview-article .guide-reading-nav .guide-contents[open] > ol { max-height: min(45vh,24rem); }
  .preview-article .guide-body :is(h2,h3,h4) { scroll-margin-block-start: 4.8rem; }
}
@media (max-width: 750px) {
  .preview-article .guide-hero-grid { width: min(35rem,100% - 2.15rem); row-gap: .64rem; }
  .preview-article .guide-hero h1 { margin: 0 0 .07rem; max-inline-size: 25ch; font-size: clamp(2.01rem,1.25rem + 3.65vw,3.03rem); }
  .preview-article .guide-hero .guide-hero-art { aspect-ratio: 1.81; margin-block: .12rem .27rem; }
  .preview-article .guide-hero .guide-deck { line-height: 1.57; }
}
@media (max-width: 680px) {
  .preview-article .guide-reading .guide-paper { width: calc(100% - .47rem); padding-inline: clamp(.87rem,4.3vw,1.66rem); }
  .preview-article .guide-body { font-size: 1.085rem; line-height: 1.71; }
  .preview-article .guide-body .article-table :is(td,th) { padding: .56em .63em; }
  .preview-directory .directory-hero .library-opening { grid-template: "intro" auto "filters" auto "cabinet" auto / minmax(0,1fr); row-gap: 1rem; }
  .preview-directory .directory-hero .library-cabinet { padding: .2rem; }
  .preview-directory .directory-hero .library-cabinet img { aspect-ratio: 2.95; }
  .preview-directory .directory-card a { grid-template: auto / clamp(4.1rem,20.5vw,6.8rem) minmax(0,1fr); padding: .25rem; }
  .preview-directory .directory-card img { border: 0; border-radius: .17rem; aspect-ratio: auto; min-height: 5.1rem; }
  .preview-directory .directory-card-copy { padding: .5rem .63rem; }
  .preview-directory .directory-card-copy h2 { font-size: 1.14rem; line-height: 1.24; }
  .preview-directory .directory-card-copy .guide-topic { font-size: .8rem; line-height: 1.36; }
}
@media (max-width: 380px) {
  .preview-article .guide-reading-nav .reading-light-switch { padding-inline: .26rem; gap: .24rem; }
  .preview-article .guide-body .sb-article-cta--sunrise > a { grid-template-columns: minmax(4rem,29%) minmax(0,1fr); }
  .preview-directory .topic-shelf-grid button { grid-template-columns: 2.15rem minmax(0,1fr); }
}
@media (hover: hover) {
  .preview-directory .directory-card a:hover .directory-card-copy h2,
  .related-guides .related-inner a:hover span { text-decoration: underline; text-decoration-thickness: .07em; text-underline-offset: .16em; }
}
@media (forced-colors: active) {
  .preview-article .guide-reading-nav :is(a,summary,button):focus-visible,
  .preview-article .guide-body :is(a,summary,[tabindex="0"]):focus-visible,
  .preview-directory :is(input,select,button,a):focus-visible,
  .related-guides .related-inner a:focus-visible { outline-color: Highlight; }
  .preview-directory .directory-card-copy h2 mark { color: HighlightText; background: Highlight; }
}

/* The guarantee and genuine checkout share this frame on the three purchase surfaces. */
.preview-purchase {
  --order-ink: #24364b;
  --order-quiet: #4f5b63;
  --order-focus: #235954;
}
.preview-purchase .purchase {
  background: radial-gradient(ellipse at 14% 8%, #456267 0, transparent 55%), linear-gradient(118deg, #2c454a, #1d2c40 69%);
}
.preview-purchase .purchase-layout {
  border-color: #bfaa83;
  box-shadow: 0 0 0 3px #c6ba9e24, 0 .8rem 1.7rem #14203065;
}
.preview-purchase .guarantee {
  background: radial-gradient(ellipse at 94% -8%, #3d6065 0, transparent 63%), #253b48;
  border-color: #ad9c83;
  column-gap: .73rem;
}
.preview-purchase .guarantee::after {
  border-radius: 49% 49% .32rem .32rem / 16% 16% .32rem .32rem;
  border-color: #ddc198;
  box-shadow: 0 0 0 2px #d8b48833, 0 .32rem .76rem #1923307a;
}
.preview-purchase .guarantee-star { margin-block-start: .21rem; border-color: #e8bd7a; }
.preview-purchase .guarantee :is(h1,h2):not([hidden]) {
  color: #fff2dc;
  letter-spacing: -.032em;
  text-wrap: balance;
}
.preview-purchase .guarantee-copy { padding-top: .86rem; border-top-color: #bead9299; }
.preview-purchase .guarantee-copy p { line-height: 1.62; }
.preview-purchase .guarantee-copy .guarantee-lead { color: #fff4e6; line-height: 1.47; }
.preview-purchase .guarantee-copy .guarantee-lead strong { color: #ffdfa0; }

.preview-purchase .payment-panel {
  background: linear-gradient(125deg, #fffcf2, #fff9ed 70%, #f4e8d6);
  border-color: #cbbaa0;
  box-shadow: inset 0 3px #ead8ba, 0 2px 0 #9f8f79;
}
.preview-purchase .payment-panel::after { border-color: #baa78966; }
.preview-purchase .price-note { padding-bottom: .76rem; border-color: #d6c6b1; }
.preview-purchase .price-note .offer { color: var(--order-ink); line-height: 1.55; }
.preview-purchase .price-note .offer strong { color: #533b29; background: #f4d69a; }
.preview-purchase .price-note .delivery { margin-top: .36rem; color: #385f50; }

.preview-purchase .price-entry {
  padding-block: clamp(.73rem,2.9cqw,.95rem) clamp(.97rem,3.8cqw,1.18rem);
  background: linear-gradient(120deg,#e4eee7,#f1f2e5 55%,#e3e9de);
  border-color: #a1ae9d;
  border-radius: .42rem;
  box-shadow: inset 0 2px #fafbf0;
}
.preview-purchase .price-entry:focus-within { border-color: var(--order-focus); box-shadow: inset .23rem 0 #618376; }
.preview-purchase .amount-label { color: #254c48; font-weight: 660; letter-spacing: -.02em; }
.preview-purchase .amount-entry { border-color: #788b7e; border-radius: .34rem; background: #fffff8; }
.preview-purchase .amount-entry span { min-width: 2.39rem; color: #355b54; background: #e4eee5; }
.preview-purchase .amount-entry input {
  min-block-size: 3.24rem;
  font-size: clamp(1.43rem,6.15cqw,1.81rem);
  font-variant-numeric: lining-nums tabular-nums;
  color: #203c38;
  caret-color: #1b4e49;
}
.preview-purchase .amount-entry:focus-within { outline: 3px solid var(--order-focus); outline-offset: 2px; }
.preview-purchase .price-error:not([hidden]) { color: #882f36; line-height: 1.42; }
.preview-purchase .payment-heading { margin-block: .08rem .7rem; color: var(--order-ink); font-weight: 640; }

.preview-purchase .payment-panel .purchase-wallet-divider { color: var(--order-quiet); }
.preview-purchase .payment-panel :is(.purchase-more-wallets,.sb-book-hosted) > summary:not([hidden]) {
  border-radius: .34rem;
  color: #304e5b;
  padding: .67rem .42rem;
  line-height: 1.4;
  text-underline-offset: .19em;
}
.preview-purchase .payment-panel :is(.purchase-more-wallets,.sb-book-hosted) > summary::marker { color: #627e78; }
.preview-purchase .payment-panel .purchase-more-wallets { border-color: #cbbba7; background: #fffaf1; }
.preview-purchase .payment-panel :is(.sb-book-wallet-status,.sb-book-inline-status):not(:empty) {
  padding: .58rem .7rem;
  border-inline-start: 2px solid #809785;
  border-radius: .18rem;
  color: #394e42;
  background: #eef2e7;
  line-height: 1.48;
  overflow-wrap: anywhere;
}
.preview-purchase .payment-panel .sb-book-wallet-error:not([hidden]) {
  padding: .6rem .72rem;
  border-inline-start: 3px solid #a15c55;
  color: #762e37;
  background: #fae8dd;
  line-height: 1.5;
  overflow-wrap: anywhere;
}
.preview-purchase .payment-panel :is(.sb-book-wallet-retry,.sb-book-inline-recovery):not([hidden]) {
  min-block-size: 2.76rem;
  max-inline-size: 100%;
  padding: .62rem .79rem;
  border: 1px solid #ad9b95;
  border-radius: .36rem;
  background: #fff9ee;
  color: #304e55;
  line-height: 1.42;
  text-align: start;
  text-decoration-thickness: 1px;
  text-underline-offset: .19em;
  overflow-wrap: anywhere;
}
.preview-purchase .payment-panel :is(summary,.sb-book-inline-recovery,.sb-book-wallet-retry,.preview-payment-button):focus-visible {
  outline: 3px solid #245c63;
  outline-offset: 3px;
}
.preview-purchase .checkout-card-note { color: var(--order-quiet); line-height: 1.48; }
.preview-purchase .security-strip { border-top-color: #d5c5b1; }

@container (max-width: 20rem) {
  .preview-purchase .price-entry { padding-inline: .62rem; }
  .preview-purchase .price-note .offer { line-height: 1.51; }
  .preview-purchase .payment-heading { margin-bottom: .63rem; font-size: 1.16rem; }
  .preview-purchase .payment-panel :is(.sb-book-inline-recovery,.sb-book-wallet-retry):not([hidden]) { padding-inline: .62rem; }
}
@media (max-width: 390px) {
  .preview-purchase .guarantee { padding-inline: .89rem; column-gap: .56rem; }
  .preview-purchase .payment-panel { padding-inline: .83rem; }
}
@media (hover:hover) {
  .preview-purchase .payment-panel :is(.sb-book-wallet-retry,.sb-book-inline-recovery):not([hidden]):hover { border-color: #6d867b; background: #f7eadc; }
  .preview-purchase .payment-panel :is(.purchase-more-wallets,.sb-book-hosted) > summary:not([hidden]):hover { text-decoration: underline; }
}
@media (forced-colors: active) {
  .preview-purchase .payment-panel :is(summary,.sb-book-inline-recovery,.sb-book-wallet-retry,.preview-payment-button):focus-visible,
  .preview-purchase .amount-entry:focus-within { outline-color: Highlight; }
}
