:root {
  --paper: #f7eedc;
  --page: #fffbf1;
  --ink: #253e33;
  --green: #2d5143;
  --berry: #803c35;
  --bookmark: #304867;
}
body { background: var(--paper); color: var(--ink); font-size: 22px; line-height: 1.55; }
.site-header { background: var(--page); }
.site-header .brand {
  gap: clamp(8px, 2.6vw, 13px);
  font-size: clamp(1.125rem, 5vw, 1.5rem);
  line-height: 1.08;
}
.site-header .brand-icon { font-size: clamp(2.15rem, 10vw, 3.125rem); }
.site-header .brand small { margin-top: 4px; font-size: .73em; }
.header-support {
  justify-content: center;
  text-align: center;
  text-wrap: balance;
  white-space: normal;
  font-size: 1rem;
  line-height: 1.3;
}
.hero.wrap {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.02fr);
  grid-template-areas: "copy art" "start art";
  gap: 20px 34px;
  align-items: center;
  min-height: 0;
  margin-block: 20px 26px;
  padding: clamp(34px, 6vw, 70px) clamp(18px, 5vw, 58px) 32px;
  border: 1px solid #d9c7a8;
  border-radius: 6px 22px 22px 6px;
  background: var(--page);
  box-shadow: inset 7px 0 #e7d5b8, 0 10px 24px #69512b14;
}
.hero::before, .storybook-excerpt::before {
  content: "";
  position: absolute;
  top: 0;
  right: clamp(16px, 5%, 50px);
  width: 26px;
  height: 44px;
  background: var(--bookmark);
  clip-path: polygon(0 0,100% 0,100% 100%,50% 78%,0 100%);
}
.hero .hero-copy { grid-area: copy; display: block; }
.hero .eyebrow { font-size: 15px; line-height: 1.4; text-transform: uppercase; }
.hero h1 { font: 400 clamp(36px, 5vw, 66px)/1.08 Georgia, serif; letter-spacing: -.035em; margin: 12px 0 18px; }
.hero .lead { color: var(--ink); font-size: 22px; line-height: 1.5; margin: 0; }
.hero .festive-art {
  grid-area: art;
  align-self: center;
  justify-self: center;
  transform: none;
  padding: 0;
  margin: 0;
}
.hero .festive-art .art-frame {
  border: 5px solid #fffdfa;
  border-radius: 8px;
  box-shadow: 0 0 0 1px #d9c7a8, 0 6px 14px #69512b18;
}
.hero .festive-art figcaption { color: #4e6556; font-size: 16px; margin-top: 10px; text-align: center; }
.hero-start { grid-area: start; }
.hero .hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 0; }
.hero .button, .path-button { min-height: 54px; font-size: 19px; line-height: 1.35; text-align: center; }
.hero .book-photo, .photo-path .path-button { background: var(--berry); color: white; }
.hero .book-drawing, .drawing-path .path-button { background: var(--green); color: white; }
.hero-format { margin: 12px 0 5px; font-size: 17px; color: #485c51; }
.hero-start .text-link { min-height: 44px; font-size: 18px; }
.story-path p, .season-explainer, .steps p, .example-copy > p:not(.eyebrow):not(.small),
.create-intro > p:not(.eyebrow):not(.privacy-note), .faq details p, .good-night > p:not(.eyebrow) {
  font-size: 22px;
  line-height: 1.55;
  color: var(--ink);
}
.story-path, .steps li, .creator-panel, .example-section, .faq details { background-color: var(--page); }
.faq details {
  --faq-inset: clamp(14px, 3vw, 24px);
  margin-bottom: 10px;
  padding: 0;
  border: 1px solid #dce0d0;
  border-radius: 12px;
}
.faq summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: .65em;
  padding: 14px var(--faq-inset);
  border-radius: inherit;
  font-size: 1.25rem;
  line-height: 1.4;
  overflow-wrap: anywhere;
}
.faq summary::after {
  position: static;
  width: 1em;
  text-align: center;
  line-height: 1;
}
.faq summary:focus-visible {
  outline: 2px solid #9d6728;
  outline-offset: -3px;
}
.faq details p {
  margin: 0;
  padding: 0 var(--faq-inset) 16px;
  font-size: 1.375rem;
  overflow-wrap: anywhere;
}
.beta-note > div { min-width: 0; overflow-wrap: anywhere; }
.beta-note .status-dot { flex-shrink: 0; }
.reader-toolbar { background: var(--bookmark); color: white; }
.reader-toolbar h2, .reader-toolbar a, .reader-toolbar button { color: inherit; }
.storybook-excerpt {
  position: relative;
  margin-top: 22px;
  padding: 20px 42px 20px 18px;
  border-left: 4px solid #c7a675;
  background: var(--page);
}
.storybook-excerpt p { font: 24px/1.55 Georgia, serif; margin: 0; }
.storybook-excerpt small { display: block; font-size: 16px; margin-bottom: 8px; }
@media (max-width: 780px) {
  .header-support { max-width: min(160px, 48%); }
  .hero.wrap { grid-template-columns: minmax(0, 1fr); grid-template-areas: "copy" "start" "art"; }
  .hero .hero-actions > .button { width: 100%; }
  .hero .festive-art { margin-top: 4px; }
}
