/* Public landing page: night-sky storybook for kids, calm and clear for parents. */

@font-face { font-family: "Aref Ruqaa"; src: url("/static/fonts/aref-ruqaa-arabic-700.woff2") format("woff2"); font-weight: 700; font-display: swap; unicode-range: U+0600-06FF, U+0750-077F, U+FB50-FDFF, U+FE70-FEFF; }
@font-face { font-family: "Baloo Bhaijaan 2"; src: url("/static/fonts/baloo-bhaijaan-2-arabic.woff2") format("woff2"); font-weight: 400 800; font-display: swap; unicode-range: U+0600-06FF, U+0750-077F, U+FB50-FDFF, U+FE70-FEFF; }
@font-face { font-family: "Baloo Bhaijaan 2"; src: url("/static/fonts/baloo-bhaijaan-2-latin.woff2") format("woff2"); font-weight: 400 800; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122; }
@font-face { font-family: "Tajawal"; src: url("/assets/Tajawal-Regular.ttf") format("truetype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Tajawal"; src: url("/assets/Tajawal-Bold.ttf") format("truetype"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Work Sans"; src: url("/static/fonts/work-sans-latin-wght-normal.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }

@property --sky-a { syntax: "<color>"; inherits: true; initial-value: #2a1850; }
@property --sky-b { syntax: "<color>"; inherits: true; initial-value: #6b3a9c; }

:root {
  --night-950: #150d2b; --night-800: #2a1850; --plum: #5b2d70; --rose: #b8667d; --peach: #ffb98a;
  --gold: #ffd36b; --coral: #ee7b5c; --teal: #3f9aa5; --pink: #f58fb0; --navy: #1f3a5f;
  --cream: #fff8ec; --paper: #fffdf6; --sand: #f1e4c8; --ink: #2a1a3d; --ink-soft: #62507a; --line: #e7d9b8;
  --f-display: "Aref Ruqaa", "Baloo Bhaijaan 2", "Tajawal", sans-serif;
  --f-ui: "Baloo Bhaijaan 2", "Tajawal", "Work Sans", system-ui, sans-serif;
  --f-body: "Tajawal", "Work Sans", system-ui, sans-serif;
  --out: cubic-bezier(.22, 1, .36, 1);
  --spring: cubic-bezier(.34, 1.56, .64, 1);
  --flip: 1;
  --sky-a: #2a1850; --sky-b: #6b3a9c;
  /* Storybook grid; the hero reuses it to place the girl over the book. */
  --peek-cols: minmax(0, .8fr) minmax(0, 1.4fr); --peek-gap: clamp(28px, 5vw, 72px);
}
html[dir="rtl"] { --flip: -1; }
html[lang="fr"] { --f-display: "Baloo Bhaijaan 2", "Work Sans", system-ui, sans-serif; --f-body: "Work Sans", "Tajawal", system-ui, sans-serif; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 24px; }
body.lp { margin: 0; font: 400 1.0625rem/1.65 var(--f-body); color: var(--ink); background: var(--cream); overflow-x: clip; }
html:has(dialog[open]) { overflow: hidden; }
img, svg { display: block; max-width: 100%; }
h1, h2, h3, p, ul, ol { margin: 0; padding: 0; }
ul, ol { list-style: none; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.icon { width: 1.25em; height: 1.25em; flex: none; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.flip { display: inline-flex; }
html[dir="rtl"] .flip { transform: scaleX(-1); }
:focus-visible { outline: 3px solid var(--coral); outline-offset: 3px; }
.skip-link { position: fixed; top: 8px; inset-inline-start: 8px; z-index: 100; padding: .6rem 1rem; border-radius: 999px; background: var(--ink); color: #fff; transform: translateY(-200%); text-decoration: none; }
.skip-link:focus { transform: none; }
.wrap { width: min(1120px, 100% - 40px); margin-inline: auto; }

/* ---------- Top bar ---------- */
.bar { position: fixed; inset: 0 0 auto 0; z-index: 40; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: max(14px, env(safe-area-inset-top)) 18px 14px; transition: background-color .3s, box-shadow .3s, backdrop-filter .3s; }
.bar.is-solid { background: rgba(255, 248, 236, .86); backdrop-filter: blur(14px) saturate(1.3); box-shadow: 0 1px 0 rgba(42, 26, 61, .08); }
.bar-brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font: 800 1.2rem/1 var(--f-ui); color: var(--ink); opacity: 0; transform: translateY(-6px); pointer-events: none; transition: opacity .3s, transform .3s var(--out); }
.bar.is-solid .bar-brand { opacity: 1; transform: none; pointer-events: auto; }
.bar-brand img { width: 40px; height: 40px; object-fit: contain; }
.bar-tools { display: flex; align-items: center; gap: 10px; }
.round-btn, .pill-link { display: inline-grid; place-items: center; height: 48px; min-width: 48px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .38); background: rgba(255, 255, 255, .1); color: #fff; backdrop-filter: blur(8px); text-decoration: none; transition: background-color .2s, border-color .2s, transform .15s var(--out), color .2s; }
.pill-link { padding: 0 18px; font: 700 .95rem/1 var(--f-ui); }
.bar.is-solid .round-btn, .bar.is-solid .pill-link { color: var(--ink); border-color: rgba(42, 26, 61, .2); background: rgba(255, 255, 255, .6); }
.round-btn:active, .pill-link:active { transform: scale(.94); }
@media (hover: hover) { .round-btn:hover, .pill-link:hover { background: rgba(255, 255, 255, .22); } .bar.is-solid .round-btn:hover, .bar.is-solid .pill-link:hover { background: #fff; } }
.round-btn .icon { width: 22px; height: 22px; }
.round-btn[data-motion-toggle] .when-off, .round-btn[data-motion-toggle][aria-pressed="true"] .when-on { display: none; }
.round-btn[data-motion-toggle][aria-pressed="true"] .when-off { display: inline-flex; }
.pill-link-dark { color: var(--ink); border-color: rgba(42, 26, 61, .25); background: transparent; }

/* ---------- Menu ---------- */
.menu { position: fixed; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: clamp(10px, 2vw, 22px); border: 0; background: transparent; color: var(--ink); overflow: hidden; }
.menu::backdrop { background: transparent; }
.menu-sheet { position: relative; height: 100%; display: grid; place-items: center; overflow: auto; border-radius: clamp(24px, 4vw, 40px); border: 1px solid rgba(42, 26, 61, .14);
  background: radial-gradient(circle at 85% 8%, #ffe4cf, transparent 45%), repeating-linear-gradient(90deg, rgba(120, 90, 60, .05) 0 1px, transparent 1px 56px), var(--cream);
  clip-path: circle(0 at var(--cx, 50%) var(--cy, 40px)); transition: clip-path .32s cubic-bezier(.4, 0, 1, 1); }
.menu.is-open .menu-sheet { clip-path: circle(160vmax at var(--cx, 50%) var(--cy, 40px)); transition: clip-path .75s var(--out); }
.menu-close { position: absolute; top: 14px; inset-inline-end: 14px; }
.round-btn-dark { color: var(--ink); border-color: rgba(42, 26, 61, .22); background: rgba(255, 255, 255, .7); }
@media (hover: hover) { .round-btn-dark:hover { background: #fff; } }
.menu-inner { width: min(560px, 100% - 48px); padding-block: 72px 40px; text-align: center; }
.menu-label { font: 700 .95rem/1 var(--f-ui); color: #6b4a8c; letter-spacing: .04em; }
.menu-title { margin-top: 14px; font: 700 clamp(2.6rem, 8vw, 4.6rem)/1.1 var(--f-display); text-wrap: balance; }
.menu-links { margin-top: 28px; text-align: start; }
.menu-link { display: flex; align-items: center; justify-content: space-between; padding: 1.05rem .25rem; border-bottom: 1px solid rgba(42, 26, 61, .13); font: 800 clamp(1.5rem, 4.5vw, 2rem)/1.2 var(--f-ui); text-decoration: none; color: var(--ink); }
.menu-link .icon { width: 26px; height: 26px; color: var(--coral); transition: transform .25s var(--spring); }
@media (hover: hover) { .menu-link:hover span:first-child { translate: calc(var(--flip) * -6px) 0; } .menu-link:hover .icon { transform: scale(1.2) rotate(8deg); } }
.menu-link span:first-child { transition: translate .25s var(--out); }
.menu-lang { display: inline-block; margin-top: 28px; padding: .5rem 1.2rem; border-radius: 999px; border: 1px solid rgba(42, 26, 61, .22); font: 700 .95rem/1.4 var(--f-ui); text-decoration: none; }
.menu-label, .menu-title, .menu-links li, .menu-lang { opacity: 0; transform: translateY(14px); filter: blur(4px); }
.menu.is-open .menu-label, .menu.is-open .menu-title, .menu.is-open .menu-links li, .menu.is-open .menu-lang { opacity: 1; transform: none; filter: none; transition: opacity .5s var(--out), transform .6s var(--out), filter .5s var(--out); transition-delay: calc(.18s + var(--n, 0) * 70ms); }
.menu-title { --n: 1; } .menu-links li:nth-child(1) { --n: 2; } .menu-links li:nth-child(2) { --n: 3; } .menu-links li:nth-child(3) { --n: 4; } .menu-lang { --n: 5; }

/* ---------- Buttons ---------- */
.btn-pill { display: inline-flex; align-items: center; justify-content: center; gap: .6rem; min-height: 56px; padding: 0 1.7rem; border: 0; border-radius: 999px; font: 800 1.08rem/1 var(--f-ui); text-decoration: none; white-space: nowrap; transition: transform .2s var(--out), box-shadow .2s, background-color .2s, opacity .2s; }
.btn-pill:active:not(:disabled) { transform: scale(.96); }
.btn-pill:disabled { opacity: .4; cursor: not-allowed; }
.btn-pill .icon { width: 1.3em; height: 1.3em; }
.btn-sun { background: linear-gradient(135deg, #ffd36b, #ff9a76 55%, #f58fb0); color: var(--ink); box-shadow: 0 10px 30px -8px rgba(255, 154, 118, .7); }
.btn-glass { color: #fff; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 220, 160, .45); backdrop-filter: blur(8px); }
.btn-dark { background: var(--ink); color: #fff; box-shadow: 0 14px 30px -10px rgba(42, 26, 61, .55); }
.btn-quiet { background: rgba(255, 255, 255, .55); color: var(--ink-soft); border: 1px solid var(--line); }
@media (hover: hover) {
  .btn-sun:hover { transform: translateY(-3px); box-shadow: 0 16px 34px -8px rgba(255, 154, 118, .85); }
  .btn-glass:hover { background: rgba(255, 255, 255, .2); transform: translateY(-3px); }
  .btn-dark:hover:not(:disabled) { transform: translateY(-3px); }
  .btn-quiet:hover:not(:disabled) { background: #fff; }
}

/* ---------- Hero ---------- */
/* Room under the hero copy for the girl: her height (775x820 image) plus her offset and a gap. */
.hero { --child-w: clamp(130px, 16vw, 250px); --child-bottom: clamp(30px, 3.4vw, 76px); --hero-foot: calc(var(--child-w) * 1.06 + var(--child-bottom) + 34px); position: relative; z-index: 2; isolation: isolate; min-height: 82svh; display: grid; place-items: center; padding: 96px 20px var(--hero-foot); overflow: clip; color: #fff6e4;
  background: linear-gradient(180deg, #150d2b 0%, #2a1850 36%, #5b2d70 64%, #b8667d 86%, #e8a08a 100%); }
.hero-sky { position: absolute; inset: 0; z-index: -1; }
.hero-glow { position: absolute; inset: 0; background: radial-gradient(60% 50% at 18% 28%, rgba(255, 110, 110, .22), transparent 70%), radial-gradient(50% 40% at 82% 20%, rgba(255, 216, 120, .14), transparent 70%); }
.stars { position: absolute; inset: 0 0 35%; background-image: radial-gradient(1.4px 1.4px at 8% 14%, #fff, transparent), radial-gradient(1.2px 1.2px at 22% 38%, #ffe8b8, transparent), radial-gradient(1.6px 1.6px at 34% 9%, #fff, transparent), radial-gradient(1.2px 1.2px at 47% 26%, #fff, transparent), radial-gradient(1.4px 1.4px at 58% 12%, #ffe8b8, transparent), radial-gradient(1.2px 1.2px at 71% 33%, #fff, transparent), radial-gradient(1.6px 1.6px at 86% 8%, #fff, transparent), radial-gradient(1.2px 1.2px at 93% 42%, #ffe8b8, transparent), radial-gradient(1.2px 1.2px at 15% 58%, #fff, transparent), radial-gradient(1.2px 1.2px at 64% 55%, #fff, transparent); opacity: .85; }
.star { position: absolute; width: var(--s); height: var(--s); color: #fff3cf; animation: twinkle var(--t) ease-in-out var(--d) infinite; }
.star .icon-spark { width: 100%; height: 100%; fill: currentColor; }
@keyframes twinkle { 0%, 100% { opacity: .25; transform: scale(.7); } 50% { opacity: 1; transform: scale(1); } }
.shooting { position: absolute; top: 14%; inset-inline-start: 62%; width: 120px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, transparent, #fff); opacity: 0; transform: rotate(18deg); animation: shoot 11s ease-in 3s infinite; }
@keyframes shoot { 0% { opacity: 0; translate: 0 0; } 2% { opacity: 1; } 8% { opacity: 0; translate: calc(var(--flip) * -320px) 110px; } 100% { opacity: 0; translate: calc(var(--flip) * -320px) 110px; } }

.cloud { position: absolute; color: #fff; opacity: .16; will-change: transform; }
.cloud svg { width: 100%; height: auto; fill: currentColor; }
.cloud-a { top: 24%; width: clamp(150px, 22vw, 320px); inset-inline-end: 4%; animation: drift 90s ease-in-out infinite alternate; }
.cloud-b { top: 50%; width: clamp(180px, 28vw, 420px); inset-inline-start: 6%; opacity: .14; animation: drift 120s ease-in-out -30s infinite alternate-reverse; }
.cloud-c { top: 12%; width: clamp(110px, 15vw, 220px); inset-inline-start: 34%; opacity: .1; animation: drift 100s ease-in-out -50s infinite alternate; }
@keyframes drift { to { translate: calc(var(--flip) * 70px) 0; } }

.moon { position: absolute; top: clamp(72px, 11vh, 120px); inset-inline-start: clamp(16px, 8vw, 140px); width: clamp(120px, 17vw, 230px); aspect-ratio: 1; padding: 0; border: 0; background: none; cursor: pointer; animation: bob 7s ease-in-out infinite; will-change: transform; -webkit-tap-highlight-color: transparent; }
.moon svg { width: 100%; height: 100%; overflow: visible; filter: drop-shadow(0 0 30px rgba(255, 216, 120, .35)); }
@keyframes bob { 50% { translate: 0 -12px; rotate: 2deg; } }
.moon .eyes-happy { opacity: 0; }
.moon.is-happy .eyes { opacity: 0; } .moon.is-happy .eyes-happy { opacity: 1; }
.moon .eye { transform-box: fill-box; transform-origin: center; animation: blink 6s infinite; }
@keyframes blink { 0%, 94%, 100% { transform: scaleY(1); } 97% { transform: scaleY(.1); } }
.moon-bubble { position: absolute; top: 100%; inset-inline-start: 50%; translate: calc(var(--flip) * -50%) 6px; padding: .45rem .9rem; border-radius: 999px; background: #fff6e4; color: var(--ink); font: 800 .95rem/1.2 var(--f-ui); white-space: nowrap; opacity: 0; transform: translateY(6px) scale(.9); transition: opacity .25s, transform .35s var(--spring); pointer-events: none; }
.moon.is-happy .moon-bubble { opacity: 1; transform: none; }


.skyline { position: absolute; inset-inline: 0; bottom: 0; width: 100%; height: clamp(130px, 20vw, 260px); }
.skyline .sky-wins rect, .skyline rect.win { fill: #ffcf6e; }
.skyline .win { fill: #ffcf6e; opacity: .85; animation: flicker 7s ease-in-out infinite; }
.skyline .w2 { animation-delay: -1.2s; } .skyline .w3 { animation-delay: -2.9s; animation-duration: 9s; } .skyline .w4 { animation-delay: -4.4s; } .skyline .w5 { animation-delay: -5.6s; animation-duration: 11s; }
@keyframes flicker { 0%, 100% { opacity: .9; } 46% { opacity: .9; } 50% { opacity: .25; } 54% { opacity: .9; } }

.hero-body { position: relative; z-index: 2; display: grid; justify-items: center; text-align: center; gap: 0; }
.eyebrow { display: flex; align-items: center; gap: 16px; font: 700 .85rem/1 var(--f-ui); letter-spacing: .32em; color: #f4d78c; }
.eyebrow::before, .eyebrow::after { content: ""; width: clamp(40px, 9vw, 110px); height: 1px; background: linear-gradient(90deg, transparent, #d9b45f); }
.eyebrow::after { transform: scaleX(-1); }
.hero-title { margin-top: clamp(14px, 2.4vh, 28px); display: grid; justify-items: center; padding-bottom: .1em; font: 700 clamp(2.7rem, min(7.4vw, 10vh), 6rem)/1.18 var(--f-display); letter-spacing: 0; color: #fff6e4; text-shadow: 0 8px 50px rgba(255, 190, 110, .28); text-wrap: balance; }
html[lang="fr"] .hero-title { max-width: 15em; font: 800 clamp(2.1rem, min(4.9vw, 7.4vh), 4rem)/1.1 var(--f-ui); }
.hero-title .word { display: block; }
.hero-title .word:nth-child(2) { color: var(--gold); translate: calc(var(--flip) * -.4em) 0; }
html[lang="fr"] .hero-title .word:nth-child(2) { translate: none; }
.hero-lede { margin-top: clamp(12px, 2.4vh, 26px); max-width: 34rem; font: 400 clamp(1.08rem, 2.4vw, 1.4rem)/1.75 var(--f-body); color: #f3e7ff; }
.hero-cta { margin-top: clamp(18px, 3.2vh, 34px); display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
/* Hero edge: three painted cloud banks, cropped (not stretched) so their shapes keep their proportions
   at every width. The front bank ends in the page cream. Parallax moves the far banks down behind it. */
.hero-bank { position: absolute; inset-inline: 0; bottom: -1px; width: 100%; pointer-events: none; overflow: visible; }
.bank-back { z-index: 0; height: clamp(130px, 12.5vw, 330px); }
.bank-back path { fill: #f6d2e0; opacity: .72; }
.bank-mid { z-index: 0; height: clamp(110px, 10.84vw, 290px); }
.bank-mid path { fill: #fde4d8; opacity: .95; }
.bank-front { z-index: 2; height: clamp(84px, 8.34vw, 220px); }
.bank-rim { fill: none; stroke: #eec6ab; stroke-width: 2.5; opacity: .85; }
.bank-base { fill: var(--cream); }
/* The girl leans over the front bank (which hides her cut-off arms), centred over the storybook column
   (same grid as .peek-grid). The wrapper mirrors her in RTL so she looks towards the page centre;
   GSAP animates only the inner image. */
.hero-anchor { position: absolute; inset-inline: 0; bottom: var(--child-bottom); z-index: 1; pointer-events: none; }
.hero-anchor-in { width: min(1120px, 100% - 40px); margin-inline: auto; display: grid; grid-template-columns: var(--peek-cols); gap: var(--peek-gap); }
.hero-child { grid-column: 2; justify-self: center; width: var(--child-w); scale: var(--flip) 1; user-select: none; }
.hero-child img { display: block; width: 100%; height: auto; transform-origin: 50% 100%; filter: drop-shadow(0 0 30px rgba(255, 196, 120, .5)); }
@media (max-width: 760px) { .hero-anchor-in { grid-template-columns: 1fr; } .hero-child { grid-column: 1; } }
@media (max-width: 560px) {
  .hero { --child-w: 118px; --child-bottom: 50px; }
  /* Keep the brand eyebrow clear of the moon on phones. */
  .hero .eyebrow::before, .hero .eyebrow::after { display: none; }
  .hero .moon { width: 84px; inset-inline-start: 10px; }
}

/* The spark the girl is looking at: placed and moved by landing-motion.js along the rainbow head. */
.rb-spark { position: fixed; left: 0; top: 0; width: 0; height: 0; pointer-events: none; opacity: 0; display: none; }
html.rainbow-fixed .rb-spark { display: block; }
.rb-spark-top { z-index: 3; }
.rb-spark-low { z-index: 0; }
.rb-spark-in { position: absolute; left: 0; top: 0; }
.rb-spark i { position: absolute; left: -38px; top: -38px; width: 76px; height: 76px; border-radius: 50%; background: radial-gradient(circle, #fffdf0 0 7%, #ffe08a 14%, rgba(255, 196, 96, .5) 30%, rgba(255, 170, 90, .16) 50%, transparent 70%); }
.rb-spark svg { position: absolute; left: -12px; top: -12px; width: 24px; height: 24px; fill: #fff7d6; filter: drop-shadow(0 0 6px rgba(255, 214, 120, .9)); }

.js [data-hero-in] { opacity: 0; transform: translateY(.45em); filter: blur(10px); }
.js .hero-title .word[data-hero-in] { transform: translateY(.3em) scale(.94); }
.is-ready [data-hero-in] { opacity: 1; transform: none; filter: none; transition: opacity .9s var(--out), transform 1s var(--out), filter .8s var(--out); transition-delay: calc(var(--n, 0) * 110ms); }
.is-ready .eyebrow { --n: 0; } .is-ready .word:nth-child(1) { --n: 2; } .is-ready .word:nth-child(2) { --n: 4; } .is-ready .hero-lede { --n: 6; } .is-ready .hero-cta { --n: 8; }

/* ---------- Sections ---------- */
.sec { position: relative; overflow-x: clip; padding: clamp(64px, 9vw, 112px) 0; background: repeating-linear-gradient(90deg, rgba(120, 90, 60, .04) 0 1px, transparent 1px 64px), var(--cream); }
.how { padding-top: clamp(72px, 10vw, 120px); }
.how .sec-head { margin-bottom: clamp(40px, 6vw, 72px); }

/* ---------- Journey: the steps and the promises share one rainbow layer. The sections are transparent and
   sit above it, so the rainbow runs behind their cards and ends hidden behind the finished picture. ---------- */
.journey { position: relative; background: repeating-linear-gradient(90deg, rgba(120, 90, 60, .04) 0 1px, transparent 1px 64px), var(--cream); }
.journey .sec { z-index: 1; background: transparent; }
/* The rainbow emerges from under the hero through a cream fade instead of being cut by its straight edge. */
.journey::after { content: ""; position: absolute; inset: 0 0 auto; z-index: 0; height: clamp(60px, 9vw, 130px); background: linear-gradient(var(--cream), rgba(255, 248, 236, 0)); pointer-events: none; }
.rainbow-layer { position: absolute; inset: 0; z-index: 0; pointer-events: none; mix-blend-mode: multiply; }
/* While motion runs the rainbow follows live element positions (the promises section is pinned), so the
   layer is the viewport. Without motion it is drawn once in the journey's own coordinates. */
html.rainbow-fixed .rainbow-layer { position: fixed; }
.rainbow-svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.rainbow-gl { position: absolute; inset: 0; width: 100%; height: 100%; }
html.has-gl-rainbow .rainbow-svg { display: none; }
.rainbow-svg path { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.rb-wash { stroke: #f9cfd8; stroke-width: 150px; opacity: .3; }
.rb { opacity: .72; }
.rb-1 { stroke: #f26d7d; stroke-width: 112px; } .rb-2 { stroke: #f79a5a; stroke-width: 96px; } .rb-3 { stroke: #f7cf55; stroke-width: 80px; }
.rb-4 { stroke: #86c97a; stroke-width: 64px; } .rb-5 { stroke: #5fbfc9; stroke-width: 48px; } .rb-6 { stroke: #6f8fe0; stroke-width: 32px; } .rb-7 { stroke: #a77bd6; stroke-width: 16px; }
@media (max-width: 760px) {
  .rb-wash { stroke-width: 96px; } .rb-1 { stroke-width: 70px; } .rb-2 { stroke-width: 60px; } .rb-3 { stroke-width: 50px; }
  .rb-4 { stroke-width: 40px; } .rb-5 { stroke-width: 30px; } .rb-6 { stroke-width: 20px; } .rb-7 { stroke-width: 10px; }
}

/* ---------- Promises: three cards become one picture ---------- */
.merge-inner { display: grid; justify-items: center; }
.merge-cards { --gap: 0px; --r: 0px; --out: 24px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); width: min(100%, 900px); margin: 0; padding: 0; list-style: none; }
.merge-card { position: relative; min-width: 0; }
.merge-flip { display: flex; flex-direction: column; height: 100%; }
.merge-face { overflow: hidden; }
.merge-img { position: relative; order: -1; aspect-ratio: 1000 / 2013; background: var(--sand); }
/* Each slice shows its third of one picture, so the three meet seamlessly once the gaps close. */
.merge-img i { position: absolute; inset-block: 0; left: calc(var(--i) * -100%); width: 300%; background: url("/static/img/sample-page.webp") 47% 50% / cover no-repeat; }
.merge-card.s0 { --i: 0; } .merge-card.s1 { --i: 1; } .merge-card.s2 { --i: 2; }
.merge-card.s0 .merge-img { border-radius: var(--out) var(--r) var(--r) var(--out); }
.merge-card.s1 .merge-img { border-radius: var(--r); }
.merge-card.s2 .merge-img { border-radius: var(--r) var(--out) var(--out) var(--r); }
.merge-text { position: relative; display: grid; align-content: start; gap: 8px; padding: 18px 16px 4px; }
.merge-ico { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 14px; color: #fff; background: var(--coral); }
.merge-ico .icon { width: 22px; height: 22px; }
.merge-text h3 { font: 800 1.08rem/1.3 var(--f-ui); }
.merge-text p { font-size: .93rem; line-height: 1.5; color: var(--ink-soft); }
.c1 .merge-ico { color: var(--gold); background: #3b2266; } .c2 .merge-ico { background: #e0a526; } .c3 .merge-ico { background: var(--teal); }
.merge-caption { max-width: 22ch; margin-top: clamp(20px, 3vw, 34px); text-align: center; font: 700 clamp(1.8rem, 4.4vw, 3rem)/1.25 var(--f-display); color: var(--ink); text-wrap: balance; }
html[lang="fr"] .merge-caption { font: 800 clamp(1.5rem, 3.4vw, 2.3rem)/1.2 var(--f-ui); }
.merge-n { font-weight: 800; color: var(--coral); } .merge-dot { margin-inline: .35em; opacity: .45; }
.c1 .merge-n { color: var(--gold); }

/* Motion: the section is pinned and fills the viewport; each card is a 3D flipper, promise in front and
   picture slice on the back. */
html.merge-live .merge { min-height: 100svh; display: grid; align-content: center; padding-block: 88px 28px; }
html.merge-live .merge-cards { --gap: clamp(12px, 2vw, 26px); --r: var(--out); width: min(100%, 900px, calc((100svh - 290px) * 1.49)); aspect-ratio: 1000 / 671; }
html.merge-live .merge-card { perspective: 1400px; }
html.merge-live .merge-flip { position: absolute; inset: 0; display: block; transform-style: preserve-3d; }
html.merge-live .merge-face { position: absolute; inset: 0; backface-visibility: hidden; -webkit-backface-visibility: hidden; }
html.merge-live .merge-text { align-content: center; padding: clamp(14px, 2.2vw, 28px); border-radius: var(--out); border: 1px solid var(--line); background: #fffdf6; box-shadow: 0 26px 46px -30px rgba(91, 45, 112, .55); }
html.merge-live .c1 .merge-text { color: #fff6e4; border-color: transparent; background: radial-gradient(120% 70% at 85% 0%, rgba(255, 211, 107, .22), transparent 60%), linear-gradient(165deg, #2a1850, #5b2d70); }
html.merge-live .c1 .merge-text p { color: rgba(255, 246, 228, .8); }
html.merge-live .c3 .merge-text { background: #fde8de; border-color: #f4cdbb; }
html.merge-live .merge-text h3 { font-size: clamp(1rem, 1.7vw, 1.3rem); }
html.merge-live .merge-img { aspect-ratio: auto; transform: rotateY(180deg); box-shadow: 0 30px 50px -34px rgba(42, 26, 61, .6); }

.sec-head { max-width: 40rem; margin-bottom: clamp(32px, 5vw, 56px); }
.sec-head.center, .center { text-align: center; margin-inline: auto; }
.kicker { display: inline-flex; align-items: center; gap: .5rem; padding: .35rem 1rem; border-radius: 999px; background: #fff; border: 1px solid var(--line); font: 800 .95rem/1.3 var(--f-ui); color: #6b4a8c; }
.kicker .icon { color: var(--coral); }
.sec-title { margin-top: 14px; font: 700 clamp(2.3rem, 6vw, 4rem)/1.18 var(--f-display); color: var(--ink); text-wrap: balance; }
html[lang="fr"] .sec-title { font-weight: 800; line-height: 1.1; }
.lede { margin-top: 14px; font-size: 1.2rem; color: var(--ink-soft); max-width: 30rem; }

.js [data-reveal] { opacity: 0; transform: translateY(26px); filter: blur(6px); }
.js [data-reveal].is-in { opacity: 1; transform: none; filter: none; transition: opacity .8s var(--out), transform .9s var(--out), filter .7s var(--out); transition-delay: calc(var(--i, 0) * 100ms); }

.how-grid { counter-reset: s; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.how-card { --c: var(--coral); position: relative; padding: 22px 20px 22px; border-radius: 22px; background: #fffdf8; border: 1px solid rgba(42, 26, 61, .08); box-shadow: 0 18px 34px -26px rgba(42, 26, 61, .4); transition: transform .35s var(--out), box-shadow .35s var(--out); }
.how-card.c2 { --c: var(--teal); } .how-card.c3 { --c: #d0961c; } .how-card.c4 { --c: #e0628d; }
.how-num { position: absolute; top: 20px; inset-inline-end: 20px; font: 800 .95rem/1 var(--f-ui); color: color-mix(in srgb, var(--c) 75%, var(--ink)); opacity: .75; }
.how-ico { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 15px; background: color-mix(in srgb, var(--c) 13%, #fff); color: var(--c); margin-bottom: 14px; }
.how-ico .icon { width: 23px; height: 23px; }
.how-card h3 { font: 800 1.12rem/1.35 var(--f-ui); }
.how-card p { margin-top: 4px; font-size: .97rem; line-height: 1.55; color: var(--ink-soft); }
@media (hover: hover) { .how-card:hover { transform: translateY(-3px); box-shadow: 0 24px 40px -26px rgba(42, 26, 61, .45); } }



/* ---------- The form ---------- */
.start { background: radial-gradient(60% 50% at 90% 0%, #ffe3cf, transparent 70%), radial-gradient(50% 40% at 0% 100%, #f3e8ff, transparent 70%), repeating-linear-gradient(90deg, rgba(120, 90, 60, .04) 0 1px, transparent 1px 64px), var(--cream); }
/* With motion the form is its own full-screen stage, centred (landing-motion.js glides into it). */
/* The form arrives as a sheet sliding over the storybook: rounded top that flattens as it settles
   (landing-motion.js scrubs --sheet-r and the stage's scale). */
html.form-live .start { --sheet-r: 44px; position: relative; z-index: 1; margin-top: -44px; border-radius: var(--sheet-r) var(--sheet-r) 0 0; box-shadow: 0 -24px 50px -34px rgba(42, 26, 61, .45); }
html.form-live .start { min-height: 100svh; display: grid; align-content: center; padding-block: clamp(76px, 9vh, 96px) clamp(20px, 3vh, 36px); }
html.form-live .wiz-card { padding: clamp(22px, 3.6vh, 48px) clamp(22px, 4vw, 52px); }
html.form-live .wiz-nav { margin-top: clamp(16px, 2.6vh, 32px); }
html.form-live .drop { padding: clamp(16px, 2.4vh, 30px) 20px; }
.start-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(24px, 4vw, 56px); align-items: center; }
/* Short laptop screens: tighten the form so the stage still fits one screen. */
@media (min-width: 1001px) and (max-height: 860px) {
  html.form-live .wiz-top { margin-bottom: 14px; gap: 12px; }
  html.form-live .step-title { font-size: clamp(1.9rem, 5.4vh, 2.8rem); }
  html.form-live .step-sub { margin-top: 6px; font-size: 1.02rem; max-width: none; }
  html.form-live .wiz-nav { margin-top: 12px; }
  html.form-live .big-input, html.form-live .line-input { font-size: clamp(1.4rem, 3.6vh, 2rem); }
  html.form-live .drop-ico { width: 48px; height: 48px; }
  html.form-live .big-area { padding: 10px 16px; font-size: 1.05rem; }
  html.form-live .contact-grid { gap: 10px 22px; }
  html.form-live .line-field label { font-size: .9rem; }
  html.form-live .consent { margin-top: 10px; font-size: .9rem; line-height: 1.45; gap: 10px; }
  html.form-live .wiz-card { padding-block: 20px; }
  html.form-live .call-note { margin-top: 8px; font-size: .9rem; }
  html.form-live .parents-note { margin-top: 12px; padding-top: 10px; }
}
.start-side { display: grid; justify-items: center; gap: clamp(16px, 3vh, 30px); }
.start-head { margin: 0; }
.start-head .sec-title { font-size: clamp(2rem, min(3.4vw, 5.2vh), 3rem); }
html[lang="fr"] .start-head .sec-title { font-size: clamp(1.7rem, min(2.6vw, 4.2vh), 2.4rem); }
.start-head .lede { margin-top: 8px; font-size: 1.08rem; }
.start-side .cover-wrap { position: static; width: 100%; }
.start-side .cover { width: min(270px, 100%); }
.wiz-card { position: relative; padding: clamp(26px, 5vw, 60px); border-radius: clamp(28px, 4vw, 44px); border: 1px solid var(--line); background: linear-gradient(140deg, #fffdf6, #f8eed6); box-shadow: 0 40px 80px -40px rgba(91, 45, 112, .45); }
.wiz-card::before { content: ""; position: absolute; inset: 12px; border-radius: calc(clamp(28px, 4vw, 44px) - 12px); border: 1px solid rgba(160, 130, 80, .22); pointer-events: none; }
.hp { position: absolute; inset-inline-start: -9999px; width: 1px; height: 1px; overflow: hidden; }
.wiz-top { position: relative; display: grid; gap: 18px; margin-bottom: clamp(20px, 4vw, 36px); }
.wiz-progress { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 6px; max-width: 300px; margin-inline-start: auto; }
.wiz-progress li { height: 8px; border-radius: 99px; background: #ddd0e4; position: relative; overflow: hidden; }
.wiz-progress li::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(90deg, var(--coral), var(--pink)); transform: scaleX(0); transform-origin: var(--origin, left); transition: transform .5s var(--out); }
html[dir="rtl"] .wiz-progress li::after { --origin: right; }
.wiz-progress li.is-done::after, .wiz-progress li.is-current::after { transform: scaleX(1); }
.wiz-progress li.is-current { background: #c9b6d6; }
.wiz-label { display: inline-flex; align-items: center; gap: .5rem; font: 800 1rem/1 var(--f-ui); color: #6b4a8c; }
.wiz-label .icon { color: var(--coral); }

.wiz-steps { position: relative; }
.js .wiz-steps { display: grid; }
.step { border: 0; padding: 0; margin: 0 0 2.2rem; min-width: 0; }
.js .step { grid-area: 1 / 1; margin: 0; visibility: hidden; opacity: 0; pointer-events: none; transform: translateX(calc(var(--flip) * var(--shift, 28px))); filter: blur(6px); }
.js .step.is-active { visibility: visible; opacity: 1; pointer-events: auto; transform: none; filter: none; transition: opacity .38s var(--out) .06s, transform .5s var(--out) .06s, filter .38s var(--out) .06s; }
.js .step.is-leaving { visibility: visible; opacity: 0; transform: translateX(calc(var(--flip) * var(--shift-out, -18px))); filter: blur(5px); transition: opacity .2s ease-in, transform .22s ease-in, filter .2s ease-in; }
.wiz-steps[data-dir="prev"] { --shift: -28px; --shift-out: 18px; }
.step-title { font: 700 clamp(2.3rem, 6vw, 4.2rem)/1.15 var(--f-display); color: var(--ink); text-wrap: balance; outline: none; }
html[lang="fr"] .step-title { font-weight: 800; font-size: clamp(2rem, 5vw, 3.4rem); }
.step-sub { margin-top: 10px; color: var(--ink-soft); font-size: 1.12rem; max-width: 34rem; }
.step > :nth-child(n+3) { margin-top: clamp(22px, 4vw, 34px); }

.big-field { position: relative; }
.big-field::after, .line-field::after { content: ""; position: absolute; inset: auto 0 0; height: 3px; border-radius: 3px; background: linear-gradient(90deg, var(--coral), var(--pink)); transform: scaleX(0); transform-origin: var(--origin, left); transition: transform .45s var(--out); pointer-events: none; }
html[dir="rtl"] .big-field::after, html[dir="rtl"] .line-field::after { --origin: right; }
.big-field:focus-within::after, .line-field:focus-within::after { transform: scaleX(1); }
.big-input, .line-input { width: 100%; border: 0; border-bottom: 2px solid #cdbfd6; border-radius: 0; background: transparent; color: var(--ink); font: 700 clamp(1.7rem, 4.5vw, 2.7rem)/1.3 var(--f-ui); padding: .35em 0; }
.big-field.small .big-input { font-size: clamp(1.15rem, 3vw, 1.5rem); font-weight: 600; }
.big-input::placeholder, .big-area::placeholder, .line-input::placeholder { color: #b7aac4; font-weight: 600; }
.big-input:focus, .big-area:focus, .line-input:focus { outline: none; }
.big-area { width: 100%; resize: none; border: 2px solid #d9cce0; border-radius: 22px; background: rgba(255, 255, 255, .7); padding: 16px 20px; font: 600 clamp(1.15rem, 3vw, 1.4rem)/1.6 var(--f-ui); color: var(--ink); transition: border-color .2s, box-shadow .2s; }
.big-area:focus { border-color: var(--coral); box-shadow: 0 0 0 5px rgba(238, 123, 92, .18); }
.line-field { position: relative; display: grid; gap: 2px; padding-bottom: 2px; }
.line-field label { font: 800 .98rem/1.4 var(--f-ui); color: #6b4a8c; }
.line-input { font-size: clamp(1.2rem, 3vw, 1.5rem); font-weight: 600; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 28px; }
.line-phone { grid-column: 1 / -1; }
.phone-row { display: flex; align-items: baseline; gap: 10px; }
.phone-cc { flex: none; font: 800 1.15rem/1 var(--f-ui); color: #8a76a0; }
.call-note { margin-top: 12px; }
.done-call { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 8px; margin-top: 10px !important; color: var(--ink-soft); }
.done-call .icon { width: 18px; height: 18px; color: var(--teal); }
.done-call b { color: var(--ink); }

.opts { display: grid; gap: 14px; }
.opts-4 { grid-template-columns: repeat(4, 1fr); } .opts-2 { grid-template-columns: repeat(2, 1fr); }
.opt { position: relative; display: block; cursor: pointer; }
.opt input { position: absolute; opacity: 0; inset: 0; }
.opt-body { position: relative; display: grid; justify-items: center; align-content: center; gap: 2px; min-height: 108px; padding: 14px 12px; border-radius: 24px; border: 2px solid var(--line); background: #fff; font: 700 1rem/1.3 var(--f-ui); color: var(--ink-soft); text-align: center; transition: transform .25s var(--spring), border-color .2s, background-color .2s, box-shadow .2s; }
.opt-row { grid-auto-flow: column; justify-content: center; gap: 14px; min-height: 92px; }
.opt-big { font: 800 2rem/1 var(--f-ui); color: var(--ink); }
.badge-letter { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 18px; background: #f3e8ff; color: #6b4a8c; font: 800 1.5rem/1 var(--f-ui); }
.opt-name { font: 800 1.5rem/1 var(--f-ui); color: var(--ink); }
.opt-check { position: absolute; top: 10px; inset-inline-end: 10px; width: 24px; height: 24px; display: grid; place-items: center; border-radius: 50%; background: var(--coral); color: #fff; transform: scale(0); transition: transform .35s var(--spring); }
.opt-check .icon { width: 14px; height: 14px; stroke-width: 3.2; }
.opt input:checked + .opt-body { border-color: var(--coral); background: #fff1e6; box-shadow: 0 10px 24px -12px rgba(238, 123, 92, .7); transform: translateY(-3px); }
.opt input:checked + .opt-body .opt-check { transform: scale(1); }
.opt input:focus-visible + .opt-body { outline: 3px solid var(--coral); outline-offset: 3px; }
@media (hover: hover) { .opt:hover .opt-body { border-color: #f0b79f; transform: translateY(-2px); } }

.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip-btn { display: inline-flex; align-items: center; gap: .5rem; min-height: 46px; padding: 0 1.1rem; border-radius: 999px; border: 2px solid var(--line); background: #fff; font: 700 1rem/1 var(--f-ui); color: var(--ink-soft); transition: transform .25s var(--spring), background-color .2s, border-color .2s, color .2s; }
.chips-lg .chip-btn { min-height: 54px; font-size: 1.1rem; padding: 0 1.4rem; }
.chip-btn .icon { color: var(--coral); }
.chip-btn:active { transform: scale(.94); }
.chip-btn[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; transform: translateY(-2px); }
.chip-btn[aria-pressed="true"] .icon { color: var(--gold); }
@media (hover: hover) { .chip-btn:hover { border-color: #f0b79f; transform: translateY(-2px); } }

.drop { position: relative; display: grid; justify-items: center; gap: 6px; padding: 30px 20px; border-radius: 28px; border: 2.5px dashed #cdb8d8; background: rgba(255, 255, 255, .6); text-align: center; cursor: pointer; transition: transform .3s var(--spring), border-color .2s, background-color .2s; }
.drop-ico { width: 64px; height: 64px; display: grid; place-items: center; border-radius: 22px; background: #fff1e6; color: var(--coral); transition: transform .4s var(--spring); }
.drop-ico .icon { width: 30px; height: 30px; }
.drop-text { font: 800 1.2rem/1.3 var(--f-ui); color: var(--ink); }
.drop small { color: var(--ink-soft); }
.drop.is-over, .drop:has(input:focus-visible) { border-color: var(--coral); background: #fff1e6; }
.drop.is-over { transform: scale(1.02); } .drop.is-over .drop-ico { transform: translateY(-4px) rotate(-6deg) scale(1.1); }
.drop:has(input:focus-visible) { outline: 3px solid var(--coral); outline-offset: 3px; }
@media (hover: hover) { .drop:hover .drop-ico { transform: translateY(-3px) rotate(-6deg); } }
.thumbs-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 18px !important; }
.thumbs-row li { position: relative; width: 96px; height: 96px; border-radius: 22px; background: #fff; padding: 5px; box-shadow: 0 10px 20px -10px rgba(42, 26, 61, .5); animation: pop-in .5s var(--spring) both; }
.thumbs-row li:nth-child(odd) { rotate: -3deg; } .thumbs-row li:nth-child(even) { rotate: 3deg; }
.thumbs-row img { width: 100%; height: 100%; object-fit: cover; border-radius: 17px; }
.thumbs-row button { position: absolute; top: -10px; inset-inline-end: -10px; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; border: 2px solid #fff; background: var(--ink); color: #fff; padding: 0; }
.thumbs-row button .icon { width: 16px; height: 16px; }
@keyframes pop-in { from { opacity: 0; transform: scale(.6); } }

.consent { display: flex; align-items: flex-start; gap: 14px; cursor: pointer; font-size: 1.05rem; color: var(--ink-soft); }
.consent input { position: absolute; opacity: 0; }
.consent-box { flex: none; width: 30px; height: 30px; display: grid; place-items: center; border-radius: 10px; border: 2px solid #cdbfd6; background: #fff; color: #fff; transition: background-color .2s, border-color .2s, transform .3s var(--spring); }
.consent-box .icon { width: 18px; height: 18px; stroke-width: 3.4; transform: scale(0); transition: transform .3s var(--spring); }
.consent input:checked + .consent-box { background: var(--coral); border-color: var(--coral); transform: scale(1.06); }
.consent input:checked + .consent-box .icon { transform: scale(1); }
.consent input:focus-visible + .consent-box { outline: 3px solid var(--coral); outline-offset: 3px; }

.step-error, .step-msg { padding: .6rem 1rem; border-radius: 16px; background: #fde9e7; color: #9d2a1f; font: 700 1rem/1.5 var(--f-ui); }
.step-error { margin-top: 12px; }
.step-msg { margin-top: 18px; }
.field-note { display: flex; align-items: center; gap: 8px; margin-top: 14px; font-size: .95rem; color: var(--ink-soft); }
.field-note .icon { flex: none; width: 18px; height: 18px; color: var(--teal); }
.parents-note a { color: #8a3f2a; font-weight: 700; }
.parents-note { margin-top: 18px; padding-top: 16px; border-top: 1px dashed var(--line); font-size: .9rem; line-height: 1.6; color: var(--ink-soft); }
.kicker-mark { padding: .5rem; }
/* An undecided product fact (see FACTS in landing_text.py): deliberately conspicuous until it is filled. */
mark.tbd { padding: 0 .25em; border-radius: 4px; background: #ffe3a3; color: #6a3d00; outline: 1px dashed #c98a12; }
.shake { animation: shake .45s cubic-bezier(.36, .07, .19, .97); }
@keyframes shake { 20%, 60% { translate: -7px 0; } 40%, 80% { translate: 7px 0; } }

.wiz-nav { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-top: clamp(24px, 4vw, 40px); }
.wiz-nav [data-submit] { display: none; }
.js .wiz-nav.is-last [data-next] { display: none; } .js .wiz-nav.is-last [data-submit] { display: inline-flex; }
html:not(.js) .wiz-nav [data-next], html:not(.js) .wiz-nav [data-back] { display: none; } html:not(.js) .wiz-nav [data-submit] { display: inline-flex; }
.wiz.is-sending { opacity: .85; pointer-events: none; }
/* Form buttons. "Next": the arrow leans the way the story goes. "Send": arrives with a spring and one
   shine sweep when the last step opens; on hover the shine passes again and the sparkles turn; while
   sending, the shine keeps running as progress. */
.wiz-nav [data-next] .flip .icon { transition: translate .3s var(--out); }
.wiz-nav [data-submit] { position: relative; overflow: hidden; isolation: isolate; }
.wiz-nav [data-submit]::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(105deg, transparent 32%, rgba(255, 255, 255, .7) 50%, transparent 68%); transform: translateX(calc(var(--flip) * -130%)); pointer-events: none; }
.wiz-nav [data-submit] .icon { transition: rotate .45s var(--spring), scale .45s var(--spring); }
.wiz-nav.is-last [data-submit] { animation: cta-in .6s var(--spring) backwards; }
.wiz-nav.is-last [data-submit]::after { animation: cta-shine 1.1s .35s var(--out) backwards; }
@media (hover: hover) {
  .wiz-nav [data-next]:hover .flip .icon { translate: 4px 0; }
  .wiz-nav [data-submit]:hover::after { animation: cta-shine .9s var(--out); }
  .wiz-nav [data-submit]:hover .icon { rotate: 20deg; scale: 1.18; }
}
.wiz.is-sending [data-submit]::after { animation: cta-shine 1.3s linear infinite; }
@keyframes cta-in { from { opacity: 0; transform: translateY(8px) scale(.9); } }
@keyframes cta-shine { from { transform: translateX(calc(var(--flip) * -130%)); } to { transform: translateX(calc(var(--flip) * 130%)); } }
.draft-note { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; margin: 0 0 18px; padding: 10px 14px; border-radius: 16px; background: #eef6f4; color: #2c5f66; font: 700 .95rem/1.4 var(--f-ui); }
.draft-note .icon { flex: none; width: 18px; height: 18px; }
.draft-reset { margin-inline-start: auto; min-height: 36px; padding: 0 14px; border: 1px solid rgba(44, 95, 102, .3); border-radius: 999px; background: #fff; color: inherit; font: inherit; cursor: pointer; }
.draft-reset:focus-visible { outline: 3px solid var(--coral); outline-offset: 2px; }
@media (hover: hover) { .draft-reset:hover { background: #f7fbfa; } }
.wiz.is-sending [data-submit] .icon { animation: fly .9s ease-in-out infinite; }
@keyframes fly { 50% { translate: calc(var(--flip) * -6px) -4px; rotate: -12deg; } }

.done { display: grid; justify-items: center; gap: 6px; text-align: center; padding: 10px 0; }
.done-burst { width: 96px; height: 96px; display: grid; place-items: center; border-radius: 50%; background: linear-gradient(135deg, #ffd36b, #ff9a76); color: var(--ink); margin-bottom: 14px; animation: pop-in .7s var(--spring) both; box-shadow: 0 0 0 12px rgba(255, 211, 107, .25); }
.done-burst .icon { width: 48px; height: 48px; stroke-width: 3; }
.done .step-sub { margin-inline: auto; }
.done-ref { margin-top: 18px !important; padding: .6rem 1.3rem; border-radius: 999px; background: #fff; border: 1px dashed #cdb8d8; font: 700 1rem/1.4 var(--f-ui); color: var(--ink-soft); }
.done-ref b { margin-inline-start: .5rem; color: var(--ink); font-size: 1.2rem; letter-spacing: .1em; }
.done-actions { margin-top: 26px !important; display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.done:not([hidden]) > * { animation: rise .7s var(--out) both; } .done > :nth-child(2) { animation-delay: .1s; } .done > :nth-child(3) { animation-delay: .2s; } .done > :nth-child(4) { animation-delay: .3s; } .done > :nth-child(5) { animation-delay: .4s; }
@keyframes rise { from { opacity: 0; transform: translateY(16px); filter: blur(4px); } }

main { position: relative; }
.sec > .wrap { position: relative; z-index: 1; }


/* Live storybook cover */
.cover-wrap { position: sticky; top: 96px; display: grid; justify-items: center; }
.cover { position: relative; width: min(300px, 100%); aspect-ratio: 3 / 4; overflow: hidden; color: #fff6e4; rotate: calc(var(--flip) * 3deg); border-radius: 12px 26px 26px 12px; background: linear-gradient(180deg, var(--sky-a), var(--sky-b)); box-shadow: 0 36px 60px -26px rgba(42, 26, 61, .65), inset 0 0 0 1px rgba(255, 255, 255, .12); transition: --sky-a .7s ease, --sky-b .7s ease, rotate .5s var(--spring); }
html[dir="rtl"] .cover { border-radius: 26px 12px 12px 26px; }
.cover::before { content: ""; position: absolute; inset-block: 0; inset-inline-start: 0; width: 16px; background: linear-gradient(90deg, rgba(0, 0, 0, .28), rgba(255, 255, 255, .08) 60%, transparent); z-index: 3; }
html[dir="rtl"] .cover::before { background: linear-gradient(270deg, rgba(0, 0, 0, .28), rgba(255, 255, 255, .08) 60%, transparent); }
.cover[data-scene="night"] { --sky-a: #2a1850; --sky-b: #6b3a9c; }
.cover[data-scene="sea"] { --sky-a: #1b5b99; --sky-b: #6cd0e0; }
.cover[data-scene="forest"] { --sky-a: #2c6b57; --sky-b: #a8dc9a; }
.cover[data-scene="desert"] { --sky-a: #c4622f; --sky-b: #ffd08a; }
.cover[data-scene="medina"] { --sky-a: #2f3d85; --sky-b: #f19a86; }
.cover[data-scene="space"] { --sky-a: #0e0a2a; --sky-b: #3d2a8a; }
.cover-art { position: absolute; inset: auto 0 0; height: 56%; }
.cover-art svg { width: 100%; height: 100%; }
.cover .scene { opacity: 0; transform: translateY(14px); transition: opacity .5s ease, transform .6s var(--out); }
.cover .scene.on { opacity: 1; transform: none; }
.cover .tw { animation: twinkle 3s ease-in-out infinite; } .cover .d2 { animation-delay: -1s; } .cover .d3 { animation-delay: -2s; }
.cover-title { position: absolute; inset: 9% 9% auto; z-index: 2; display: grid; gap: 2px; text-align: center; }
.cover-title small { font: 700 1.1rem/1.2 var(--f-ui); color: #ffe4a8; letter-spacing: .04em; }
.cover-title strong { font: 700 clamp(2.2rem, 4.4vw, 3rem)/1.15 var(--f-display); overflow-wrap: anywhere; text-shadow: 0 4px 20px rgba(0, 0, 0, .3); }
html[lang="fr"] .cover-title strong { font-weight: 800; font-size: clamp(1.8rem, 3.6vw, 2.4rem); }
.cover.is-stamp .cover-title strong { animation: stamp .6s var(--spring); }
@keyframes stamp { 0% { transform: scale(1.35) rotate(-4deg); opacity: .3; } 100% { transform: none; opacity: 1; } }
.cover-age { position: absolute; z-index: 3; bottom: 12px; inset-inline-end: 14px; padding: .3rem .8rem; border-radius: 999px; background: #fff6e4; color: var(--ink); font: 800 .95rem/1.3 var(--f-ui); }
.sky-fill { fill: var(--sky-a); }
.cover-age.is-pop { animation: pop-in .5s var(--spring); }
.cover-star { position: absolute; z-index: 3; top: 7px; inset-inline-end: 12px; width: 22px; height: 22px; fill: var(--gold); animation: twinkle 3s ease-in-out infinite; }

/* ---------- Footer ---------- */
.foot { background: #f4e7cc; padding: 34px 0 max(34px, env(safe-area-inset-bottom)); }
.foot-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 28px; }
.foot-brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; font: 800 1.3rem/1 var(--f-ui); }
.foot-brand img { width: 48px; height: 48px; object-fit: contain; }
.foot p { flex: 1; min-width: 12rem; color: var(--ink-soft); font-size: .98rem; }

/* ---------- Effects layers ---------- */
.spark-fly { position: fixed; z-index: 90; width: 18px; height: 18px; fill: var(--gold); pointer-events: none; translate: -50% -50%; animation: spark-fly .9s var(--out) forwards; }
@keyframes spark-fly { from { opacity: 1; transform: translate(0, 0) scale(.4) rotate(0); } to { opacity: 0; transform: translate(var(--x), var(--y)) scale(1.3) rotate(var(--r)); } }
.confetti { position: fixed; inset: 0; z-index: 80; pointer-events: none; overflow: hidden; }
.confetti i { position: absolute; top: -20px; left: var(--x); width: var(--w); height: calc(var(--w) * 1.6); border-radius: 3px; background: var(--c); animation: confetti-fall var(--dur) cubic-bezier(.3, .5, .6, 1) var(--delay) forwards; }
@keyframes confetti-fall { to { transform: translate(var(--dx), 110vh) rotate(var(--rot)); opacity: .9; } }

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .how-grid { grid-template-columns: repeat(2, 1fr); } .how-card:nth-child(even) { margin-top: 0; }
  .start-grid { grid-template-columns: 1fr; }
  .start-side { display: contents; }
  .start-head { order: -2; margin-bottom: 8px; }
  .cover-wrap { position: static; order: -1; } .start-side .cover { width: 220px; }
}
@media (max-width: 720px) {
  .opts-4 { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .bar { padding-inline: 12px; }
  .hero { padding-top: 104px; }
  .moon { top: 78px; }
  .cloud-b, .cloud-c { display: none; }
}
@media (max-width: 560px) {
  .how-grid { grid-template-columns: 1fr; }
  .opts-2 { grid-template-columns: 1fr; }
  .wiz-nav .btn-pill { padding-inline: 1.2rem; min-height: 54px; }
  .cover { width: 180px; }
  .hero-cta .btn-pill { width: 100%; max-width: 20rem; }
}
@media (max-width: 420px) { .bar-brand span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); } }

/* ---------- Hero clouds: Three.js canvas (landing-clouds.js). The SVG clouds stay as the fallback. ---------- */
.clouds-gl { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
html.has-gl-clouds .cloud { display: none; }

/* ---------- Sample storybook. landing-motion.js opens it and turns the pages on scroll;
   without motion it rests open on the illustrated spread. ---------- */
.peek { position: relative; overflow: clip; background: linear-gradient(180deg, var(--cream), #fdeedd 70%, var(--cream)); }
html.book-live .peek { min-height: 100svh; display: grid; align-content: center; }
.peek-grid { display: grid; grid-template-columns: var(--peek-cols); align-items: center; gap: var(--peek-gap); }
.book-stage { margin: 0; display: grid; justify-items: center; }
.book { --page: #fffaf0; position: relative; width: min(100%, 660px); aspect-ratio: 3 / 2; container-type: inline-size; }
.book-shadow { position: absolute; inset: auto 4% -6%; height: 12%; border-radius: 50%; background: radial-gradient(closest-side, rgba(42, 26, 61, .32), transparent); }
.book-board, .book-block, .page, .leaf { position: absolute; top: 0; inset-inline-start: 50%; width: 50%; height: 100%; }
.book-board { top: -1.6%; height: 103.2%; width: 51.4%; background: linear-gradient(160deg, #4a2c7a, #2a1850); border-start-end-radius: 1.8cqw; border-end-end-radius: 1.8cqw; }
.book-block { background: var(--page); border-start-end-radius: .8cqw; border-end-end-radius: .8cqw;
  box-shadow: calc(var(--flip) * 2px) 2px 0 #f1e6cf, calc(var(--flip) * 4px) 4px 0 #e5d6b6, calc(var(--flip) * 6px) 6px 0 #d6c29b; }
.page { z-index: 1; } .leaf-2 { z-index: 2; } .leaf-1 { z-index: 3; }
.leaf { transform-origin: left center; transform-style: preserve-3d; }
html[dir="rtl"] .leaf { transform-origin: right center; }
.leaf-1 { transform: rotateY(calc(var(--flip) * -180deg)); }
.face, .page { overflow: hidden; background: var(--page); }
.face { position: absolute; inset: 0; backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.face-front, .page { border-start-end-radius: .8cqw; border-end-end-radius: .8cqw; }
.face-back { transform: rotateY(180deg); border-start-start-radius: .8cqw; border-end-start-radius: .8cqw; }
/* Gutter shading on the spine side of every page */
.face-front::after, .page::after, .face-back::after { content: ""; position: absolute; inset-block: 0; width: 14%; pointer-events: none; z-index: 2; }
.face-front::after, .page::after { inset-inline-start: 0; background: linear-gradient(calc(var(--flip) * 90deg), rgba(70, 40, 30, .2), transparent); }
.face-back::after { inset-inline-end: 0; background: linear-gradient(calc(var(--flip) * -90deg), rgba(70, 40, 30, .2), transparent); }
.face-shade { position: absolute; inset: 0; z-index: 3; opacity: 0; pointer-events: none; background: linear-gradient(calc(var(--flip) * 90deg), rgba(30, 16, 46, .2), rgba(30, 16, 46, .6)); }
.page-in { position: absolute; inset: 0; display: grid; padding: 7cqw 6cqw 6cqw; }
.page-no { position: absolute; bottom: 2.2cqw; inset-inline-end: 3.2cqw; z-index: 2; font: 700 1.35cqw/1 var(--f-ui); color: #a08a6a; }
.face-back .page-no { inset-inline-end: auto; inset-inline-start: 3.2cqw; }

.book-cover { color: #fff6e4; background: #2a1850; }
.book-cover::before { content: ""; position: absolute; inset-block: 0; inset-inline-start: 0; width: 4.5%; z-index: 2; background: linear-gradient(calc(var(--flip) * 90deg), rgba(0, 0, 0, .35), rgba(255, 255, 255, .1) 70%, transparent); }
.book-cover::after { display: none; }
.book-cover-art { position: absolute; inset: 0; width: 100%; height: 100%; }
.book-cover .tw { animation: twinkle 3s ease-in-out infinite; } .book-cover .d2 { animation-delay: -1s; } .book-cover .d3 { animation-delay: -2s; }
.cover-path { fill: none; stroke: #ffd877; stroke-width: 2.5; stroke-linecap: round; stroke-dasharray: 1 9; opacity: .8; }
.book-cover-title { position: absolute; inset: 11% 8% auto; z-index: 1; display: grid; gap: .6cqw; text-align: center; }
.book-cover-title small { font: 700 2.1cqw/1.2 var(--f-ui); color: #ffe4a8; letter-spacing: .04em; }
.book-cover-title strong { font: 700 5.4cqw/1.1 var(--f-display); text-shadow: 0 .6cqw 2.6cqw rgba(0, 0, 0, .35); }
.book-cover-brand { position: absolute; inset: auto 0 4.5%; z-index: 1; text-align: center; font: 700 1.4cqw/1 var(--f-ui); letter-spacing: .18em; color: rgba(255, 246, 228, .72); }

.page-illus { padding: 0; }
.page-illus img { width: 100%; height: 100%; object-fit: cover; object-position: 47% 50%; }
.page-illus .sticker { position: absolute; top: 3cqw; inset-inline-start: 3cqw; padding: .5cqw 1.6cqw; border-radius: 999px; background: var(--coral); color: #fff; font: 800 1.5cqw/1.4 var(--f-ui); box-shadow: 0 .6cqw 1.6cqw -.4cqw rgba(238, 123, 92, .7); }
.page-illus .page-no { color: rgba(255, 255, 255, .9); text-shadow: 0 1px 4px rgba(0, 0, 0, .4); }
.page-story { align-content: center; }
/* The cover is a board: a little larger than the pages, with the illustrated page pasted inside. */
.leaf-1 { top: -1.6%; height: 103.2%; width: 51.4%; }
.leaf-1 .face-back { background: linear-gradient(200deg, #4a2c7a, #2a1850); }
.leaf-1 .face-back::after { display: none; }
.leaf-1 .face-back .page-in { inset: 1.55% 0 1.55% 2.72%; overflow: hidden; border-start-start-radius: .8cqw; border-end-start-radius: .8cqw; }
.story-text { font: 400 clamp(10px, 2.05cqw, 15.5px)/1.65 var(--f-body); color: var(--ink); text-wrap: pretty; }
html[lang="ar"] .story-text { font-size: clamp(11px, 2.3cqw, 17px); line-height: 1.8; }
.page-story::before { content: ""; justify-self: center; width: 9cqw; height: 2px; margin-bottom: 2.4cqw; border-radius: 2px; background: linear-gradient(90deg, transparent, var(--coral), transparent); }
.page-turn, .page-final { align-content: center; justify-items: center; gap: 1.4cqw; text-align: center; }
.turn-art { width: 72%; height: auto; overflow: visible; }
.turn-path { fill: none; stroke: #e0a526; stroke-width: 2.5; stroke-linecap: round; stroke-dasharray: 2 8; }
.turn-title { font: 700 3.2cqw/1.2 var(--f-display); color: var(--ink); text-wrap: balance; }
.turn-text, .final-text { font: 400 clamp(10px, 1.85cqw, 15px)/1.55 var(--f-body); color: var(--ink-soft); text-wrap: balance; }
.page-final { background: radial-gradient(circle at 50% 36%, #fff0d4, transparent 62%); }
.final-star { width: 6cqw; height: 6cqw; fill: var(--gold); }
.final-hint { font: 700 2.1cqw/1.2 var(--f-ui); color: var(--coral); letter-spacing: .03em; }
.final-title { font: 700 4.4cqw/1.1 var(--f-display); color: var(--ink); text-wrap: balance; }

/* ---------- Story comet: flies a Bézier path from the form heading to the cover ---------- */
.start { position: relative; }
.comet-layer { position: absolute; inset: 0; z-index: 3; width: 100%; height: 100%; overflow: visible; pointer-events: none; display: none; }
html.comet-live .comet-layer { display: block; }
.comet-trail { fill: none; stroke: #f0b54a; stroke-width: 2; stroke-linecap: round; opacity: .7; }
.comet-head, .comet-burst use { visibility: hidden; }
.comet-burst use { fill: var(--gold); }
.wiz-glow { position: absolute; inset: -1px; border-radius: inherit; pointer-events: none; opacity: 0; box-shadow: 0 0 0 3px rgba(255, 211, 107, .8), 0 0 48px 4px rgba(255, 170, 110, .4); }

/* ---------- Pen cursor (fine pointers with motion on). Text fields keep the native I-beam. ---------- */
html.has-pen, html.has-pen * { cursor: none; }
html.has-pen :is(input:not([type="checkbox"], [type="radio"], [type="file"], [type="submit"], [type="button"]), textarea, select, [contenteditable="true"]) { cursor: auto; }
.pen-cursor { position: fixed; top: 0; left: 0; z-index: 96; pointer-events: none; opacity: 0; transition: opacity .2s ease-out; }
.pen-cursor.is-visible { opacity: 1; }
.pen-cursor.is-text { opacity: 0; }
.pen-tilt { position: absolute; left: -9px; top: -68px; width: 18px; height: 68px; transform-origin: 50% 100%; }
.pen-tilt svg { display: block; width: 100%; height: 100%; overflow: visible; filter: drop-shadow(2px 4px 3px rgba(42, 26, 61, .3)); }
.pen-halo { position: absolute; left: -10px; top: -10px; width: 20px; height: 20px; border-radius: 50%; border: 1.5px solid var(--coral); opacity: 0; scale: .5; transition: scale .3s var(--out), opacity .2s ease-out; }
.pen-cursor.is-hover .pen-halo { opacity: .9; scale: 1; }
.pen-ink { position: fixed; top: 0; left: 0; z-index: 95; width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%; pointer-events: none; background: radial-gradient(circle at 38% 38%, #6a4597, #2a1a3d 70%); }

/* Responsive rules for the storybook and promises (after their base rules so they win). */
@media (max-width: 760px) {
  .peek-grid { grid-template-columns: 1fr; text-align: center; }
  html.book-live .peek { align-content: center; }
}
@media (max-width: 560px) {
  /* Portrait picture on phones: the slices are taller, so each promise keeps room for its text. */
  html.merge-live .merge-cards { width: min(100%, calc((100svh - 300px) * .78)); aspect-ratio: 4 / 5; --gap: 8px; --out: 16px; }
  html.merge-live .merge-text { gap: 6px; padding: 12px 10px; }
  html.merge-live .merge-text h3 { font-size: .9rem; }
  html.merge-live .merge-text p { font-size: .76rem; line-height: 1.4; }
  .merge-ico { width: 34px; height: 34px; border-radius: 11px; } .merge-ico .icon { width: 18px; height: 18px; }
  .merge-text { padding: 12px 8px 4px; } .merge-text h3 { font-size: .9rem; } .merge-text p { font-size: .8rem; }
  .story-text { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 11; overflow: hidden; }
}

/* ---------- Motion preferences (OS setting or the on-page pause button) ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  [data-reveal], [data-hero-in] { opacity: 1 !important; transform: none !important; filter: none !important; }
  .confetti, .spark-fly { display: none; }
}
html[data-motion="off"], html.lenis { scroll-behavior: auto; }
html[data-motion="off"] *, html[data-motion="off"] *::before, html[data-motion="off"] *::after { animation: none !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
html[data-motion="off"] [data-reveal], html[data-motion="off"] [data-hero-in] { opacity: 1 !important; transform: none !important; filter: none !important; }
html[data-motion="off"] .confetti, html[data-motion="off"] .spark-fly { display: none; }

/* ---------- Pricing page ---------- */
.pricing-page .bar-brand { opacity: 1; transform: none; pointer-events: auto; }
.price-top { padding-top: clamp(110px, 14vw, 150px); }
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2.4vw, 26px); margin: 0; padding: 0; list-style: none; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 28px 24px 24px; border-radius: 26px; background: #fffdf8; border: 1px solid rgba(42, 26, 61, .1); box-shadow: 0 24px 44px -32px rgba(42, 26, 61, .45); }
.plan.is-featured { border: 2px solid var(--coral); }
.plan-badge { position: absolute; top: -14px; inset-inline-start: 22px; padding: .2rem .8rem; border-radius: 999px; background: var(--coral); color: #fff; font: 800 .85rem/1.5 var(--f-ui); }
.plan-ico { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 15px; background: #fdeee4; color: var(--coral); }
.plan-ico .icon { width: 23px; height: 23px; }
.plan-gift .plan-ico { background: #fde6ee; color: #e0628d; } .plan-bundle .plan-ico { background: #e2f1ee; color: var(--teal); }
.plan-name { font: 800 1.4rem/1.3 var(--f-ui); }
.plan-price { font: 800 1.6rem/1.2 var(--f-ui); color: var(--ink); }
.plan-text { color: var(--ink-soft); }
.plan-items { display: grid; gap: 8px; margin: 6px 0 14px; padding: 0; list-style: none; }
.plan-items li { display: flex; align-items: flex-start; gap: 8px; font-size: .98rem; }
.plan-items .icon { flex: none; width: 18px; height: 18px; margin-top: .25em; color: var(--teal); }
.plan-cta { margin-top: auto; justify-content: center; }
.promises { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 40px; margin: clamp(36px, 5vw, 56px) 0 0; padding: 0; list-style: none; }
.promises li { display: flex; align-items: center; gap: 12px; max-width: 26rem; }
.promise-ico { flex: none; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; background: #e2f1ee; color: var(--teal); }
.promise-ico .icon { width: 20px; height: 20px; }
.promises strong { display: block; font: 800 1.05rem/1.4 var(--f-ui); color: var(--ink); }
.promises p { color: var(--ink-soft); line-height: 1.5; }
.faq { padding-top: 0; }
.faq-wrap { max-width: 760px; }
.faq-title { margin-bottom: 18px; text-align: center; font: 700 clamp(1.8rem, 4vw, 2.6rem)/1.2 var(--f-display); }
html[lang="fr"] .faq-title { font: 800 clamp(1.5rem, 3vw, 2rem)/1.2 var(--f-ui); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 56px; padding: 12px 4px; cursor: pointer; list-style: none; font: 800 1.08rem/1.4 var(--f-ui); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:focus-visible { outline: 3px solid var(--coral); outline-offset: 2px; border-radius: 8px; }
.faq-plus .icon { width: 20px; height: 20px; color: var(--coral); transition: rotate .3s var(--out); }
.faq-item[open] .faq-plus .icon { rotate: 45deg; }
.faq-item p { padding: 0 4px 18px; color: var(--ink-soft); }
@media (max-width: 900px) { .plans { grid-template-columns: 1fr; max-width: 30rem; margin-inline: auto; } }

/* ---------- Values: one value at a time, in sync with its chip ---------- */
.values { text-align: center; background: linear-gradient(180deg, var(--cream), #fdf1e4); }
.values-inner { display: grid; justify-items: center; }
.values-title { font: 800 1rem/1.4 var(--f-ui); letter-spacing: .08em; color: var(--coral); }
.values-line { margin-top: 10px; display: grid; justify-items: center; gap: 2px; }
.values-lead { font: 700 clamp(1.5rem, 3.4vw, 2.2rem)/1.3 var(--f-display); color: var(--ink-soft); }
html[lang="fr"] .values-lead { font: 800 clamp(1.3rem, 2.6vw, 1.8rem)/1.3 var(--f-ui); }
/* All words share one grid cell, so the line never changes size as they alternate. */
.values-words { display: grid; justify-items: center; }
.values-word { grid-area: 1 / 1; font: 700 clamp(3rem, 9vw, 6.4rem)/1.2 var(--f-display); color: var(--ink); opacity: 0; transform: translateY(.18em); filter: blur(8px); transition: opacity .5s var(--out), transform .6s var(--out), filter .5s var(--out); }
html[lang="fr"] .values-word { font: 800 clamp(2.4rem, 7vw, 5rem)/1.15 var(--f-ui); }
.values-word.is-on { opacity: 1; transform: none; filter: none; transition-delay: .18s; }
.values-word.is-out { opacity: 0; transform: translateY(-.12em); filter: blur(6px); transition-duration: .35s; transition-delay: 0s; }
.values-word:nth-child(4n + 1) { color: var(--coral); } .values-word:nth-child(4n + 2) { color: var(--teal); }
.values-word:nth-child(4n + 3) { color: #c9881a; } .values-word:nth-child(4n + 4) { color: #b64f7f; }
.values-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; max-width: 46rem; margin: clamp(24px, 4vw, 40px) 0 0; padding: 0; list-style: none; }
.values-chips li { padding: .45rem 1rem; border-radius: 999px; border: 1px solid var(--line); background: #fffdf8; font: 700 1rem/1.4 var(--f-ui); color: var(--ink-soft); transition: background .4s var(--out), color .4s var(--out), border-color .4s var(--out), transform .4s var(--out); }
.values-chips li.is-on { background: var(--ink); border-color: var(--ink); color: #fff6e4; transform: translateY(-2px); }

/* ---------- Policies page ---------- */
.policies-wrap { max-width: 820px; }
.policies { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; }
.policy { display: flex; align-items: flex-start; gap: 16px; padding: 20px 22px; border-radius: 22px; background: #fffdf8; border: 1px solid rgba(42, 26, 61, .08); box-shadow: 0 18px 34px -28px rgba(42, 26, 61, .4); }
.policy-ico { flex: none; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 14px; background: #fdeee4; color: var(--coral); }
.policy-ico .icon { width: 22px; height: 22px; }
.policy h2 { font: 800 1.15rem/1.35 var(--f-ui); }
.policy p { margin-top: 4px; color: var(--ink-soft); }
.policies-cta, .policies-link { margin-top: clamp(28px, 4vw, 40px); text-align: center; }
