@font-face { font-family: "Caveat"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/caveat-700.woff2") format("woff2") }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/poppins-400.woff2") format("woff2") }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/poppins-600.woff2") format("woff2") }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/poppins-700.woff2") format("woff2") }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 800; font-display: swap; src: url("../fonts/poppins-800.woff2") format("woff2") }
/* Crayonade: a school notebook on a sunny desk. Single light look by choice (category codes). */
:root {
  --sun: #ffd23f; --sun-soft: #fff4c9; --ink: #1d1d1b; --paper: #ffffff; --mint: #e8f6ee; --pink: #ffd6e0; --sky: #d9f2ff;
  --line: #ddd6c2; --muted: #5e5a52; --coral: #e8553e; --ok: #2f8f5b;
  --display: "Poppins", "Helvetica Neue", Arial, sans-serif; --hand: "Caveat", "Bradley Hand", cursive;
  color-scheme: light;
}
* { box-sizing: border-box }
html { scroll-behavior: smooth }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--display); font-size: 16px; line-height: 1.55 }
img { max-width: 100%; display: block }
.wrap { max-width: 1120px; margin: 0 auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)) }
h1, h2, h3 { line-height: 1.1; margin: 0; text-wrap: balance }
h2 { font-size: clamp(28px, 4.2vw, 42px); font-weight: 800; letter-spacing: -0.8px }
p { margin: 0 }
mark { background: linear-gradient(transparent 58%, var(--sun) 58%); color: inherit; padding: 0 3px }
.hand { font-family: var(--hand); font-weight: 700 }
.kicker { font-family: var(--hand); font-weight: 700; font-size: 28px; color: #b58900 }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; background: var(--ink); color: #fff; border: 0; border-radius: 999px; padding: 16px 28px;
  font: 700 17px var(--display); cursor: pointer; text-decoration: none; transition: transform .15s, box-shadow .15s; box-shadow: 0 5px 0 #000 }
.btn:hover { transform: translateY(-2px); box-shadow: 0 7px 0 #000 }
.btn:active { transform: translateY(3px); box-shadow: 0 2px 0 #000 }
.btn.ghost { background: transparent; color: var(--ink); box-shadow: none; border: 2px solid var(--ink) }
.btn.big { font-size: 19px; padding: 19px 34px }
:focus-visible { outline: 3px solid var(--coral); outline-offset: 3px }
section { padding-block: 72px }
.sticker { display: inline-block; border: 2px solid var(--ink); border-radius: 999px; padding: 3px 12px; font-weight: 700; font-size: 13px; background: #fff }

/* top */
.topbar { background: var(--ink); color: #fff; font-size: 14px; overflow: hidden; white-space: nowrap; padding-block: 9px }
.topbar .track { display: inline-flex; gap: 48px; animation: slide 28s linear infinite }
.topbar b { color: var(--sun) }
nav.wrap { display: flex; justify-content: space-between; align-items: center; padding-block: 14px }
.logo { font-weight: 800; font-size: 26px; letter-spacing: -1px; text-decoration: none; color: var(--ink) }
.logo i { font-style: normal; color: #d8a300 }

/* hero */
.hero { background: var(--sun); padding-block: 36px 70px; overflow: hidden }
.hero .wrap { display: grid; grid-template-columns: 1.02fr 0.98fr; gap: 36px; align-items: center }
.sheet { background: #fff; border: 2px solid var(--ink); border-radius: 16px; box-shadow: 0 7px 0 var(--ink); padding: 26px 28px 30px; position: relative;
  background-image: repeating-linear-gradient(transparent 0 33px, #e9edf5 33px 34px); background-position: 0 90px; overflow-wrap: anywhere }
.fields { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; font-size: 13px; color: var(--muted) }
.fields span { display: inline-block; width: clamp(40px, 16vw, 120px); border-bottom: 1.5px solid var(--line) }
.hero h1 { font-size: clamp(36px, 5.6vw, 60px); font-weight: 800; letter-spacing: -1.8px; margin: 18px 0 2px }
.hero .lead { font-size: 17.5px; margin: 14px 0 20px; max-width: 46ch }
.price-row { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 14px; margin-bottom: 18px }
.price-row b { font-size: 44px; font-weight: 800; line-height: 1 }
.price-row small { color: var(--muted); font-size: 14px }
.assure { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 20px; font-size: 14px; font-weight: 600 }
.assure span::before { content: "✓"; margin-right: 6px; color: var(--ok); font-weight: 800 }
.stage { position: relative; height: 470px }
.fan { position: absolute; inset: 0 }
.fan .pg { position: absolute; left: 50%; top: 40px; width: 46%; background: #fff; border: 2px solid var(--ink); border-radius: 8px; box-shadow: 0 6px 0 rgba(29,29,27,.85);
  transform-origin: 50% 160%; transform: translateX(-50%) rotate(var(--r)); animation: fanOpen 1.1s cubic-bezier(.2,.8,.2,1.15) both; animation-delay: var(--d) }
.fan .pg img { border-radius: 6px }
@keyframes fanOpen { from { transform: translateX(-50%) rotate(0deg) translateY(30px); opacity: .0 } to { transform: translateX(-50%) rotate(var(--r)); opacity: 1 } }
.badge { position: absolute; right: 2%; top: 10px; width: 136px; height: 136px; border-radius: 50%; background: var(--ink); color: var(--sun); display: grid; place-content: center; text-align: center;
  font-weight: 800; line-height: 1; transform: rotate(10deg); animation: wobble 4s ease-in-out infinite; z-index: 3 }
.badge b { font-size: 44px; display: block } .badge small { color: #fff; font-size: 14px }
@keyframes wobble { 0%, 100% { transform: rotate(10deg) scale(1) } 50% { transform: rotate(4deg) scale(1.05) } }
.lili { position: absolute; left: -2%; bottom: -20px; width: 150px; z-index: 4; animation: bob 3.2s ease-in-out infinite; transform-origin: 50% 100% }
@keyframes bob { 0%, 100% { transform: rotate(-3deg) translateY(0) } 50% { transform: rotate(3deg) translateY(-8px) } }

/* moments */
.moments { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 28px }
.moment { border: 2px solid var(--ink); border-radius: 14px; padding: 20px; background: var(--sun-soft); min-width: 0; transition: transform .2s }
.moment:hover { transform: translateY(-4px) rotate(-1deg) }
.moment h3 { font-size: 19px; margin-bottom: 6px }
.moment p { font-size: 15px; color: #3c3a35 }

/* counter strip */
.counter { background: var(--ink); color: #fff; padding-block: 44px }
.counter .wrap { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; text-align: center }
.counter b { display: block; font-size: clamp(38px, 5vw, 56px); font-weight: 800; color: var(--sun); line-height: 1; font-variant-numeric: tabular-nums }
.counter span { font-size: 15px; color: #e8e4da }

/* marquee */
.marquee { overflow: hidden; padding-block: 8px; mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent) }
.marquee .row { display: flex; gap: 18px; width: max-content; animation: slide 60s linear infinite; padding-block: 12px }
.marquee .row.rev { animation-direction: reverse; animation-duration: 70s }
.marquee:hover .row { animation-play-state: paused }
.marquee figure { margin: 0; width: 190px; background: #fff; border: 2px solid var(--ink); border-radius: 8px; padding: 6px; box-shadow: 0 5px 0 var(--ink); transform: rotate(var(--r, 0deg)); flex: none }
.marquee figcaption { font-size: 12.5px; font-weight: 700; text-align: center; padding-top: 6px }
@keyframes slide { to { transform: translateX(-50%) } }

/* books */
.books { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; margin-top: 26px }
.book { border: 2px solid var(--ink); border-radius: 16px; overflow: hidden; background: #fff; box-shadow: 0 6px 0 var(--ink); transition: transform .2s; min-width: 0; display: flex; flex-direction: column }
.book:hover { transform: translateY(-5px) }
.book-page { position: relative; background: var(--bg, var(--sun)); padding: 26px 30px 0; border-bottom: 2px solid var(--ink); height: 250px; overflow: hidden }
.book-page img { display: block; width: 78%; margin: 0 auto; border-radius: 6px; box-shadow: 0 10px 24px rgba(0,0,0,.22); transform: rotate(var(--t, -2deg)); transition: transform .3s }
.book:hover .book-page img { transform: rotate(0deg) translateY(-6px) }
.book .num { position: absolute; left: 12px; top: 12px; z-index: 1; background: var(--ink); color: #fff; font-weight: 800; font-size: 12px; padding: 4px 10px; border-radius: 99px }
.book-txt { padding: 16px 18px 20px }
.book .n { font-weight: 800; font-size: 13px }
.book h3 { font-size: 20px; margin: 4px 0 }
.book p { font-size: 14.5px; color: #3c3a35 }
.swipe-hint { display: none; font-family: Caveat, cursive; font-size: 24px; margin-top: 8px; color: #7a6a3a }

/* demo */
.demo { background: var(--sun-soft) }
.demo .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center }
.grid10 { display: grid; grid-template-columns: repeat(10, 1fr); border: 3px solid var(--ink); border-radius: 10px; overflow: hidden; background: #fff; max-width: 440px; width: 100%; aspect-ratio: 1 }
.grid10 button { border: 1px solid #cfcfcf; background: #fff; font: 600 13px var(--display); color: #777; cursor: pointer; padding: 0; transition: background .25s }
.grid10 button.done { color: transparent }
.palette { display: flex; flex-wrap: wrap; gap: 10px; margin: 16px 0 }
.palette button { display: flex; align-items: center; gap: 8px; border: 2px solid var(--ink); border-radius: 999px; padding: 6px 12px 6px 6px; background: #fff; font: 700 14px var(--display); cursor: pointer }
.palette button i { width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--ink); display: inline-block }
.palette button[aria-pressed="true"] { background: var(--ink); color: #fff }

/* video */
.video { background: var(--ink); color: #fff }
.video .wrap { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 40px; align-items: center }
.video video { width: 100%; max-width: 380px; border-radius: 16px; border: 3px solid var(--sun); background: var(--sun) }
.video h2 mark { background: linear-gradient(transparent 58%, #8a6b00 58%) }

/* steps & why */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 28px; counter-reset: s }
.step { background: var(--mint); border-radius: 14px; padding: 24px; min-width: 0 }
.step::before { counter-increment: s; content: counter(s); display: grid; place-content: center; width: 42px; height: 42px; border-radius: 50%; background: var(--ink); color: #fff; font-weight: 800; margin-bottom: 12px }
.step h3 { font-size: 19px; margin-bottom: 6px }
.why { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 30px; margin-top: 26px }
.why div { border-left: 5px solid var(--sun); padding-left: 16px; min-width: 0 }
.why h3 { font-size: 19px; margin-bottom: 4px }

/* offer */
.offer { background: var(--sun) }
.offer .card { background: #fff; border: 2px solid var(--ink); border-radius: 18px; box-shadow: 0 8px 0 var(--ink); padding: 32px; display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 32px; align-items: center }
.stack { width: 100%; border-collapse: collapse; font-size: 15.5px }
.stack td { padding: 9px 0; border-bottom: 1px dashed var(--line) }
.stack td:last-child { text-align: right; font-weight: 700; white-space: nowrap; font-variant-numeric: tabular-nums }
.stack .total td { border: 0; font-size: 19px; font-weight: 800 }
.covers { position: relative; height: 330px; overflow: hidden; padding: 10px }
.covers img { position: absolute; width: 44%; border: 2px solid var(--ink); border-radius: 8px; box-shadow: 0 6px 0 var(--ink) }

/* faq */
details { border-bottom: 1.5px solid var(--line); padding-block: 16px }
summary { font-weight: 700; cursor: pointer; font-size: 17px }
details p { margin-top: 10px; max-width: 70ch }
.reviews { border: 2px dashed var(--line); border-radius: 14px; padding: 22px; color: var(--muted); margin-top: 22px }

/* funnel pages */
.funnel-page { background: var(--sun-soft); min-height: 100vh; padding-bottom: 60px }
.panel { background: #fff; border: 2px solid var(--ink); border-radius: 18px; box-shadow: 0 8px 0 var(--ink); padding: 30px; max-width: 760px; margin: 18px auto 0 }
.panel h1 { font-size: clamp(26px, 4vw, 36px); font-weight: 800; letter-spacing: -0.6px; margin-bottom: 10px }
.steps-bar { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 10px; font-size: 13px; font-weight: 700 }
.steps-bar span { border: 2px solid var(--ink); border-radius: 999px; padding: 4px 12px; background: #fff }
.steps-bar span.on { background: var(--ink); color: #fff }
.line { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px dashed var(--line); font-variant-numeric: tabular-nums }
.bump { border: 3px solid var(--sun); background: #fffbe9; border-radius: 14px; padding: 16px; margin: 20px 0; display: grid; grid-template-columns: 26px 96px minmax(0, 1fr); gap: 14px; align-items: start; animation: pulse 2.4s ease-in-out infinite }
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(232,85,62,.0) } 50% { box-shadow: 0 0 0 6px rgba(232,85,62,.15) } }
.bump input { width: 24px; height: 24px; accent-color: var(--ink); margin-top: 4px }
.bump img { border: 1.5px solid var(--line); border-radius: 6px }
.bump .tag { display: inline-block; background: var(--ink); color: #fff; border-radius: 6px; font-size: 12px; font-weight: 800; padding: 2px 8px; margin-bottom: 4px }
.field { display: grid; gap: 6px; margin-top: 16px }
.field input { padding: 13px; border: 2px solid var(--ink); border-radius: 10px; font: 16px var(--display) }
.consent { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 10px; font-size: 13.5px; color: #3c3a35; margin: 16px 0 }
.consent input { margin-top: 3px; accent-color: var(--ink); width: 18px; height: 18px }
.err { color: var(--coral); font-weight: 700; font-size: 14px; margin-bottom: 10px }
.note { font-size: 13px; color: var(--muted); margin-top: 12px }
.upsell { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 24px; align-items: start; margin-top: 10px }
.upsell img { border: 2px solid var(--ink); border-radius: 8px; box-shadow: 0 6px 0 var(--ink) }
.checklist { list-style: none; padding: 0; margin: 12px 0; display: grid; gap: 6px }
.checklist li::before { content: "✓ "; color: var(--ok); font-weight: 800 }
.row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 18px; align-items: center }
.dl { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px; border: 2px solid var(--ink); border-radius: 12px; margin-top: 10px; background: var(--sun-soft) }
.confetti { position: fixed; inset: 0; pointer-events: none; overflow: hidden; z-index: 20 }
.confetti i { position: absolute; top: -20px; width: 10px; height: 14px; border-radius: 2px; animation: fall 3.2s ease-in forwards }
@keyframes fall { to { transform: translateY(110vh) rotate(720deg) } }

footer { background: var(--ink); color: #d8d4c8; padding-block: 36px; font-size: 14px }
footer a { color: #fff }
footer .wrap { display: grid; gap: 10px }
.sticky-cta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; display: none; background: var(--ink); padding: 10px max(16px, env(safe-area-inset-right, 0px)) calc(10px + env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px)) }
.sticky-cta .btn { width: 100%; background: var(--sun); color: var(--ink); box-shadow: none }

@media (max-width: 900px) {
  .hero .wrap, .demo .wrap, .video .wrap, .offer .card { grid-template-columns: 1fr }
  .stage { height: 400px }
  .moments, .counter .wrap { grid-template-columns: repeat(2, minmax(0, 1fr)) }
  .books { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 46%; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 4px 14px; margin-inline: -4px; scrollbar-width: none }
  .books::-webkit-scrollbar { display: none }
  .book { scroll-snap-align: start }
  .swipe-hint { display: block }
  .steps, .why { grid-template-columns: 1fr }
  .upsell { grid-template-columns: 1fr } .upsell img { max-width: 240px }
  .sticky-cta { display: block } body.has-sticky { padding-bottom: 76px }
}
@media (max-width: 520px) {
  .moments { grid-template-columns: 1fr }
  .books { grid-auto-columns: 80% }
  nav .btn { padding: 10px 16px; font-size: 14px; white-space: nowrap; box-shadow: 0 3px 0 #000 }
  .logo { font-size: 22px }
  .hero .hand { line-height: 1.15 }
  .stage { height: 330px } .badge { width: 104px; height: 104px } .badge b { font-size: 34px } .lili { width: 110px }
  .bump { grid-template-columns: 26px minmax(0, 1fr) } .bump img { display: none }
  .marquee figure { width: 150px }
  section { padding-block: 54px }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important } }

/* v3: age selector, lead magnet, mobile hero shows the pages first */
.ages { padding-block: 64px 40px }
.age-tabs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 22px 0 18px }
.age-tabs button { font: 800 19px var(--display); border: 2px solid var(--ink); border-radius: 14px; background: #fff; padding: 12px 8px; cursor: pointer; box-shadow: 0 4px 0 var(--ink); display: grid; gap: 2px; transition: transform .15s }
.age-tabs button small { font: 600 12.5px var(--display); color: var(--muted) }
.age-tabs button[aria-selected="true"] { background: var(--sun); transform: translateY(-2px) }
.age-panel { animation: ageIn .35s ease both }
.age-panel .age-count { font-size: 19px; margin-bottom: 6px }
.age-pages { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: 16px }
.age-pages img { border: 2px solid var(--ink); border-radius: 8px; background: #fff; box-shadow: 0 4px 0 rgba(29,29,27,.85) }
.age-pages img:nth-child(odd) { transform: rotate(-1.5deg) } .age-pages img:nth-child(even) { transform: rotate(1.5deg) }
@keyframes ageIn { from { opacity: 0; transform: translateY(8px) } to { opacity: 1; transform: none } }
.lead-magnet { background: #fff8e6; border-block: 2px solid var(--ink) }
.lead-magnet .wrap { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 36px; align-items: center }
.lm-pages { position: relative; height: 340px }
.lm-pages img { position: absolute; width: 52%; border: 2px solid var(--ink); border-radius: 8px; background: #fff; box-shadow: 0 6px 0 var(--ink) }
.lm-pages img:nth-child(1) { left: 4%; top: 20px; transform: rotate(-6deg); z-index: 3 }
.lm-pages img:nth-child(2) { left: 30%; top: 0; transform: rotate(4deg); z-index: 2 }
.lm-pages img:nth-child(3) { left: 46%; top: 40px; transform: rotate(10deg) }
.lm-form { max-width: 460px }
.lm-done { margin-top: 14px; display: grid; gap: 10px }
@media (max-width: 900px) {
  .hero { padding-top: 18px }
  .hero .stage { order: -1; height: 340px; margin-bottom: -8px } .hero .fan .pg { width: 34%; top: 16px }
  .lead-magnet .wrap { grid-template-columns: 1fr } .lm-pages { height: 250px; max-width: 420px }
}
@media (max-width: 520px) {
  .hero .stage { height: 270px } .hero .fan .pg { width: 36%; top: 12px } .hero .badge { width: 88px; height: 88px; top: 0 } .hero .badge b { font-size: 28px } .hero .lili { width: 92px; bottom: -10px }
  .age-tabs button { font-size: 17px; padding: 10px 4px } .age-tabs button small { font-size: 11px }
  .age-pages { grid-template-columns: repeat(2, minmax(0, 1fr)) }
  .bump { grid-template-columns: 26px 72px } .bump img { display: block } .bump label { grid-column: 1 / -1 }
}
@media (max-width: 520px) { .lm-top { padding-top: 22px } .lm-top .lm-pages { height: 205px; max-width: 290px } .lm-top .lm-pages img { width: 40% } .lm-top .wrap { gap: 18px } }
.hero-peek { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 14px 0 6px }
.hero-peek img { border: 1.5px solid var(--ink); border-radius: 6px; background: #fff }
.after { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 22px }
.after > div { border: 2px dashed var(--line); border-radius: 14px; padding: 16px; background: #fffdf5 }
.after h2 { font-size: 19px; margin-bottom: 6px }
.after p { font-size: 14.5px; margin-bottom: 10px }
@media (max-width: 640px) { .after { grid-template-columns: 1fr } }
.consent-bar { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 60; max-width: 560px; margin: 0 auto; background: #fff; border: 2px solid var(--ink); border-radius: 14px; box-shadow: 0 6px 0 var(--ink); padding: 14px 16px; font-size: 14px }
.consent-bar .row { display: flex; gap: 10px; justify-content: flex-end; margin-top: 10px }
.consent-bar .btn { padding: 10px 18px; font-size: 15px }
body.has-sticky .consent-bar { bottom: 92px }
.dl { flex-wrap: wrap } .dl > div { flex: 1 1 260px; min-width: 0 } .dl .btn { padding: 10px 18px; font-size: 15px }
.hero-photo { position: absolute; inset: 10px 0 30px; width: 100%; height: calc(100% - 40px); object-fit: cover; border: 2px solid var(--ink); border-radius: 16px; box-shadow: 0 8px 0 var(--ink); animation: photoIn .9s cubic-bezier(.2,.8,.2,1) both }
@keyframes photoIn { from { opacity: 0; transform: translateY(20px) rotate(-1deg) } to { opacity: 1; transform: none } }
.offer-video { width: 100%; border: 2px solid var(--ink); border-radius: 12px; display: block; background: #efe3d2 }
.upsell:has(.offer-video) { grid-template-columns: 300px minmax(0, 1fr) }
.offer-video { box-shadow: 0 6px 0 var(--ink) }
@media (max-width: 900px) { .upsell:has(.offer-video) { grid-template-columns: 1fr } .offer-video { max-width: 420px } }
/* v4: real-life scenes */
.hero-slides { position: absolute; inset: 10px 0 30px; border: 2px solid var(--ink); border-radius: 16px; box-shadow: 0 8px 0 var(--ink); overflow: hidden; background: #efe3d2 }
.hero-slides img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; animation: heroFade 13.5s infinite }
.hero-slides img:nth-child(1) { animation-delay: 0s } .hero-slides img:nth-child(2) { animation-delay: 4.5s } .hero-slides img:nth-child(3) { animation-delay: 9s }
@keyframes heroFade { 0% { opacity: 0; transform: scale(1.06) } 5% { opacity: 1 } 33% { opacity: 1 } 38% { opacity: 0; transform: scale(1) } 100% { opacity: 0 } }
@media (prefers-reduced-motion: reduce) { .hero-slides img:first-child { opacity: 1 } }
.lili-3d { width: 170px; filter: drop-shadow(0 8px 10px rgba(0,0,0,.18)) }
.moment-band { background: url(../img/ia-cuisine.jpg) center right/cover; padding: 0; min-height: 560px; display: flex; align-items: center }
.moment-band .wrap { width: 100% }
.moment-text { max-width: 470px; background: rgba(29,29,27,.82); color: #fff; border-radius: 18px; padding: 30px; margin: 40px 0; backdrop-filter: blur(4px) }
.moment-text h2 { color: #fff; font-size: clamp(30px, 4vw, 44px) }
.moment-text mark { color: var(--ink) }
.moment-text p { margin: 14px 0 20px; color: #f1ece2; font-size: 17px }
.worn { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 16px 0 8px }
.worn figure { margin: 0 } .worn img { border: 2px solid var(--ink); border-radius: 10px; box-shadow: 0 4px 0 var(--ink) }
.worn figcaption { font-size: 13px; font-weight: 700; margin-top: 6px; text-align: center }
@media (max-width: 900px) { .moment-band { min-height: 0; background-position: 70% center; padding: 260px 0 0 } .moment-text { margin: 0 0 24px; max-width: none } .lili-3d { width: 120px } }
@media (max-width: 520px) { .lili-3d { width: 96px } .moment-band { padding-top: 230px } }
.hero-slides img:first-child { opacity: 1 }
.moment-text mark { background: var(--sun); color: var(--ink); padding: 0 6px; border-radius: 4px; box-decoration-break: clone; -webkit-box-decoration-break: clone }
.hero-slides img:nth-child(1) { animation: none; opacity: 1 }
.hero-slides img:nth-child(2) { animation: slide2 13.5s infinite; animation-delay: 0s }
.hero-slides img:nth-child(3) { animation: slide3 13.5s infinite; animation-delay: 0s }
@keyframes slide2 { 0%, 30% { opacity: 0 } 35%, 63% { opacity: 1 } 68%, 100% { opacity: 0 } }
@keyframes slide3 { 0%, 63% { opacity: 0 } 68%, 95% { opacity: 1 } 100% { opacity: 0 } }
@media (prefers-reduced-motion: reduce) { .hero-slides img:nth-child(n+2) { animation: none; opacity: 0 } }
.step-img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 12px; border: 2px solid var(--ink); margin-bottom: 14px; background: #fff8e6 }
.step-img.step-lili { object-fit: contain; padding: 8px }
.tout { position: relative }
.tout img { border: 2px solid var(--ink); border-radius: 14px; box-shadow: 0 6px 0 var(--ink); display: block }
.seal { position: absolute; right: -10px; bottom: -14px; width: 118px; height: 118px; border-radius: 50%; background: var(--coral); color: #fff; display: grid; place-content: center; text-align: center; transform: rotate(-10deg); border: 3px solid var(--ink); box-shadow: 0 5px 0 var(--ink); line-height: 1.05 }
.seal b { font-size: 38px; font-weight: 800 } .seal span { font-size: 11.5px; font-weight: 700 }
.age-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px }
.age-lili { width: 110px; margin-bottom: -8px }
@media (max-width: 520px) { .age-lili { width: 78px } .seal { width: 96px; height: 96px; right: -4px } .seal b { font-size: 30px } }
.moment img { width: calc(100% + 36px); margin: -18px -18px 14px; aspect-ratio: 1 / 1; object-fit: cover; border-bottom: 2px solid var(--ink); border-radius: 12px 12px 0 0; display: block; max-width: none }
.moment { overflow: hidden }
.moment img { width: calc(100% + 40px); margin: -20px -20px 14px }
.offer-head { display: flex; align-items: center; gap: 12px } .offer-head img { width: 120px; flex: none } @media (max-width: 520px) { .offer-head img { width: 84px } }
@media (max-width: 520px) { .moments { grid-template-columns: 1fr 1fr; gap: 12px } .moment { padding: 14px } .moment img { width: calc(100% + 28px); margin: -14px -14px 10px } .moment h3 { font-size: 15.5px } .moment p { font-size: 13px } }
@media (max-width: 520px) { .seal span { font-size: 9.5px } .seal { width: 104px; height: 104px } }
.worn { grid-template-columns: repeat(3, minmax(0, 1fr)) }
.worn { grid-template-columns: repeat(2, minmax(0, 1fr)) }
.worn figure { min-width: 0 } .worn img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; display: block }
.bump img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover }
@media (max-width: 520px) { .bump { grid-template-columns: 26px minmax(0, 1fr) } .bump img { aspect-ratio: 16 / 10; object-position: 50% 62% } }
.line > b { white-space: nowrap }
.lili4 { display: block; width: 100%; max-width: 560px; height: auto; margin: 6px auto 2px }
.noel-band { padding-block: 40px 10px }
.noel-band .wrap { display: grid; grid-template-columns: 340px minmax(0, 1fr); gap: 32px; align-items: center; background: #1f3b2d; color: #fff; border: 2px solid var(--ink); border-radius: 20px; box-shadow: 0 6px 0 var(--ink); padding: 22px; max-width: 980px }
.noel-band img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 12px }
.noel-band .kicker { color: var(--sun) } .noel-band p { color: #e6efe9; margin-top: 10px }
.noel-band mark { color: var(--ink) }
@media (max-width: 720px) { .noel-band .wrap { grid-template-columns: 1fr; gap: 16px; margin-inline: 16px; padding: 14px } .noel-band img { aspect-ratio: 16 / 11; object-position: 50% 60% } }
.noel-band img, .book-page img { height: auto }
.noel-band mark { background: var(--sun); color: var(--ink); padding: 0 .18em; border-radius: 4px; box-decoration-break: clone; -webkit-box-decoration-break: clone }

/* ---- Apple pass (3 nov.): orientation, one button, readability ---- */
/* local nav: chapters + buy, sticky like Apple product pages */
.localnav { position: sticky; top: 0; z-index: 40; background: rgba(255, 255, 255, .86); -webkit-backdrop-filter: saturate(1.6) blur(14px); backdrop-filter: saturate(1.6) blur(14px); border-bottom: 1px solid rgba(29, 29, 27, .1) }
.localnav .wrap { display: flex; align-items: center; gap: 4px; overflow-x: auto; scrollbar-width: none; padding-block: 6px }
.localnav .wrap::-webkit-scrollbar { display: none }
.localnav a:not(.btn) { flex: none; display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; border-radius: 999px; color: var(--ink); text-decoration: none; font-weight: 600; font-size: 15px; transition: background .2s }
.localnav a:not(.btn):hover { background: rgba(29, 29, 27, .06) }
.localnav a[aria-current="true"] { background: var(--ink); color: #fff }
.localnav .ln-buy { margin-left: auto; flex: none; padding: 10px 18px; font-size: 15px; box-shadow: 0 3px 0 #000 }
[id] { scroll-margin-top: 70px }
@media (max-width: 900px) { .localnav .ln-buy { display: none } }  /* the bottom bar carries the button on phones */
/* readability: nothing under 15 px for parents reading on a phone */
.note, .moment p, .book .n, .price-row small, .assure, .fields { font-size: 15px }
.age-tabs button small { font-size: 12.5px }
.book .num { font-size: 13px }
@media (max-width: 520px) { .moment p { font-size: 15px } .seal span { font-size: 11px; line-height: 1.15 } .seal { width: 112px; height: 112px } }
/* tap targets ≥ 44 px */
.palette button { min-height: 44px; padding: 8px 14px 8px 8px; font-size: 15px }
nav.wrap .btn { min-height: 44px }
/* contrast: the hand-written kicker reaches 4.5:1 on every background */
.kicker { color: #8a6a00 }
.video .kicker, .moment-band .kicker, .noel-band .kicker { color: var(--sun) }
/* steps: compact on phones (image beside the text) */
@media (max-width: 520px) {
  .step { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 4px 14px; padding: 14px; align-items: start }
  .step::before { grid-column: 2; width: 30px; height: 30px; margin: 0; font-size: 15px }
  .step-img { grid-column: 1; grid-row: 1 / span 3; margin: 0; aspect-ratio: 1 }
  .step h3, .step p { grid-column: 2 }
  .step p { font-size: 15px }
}
/* lead-magnet thank-you page */
.lm-thanks { background: var(--sun-soft); padding-block: 40px 46px }
.lm-thanks .wrap { display: grid; grid-template-columns: 170px minmax(0, 1fr); gap: 28px; align-items: center; max-width: 900px }
.lm-thanks h1 { font-size: clamp(32px, 5vw, 50px); font-weight: 800; letter-spacing: -1.4px; margin: 4px 0 12px }
.lmt-lili { width: 100% }
.lmt-files { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; align-items: center }
.lmt-files .note { width: 100%; margin: 0 }
.lmt-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 34px; align-items: center; margin-top: 26px }
.lmt-list { list-style: none; padding: 0; margin: 0 0 20px; display: grid; gap: 10px; font-size: 17px }
.lmt-list li::before { content: "✓"; color: var(--ok); font-weight: 800; margin-right: 10px }
.lmt-code { background: #fff; border: 2px dashed var(--coral); border-radius: 12px; padding: 12px 16px; margin-bottom: 16px; font-size: 16px }
@media (max-width: 720px) { .lm-thanks .wrap, .lmt-grid { grid-template-columns: 1fr; gap: 18px } .lmt-lili { width: 120px } }
/* thank-you page links: styled, not the browser's default blue */
.panel a:not(.btn), .after a:not(.btn), .note a { color: var(--ink); font-weight: 700; text-decoration: underline; text-decoration-color: var(--sun); text-decoration-thickness: 3px; text-underline-offset: 3px }
.lm-photo { position: relative; margin: 0 }
.lm-photo img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 18px; border: 2px solid var(--ink); box-shadow: 0 6px 0 var(--ink) }
.lm-photo figcaption { position: absolute; left: 14px; bottom: 14px; background: #fff; border: 2px solid var(--ink); border-radius: 999px; padding: 6px 14px; font-size: 15px }
@media (max-width: 900px) { .lm-photo img { aspect-ratio: 5 / 4; object-position: 50% 45% } .lm-photo { max-width: 520px } }
/* free mini-cahier reminder */
.lm-sheet { position: fixed; z-index: 45; left: 12px; right: 12px; bottom: calc(86px + env(safe-area-inset-bottom, 0px)); max-width: 460px; margin-inline: auto; display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; gap: 12px; align-items: center;
  background: #fff; border: 2px solid var(--ink); border-radius: 18px; padding: 10px 40px 10px 10px; box-shadow: 0 6px 0 var(--ink), 0 18px 40px rgba(0,0,0,.18); animation: sheetIn .45s cubic-bezier(.2,.9,.25,1.2) both }
.lm-sheet[hidden] { display: none }
.lm-sheet img { width: 56px; height: 56px; object-fit: cover; border-radius: 10px }
.lm-sheet b { display: block; font-size: 16px } .lm-sheet span { font-size: 14px; color: var(--muted) }
.lm-sheet .btn { padding: 10px 16px; font-size: 15px; box-shadow: 0 3px 0 #000; background: var(--sun); color: var(--ink) }
.lm-x { position: absolute; top: 4px; right: 4px; width: 36px; height: 36px; border: 0; background: none; font-size: 26px; line-height: 1; cursor: pointer; color: var(--muted) }
@media (min-width: 901px) { .lm-sheet { bottom: 24px; right: 24px; left: auto } }
@keyframes sheetIn { from { transform: translateY(30px); opacity: 0 } to { transform: none; opacity: 1 } }
@media (prefers-reduced-motion: reduce) { .lm-sheet { animation: none } }
.lm-sheet { grid-template-columns: 52px minmax(0, 1fr) auto; padding: 10px 38px 10px 10px }
.lm-sheet img { width: 52px; height: 52px }
.lm-sheet b { font-size: 15px; line-height: 1.2 } .lm-sheet span { display: block; font-size: 13.5px; line-height: 1.3 }
@media (max-width: 720px) { .lmt-lili { width: 96px } }
.book p { font-size: 15px } nav.wrap .logo { display: inline-flex; align-items: center; min-height: 44px }

/* ---- independent review fixes (3 nov.) ---- */
/* phone first screen: the promise first, the photo right after (Meta visitors decide in seconds) */
@media (max-width: 600px) {
  .topbar { display: none }
  .hero { padding-top: 14px }
  .hero .stage { order: 0; height: 250px; margin: 6px 0 0 }
  .hero .sheet { padding: 18px 18px 22px }
  .hero h1 { font-size: 34px; margin-top: 10px }
  .hero .lead { font-size: 16px; margin: 8px 0 14px }
  .price-row { margin-bottom: 12px } .price-row b { font-size: 36px }
  .localnav a[href="#gratuit"] { display: none }
}
/* downsell page: thumbnails stay inside the screen */
.hero-peek { grid-template-columns: repeat(3, minmax(0, 1fr)); overflow: hidden }
.hero-peek img { min-width: 0; width: 100% }
/* the kitchen band shows the people, not the lamp */
.moment-band { background-position: 70% 70% }
.founder .wrap { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 28px; align-items: center; max-width: 860px }
.founder-photo { width: 180px; aspect-ratio: 1; object-fit: cover; border-radius: 50%; border: 3px solid var(--ink) }
.founder p { margin-top: 10px }
@media (max-width: 600px) { .founder .wrap { grid-template-columns: 1fr } .founder-photo { width: 120px } }
.gift-line { background: var(--sun-soft); border-radius: 10px; padding: 10px 14px; margin: 10px 0 0; font-weight: 600 }
/* ---- cash-machine review (3 nov.) ---- */
/* phone first screen: a short picture strip, then the promise (picture of the ad + words of the ad) */
@media (max-width: 600px) {
  .hero .stage { order: -1; height: 190px; margin: 0 0 12px }
  .hero .badge { width: 78px; height: 78px; top: -6px } .hero .badge b { font-size: 24px }
  .hero .lili { width: 74px; bottom: -14px }
  .hero h1 { font-size: 32px }
}
body.hero-cta-on .sticky-cta { transform: translateY(110%) }
.sticky-cta { transition: transform .25s ease }
@media (prefers-reduced-motion: reduce) { .sticky-cta { transition: none } }
.lm-age { border: 0; padding: 0; margin: 12px 0 4px; display: flex; flex-wrap: wrap; gap: 8px; align-items: center }
.lm-age legend { width: 100%; margin-bottom: 6px; font-size: 15px; padding: 0 }
.lm-age label { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 16px; border: 2px solid var(--ink); border-radius: 999px; background: #fff; font-weight: 700; font-size: 15px; cursor: pointer }
.lm-age input { accent-color: var(--ink); width: 18px; height: 18px }
.lm-age label:has(input:checked) { background: var(--sun) }
.avis-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 22px }
.avis-list blockquote { margin: 0; background: var(--sun-soft); border-radius: 14px; padding: 18px }
.avis-list footer { margin-top: 10px; font-weight: 700; font-size: 15px }
@media (max-width: 720px) { .avis-list { grid-template-columns: 1fr } }
.founder-name:empty { display: none }
/* Crayonade by Léa */
.logo small { font-family: var(--hand); font-weight: 700; font-size: .72em; letter-spacing: 0; margin-left: 6px; color: inherit }
.duo .wrap { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 30px; align-items: center; max-width: 860px }
.duo img { width: 100%; height: auto }
.duo p { margin-top: 10px }
@media (max-width: 600px) { .duo .wrap { grid-template-columns: 1fr; gap: 12px } .duo img { max-width: 240px; margin: 0 auto } }

/* tap a real page to read it */
.age-pages img, .book-page img { cursor: zoom-in }
.zoom { position: fixed; inset: 0; z-index: 100; background: rgba(29,29,27,.92); display: flex; align-items: center; justify-content: center; padding: 16px; flex-direction: column; gap: 12px }
.zoom img { max-width: 100%; max-height: calc(100dvh - 90px); background: #fff; border-radius: 6px }
.zoom button { background: #fff; color: var(--ink); border: 0; border-radius: 999px; font: inherit; font-weight: 700; padding: 12px 26px; min-height: 44px; cursor: pointer }
.after-first { margin: 16px 0 }

/* ---------- page in ten screens: one idea each, no two sections built alike ---------- */
.hero .btn, .offer .btn, #magic-end .btn { white-space: nowrap }
.hero-slides.single img { animation: none; opacity: 1 }
.feuilleter { background: var(--sun); padding-block: 44px; overflow: hidden }
.feuilleter h2 { font-size: clamp(34px, 6vw, 64px); letter-spacing: -1.6px }
.feuilleter-note { margin-top: 8px; font-size: 17px }
.strip { display: flex; gap: 26px; overflow-x: auto; scroll-snap-type: x proximity; padding: 28px max(16px, calc((100vw - 1120px) / 2)) 16px; scrollbar-width: none; -webkit-overflow-scrolling: touch }
.strip::-webkit-scrollbar { display: none }
.cahier { flex: none; scroll-snap-align: center; min-width: 0 }
.cahier-pages { display: flex; gap: 12px }
.cahier-pages img { width: 214px; height: auto; background: #fff; border: 2px solid var(--ink); border-radius: 6px; box-shadow: 0 6px 0 var(--ink); cursor: zoom-in; transition: transform .2s }
.cahier-pages img:nth-child(odd) { transform: rotate(-1.2deg) } .cahier-pages img:nth-child(even) { transform: rotate(1.2deg) translateY(6px) }
.cahier-pages img:hover { transform: rotate(0) translateY(-4px) }
.cahier h3 { margin-top: 20px; font-size: 18px; display: flex; align-items: center; gap: 8px }
.cahier h3 span { flex: none; display: grid; place-content: center; width: 28px; height: 28px; border-radius: 50%; background: var(--ink); color: var(--sun); font-size: 14px }
.cahier p { font-size: 14.5px; margin-left: 36px }
.strip-nav { display: flex; justify-content: space-between; align-items: center; gap: 12px }
.strip-nav .hand { font-size: 26px }
.strip-btns { display: flex; gap: 10px }
.strip-btns .btn { width: 48px; height: 48px; padding: 0 }
.ages { padding-block: 64px }
.ages h2 { font-size: clamp(30px, 4.6vw, 48px) }
.scene { background: var(--ink); color: #fff; padding-block: 0 }
.scene .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; padding-block: 56px }
.scene img { border-radius: 14px; width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover; object-position: 40% 62% }
.scene h2 { font-size: clamp(34px, 5vw, 56px); letter-spacing: -1.4px; margin-bottom: 18px }
.scene mark { background: linear-gradient(transparent 58%, #8a6b00 58%) }
.scene p + p { margin-top: 10px; color: #d9d4c7 }
.scene p { font-size: 18px }
.demo .row { margin: 0 }
.magic-sheet { background: #fff; border: 2px solid var(--ink); border-radius: 14px; box-shadow: 0 7px 0 var(--ink); padding: 18px; display: grid; gap: 14px; justify-items: center; max-width: 480px; width: 100%; margin-inline: auto }
.magic-sheet .fields { width: 100% }
.magic-sheet .grid10 { border-width: 2px; border-radius: 4px }
#magic-end { display: grid; gap: 10px; justify-items: center; text-align: center }
#magic-end[hidden] { display: none }
#magic-msg { font-size: 30px; line-height: 1.1 }
.grid10 button[aria-hidden="true"] { cursor: default }
.range { background-image: repeating-linear-gradient(transparent 0 37px, #e3e9f4 37px 38px); background-color: #fff; padding-block: 76px }
.range .wrap { max-width: 760px }
.range h2 { font-size: clamp(34px, 5.4vw, 58px); letter-spacing: -1.4px; margin-bottom: 22px }
.range p { font-size: 19px; line-height: 38px }
.ligne { padding-block: 0 72px }
.ligne ol { list-style: none; counter-reset: l; margin: 28px 0 0; padding: 0 }
.ligne li { counter-increment: l; position: relative; padding: 16px 0 16px 58px; border-top: 2px solid var(--ink); font-size: clamp(18px, 2.4vw, 24px); line-height: 1.3 }
.ligne li::before { content: counter(l); position: absolute; left: 4px; top: 10px; font-family: var(--hand); font-size: 46px; font-weight: 700; color: #b58900; line-height: 1 }
.ligne li b { display: block; font-weight: 800 }
.offer h2 { margin-bottom: 18px }
.coches { list-style: none; margin: 0 0 22px; padding: 0; font-size: 16.5px }
.coches li { padding: 7px 0 7px 28px; position: relative }
.coches li::before { content: "✓"; position: absolute; left: 0; color: var(--ok); font-weight: 800 }
.offer .price-row b { font-size: 56px }
.offer .note { margin-top: 16px; font-size: 13.5px }
.offer-side { align-self: center }
.offer-lines { max-width: 760px; margin: 26px auto 0; display: grid; gap: 10px; font-size: 16px }
.offer-lines a { color: inherit; font-weight: 700 }
.faq-wrap { display: grid; grid-template-columns: 0.75fr 1.25fr; gap: 48px; align-items: start }
.faq-side { position: sticky; top: 76px; display: grid; gap: 14px }
.faq-side img { width: 200px; height: auto }
.faq-side a, details a { color: inherit; font-weight: 700 }
details { padding-block: 0 }
summary { padding-block: 16px; min-height: 44px }
details p { margin: 0 0 16px }
.lm-photo img { aspect-ratio: 1 / 1; object-position: 50% 62% }
.err { color: #c43a25 }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto } .strip { scroll-behavior: auto } }
@media (max-width: 900px) {
  nav.wrap .btn { display: none }
  .scene .wrap { grid-template-columns: 1fr; gap: 26px; padding-block: 0 44px; padding-inline: 0 }
  .scene .wrap > div { padding-inline: 16px }
  .scene img { border-radius: 0; aspect-ratio: 5 / 4 }
  .strip-btns { display: none }
  .faq-wrap { grid-template-columns: 1fr; gap: 16px }
  .faq-side { position: static; grid-template-columns: 96px 1fr; align-items: center }
  .faq-side h2 { grid-column: 1 / -1 }
  .faq-side img { width: 96px }
}
@media (max-width: 520px) {
  .cahier-pages img { width: 168px }
  .feuilleter { padding-top: 32px }
  .range { padding-block: 52px }
  .range p { font-size: 17.5px }
}

.tout img, .lm-photo img, .scene img, .faq-side img { height: auto }
.hero h1 mark { white-space: nowrap }
.offer .card { align-items: center }
@media (min-width: 901px) {
  .hero .wrap { grid-template-columns: 1.22fr 0.78fr; gap: 28px }
  .hero h1 { font-size: clamp(44px, 4.6vw, 56px) }
  .stage { height: 500px }
}

.ligne li { display: block }
@media (max-width: 900px) {
  .offer-side { order: -1 }
  .tout img { aspect-ratio: 5 / 4; object-fit: cover; object-position: 50% 62% }
  .offer .card { padding: 22px; gap: 22px }
  .coches { font-size: 16px } .coches li { padding-block: 5px }
}

/* the magic page's ending: sky, teacher's stamp, Lili */
.magic-stage { position: relative; width: 100%; max-width: 440px; margin-inline: auto }
.magic-stage .grid10 { max-width: none; overflow: hidden }
.grid10 button[data-n="0"] { transition: background .35s ease }
.fini .grid10 button[data-n="0"] { background: #bfe6ff; border-color: #bfe6ff }
.fini .grid10 button { border-color: transparent }
.tampon { position: absolute; left: 8px; top: 8px; z-index: 3; padding: 6px 14px; border: 3px solid #d0392b; border-radius: 10px; color: #d0392b; background: rgba(255, 255, 255, .86); font: 700 30px var(--hand); transform: rotate(-12deg) scale(0); opacity: 0; pointer-events: none }
.fini .tampon { animation: stamp .42s cubic-bezier(.2, 1.6, .4, 1) .65s forwards }
@keyframes stamp { from { transform: rotate(-12deg) scale(2.4); opacity: 0 } to { transform: rotate(-12deg) scale(1); opacity: 1 } }
.magic-lili { position: absolute; right: -26px; bottom: -12px; width: 25%; z-index: 3; transform: translateY(40%) scale(.2); opacity: 0; pointer-events: none }
.fini .magic-lili { animation: liliPop .6s cubic-bezier(.2, 1.5, .4, 1) .95s forwards }
@keyframes liliPop { to { transform: none; opacity: 1 } }
.magic-confetti { position: absolute; left: 50%; top: 50%; z-index: 4; pointer-events: none }
.magic-confetti i { position: absolute; width: 9px; height: 13px; border-radius: 2px; animation: burst 1.4s cubic-bezier(.15, .7, .3, 1) both }
@keyframes burst { to { transform: translate(var(--x), calc(var(--y) + 340px)) rotate(var(--r)); opacity: 0 } 40% { transform: translate(calc(var(--x) * .7), var(--y)) rotate(calc(var(--r) * .4)); opacity: 1 } }
#magic-date.written { width: auto; border: 0; font: 700 21px var(--hand); color: var(--ink); line-height: 1 }
@media (prefers-reduced-motion: reduce) {
  .fini .tampon, .fini .magic-lili { animation: none; transform: rotate(-12deg); opacity: 1 } .fini .magic-lili { transform: none }
}

/* Léa's face in the logo, on every page */
.logo::before { content: ""; display: inline-block; width: 1.42em; height: 1.42em; margin-right: .32em; vertical-align: -.36em; border-radius: 50%; border: 2px solid currentColor; background: #fff4c9 url("../img/lea-tete.webp") center / cover }

.fierte { padding-block: 56px; text-align: center; background: #fff }
.fierte .wrap { max-width: 720px }
.fierte-ligne { display: inline-flex; flex-wrap: wrap; gap: 6px 12px; align-items: baseline; justify-content: center; font-size: 16px; color: var(--muted); margin-bottom: 18px; transform: rotate(-1deg) }
.fierte-ligne b { font: 700 38px var(--hand); color: #24509e; border-bottom: 1.5px solid var(--line); padding: 0 22px 0 8px; line-height: 1 }
.fierte h2 { font-size: clamp(30px, 4.8vw, 50px); letter-spacing: -1.2px; margin-bottom: 14px }
.fierte p { font-size: 18px; max-width: 54ch; margin-inline: auto }
.assure a { color: inherit }
@media (max-width: 900px) { .stage { height: 170px } .hero { padding-top: 12px } .lili-3d { width: 84px !important; bottom: -14px } .badge { width: 84px !important; height: 84px !important } .badge b { font-size: 28px !important } .badge small { font-size: 11px } }
.lili.lea-duo { width: 190px } @media (max-width: 900px) { .lili.lea-duo { width: 104px !important; left: -6px } }
.fierte-ligne { flex-wrap: nowrap; gap: 6px } .fierte-ligne b { font-size: 30px; padding: 0 12px 0 4px } 

/* the two offers, side by side */
.formules { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; align-items: stretch }
.formule-card { display: flex; flex-direction: column; background: #fff; border: 2px solid var(--ink); border-radius: 18px; box-shadow: 0 8px 0 var(--ink); padding: 24px }
.formule-card.plus { background: var(--sun-soft) }
.formule-card h3 { font-size: 26px; font-weight: 800; margin: 18px 0 6px }
.formule-card .price-row { margin-bottom: 12px }
.formule-card .coches { margin-bottom: 18px }
.formule-card .btn { margin-top: auto; text-align: center; white-space: normal; align-self: stretch }
.formule-card .tout img, .plus-photos img { height: 230px !important; aspect-ratio: auto; object-fit: cover; object-position: 50% 62% }
.plus-photos { display: grid; grid-template-columns: 1fr 1fr; gap: 10px }
.plus-photos img { display: block; width: 100%; border: 2px solid var(--ink); border-radius: 12px }
.plus-photos img:first-child { object-position: 50% 40% }
.plus-intro { margin: 0 0 6px; font-size: 16.5px }
.formule-card .stack { margin-bottom: 10px }
.formule-card .stack tr.total td { border-bottom: 0; font-weight: 800; font-size: 18px }
.formule-card .stack tr:nth-child(4) td { font-weight: 700 }
.plus-gain { margin: 0 0 18px; font-weight: 700 }
@media (max-width: 900px) { .formules { grid-template-columns: minmax(0, 1fr) } .formule-card { padding: 18px } }

/* the window shown when a visitor is about to leave */
.sortie { width: min(460px, calc(100vw - 24px)); max-height: calc(100dvh - 24px); overflow: auto; padding: 20px; border: 2px solid var(--ink); border-radius: 18px; box-shadow: 0 8px 0 var(--ink); background: var(--sun-soft); color: var(--ink) }
.sortie::backdrop { background: rgba(0, 0, 0, .55) }
.sortie > img { display: block; width: 100%; height: 130px; object-fit: cover; object-position: 50% 62%; border: 2px solid var(--ink); border-radius: 12px }
.sortie h2 { font-size: 27px; line-height: 1.12; margin: 14px 40px 8px 0 }
.sortie > p { margin: 0 0 8px; font-size: 16px }
.sortie .btn { width: 100%; text-align: center; white-space: normal }
.sortie .consent label { font-size: 13.5px }
.sortie-x { position: absolute; top: 8px; right: 8px; z-index: 1; width: 44px; height: 44px; border: 2px solid var(--ink); border-radius: 999px; background: #fff; color: var(--ink); font-size: 24px; line-height: 1; cursor: pointer }
.sortie-non { display: block; width: 100%; min-height: 44px; margin-top: 6px; border: 0; background: none; color: var(--muted); font: inherit; font-size: 15px; text-decoration: underline; cursor: pointer }
.sortie h2 mark { white-space: nowrap }
@media (max-width: 520px) { .sortie { padding: 16px } .sortie > img { height: 84px } .sortie h2 { font-size: 24px; margin-top: 10px } .sortie > p { font-size: 15px } }
@media (max-width: 520px) { .sortie .btn { font-size: 17px; padding-inline: 12px } .sortie .lm-age label { padding: 0 11px } }
