@font-face {
  font-family: 'Roca One';
  src: url('assets/fonts/RocaOne-Bold.woff2') format('woff2');
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: 'Futura PT';
  src: url('assets/fonts/FuturaPT-Book.woff2') format('woff2');
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: 'Futura PT';
  src: url('assets/fonts/FuturaPT-Medium.woff2') format('woff2');
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: 'Futura PT';
  src: url('assets/fonts/FuturaPT-Demi.woff2') format('woff2');
  font-weight: 600;
  font-display: swap;
}

:root {
  color-scheme: light;
  --cream: #fff8f1;
  --cream-shade: #fff8f1;
  --paper: #fff8f1;
  --peach: #ffe0ca;
  --line: #f3dccd;
  --ink: #4b3830;
  --heading: #453921;
  --muted: #705a4c;
  --red: #e8383a;
  --red-deep: #a92128;
  --red-soft: #fddcd9;
  --gold: #d9ae5f;
  --flake-small: url('assets/images/18-snowflake-gold.webp');
  --flake-large: url('assets/images/19-snowflake-cream.webp');
  --coral-gradient: linear-gradient(180deg, #ff716a, #ee3b3b);
  --red-gradient: linear-gradient(165deg, #f2504b, #cf2a2e);
  --action-gradient: linear-gradient(180deg, #e34a45, #c9232a);
  --shadow: 0 10px 28px #4b383015;
  --heading-font: 'Roca One', Georgia, serif;
  --body-font: 'Futura PT', system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--cream); color: var(--ink); font: 400 1.125rem/1.42 var(--body-font); }
img { display: block; max-width: 100%; }
a { color: var(--red-deep); }
a:focus-visible, summary:focus-visible { outline: 3px solid #8e3b25; outline-offset: 5px; }
h1, h2, h3, p, ul, figure { margin: 0; }
h1, h2, h3 { font: 700 1.625rem/1.16 var(--heading-font); color: var(--heading); }
h1, h2 { text-wrap: balance; }
h1 { font-size: clamp(2rem, 4.55vw, 3.25rem); line-height: 1.12; }
h2 { font-size: clamp(1.8rem, 4vw, 2.625rem); }
p + p { margin-top: .8rem; }
strong { font-weight: 600; }
section[id] { scroll-margin-top: 1.5rem; }
.shell { width: min(calc(100% - 3rem), 68.5rem); margin-inline: auto; position: relative; z-index: 1; }
.section { padding-block: clamp(3rem, 6vw, 4.625rem); position: relative; isolation: isolate; }
.eyebrow { font-weight: 600; font-size: .875rem; letter-spacing: .055em; }
.mark { position: relative; display: inline-block; padding-bottom: .11em; }
.mark::after { content: ''; position: absolute; bottom: 0; left: 1%; right: 1%; height: .18em; border-top: .075em solid var(--red); border-radius: 50% 50% 0 0; transform: rotate(-2deg); pointer-events: none; }
.inline-link { text-underline-offset: .15em; }

.actions { display: flex; flex-wrap: wrap; gap: .7rem; align-items: center; }
.button {
  display: inline-flex; align-items: center; justify-content: center; max-width: 100%;
  min-height: 3.55rem; padding: .65rem 1.35rem; border: 1px solid transparent; border-radius: .875rem;
  position: relative; isolation: isolate; overflow: hidden; background-color: #a92128; box-shadow: 0 6px 15px #a9212829;
  color: #fff; font-size: 1.14rem; font-weight: 600; line-height: 1.15; text-align: center;
  text-decoration: none; transition: transform .16s ease, box-shadow .16s ease, background-color .16s ease;
}
.button:active { transform: none; }
.button-secondary { background-color: #d9ae5f; border-color: #d9ae5f; color: #392717; box-shadow: none; min-height: 3.1rem; }

.decor { position: absolute; height: auto; pointer-events: none; user-select: none; }
.photo {
  position: relative; z-index: 1; width: 100%; background: var(--paper);
  padding: .75rem .75rem 1.65rem; box-shadow: 0 18px 40px #4b38302c;
}
.photo picture, .photo img { display: block; width: 100%; height: auto; }
.topbar {
  background: var(--cream); color: var(--red-deep); border-bottom: 1px solid var(--line);
  text-align: center; padding: .65rem 1rem; font-weight: 600; line-height: 1.25;
  letter-spacing: .045em; text-transform: uppercase; font-size: 1rem;
}
.hero-stage { position: relative; isolation: isolate; overflow: hidden; padding-block: clamp(2rem, 6vw, 4.75rem); }
.hero-layout { display: grid; grid-template-columns: minmax(0, 1.28fr) minmax(0, 1fr); align-items: center; gap: clamp(1.8rem, 6vw, 5rem); }
.hero-copy { position: relative; z-index: 2; }
.facts { display: flex; flex-wrap: wrap; gap: .45rem; list-style: none; padding: 0; margin: 0 0 1.3rem; }
.facts li { padding: .35rem .72rem; background: var(--paper); color: var(--ink); border: 1px solid var(--line); border-radius: 2rem; font-size: 1rem; font-weight: 500; line-height: 1.2; }
.facts li:last-child { color: #fff; background: var(--action-gradient); border-color: transparent; }
.hero-questions { list-style: none; padding: 0; margin: 1.4rem 0 1.2rem; font-size: 1.18rem; line-height: 1.28; }
.hero-questions li { position: relative; padding-left: 1.65rem; }
.hero-questions li + li { margin-top: .45rem; }
.hero-questions li::before, .class-card li::before, .set-card li::before, .steps li::before {
  content: ''; position: absolute; width: .72rem; height: .42rem; top: .39em; left: .1rem;
  border-left: 2px solid var(--red); border-bottom: 2px solid var(--red); transform: rotate(-43deg);
}
.hero-art, .author-art, .closing-art { position: relative; min-width: 0; }
.hero-art { padding: 1rem .6rem; }
.hero-photo { max-width: 22.5rem; margin-inline: auto; transform: rotate(3deg); }
.hero-clip { z-index: 2; top: 0; left: 12%; width: 12%; max-width: 3rem; }
.hero-gifts { bottom: -5%; right: -14%; width: 48%; }
.timer:not([hidden]) { display: flex; flex-wrap: wrap; gap: .45rem; margin: 0 0 1.3rem; }
.timer-cell { display: grid; place-items: center; min-width: 3.4rem; padding: .4rem .38rem .3rem; border-radius: .72rem; background: var(--paper); box-shadow: 0 6px 16px #4b383012; }
.timer-cell strong { font: 700 1.4rem/1 var(--heading-font); color: var(--red-deep); font-variant-numeric: tabular-nums; }
.timer-cell small { text-transform: uppercase; color: var(--muted); font-size: .7rem; letter-spacing: .055em; }

.symptoms h2, .how h2, .faq h2, .closing h2 { text-align: center; margin-bottom: clamp(1.65rem, 4vw, 2.7rem); }
.symptoms h2 { max-width: 52rem; margin-inline: auto; }
.symptom-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: .95rem; }
.symptom-grid article { border-radius: 1.25rem; padding: clamp(1.1rem, 2.3vw, 1.55rem); background: var(--paper); box-shadow: var(--shadow); }
.symptom-grid h3 { font-size: clamp(1.08rem, 1.66vw, 1.3rem); margin-bottom: .45rem; }
.symptom-grid article:nth-child(even) { background: var(--cream); border: 1px solid #dda799; box-shadow: 0 10px 24px #a9212812; }

.offers { overflow: hidden; }
.section-head { max-width: 45rem; margin: 0 auto clamp(1.85rem, 4vw, 3.1rem); text-align: center; }
.section-kicker { color: var(--muted); margin-bottom: .7rem; font-size: 1.2rem; }
.intro-answer { margin-top: 1.15rem; font-size: 1.35rem; font-weight: 600; }
.class-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 1.55rem 1.25rem; }
.class-card, .set-card { position: relative; display: flex; flex-direction: column; align-items: flex-start; min-width: 0; border-radius: 1.375rem; padding: 1.4rem; background: var(--paper); box-shadow: var(--shadow); }
.class-card { padding-top: 1.9rem; }
.class-card h3 { font-size: clamp(1.38rem, 2.5vw, 1.65rem); }
.class-card :is(.lead,.list-intro,.result) { margin-top: .72rem; }
.class-card .lead { font-weight: 600; color: var(--heading); }
.class-card .result { color: var(--red-deep); font-weight: 600; }
.class-card ul, .set-card ul, .steps { list-style: none; padding: 0; }
.class-card ul { margin-top: .4rem; }
.class-card li, .set-card li { position: relative; padding-left: 1.15rem; }
.class-card li + li, .set-card li + li { margin-top: .34rem; }
.class-card li::before, .set-card li::before { width: .58rem; height: .34rem; }
.audience { margin-top: .95rem; padding: .75rem .85rem; border-radius: .7rem; background: var(--cream-shade); }
.fine { font-size: 1rem; color: var(--muted); }
.audience .fine { margin-top: .45rem; }
.purchase { width: 100%; padding-top: 1rem; margin-top: auto; }
.class-card .purchase { padding-top: 1.15rem; }
.price { display: flex; align-items: center; flex-wrap: wrap; gap: .25rem .55rem; margin-bottom: .8rem; }
.class-card .price { padding-top: .78rem; border-top: 1px dashed #e8c4b4; }
.price strong { font: 700 clamp(1.25rem, 2.15vw, 1.73rem)/1.25 var(--heading-font), var(--body-font); color: var(--red-deep); }
.discount { border-radius: 2rem; padding: .1rem .55rem; background: var(--red-soft); color: var(--red-deep); font-size: 1rem; font-weight: 600; white-space: nowrap; }
.price .was { color: var(--muted); font-size: .97rem; flex-basis: 100%; }
.access { margin-top: .65rem; text-align: center; }
.class-card .actions, .set-card .actions { display: grid; width: 100%; gap: .58rem; }
.class-card .button, .set-card .button { min-height: 3.15rem; }
.class-card .button-secondary, .set-card .button-secondary { min-height: 2.85rem; }

.how { padding-top: .25rem; text-align: center; }
.how h2 { font-size: clamp(1.75rem, 3.4vw, 2.25rem); margin-bottom: 1.35rem; }
.steps { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 1rem; }
.steps li { text-align: left; position: relative; padding: 1.1rem 1rem 1.1rem 2.7rem; border-radius: 1.1rem; background: var(--paper); font-weight: 600; }
.steps li::before { top: 1.45rem; left: 1.15rem; }
.how-note { margin: 1.15rem auto 0; color: var(--muted); }

.packages { overflow: hidden; }
.set-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: .95rem; }
.set-card { align-items: stretch; padding: 3.45rem 1.05rem 1.2rem; border: 2px solid var(--line); }
.set-card > .eyebrow { position: absolute; top: -2px; left: 50%; transform: translateX(-50%); max-width: calc(100% - 1rem); white-space: nowrap; padding: .43rem .65rem; background: var(--action-gradient); color: white; border-radius: 0 0 .75rem .75rem; }
.set-card h3 { font-size: clamp(1.2rem, 2vw, 1.52rem); text-align: center; overflow-wrap: anywhere; }
.set-card:nth-child(3) h3 { font-size: 1.19rem; line-height: 1.2; }
.set-card > p:not(.eyebrow) { margin-top: .65rem; color: var(--muted); text-align: center; font-size: 1.04rem; }
.set-card ul { padding: .72rem .6rem; background: var(--cream); border-radius: .8rem; margin-top: .7rem; font-size: 1.02rem; line-height: 1.23; }
.set-card .price { justify-content: center; text-align: center; gap: .31rem; }
.set-card .price strong { flex-basis: 100%; }
.set-card .purchase > .fine { margin: -.4rem 0 .5rem; text-align: center; }
.set-card .button { padding-inline: .44rem; }
.featured { border-color: var(--red); box-shadow: 0 16px 36px #e8383a33; }
.featured > .eyebrow { background: linear-gradient(180deg,#c9232a,#9e161c); }
.package-pile { width: 5.5rem; right: -1.65rem; top: -2.6rem; }
.package-note { position: relative; display: flex; justify-content: center; align-items: center; gap: .75rem; text-align: center; margin: 1.65rem auto 0; max-width: 54rem; color: var(--muted); }
.package-gift { position: static; flex: 0 0 4.75rem; width: 4.75rem; }
.package-note p + p { margin-top: .1rem; color: var(--heading); }

.author { padding-top: 1.4rem; }
.author-grid, .closing-grid { display: grid; grid-template-columns: minmax(0,.85fr) minmax(0,1.15fr); align-items: center; gap: clamp(1.85rem, 6vw, 4.6rem); }
.author-art, .closing-art { width: min(84%, 22rem); margin-inline: auto; }
.clip-frame, .closing-photo { transform: rotate(-3deg); }
.gold-clip { z-index: 2; top: -5%; left: 15%; width: 12%; max-width: 3rem; }
.author-copy .eyebrow { display: inline-block; margin: 0 0 .75rem; padding: .18rem .62rem; border: 1.5px solid var(--red); border-radius: 50%; transform: rotate(-3deg); color: var(--red-deep); font-size: 1.08rem; }
.credentials, .faq-answer ul { padding-left: 1.2rem; }
.credentials { margin: .85rem 0 1.2rem; }
.credentials li::marker, .faq-answer li::marker { color: var(--red); }
.credentials li + li { margin-top: .22rem; }
.author-quote { padding: clamp(1rem, 3vw, 1.6rem); border-top: 4px solid var(--red); border-radius: 1.38rem; background: var(--paper); box-shadow: var(--shadow); }
.author-quote .actions, .closing-copy .actions { margin-top: 1.05rem; }

.faq-list, .faq-contact { max-width: 50rem; margin-inline: auto; }
.faq details { background: var(--paper); border-radius: 1.125rem; box-shadow: 0 6px 18px #4b383010; }
.faq details + details { margin-top: .7rem; }
.faq summary { position: relative; cursor: pointer; padding: 1rem 3.7rem 1rem 1.2rem; list-style: none; font: 700 clamp(1.05rem, 2vw, 1.25rem)/1.28 var(--heading-font); color: var(--heading); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; top: 50%; right: 1rem; transform: translateY(-50%); width: 2rem; height: 2rem; border-radius: 50%; background: var(--action-gradient); color: white; text-align: center; font: 500 1.4rem/2rem var(--body-font); }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq-answer { padding: 0 1.2rem 1rem; }
.faq-answer .button { margin-top: .72rem; }
.faq-contact { margin-top: 1.3rem; display: flex; gap: .75rem 1rem; justify-content: center; align-items: center; flex-wrap: wrap; text-align: center; }

.closing { overflow: hidden; }
.closing h2 { max-width: 27ch; margin-inline: auto; }
.closing-copy { font-size: 1.22rem; }
.gold-tape { z-index: 2; top: -.9rem; left: 31%; width: 34%; }
.closing-bow { bottom: -5%; right: -16%; width: 34%; }
.footer { padding-block: 2rem; background: var(--cream); color: var(--ink); border-top: 1px solid #eadfd3; font-size: 1.06rem; }
.footer-grid { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr) minmax(0,1.2fr); gap: 1.5rem; }
.footer .button { margin-top: .65rem; }
.documents { display: grid; gap: .35rem; align-content: start; }
.documents a { color: var(--ink); text-underline-offset: .15em; overflow-wrap: anywhere; }
.documents a:hover { color: var(--red-deep); }

@media (max-width: 980px) {
  .class-grid, .set-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 730px) {
  body { font-size: 1.08rem; }
  .hero-layout, .author-grid, .closing-grid { grid-template-columns: minmax(0,1fr); }
  .hero-art { width: min(76%, 22rem); margin-inline: auto; }
  .hero-copy h1 { text-wrap: initial; }
  .symptom-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .steps, .footer-grid { grid-template-columns: minmax(0,1fr); }
  .author-art, .closing-art { width: min(74%, 20rem); }
  .author-copy h2 br { display: none; }
}
@media (max-width: 590px) {
  .class-grid, .set-grid { grid-template-columns: minmax(0,1fr); }
  .set-grid { row-gap: 1.45rem; }
  .package-pile { right: -.5rem; }
  .package-gift { flex-basis: 3.2rem; width: 3.2rem; }
}
@media (max-width: 420px) {
  .shell { width: calc(100% - 2rem); }
  .symptom-grid { grid-template-columns: minmax(0,1fr); }
  .actions { display: grid; grid-template-columns: minmax(0,1fr); width: 100%; }
  .timer-cell { min-width: 3rem; }
  .closing .mark { white-space: normal; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}

/* Muted snow over the cream surfaces, below all text and photos. */
.hero-stage::before, main > .section::before {
  content: '';
  position: absolute;
  z-index: -1;
  inset: 0;
  pointer-events: none;
  background-image: var(--flake-small), var(--flake-large), var(--flake-small), var(--flake-large), var(--flake-small), var(--flake-large), var(--flake-small), var(--flake-large);
  background-size: 1.4rem auto, 2.1rem auto, 1.7rem auto, 2.7rem auto, 1.5rem auto, 2.6rem auto, 1.9rem auto, 2rem auto;
  background-position: 4% 9%, 91% 4%, 31% 29%, 7% 45%, 97% 57%, 58% 70%, 4% 87%, 92% 96%;
  background-repeat: no-repeat;
  opacity: .19;
}

.button::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(105deg, transparent 36%, #ffffff45 49%, transparent 62%);
  transform: translateX(-120%);
  animation: button-shimmer 4.2s ease-in-out infinite;
}
.button:hover, .button:focus-visible { box-shadow: 0 8px 18px #a9212845; }
.button:hover { transform: translateY(-2px); }
.button-secondary:hover, .button-secondary:focus-visible { box-shadow: 0 7px 15px #8f603638; }
@keyframes button-shimmer {
  0%, 48% { transform: translateX(-120%); }
  75%, 100% { transform: translateX(120%); }
}
@media (prefers-reduced-motion: reduce) {
  .button::after { animation: none; }
  .button:hover { transform: none; }
}

.hero-art { width: min(100%, 25rem); margin-inline: auto; padding: .85rem .7rem .45rem; }
.hero-photo { max-width: 20rem; transform: rotate(2.5deg); }
.hero-clip { top: -.1rem; left: 15%; }
.hero-keepsakes { position: relative; z-index: 2; width: min(87%,19rem); margin: -.7rem auto 0; display: grid; grid-template-columns: 1fr 1fr; gap: .85rem; }
.mini-photo { padding: .42rem .42rem .9rem; border: 1px solid var(--line); }
.mini-photo > img:first-child { width: 100%; height: auto; aspect-ratio: 1.1; object-fit: contain; }
.mini-tree { transform: rotate(-7deg); }
.mini-gifts { transform: translateY(.36rem) rotate(7deg); }
.mini-photo .mini-clip { position: absolute; top: -.55rem; left: 15%; width: 1.7rem; height: auto; transform: rotate(-11deg); }

.symptom-grid { gap: 1.15rem; }
.symptom-grid article {
  position: relative;
  padding-right: clamp(3.6rem,7vw,5.1rem);
  border: 1px solid #e7c2ad;
  box-shadow: 0 8px 20px #652d2810;
}
.symptom-grid article:nth-child(3n+2) { border-color: #d79583; }
.symptom-grid article:nth-child(3n+3) { border-color: #d9ae5f; }
.symptom-ornament { width: clamp(2.35rem,5.3vw,4.2rem); top: .85rem; right: .6rem; height: auto; transform: rotate(7deg); }
.symptom-grid article:nth-child(even) .symptom-ornament { transform: rotate(-9deg); }

.class-grid { position: relative; isolation: isolate; align-items: stretch; row-gap: 1.9rem; }
.class-card { border: 2px solid var(--line); padding: 1.35rem; }
.class-card.class-new { border-color: #d79583; }
.class-card .class-heading { position: relative; width: 100%; text-align: center; padding: 1.05rem .2rem .8rem; border-bottom: 1px solid var(--line); }
.class-heading h3 { color: var(--heading); }
.class-kind { display: block; margin-bottom: .38rem; font: 600 .93rem/1.2 var(--body-font); letter-spacing: .06em; color: var(--red-deep); }
.class-card .class-heading .tag {
  position: absolute;
  top: -1.4rem;
  left: 50%;
  transform: translateX(-50%);
  padding: .36rem .85rem;
  white-space: nowrap;
  background: #a92128;
  border-radius: 0 0 .7rem .7rem;
  color: #fff8f1;
  box-shadow: 0 3px 9px #a9212838;
}
.class-ornament { top: -1.15rem; right: -.85rem; width: 2.8rem; transform: rotate(9deg); }
.class-card .lead { font-weight: 600; }
.class-card ul, .set-card ul { border: 1px solid var(--line); border-radius: .8rem; padding: .7rem .7rem; }
.audience { border: 1px solid var(--line); border-inline-start: 3px solid #d9ae5f; width: 100%; }
.class-card .price { justify-content: center; text-align: center; }
.class-card .price strong { flex-basis: 100%; }
.class-art {
  position: relative;
  display: grid;
  align-items: center;
  justify-items: start;
  min-width: 0;
  min-height: 24rem;
  padding: 1rem .5rem 1rem 1rem;
}
.class-frame { position: relative; width: min(78%,20rem); transform: rotate(-5deg); z-index: 2; }
.offers-tree { width: 87%; height: 100%; max-height: 34rem; object-fit: contain; object-position: center; right: -21%; top: 50%; transform: translateY(-50%); z-index: 1; }
.class-clip { z-index: 3; width: 2.55rem; top: -.85rem; left: 15%; transform: rotate(-13deg); }
.packages-title { text-align: center; margin-bottom: 2rem; }
.packages .set-card { background: var(--cream); }
.featured { border-color: #a92128; }
@media (min-width: 731px) and (max-width: 980px) {
  .class-art { justify-items: start; padding-left: 1.5rem; }
  .offers-tree { right: -7%; }
}
@media (max-width: 730px) {
  .hero-art { width: min(80%,22rem); }
}
@media (max-width: 590px) {
  .class-art { width: min(100%,27rem); margin-inline: auto; min-height: 20rem; padding-left: 1.2rem; }
  .offers-tree { right: -8%; }
  .class-frame { width: min(72%,17rem); }
  .class-card { padding-inline: 1.05rem; }
}

.reviews, .footer { background: #fff8f1; }
.review-shell h2 { color: var(--red-deep); text-align: center; margin-bottom: 1.45rem; }
.review-track {
  --review-width: clamp(15rem,45vw,22rem);
  --review-gap: .9rem;
  position: relative;
  display: flex;
  align-items: stretch;
  gap: var(--review-gap);
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding: .25rem 0 1.75rem;
}
.review-track::-webkit-scrollbar { display: none; }
.review-track:focus-visible { outline: 2px solid #a92128; outline-offset: 4px; border-radius: .75rem; }
.review-track.is-gliding { scroll-snap-type: none; }
.review-track::after { content: ''; flex: 0 0 max(0px, calc(100% - var(--review-width) - var(--review-gap))); }
.review-bubble {
  position: relative;
  flex: 0 0 var(--review-width);
  max-width: 100%;
  min-width: 0;
  align-self: stretch;
  scroll-snap-align: start;
  padding: 1.05rem 1.15rem;
  background: var(--cream);
  border: 1px solid #d9ac98;
  border-radius: 1.3rem;
  box-shadow: 0 5px 12px #7f332a12;
}
.review-bubble::after {
  content: '';
  position: absolute;
  bottom: -.48rem;
  left: 1.5rem;
  width: .9rem;
  height: .9rem;
  background: var(--cream);
  border-right: 1px solid #d9ac98;
  border-bottom: 1px solid #d9ac98;
  transform: rotate(45deg);
}
.review-bubble figcaption { color: #a92128; font: 700 1.18rem/1.2 var(--heading-font); margin-bottom: .42rem; }
.review-bubble blockquote { margin: 0; font-size: 1rem; line-height: 1.35; }
.review-controls { display: flex; justify-content: center; flex-wrap: wrap; margin-top: .4rem; }
.review-controls[hidden] { display: none; }
.review-controls button { padding: 0; display: grid; place-items: center; flex: 0 0 1.6rem; width: 1.6rem; height: 1.85rem; border: 0; border-radius: 50%; background: transparent; cursor: pointer; }
.review-controls button::before { content: ''; width: .48rem; height: .48rem; border-radius: 50%; background: #c48476; }
.review-controls button[aria-current="true"]::before { background: #a92128; outline: 1px solid #a92128; outline-offset: 2px; }
.review-controls button:focus-visible { outline: 2px solid #a92128; outline-offset: -3px; }
@media (max-width: 590px) {
  .review-track { --review-width: 85%; --review-gap: .65rem; }
  .review-controls button { flex-basis: 1.45rem; width: 1.45rem; }
}

/* ===== Правки v2 (27.11.2026) ===== */
:root { --brand: #a92128; --brand-dark: #8c1a20; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Бегущая строка в красной плашке */
.topbar { background: linear-gradient(180deg, #c22a30, var(--brand)); color: #fff; border-bottom: 0; padding: .7rem 0; overflow: hidden; }
.marquee { overflow: hidden; }
.marquee-track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.marquee-half { display: flex; flex: none; align-items: center; }
.marquee-half span { padding-inline: 1.1rem; white-space: nowrap; }
.marquee-star { color: #f6d58f; padding-inline: 0 !important; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; } }

/* Кнопки: одна высота на всём сайте */
.button, .button-secondary,
.class-card .button, .set-card .button,
.class-card .button-secondary, .set-card .button-secondary { min-height: 3.6rem; padding-block: .45rem; font-size: 1.1rem; }

/* «Служба заботы»: белая, с красной обводкой и переливом */
.button-secondary { background: #fff; border: 2px solid var(--brand); color: var(--brand); box-shadow: 0 6px 15px #a9212818; }
.button-secondary::after { background: linear-gradient(105deg, transparent 34%, #a9212826 49%, transparent 64%); animation-duration: 3.4s; }
.button-secondary:hover, .button-secondary:focus-visible { background: #fff6f5; box-shadow: 0 8px 18px #a9212833; }

/* Таймер */
.timer:not([hidden]) { align-items: center; gap: .75rem; margin: .4rem 0 1.6rem; }
.timer-label { font-size: 1.2rem; color: var(--ink); margin-right: .6rem; }
.timer-cell { min-width: 5.2rem; padding: .85rem .6rem .7rem; border-radius: 1rem; background: #fff; box-shadow: 0 10px 24px #4b383014; gap: .3rem; }
.timer-cell strong { font-size: 2.2rem; color: var(--brand); }
.timer-cell small { font-size: .85rem; letter-spacing: .08em; }
@media (max-width: 420px) {
  .timer-label { flex-basis: 100%; margin: 0; }
  .timer-cell { min-width: 0; flex: 1; }
  .timer-cell strong { font-size: 1.8rem; }
}

/* «Знакомо?»: часть карточек в фирменном красном */
.symptom-grid article:nth-child(even) { background: var(--brand); border-color: var(--brand); box-shadow: 0 12px 26px #a9212833; color: #fff; }
.symptom-grid article:nth-child(even) h3 { color: #fff; }
.symptom-grid article:nth-child(even) p { color: #fde8e5; }

/* «Как всё устроено» */
.how h2 { margin-bottom: 1.8rem; }
.steps { gap: 1.1rem; margin: 0; }
.steps li { display: flex; align-items: center; gap: 1.1rem; padding: 1.5rem 1.4rem; border-radius: 1.4rem; background: #fff; box-shadow: 0 10px 26px #4b383012; font-weight: 600; font-size: 1.15rem; line-height: 1.35; color: var(--heading); transition: background-color .2s ease, color .2s ease, transform .2s ease, box-shadow .2s ease; }
.steps li::before { content: none; }
.step-num { flex: none; font: 700 3.1rem/1 var(--heading-font); color: var(--brand); transition: color .2s ease; }
.steps li:hover { background: var(--brand); color: #fff; transform: translateY(-3px); box-shadow: 0 14px 30px #a9212840; }
.steps li:hover .step-num { color: #fff; }
.how-note { margin-top: 1.5rem; }

/* Отзывы: белые облачка, как на intue.at */
.review-track { padding: .5rem .25rem 2.4rem; }
.review-bubble { background: #fff; border: 0; border-radius: 2rem; box-shadow: none; padding: 1.4rem 1.5rem 1.5rem; filter: drop-shadow(0 7px 6px #8d97a14d); }
.review-bubble::after { background: #fff; border: 0; width: 1.6rem; height: 1.6rem; bottom: -.7rem; left: 2.2rem; transform: rotate(45deg) skew(12deg, 12deg); }
.review-bubble figcaption { display: flex; align-items: center; gap: .55rem; color: #7e2a24; font-size: 1.35rem; margin-bottom: .55rem; }
.review-bubble figcaption::before { content: ''; flex: none; width: .55rem; height: .55rem; border-radius: 50%; background: #c48a78; }
.review-bubble blockquote { color: #2b2019; }

/* Частые вопросы: карточки снова видны */
.faq details { background: #fff; border: 1px solid #efd9cb; box-shadow: 0 8px 22px #4b383014; }
.faq details[open] { border-color: #e2b8a8; }

/* Финальный заголовок: ровно две строки */
.closing h2.closing-title { max-width: none; text-wrap: wrap; font-size: clamp(1.6rem, 3.3vw, 2.5rem); }
@media (min-width: 731px) { .closing-line { white-space: nowrap; } }

/* ===== Правки v3 ===== */
/* Отступы: меньше воздуха между шапкой, блоками и заголовками */
.hero-stage { padding-top: clamp(1rem, 2.4vw, 1.75rem); padding-bottom: clamp(1.75rem, 4vw, 3rem); }
.section { padding-block: clamp(2.1rem, 4.2vw, 3.2rem); }
.symptoms h2, .how h2, .faq h2, .closing h2, .packages-title, .review-shell h2 { margin-bottom: clamp(1.1rem, 2.4vw, 1.7rem); }
.section-head { margin-bottom: clamp(1.2rem, 2.8vw, 2rem); }
.how { padding-top: clamp(1rem, 2vw, 1.5rem); }
.author { padding-top: clamp(1rem, 2vw, 1.5rem); }

/* «Как всё устроено»: 1 → 2 → 3 */
@keyframes step-glow {
  0%, 100% { background-color: #fff; color: var(--heading); box-shadow: 0 10px 26px #4b383012; transform: none; }
  6%, 28% { background-color: var(--brand); color: #fff; box-shadow: 0 14px 30px #a9212840; transform: translateY(-3px); }
  34% { background-color: #fff; color: var(--heading); box-shadow: 0 10px 26px #4b383012; transform: none; }
}
@keyframes step-num-glow {
  0%, 100% { color: var(--brand); }
  6%, 28% { color: #fff; }
  34% { color: var(--brand); }
}
.steps.is-playing li, .steps.is-playing li .step-num { animation: step-glow 6s ease-in-out infinite; }
.steps.is-playing li .step-num { animation-name: step-num-glow; }
.steps.is-playing li:nth-child(2), .steps.is-playing li:nth-child(2) .step-num { animation-delay: 2s; }
.steps.is-playing li:nth-child(3), .steps.is-playing li:nth-child(3) .step-num { animation-delay: 4s; }
.steps li:hover, .steps li:hover .step-num { animation: none !important; }
@media (prefers-reduced-motion: reduce) { .steps.is-playing li, .steps.is-playing li .step-num { animation: none; } }

/* Тарифы: одинаковые заголовки, всё на одном уровне, подсветка при наведении */
.set-card h3, .set-card:nth-child(3) h3 { font-size: clamp(1.2rem, 2vw, 1.52rem); line-height: 1.16; text-transform: none; }
@supports (grid-template-rows: subgrid) {
  .set-grid { grid-auto-rows: auto; }
  .set-card { display: grid; grid-row: span 4; grid-template-rows: subgrid; row-gap: 0; align-items: start; }
  .set-card .purchase { align-self: end; }
}
.set-card .price { min-height: 6.4rem; align-content: center; }
.set-card { transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease; }
.set-card:hover, .set-card:focus-within { transform: translateY(-6px) scale(1.025); border-color: var(--brand); box-shadow: 0 20px 40px #a9212833; z-index: 2; }
.set-card:hover > .eyebrow, .set-card:focus-within > .eyebrow { background: linear-gradient(180deg, #c9232a, #9e161c); }
@media (prefers-reduced-motion: reduce) { .set-card:hover, .set-card:focus-within { transform: none; } }

/* Подарок перед подсказкой — покачивается */
@keyframes gift-wiggle {
  0%, 60%, 100% { transform: rotate(0) translateY(0); }
  66% { transform: rotate(-9deg) translateY(-4px); }
  72% { transform: rotate(8deg) translateY(-6px); }
  78% { transform: rotate(-5deg) translateY(-2px); }
  84% { transform: rotate(3deg) translateY(0); }
}
.package-gift { animation: gift-wiggle 3.2s ease-in-out infinite; transform-origin: 50% 80%; }

/* Отзывы: украшение на каждом третьем облачке */
.review-track { padding-top: 1.6rem; }
.review-ornament { width: 3.4rem; top: -1.4rem; right: 1rem; transform: rotate(10deg); z-index: 2; }
#review-6 .review-ornament { transform: rotate(-8deg); }

/* ЧаВО: «плюсики» живые */
@keyframes plus-pulse {
  0%, 100% { box-shadow: 0 0 0 0 #a9212855; }
  60% { box-shadow: 0 0 0 .5rem #a9212800; }
}
.faq summary::after { transition: transform .3s ease, background .3s ease; animation: plus-pulse 2.4s ease-out infinite; }
.faq details:nth-child(2) summary::after { animation-delay: .3s; }
.faq details:nth-child(3) summary::after { animation-delay: .6s; }
.faq details:nth-child(4) summary::after { animation-delay: .9s; }
.faq details:nth-child(5) summary::after { animation-delay: 1.2s; }
.faq details:nth-child(6) summary::after { animation-delay: 1.5s; }
.faq details:nth-child(7) summary::after { animation-delay: 1.8s; }
.faq summary:hover::after { transform: translateY(-50%) scale(1.12) rotate(90deg); }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); animation: none; background: var(--brand); }
@media (prefers-reduced-motion: reduce) { .package-gift, .faq summary::after { animation: none; } }

/* ===== Правки v4 ===== */
/* Типографика: без «висячих» слов */
p, li, h3, figcaption, blockquote, summary, .lead { text-wrap: pretty; }

/* Вступление к мастер-классам: каждое предложение с новой строки */
.section-head { max-width: 62rem; }
.intro-lines span { display: block; }
.intro-lines span + span { margin-top: .35rem; }

/* Карточки мастер-классов: воздух и понятная структура */
.class-card { padding: 1.7rem 1.55rem 1.5rem; font-size: 1.05rem; line-height: 1.5; }
.class-heading h3, .class-card h3 { color: var(--brand); }
.class-card .class-heading { padding-bottom: 1rem; margin-bottom: .3rem; }
.class-card .lead {
  margin-top: 1.1rem; width: 100%; padding: .85rem 1rem; border-radius: .8rem;
  background: #fff; border-left: 3px solid #c48a78; box-shadow: 0 4px 12px #4b38300d;
  font-size: 1.1rem; line-height: 1.4; color: var(--heading);
}
.class-card .list-intro {
  margin-top: 1.35rem; font-size: .82rem; font-weight: 600; letter-spacing: .09em;
  text-transform: uppercase; color: var(--muted);
}
.class-card ul { border: 0; padding: 0; margin-top: .65rem; }
.class-card li { padding-left: 1.55rem; line-height: 1.45; }
.class-card li + li { margin-top: .7rem; }
.class-card li::before { top: .42em; left: .15rem; width: .62rem; height: .36rem; }
.class-card .result {
  position: relative; width: 100%; margin-top: 1.35rem; padding: .9rem 1rem .9rem 2.75rem;
  border-radius: .9rem; background: #fbeae6; color: #7e1a1f; line-height: 1.42;
}
.class-card .result::before { content: '✦'; position: absolute; left: 1rem; top: .82rem; color: var(--brand); font-size: 1.05rem; }
.class-card .audience {
  margin-top: 1.35rem; padding: 1rem 0 0; background: none; border: 0; border-top: 1px dashed #e8c4b4; border-radius: 0;
  color: var(--muted); font-size: 1rem; line-height: 1.45;
}
.class-card .audience .fine {
  display: inline-block; margin-top: .7rem; padding: .3rem .8rem; border-radius: 2rem;
  background: #fff; border: 1px solid var(--line); font-size: .9rem; color: var(--ink);
}
.class-card .price { margin-top: .4rem; }
@media (max-width: 590px) { .class-card { padding: 1.5rem 1.15rem 1.3rem; } }
.class-card .audience .fine { border-radius: .7rem; padding: .4rem .75rem; line-height: 1.35; }
.class-card .class-heading { padding-inline: 2.3rem; }

/* ===== Правки v5 ===== */
/* Вторая бегущая строка под главным экраном */
.topbar-bottom { padding: .6rem 0; }
.marquee-reverse .marquee-track { animation-direction: reverse; }

/* Меньше расстояний между блоками */
.hero-stage { padding-bottom: clamp(1.4rem, 3vw, 2.2rem); }
.section { padding-block: clamp(1.6rem, 3.2vw, 2.4rem); }
.symptoms h2, .how h2, .faq h2, .closing h2, .packages-title, .review-shell h2 { margin-bottom: clamp(.9rem, 2vw, 1.4rem); }
.section-head { margin-bottom: clamp(1rem, 2.2vw, 1.6rem); }
.section-kicker { margin-bottom: .45rem; }
.intro-answer { margin-top: .8rem; }
.how-note { margin-top: 1.1rem; }
.package-note { margin-top: 1.2rem; }
.review-track { padding-bottom: 1.8rem; }

/* «Подойдёт и участницам курса» — в одну строку */
.class-card .audience .fine { white-space: nowrap; font-size: .8rem; padding: .22rem .6rem; border-radius: .55rem; max-width: 100%; }

/* Скидка: слева, на фирменном красном */
.price { display: grid !important; justify-items: center; gap: .2rem; }
.price .discount { justify-self: start; background: var(--brand); color: #fff; padding: .18rem .65rem; border-radius: .5rem; font-size: .95rem; margin-bottom: .1rem; }
.price strong, .price .was { justify-self: center; }

/* Карточки мастер-классов: все части на одном уровне */
@supports (grid-template-rows: subgrid) {
  .class-card { display: grid; grid-row: span 7; grid-template-rows: subgrid; row-gap: 0; align-items: start; }
  .class-card > .lead { align-self: stretch; }
  .class-card > .purchase { align-self: end; }
  .class-art { grid-row: span 7; }
}
.class-card .class-heading { align-self: stretch; display: flex; flex-direction: column; justify-content: flex-end; }
.result-slot { width: 100%; }

/* Подсветка карточки, которую смотрят */
.class-card { transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease; }
.class-card:hover, .class-card:focus-within, .class-card.is-active,
.set-card.is-active { transform: translateY(-6px); border-color: var(--brand); box-shadow: 0 20px 40px #a9212833; z-index: 2; }
.class-card:hover .class-heading, .class-card.is-active .class-heading { border-bottom-color: #e8b8ab; }
@media (prefers-reduced-motion: reduce) { .class-card:hover, .class-card.is-active, .set-card.is-active { transform: none; } }
.class-card .class-heading { justify-content: flex-start; }
.purchase .price { width: 100%; justify-content: stretch; }

/* ===== Правки v6 ===== */
.nowrap { white-space: nowrap; }

/* Пустые места в карточках «Адаптогены» и «Живот» — украшение */
.result-slot { align-self: stretch; display: flex; align-items: center; justify-content: center; padding-top: 1.35rem; }
.result-slot img { width: auto; max-width: 70%; max-height: 7.5rem; object-fit: contain; filter: drop-shadow(0 8px 10px #4b38301a); }
@media (max-width: 590px) { .result-slot { display: none; } }

/* Ёлка и фото Светланы — по высоте карточек */
.art-gifts, .art-baubles { display: none; }
@media (min-width: 981px) {
  .class-card { z-index: 1; }
  .class-art { position: relative; z-index: 0; align-self: stretch; min-height: 0; padding: 0; display: flex; align-items: center; justify-content: center; }
  .offers-tree { top: 0; bottom: 0; right: -58%; height: 100%; width: auto; max-width: none; max-height: none; transform: none; z-index: 0; }
  .class-frame { width: 100%; max-width: 22rem; transform: rotate(-4deg); z-index: 2; }
  .art-gifts, .art-baubles { display: block; z-index: 3; }
  .art-gifts { width: 38%; bottom: 3%; left: 2%; transform: rotate(-8deg); }
  .art-baubles { width: 44%; top: 2%; left: -2%; transform: rotate(-12deg); }
}
/* Свободное место под коротким списком заполняется украшением (если места нет — оно не появляется) */
@supports (grid-template-rows: subgrid) {
  @media (min-width: 591px) {
    .class-card > ul { align-self: stretch; display: flex; flex-direction: column; }
    .class-card > ul::after { content: ''; flex: 1 1 0; min-height: 0; max-height: 7rem; margin-top: .8rem; background: center / contain no-repeat; opacity: .95; }
    #nutrition > ul::after { background-image: url('assets/images/20-star-gold.webp'); }
    #year > ul::after { background-image: url('assets/images/07-fir-corner.webp'); }
    #adaptogens > ul::after, #belly > ul::after, #hair > ul::after { background-image: url('assets/images/19-snowflake-cream.webp'); }
  }
}

/* ===== Правки v7 ===== */
/* Названия МК: без лишних боковых отступов, украшение не наезжает на название */
.class-card .class-heading { padding-inline: .25rem; }
.class-card h3 { font-size: clamp(1.3rem, 2.05vw, 1.55rem); }
.class-ornament { width: auto; height: 3rem; max-width: 3.2rem; object-fit: contain; }
/* Ветка в «Как планировать год» — не угловая */
#year > ul::after { background-image: url('assets/images/06-fir-gold-baubles.webp'); }
/* Новая ёлка */
@media (min-width: 981px) { .offers-tree { right: -48%; } }
#adaptogens > ul::after, #belly > ul::after, #hair > ul::after { content: none; }

/* ===== Правки v8: главный экран ===== */
.hero-art { padding: 1.6rem 1rem 2rem; isolation: isolate; }
.hero-photo { position: relative; z-index: 2; }
.hero-clip { width: 1.9rem; max-width: none; top: .7rem; left: 20%; z-index: 3; }
.hero-back {
  position: absolute; z-index: 1; background: #fffaf4; border: 1px solid #f0e2d6;
  box-shadow: 0 16px 34px #4b383026; border-radius: 2px;
}
.hero-back-left { width: 80%; height: 74%; left: -12%; top: 10%; transform: rotate(-17deg); }
.hero-back-right { width: 58%; height: 50%; right: -8%; top: 44%; transform: rotate(9deg); }
@media (max-width: 730px) {
  .hero-back-left { left: -6%; }
  .hero-back-right { right: -4%; }
}
@media (min-width: 731px) { .hero-art { width: min(100%, 29rem); } .hero-photo { max-width: 23rem; } }
/* Ёлка и подарки на карточках за фото */
.hero-back { overflow: hidden; }
.hero-back img { position: absolute; height: auto; object-fit: contain; }
.hero-back-left { left: -20%; }
.hero-back-left img { width: 34%; left: 5%; top: 22%; transform: rotate(17deg); }
.hero-back-right { right: -16%; }
.hero-back-right img { width: 40%; right: 4%; bottom: 10%; transform: rotate(-9deg); }
@media (max-width: 730px) {
  .hero-back-left { left: -12%; }
  .hero-back-right { right: -10%; }
}
/* Украшение под коротким списком — по центру свободного места */
@supports (grid-template-rows: subgrid) {
  @media (min-width: 591px) {
    .class-card > ul::after { max-height: none; margin-top: 0; background-position: center; background-size: auto min(100%, 6.5rem); }
  }
}
/* Пояснение: плашка «Подойдёт и участницам…» на одном уровне во всех карточках */
@supports (grid-template-rows: subgrid) {
  .class-card > .audience { align-self: stretch; display: flex; flex-direction: column; align-items: flex-start; }
  .class-card > .audience .fine { margin-top: auto; }
  .class-card > .audience > p:first-child { margin-bottom: .7rem; }
}
/* Подсветка карточки МК без сдвига — ряды остаются ровными */
.class-card:hover, .class-card:focus-within, .class-card.is-active { transform: none; background: #fffdf9; }
.closing-bow { z-index: 3; }
@supports (grid-template-rows: subgrid) {
  @media (min-width: 591px) {
    /* отступ сверху = отступу до розовой плашки, чтобы украшение стояло ровно посередине */
    .class-card > ul::after { margin-top: 1.35rem; }
    #nutrition > ul::after { background-size: auto min(100%, 4.4rem); }
  }
}
/* Фото на карточках за фото Светланы — как полароиды */
.hero-back img, .hero-back-left img, .hero-back-right img {
  inset: .6rem .6rem 1.5rem; width: calc(100% - 1.2rem); height: calc(100% - 2.1rem);
  object-fit: cover; transform: none; right: auto; bottom: auto; left: .6rem; top: .6rem;
}
.hero-back-left img { object-position: 20% 45%; }
.hero-back-right img { object-position: 85% 60%; }

/* ===== Появление блоков при прокрутке ===== */
@keyframes reveal-up {
  from { opacity: 0; transform: translateY(26px); }
  to { opacity: 1; transform: translateY(0); }
}
.js-reveal .reveal:not(.is-visible) { opacity: 0; }
.js-reveal .reveal.is-visible { animation: reveal-up .75s cubic-bezier(.2, .7, .2, 1) var(--reveal-delay, 0s) backwards; }
@media (prefers-reduced-motion: reduce) { .js-reveal .reveal { opacity: 1 !important; animation: none !important; } }
.section-kicker { margin-bottom: clamp(1rem, 2.4vw, 1.4rem); line-height: 1.4; }
/* Мобильная версия: названия МК крупнее */
@media (max-width: 590px) {
  .class-card h3 { font-size: 1.7rem; line-height: 1.15; }
  .class-kind { font-size: 1rem; margin-bottom: .45rem; }
}
/* Мобильная версия: цены крупнее */
@media (max-width: 590px) {
  .price strong { font-size: 2.15rem; line-height: 1.15; }
  .price .was { font-size: 1.08rem; }
  .price .discount { font-size: 1.02rem; }
}
/* Мобильная версия: подсказка под тарифами без подарка, текст по левому краю */
@media (max-width: 590px) {
  .package-gift { display: none; }
  .package-note { justify-content: flex-start; text-align: left; }
}
