@font-face { font-family: "Fredoka"; font-weight: 600; font-display: swap; src: url(assets/fonts/Fredoka-SemiBold.woff2) format("woff2"); }
@font-face { font-family: "Fredoka"; font-weight: 700; font-display: swap; src: url(assets/fonts/Fredoka-Bold.woff2) format("woff2"); }
@font-face { font-family: "Nunito Sans"; font-weight: 400; font-display: swap; src: url(assets/fonts/NunitoSans-Regular.woff2) format("woff2"); }
@font-face { font-family: "Nunito Sans"; font-weight: 700; font-display: swap; src: url(assets/fonts/NunitoSans-Bold.woff2) format("woff2"); }

:root {
  --paper: #FBF6EF; --card: #FFFFFF; --ink: #3A302C; --muted: #6F645C; --rule: #E7DCD0;
  --red: #B8433F; --red-deep: #9C3532; --green: #2F6B53; --navy: #2F4767; --gold: #FCE3B4; --honey: #E5B45A;
  --blush: #F6E1DB; --mint: #DFEDE3; --sky: #DFE8F1;
  --radius: 20px; --shadow: 0 18px 40px rgba(58, 48, 44, .16), 0 3px 8px rgba(58, 48, 44, .08);
  --wrap: 1120px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 17px/1.6 "Nunito Sans", system-ui, sans-serif; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: "Fredoka", system-ui, sans-serif; font-weight: 700; line-height: 1.08; margin: 0; letter-spacing: -.005em; }
