.trial-page { background: #fcf8ef; }
.trial-hero { padding: 150px 0 80px; color: #fff8e9; background: radial-gradient(ellipse at 80% 45%, #483161, transparent 65%), #131635; overflow: hidden; }
.trial-hero__grid { display: grid; grid-template-columns: 1.15fr 1fr; align-items: center; gap: 64px; }
.trial-hero h1 { margin-top: 22px; font-size: clamp(36px, 4.5vw, 62px); line-height: 1.12; letter-spacing: -.045em; }
.trial-hero h1 span { color: #f2c46b; }
.trial-hero__lead { margin-top: 26px; max-width: 560px; font-size: 19px; line-height: 1.7; color: #eee5f2; }
.trial-back { display: inline-block; margin-top: 30px; color: #f2c46b; font-size: 15px; border-bottom: 1px solid #f2c46b60; padding-bottom: 5px; }
.trial-hero__art { position: relative; }
.trial-hero__art img { width: 100%; height: auto; border-radius: 50%; border: 1px solid #f2c46b; }
.trial-spark { position: absolute; color: #f2c46b; font-size: 38px; animation: trial-twinkle 4s ease-in-out infinite; }
.trial-spark--one { top: 4%; left: 0; }
.trial-spark--two { bottom: 4%; right: 0; animation-delay: -2s; font-size: 54px; }
.trial-content { padding: 80px 0 40px; }
.trial-window { position: relative; max-width: 820px; margin-inline: auto; padding: 48px clamp(24px, 5vw, 70px); border-radius: 28px; text-align: center; background: #fffdf7; border: 1px solid #e9d4a9; box-shadow: 0 20px 60px -40px #6a4a30; }
.trial-window__gift { width: 76px; height: 76px; display: grid; place-items: center; margin: 0 auto 24px; background: #f7e8c5; color: #a87020; border-radius: 24px; }
.trial-window__gift svg { width: 40px; height: 40px; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linejoin: round; stroke-linecap: round; }
.trial-window h2, .trial-purchase h2 { font-size: clamp(28px, 3.4vw, 44px); line-height: 1.2; letter-spacing: -.035em; margin-top: 16px; }
.trial-window > p:not(.eyebrow) { margin: 22px auto 26px; max-width: 570px; color: var(--ink-soft); font-size: 17px; line-height: 1.7; }
.trial-window__note { display: block; margin-top: 24px; color: var(--ink-soft); font-size: 14px; line-height: 1.5; }
.trial-purchase { padding: 60px 0 80px; text-align: center; }
.trial-purchase p:not(.eyebrow) { max-width: 580px; margin: 22px auto 26px; color: var(--ink-soft); line-height: 1.6; }
.trial-purchase .trial-purchase__note { margin: 16px 0 0; max-width: none; font-size: 14px; }
.trial-page a:focus-visible, .trial-page button:focus-visible { outline: 3px solid #e8b04a; outline-offset: 5px; }
@keyframes trial-twinkle { 0%, 100% { opacity: .4; transform: scale(.8); } 50% { opacity: 1; transform: scale(1.08); } }
@media (max-width: 759px) {
  .trial-hero { padding: 108px 0 48px; }
  .trial-hero__grid { grid-template-columns: 1fr; gap: 36px; }
  .trial-hero h1 { font-size: clamp(30px, 7.5vw, 48px); }
  .trial-hero__lead { font-size: 16px; margin-top: 20px; }
  .trial-hero__art { width: min(80%, 340px); margin-inline: auto; }
  .trial-content { padding: 40px 0 20px; }
  .trial-window { padding: 32px 22px; }
  .trial-purchase { padding: 40px 0 56px; }
  .trial-page .btn { height: auto; min-height: 54px; white-space: normal; text-align: center; padding: 14px 20px; font-size: 15px; }
}
@media (prefers-reduced-motion: reduce) { .trial-spark { animation: none; } }

.trial-day { max-width: 1000px; padding-block: 56px 0; }
.day-block { padding: clamp(22px, 4vw, 42px); margin-bottom: 30px; background: #fffdf7; border: 1px solid #e9d4a9; border-radius: 28px; }
.day-block h2 { font-size: clamp(25px, 3vw, 36px); line-height: 1.25; letter-spacing: -.035em; margin-top: 10px; }
.day-heading { display: flex; align-items: center; gap: 20px; margin-bottom: 26px; }
.day-number { display: grid; place-items: center; flex: 0 0 54px; height: 54px; border-radius: 18px; background: #f7e8c5; color: #8b602b; font-size: 20px; font-weight: 700; }
.day-description { color: var(--ink-soft); font-size: 17px; line-height: 1.7; margin: 18px 0 24px; }
.trial-video { width: 100%; max-height: 75svh; display: block; background: #131635; border-radius: 18px; }
.comic-open { display: block; width: 100%; text-align: center; border-radius: 16px; overflow: hidden; background: #f3eee5; }
.comic-open img { width: 100%; height: auto; }
.comic-open__hint { display: block; padding: 16px; color: #63497e; font-size: 15px; font-weight: 600; }
.tracker-block { display: grid; grid-template-columns: minmax(120px, 210px) minmax(0, 1fr); align-items: center; gap: 36px; }
.tracker-preview { width: 100%; height: auto; border-radius: 10px; box-shadow: 0 8px 24px #24154a15; }
.download-note { font-size: 13px; color: var(--ink-soft); margin-top: 12px; }
.quiz-block { background: #182140; color: #fff8e9; }
.quiz-block .eyebrow { color: var(--gold-soft); }
.quiz-block .day-description { color: #ddd9e5; }
.quiz-block [hidden] { display: none !important; }
.quiz-question { margin-top: 28px; }
.quiz-progress { display: flex; align-items: center; gap: 20px; margin-bottom: 22px; color: #f2c46b; font-size: 14px; }
.quiz-progress progress { flex: 1; width: 0; height: 6px; accent-color: #e8b04a; border: 0; border-radius: 99px; overflow: hidden; background: #ffffff20; }
.quiz-progress progress::-webkit-progress-bar { background: #ffffff20; }
.quiz-progress progress::-webkit-progress-value { background: #e8b04a; }
.quiz-question h3, .quiz-result h3 { font-size: clamp(22px, 2.6vw, 30px); line-height: 1.35; outline-offset: 6px; }
.quiz-answers { display: grid; gap: 12px; margin-top: 24px; }
.quiz-answer { display: flex; align-items: flex-start; gap: 14px; text-align: left; width: 100%; min-height: 58px; border: 1px solid #ffffff35; border-radius: 16px; padding: 18px; background: #ffffff08; color: #fff8e9; font-size: 16px; line-height: 1.55; transition: background .2s, border-color .2s; }
.quiz-answer__letter { display: grid; place-items: center; flex: 0 0 28px; height: 28px; border-radius: 50%; color: #f2c46b; background: #f2c46b18; font-weight: 700; }
.quiz-answer:not(:disabled):hover { background: #f2c46b18; border-color: #f2c46b; }
.quiz-answer:disabled { cursor: default; }
.quiz-help { font-size: 13px; color: #c0b9ce; line-height: 1.5; margin-top: 18px; }
.quiz-result { margin-top: 28px; padding-top: 24px; border-top: 1px solid #ffffff25; }
.quiz-result__image { display: block; width: min(100%, 300px); height: auto; aspect-ratio: 1; margin: 24px auto; border-radius: 24px; }
.quiz-result__copy { min-width: 0; }
@media (min-width: 760px) {
  .quiz-result { display: grid; grid-template-columns: minmax(200px, 300px) minmax(0, 1fr); align-items: start; gap: 32px; }
  .quiz-result__image { width: 100%; margin: 0; }
}
.quiz-score { color: #f2c46b; font-size: 17px; font-weight: 700; margin-bottom: 14px; }
#quizResultText { color: #eee5f2; font-size: 17px; line-height: 1.8; margin-top: 20px; }
.quiz-restart { color: #f2c46b; padding-block: 16px; margin-top: 16px; font-size: 15px; text-decoration: underline; text-underline-offset: 4px; }
.quiz-buy { margin-top: 24px; }
.quiz-result .quiz-restart { display: block; }
.trial-day .btn { white-space: normal; height: auto; min-height: 58px; padding-block: 15px; text-align: center; line-height: 1.4; }
.comic-dialog { position: fixed; inset: 0; margin: auto; padding: 0; border: 0; border-radius: 20px; width: min(1200px, calc(100% - 32px)); max-width: none; height: calc(100dvh - 32px); max-height: none; color: #fff; background: #131635; overflow: hidden; }
.comic-dialog[open] { display: flex; flex-direction: column; }
.comic-dialog::backdrop { background: #080a1cdd; }
.comic-dialog__bar { flex: none; display: flex; gap: 10px; align-items: center; padding: 12px 16px; background: #182140; }
.comic-dialog__bar h2 { font-size: 17px; margin-right: auto; }
.comic-dialog__bar button { min-height: 44px; padding: 8px 12px; border: 1px solid #ffffff40; border-radius: 12px; font-size: 14px; }
.comic-dialog__scroll { flex: 1; min-height: 0; overflow: auto; overscroll-behavior: contain; background: #eee8e1; touch-action: pan-x pan-y pinch-zoom; }
.comic-dialog__scroll img { display: block; width: 100%; max-width: none; height: auto; }
.comic-dialog.is-zoomed .comic-dialog__scroll img { width: max(100%, 1100px); }
html.comic-opened { overflow: hidden; }
@media (max-width: 759px) {
  .trial-day { padding-top: 32px; }
  .day-block { padding: 22px 18px; border-radius: 22px; margin-bottom: 22px; }
  .day-heading { gap: 12px; align-items: flex-start; margin-bottom: 22px; }
  .day-number { flex-basis: 40px; height: 40px; font-size: 16px; border-radius: 13px; }
  .day-heading .eyebrow { font-size: 10px; }
  .day-description, #quizResultText { font-size: 16px; }
  .tracker-block { grid-template-columns: 1fr; gap: 24px; }
  .tracker-preview { width: min(55%, 180px); margin-inline: auto; }
  .tracker-block .btn, #quizStart { width: 100%; }
  .quiz-answer { padding: 16px 12px; font-size: 15px; gap: 10px; }
  .comic-dialog { width: 100%; height: 100dvh; border-radius: 0; }
  .comic-dialog__bar { padding: 8px; gap: 6px; }
  .comic-dialog__bar h2 { font-size: 13px; }
  .comic-dialog__bar button { font-size: 12px; padding: 8px; }
}