h2 { font-size: clamp(30px, 5.2vw, 46px); }
h3 { font-size: 22px; font-weight: 600; }
p { margin: 0; }
.wrap { width: min(100% - 32px, var(--wrap)); margin-inline: auto; }
.kicker { font: 700 13px/1 "Nunito Sans"; letter-spacing: .2em; text-transform: uppercase; color: var(--red); margin-bottom: 14px; }
.section { padding: clamp(64px, 9vw, 112px) 0; }
.section-head { max-width: 720px; margin-bottom: clamp(32px, 5vw, 52px); }
.section-head p { color: var(--muted); font-size: 18px; margin-top: 14px; }
.center { text-align: center; margin-inline: auto; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 58px; padding: 0 30px; border-radius: 99px;
  background: var(--red); color: #FFF8EE; font: 700 19px/1 "Fredoka"; text-decoration: none; box-shadow: 0 10px 22px rgba(184, 67, 63, .28);
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease; }
.btn:hover { background: var(--red-deep); transform: translateY(-1px); }
.btn:focus-visible, .pill:focus-visible, summary:focus-visible, .zoom:focus-visible { outline: 3px solid var(--honey); outline-offset: 3px; }
.btn.gold { background: var(--gold); color: var(--red-deep); box-shadow: 0 10px 24px rgba(58, 20, 18, .28); }
.btn.gold:hover { background: #FFF0D2; }
.btn .price { opacity: .9; font-weight: 600; }

/* header + hero */
.hero { position: relative; background: var(--red); color: #FFF8EE; padding-bottom: clamp(40px, 6vw, 72px); isolation: isolate; }
.hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: -17px; height: 18px; background: radial-gradient(circle at 50% 0, var(--red) 17px, transparent 17.5px) 0 0 / 36px 18px repeat-x; z-index: 1; }
.snow { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; }
.top { display: flex; align-items: center; justify-content: space-between; padding: 18px 0; }
.brand { display: flex; align-items: center; gap: 10px; font: 700 18px/1 "Fredoka"; text-decoration: none; color: #FFF8EE; }
.brand img { width: 34px; height: 34px; border-radius: 50%; background: #FFF8EE; }
.brand small { font: 700 10px/1 "Nunito Sans"; letter-spacing: .22em; opacity: .8; margin-left: 2px; }
.pill { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 18px; border-radius: 99px; background: #FFF8EE; color: var(--red-deep); font: 700 16px/1 "Fredoka"; text-decoration: none; }
.pill svg { width: 18px; height: 18px; }
.hero-grid { display: grid; gap: 34px; align-items: center; padding-top: clamp(12px, 3vw, 40px); }
.hero h1 { font-size: clamp(38px, 7.4vw, 68px); }
.hero h1 span { display: block; color: var(--gold); }
.lead { font-size: clamp(17px, 2.2vw, 20px); margin-top: 20px; max-width: 34em; color: #FFEFE4; }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 22px; margin-top: 28px; }
.facts { margin-top: 16px; font: 600 clamp(17px, 2.2vw, 19px)/1.3 "Fredoka"; color: var(--gold); letter-spacing: .2px; }
.xmas-bar { background: var(--green); color: #F4FBF7; text-align: center; font-size: 15px; line-height: 1.35; padding: 9px 14px; }
.xmas-bar b { color: var(--gold); }
.trust { list-style: none; padding: 0; margin: 22px 0 0; display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 15px; color: #FFE7DA; }
.trust li { display: flex; align-items: center; gap: 8px; }
.trust svg { width: 18px; height: 18px; color: var(--gold); flex: none; }
.fan { position: relative; aspect-ratio: 1.12; max-width: 560px; width: 100%; margin-inline: auto; }
.fan .bk { position: absolute; width: 46%; aspect-ratio: 8.5 / 11; border-radius: 6px; box-shadow: 0 22px 40px rgba(40, 10, 8, .38); background: #fff; }
.fan .bk img { width: 100%; height: 100%; border-radius: 6px; }
.fan .b1 { left: 3%; top: 6%; transform: rotate(-8deg); }
.fan .b2 { left: 27%; top: 0; z-index: 2; }
.fan .b3 { right: 3%; top: 6%; transform: rotate(8deg); }
.fan .bonus { position: absolute; z-index: 3; left: 50%; bottom: -2%; transform: translateX(-50%); display: flex; gap: 10px; align-items: flex-end; }
.fan .bonus .bk { position: relative; width: clamp(66px, 15vw, 96px); box-shadow: 0 12px 24px rgba(40, 10, 8, .35); }
.fan .bonus .bk:nth-child(2) { transform: translateY(-8px); }
.fan .badge { position: absolute; z-index: 4; left: 50%; bottom: calc(-2% + clamp(96px, 21vw, 136px)); transform: translateX(-50%); white-space: nowrap; background: var(--green); color: #FFF8EE;
  font: 700 13px/1 "Nunito Sans"; letter-spacing: .14em; text-transform: uppercase; padding: 9px 14px; border-radius: 99px; }

/* compare slider */
.compare-grid { display: grid; gap: 36px; align-items: center; }
.compare { position: relative; --pos: 50%; width: min(100%, 460px); aspect-ratio: 2 / 3; margin-inline: auto; border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); overflow: hidden; touch-action: pan-y; }
.compare img { position: absolute; inset: 6%; width: 88%; height: 88%; object-fit: contain; }
.compare .after { clip-path: inset(0 0 0 var(--pos)); }
.compare .handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 3px; margin-left: -1.5px; background: var(--red); pointer-events: none; }
.compare .handle::after { content: ""; position: absolute; top: 50%; left: 50%; width: 46px; height: 46px; margin: -23px 0 0 -23px; border-radius: 50%; background: var(--red);
  box-shadow: 0 6px 16px rgba(184, 67, 63, .4); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FFF8EE' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m9 6-6 6 6 6M15 6l6 6-6 6'/%3E%3C/svg%3E"); background-size: 26px; background-repeat: no-repeat; background-position: center; }
.compare input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; }
.compare .tag { position: absolute; top: 14px; font: 700 13px/1 "Nunito Sans"; letter-spacing: .12em; text-transform: uppercase; padding: 8px 12px; border-radius: 99px; background: rgba(255, 255, 255, .92); box-shadow: 0 1px 0 var(--rule); }
.compare .tag.l { left: 14px; } .compare .tag.r { right: 14px; color: var(--red); }
.compare:focus-within { outline: 3px solid var(--honey); outline-offset: 4px; }

/* books */
.cards3 { display: grid; gap: 22px; }
.book-card { background: var(--card); border-radius: var(--radius); padding: 22px; box-shadow: 0 1px 0 var(--rule); display: grid; gap: 16px; align-content: start; }
.book-card .row { display: flex; gap: 18px; align-items: center; }
.book-card .cov { width: 92px; flex: none; border-radius: 5px; box-shadow: 0 8px 18px rgba(58, 48, 44, .2); }
.age { display: inline-block; font: 700 14px/1 "Fredoka"; padding: 7px 12px; border-radius: 99px; color: #fff; margin-bottom: 8px; }
.c1 .age { background: var(--red); } .c2 .age { background: var(--green); } .c3 .age { background: var(--navy); }
.book-card h3 { font-size: 20px; }
.book-card .pg { color: var(--muted); font-size: 15px; margin-top: 4px; }
.book-card p.d { color: var(--muted); font-size: 16px; }
.thumbs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.zoom { padding: 0; border: 1px solid var(--rule); border-radius: 8px; background: #fff; cursor: zoom-in; overflow: hidden; aspect-ratio: 8.5 / 11; }
.zoom img { width: 100%; height: 100%; object-fit: cover; }
.themes { margin-top: 26px; color: var(--muted); font-size: 15.5px; text-align: center; }

/* bonuses */
.bonus-sec { background: #fff; }
.bonus-card { display: grid; grid-template-columns: 104px 1fr; gap: 18px; align-items: start; background: var(--paper); border-radius: var(--radius); padding: 20px; }
.bonus-card img { border-radius: 5px; box-shadow: 0 8px 18px rgba(58, 48, 44, .2); }
.bonus-card .flag { display: inline-block; font: 700 12px/1 "Nunito Sans"; letter-spacing: .16em; text-transform: uppercase; color: var(--green); margin-bottom: 8px; }
.bonus-card h3 { font-size: 19px; }
.bonus-card .pg { color: var(--muted); font-size: 14.5px; margin: 4px 0 8px; }
.bonus-card p.d { font-size: 15.5px; color: var(--muted); }

/* peek */
.strip { display: grid; grid-auto-flow: column; grid-auto-columns: min(42%, 200px); gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 6px 16px 18px; margin: 0 -16px; scrollbar-width: thin; }
.strip .zoom { scroll-snap-align: start; box-shadow: 0 8px 20px rgba(58, 48, 44, .12); }

/* how + for */
.steps, .uses { display: grid; gap: 18px; }
.step, .use { background: var(--card); border-radius: var(--radius); padding: 24px; box-shadow: 0 1px 0 var(--rule); }
.step .n { width: 42px; height: 42px; border-radius: 50%; background: var(--blush); color: var(--red); font: 700 20px/42px "Fredoka"; text-align: center; margin-bottom: 14px; }
.step p, .use p { color: var(--muted); margin-top: 8px; }
.use svg { width: 30px; height: 30px; color: var(--green); margin-bottom: 12px; }

/* offer */
.offer { background: var(--green); color: #F4FBF6; }
.offer .kicker { color: var(--gold); }
.offer-box { background: #fff; color: var(--ink); border-radius: 26px; padding: clamp(22px, 4vw, 40px); box-shadow: 0 24px 50px rgba(10, 30, 20, .3); display: grid; gap: 28px; }
.offer-list { list-style: none; margin: 0; padding: 0; }
.offer-list li { display: flex; justify-content: space-between; gap: 16px; padding: 13px 0; border-bottom: 1px dashed var(--rule); font-size: 16.5px; }
.offer-list li span:last-child { color: var(--muted); white-space: nowrap; }
.offer-list svg { width: 18px; height: 18px; color: var(--green); flex: none; margin-top: 4px; }
.offer-list li span:first-child { display: flex; gap: 10px; }
.offer-total { font: 600 18px/1.3 "Fredoka"; margin-top: 14px; }
.buybox { text-align: center; display: grid; gap: 14px; justify-items: center; align-content: center; }
.big-price { font: 700 clamp(52px, 9vw, 68px)/1 "Fredoka"; color: var(--red); }
.once { color: var(--muted); font-size: 15px; }
.guarantee { display: flex; gap: 14px; align-items: flex-start; text-align: left; background: var(--mint); border-radius: 16px; padding: 16px 18px; margin-top: 6px; max-width: 420px; }
.guarantee svg { width: 30px; height: 30px; color: var(--green); flex: none; }
.guarantee b { font-family: "Fredoka"; font-weight: 600; font-size: 17px; display: block; }
.guarantee span { font-size: 15px; color: var(--muted); }

/* faq */
.faq { max-width: 800px; }
.faq details { background: var(--card); border-radius: 16px; margin-bottom: 12px; box-shadow: 0 1px 0 var(--rule); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 56px 20px 22px; font: 600 18px/1.3 "Fredoka"; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 22px; top: 50%; transform: translateY(-50%); font: 700 26px/1 "Fredoka"; color: var(--red); }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 22px 20px; color: var(--muted); }

/* close + footer */
.close { background: var(--red); color: #FFF8EE; text-align: center; position: relative; isolation: isolate; }
.close p { color: #FFE7DA; margin: 14px auto 28px; max-width: 30em; font-size: 18px; }
footer { padding: 34px 0 110px; text-align: center; color: var(--muted); font-size: 14.5px; display: grid; gap: 8px; }
footer a { color: var(--muted); }

/* sticky, viewer, toast, preview */
.sticky { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 20; transform: translateY(140%); transition: transform .28s ease; }
.sticky.show { transform: none; }
.sticky .btn { width: 100%; }
@media (prefers-reduced-motion: reduce) { .sticky { transition: none; } .btn { transition: none; } }
dialog#viewer { border: 0; padding: 0; background: transparent; max-width: min(94vw, 720px); max-height: 94vh; }
dialog#viewer::backdrop { background: rgba(30, 20, 18, .72); }
dialog#viewer img { max-height: 86vh; width: auto; margin-inline: auto; border-radius: 10px; background: #fff; }
dialog#viewer button { display: block; margin: 12px auto 0; min-height: 44px; padding: 0 22px; border: 0; border-radius: 99px; background: #fff; font: 700 16px/1 "Fredoka"; color: var(--ink); cursor: pointer; }
.toast { position: fixed; left: 50%; bottom: 90px; transform: translate(-50%, 20px); background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 12px; font-size: 15px; opacity: 0; pointer-events: none; transition: .25s; z-index: 30; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.preview-bar { background: #FCE3B4; color: #5A3B12; text-align: center; font-size: 14px; padding: 8px 12px; }

@media (min-width: 760px) {
  .cards3, .steps, .uses { grid-template-columns: repeat(3, 1fr); }
  .bonus-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .bonus-card { grid-template-columns: 1fr; }
  .bonus-card img { width: 120px; }
  .compare-grid { grid-template-columns: 1fr 1fr; }
  .strip { grid-auto-flow: row; grid-template-columns: repeat(5, 1fr); grid-auto-columns: auto; overflow: visible; margin: 0; padding: 0; }
  .offer-box { grid-template-columns: 1.15fr 1fr; align-items: center; }
  .sticky { display: none; }
  footer { padding-bottom: 40px; }
}
@media (max-width: 759px) { .bonus-grid { display: grid; gap: 16px; } }
@media (min-width: 980px) {
  .hero-grid { grid-template-columns: 1.05fr 1fr; }
}
