:root{--bg:#faf8f5;--card:#fff;--ink:#222;--mute:#6b6560;--line:#e6dfd6;--accent:#8b2a47;--accent-soft:#f8eaee;--sand:#f1e9de}
*{box-sizing:border-box;-webkit-tap-highlight-color:transparent}
html,body{margin:0;background:var(--bg);color:var(--ink);font-family:"Roboto Flex",system-ui,sans-serif;font-size:16px;line-height:1.4}
.app{max-width:480px;margin:0 auto;min-height:100vh;display:flex;flex-direction:column;padding:0 16px}
header{position:sticky;top:0;z-index:5;background:var(--bg);padding:10px 0 8px;text-align:center}
.brand{font-family:"Playfair Display",serif;letter-spacing:.3em;font-size:18px;display:flex;align-items:center;justify-content:center;gap:10px;margin-left:.3em;white-space:nowrap}
.brand:before,.brand:after{content:"";width:14px;height:1px;background:var(--ink)}
.sub{font-family:"Playfair Display",serif;font-size:12px;color:var(--mute);letter-spacing:.04em;margin-top:2px}
.back{position:absolute;left:0;top:12px;border:0;background:none;font-size:22px;padding:6px 8px;color:var(--ink);cursor:pointer}
.back[hidden]{display:none}
.bar{display:flex;gap:4px;margin:10px 0 0}
.bar i{flex:1;height:3px;border-radius:2px;background:var(--line)}
.bar i.on{background:var(--accent)}
main{flex:1;padding:12px 0 100px}
h1,h2{font-family:"Lora",serif;font-weight:700;text-align:center;margin:8px 0 6px}
h1{font-size:28px;line-height:1.15;color:var(--accent)}
h2{font-size:23px;line-height:1.2}
h1 em,h2 em{font-style:normal;color:var(--accent)}
.lead{text-align:center;color:var(--mute);margin:0 0 14px;font-size:15px}
.fine{text-align:center;color:var(--mute);font-size:12px;margin:10px 0}
.cta-wrap{position:fixed;left:0;right:0;bottom:0;padding:12px 16px calc(14px + env(safe-area-inset-bottom));background:linear-gradient(to top,var(--bg) 70%,rgba(250,248,245,0));z-index:6}
.cta{display:block;width:100%;max-width:448px;margin:0 auto;border:0;border-radius:32px;background:var(--accent);color:#fff;font:700 15px "Roboto Flex",sans-serif;letter-spacing:.06em;text-transform:uppercase;padding:18px;cursor:pointer;box-shadow:0 0 0 6px rgba(139,42,71,.08)}
.cta[disabled]{background:#c9bfc3;box-shadow:none;cursor:not-allowed}
.cta.ghost{background:none;color:var(--accent);box-shadow:none;margin-top:6px;padding:10px}
.opts{display:flex;flex-direction:column;gap:10px}
.opt{display:flex;align-items:center;gap:12px;background:var(--card);border:1.5px solid var(--line);border-radius:14px;padding:15px 14px;font-weight:500;cursor:pointer;text-align:left;font-family:inherit;font-size:16px;color:var(--ink);width:100%}
.opt .tick{flex:none;width:22px;height:22px;border-radius:50%;border:1.5px solid #c7beb5;display:grid;place-items:center;color:#fff;font-size:13px}
.opt.sel{border-color:var(--accent);background:var(--accent-soft)}
.opt.sel .tick{background:var(--accent);border-color:var(--accent)}
.opt.sel .tick:after{content:"\2713"}
.chips{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.chips .opt{justify-content:center;text-align:center;padding:16px 8px;min-height:64px}
.chips .opt .tick{display:none}
.grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.card{background:var(--card);border:1.5px solid var(--line);border-radius:14px;overflow:hidden;cursor:pointer;padding:0;text-align:center;font-family:inherit;color:var(--ink)}
.card.sel{border-color:var(--accent);box-shadow:0 0 0 2px var(--accent)}
.card img{display:block;width:100%;aspect-ratio:3/4;object-fit:cover}
.card .lab{padding:8px 6px;font-weight:600;font-size:14px}
.card .note{display:block;font-weight:400;color:var(--mute);font-size:12px;padding:0 6px 8px;margin-top:-4px}
.sw{display:flex;justify-content:center;gap:5px;padding:2px 0 16px}
.sw i{width:14px;height:14px;border-radius:50%;display:inline-block;border:1px solid rgba(0,0,0,.08)}
.swatchtile{aspect-ratio:3/4;display:flex;flex-direction:column}
.swatchtile span{flex:1}
.roomtile{aspect-ratio:5/3;display:grid;place-items:center;font-family:"Lora",serif;font-weight:700;font-size:19px;background:var(--sand);color:var(--accent)}
.hero{position:relative;border-radius:22px;overflow:hidden;aspect-ratio:3/4;background:#ddd;margin:12px auto 10px;max-width:360px}
.hero img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.hero .after{animation:wipe 6s ease-in-out infinite}
@keyframes wipe{0%,8%{clip-path:inset(0 0 0 100%)}45%,60%{clip-path:inset(0 0 0 0)}95%,100%{clip-path:inset(0 0 0 100%)}}
.tagpill{position:absolute;top:12px;padding:5px 11px;border-radius:12px;font-size:11px;font-weight:700;letter-spacing:.08em;background:rgba(0,0,0,.55);color:#fff;z-index:2}
.tagpill.l{left:12px}.tagpill.r{right:12px;background:var(--accent)}
.stage{position:relative;border-radius:22px;overflow:hidden;aspect-ratio:3/4;max-width:360px;margin:6px auto 0;background:#ddd}
.stage img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:0;transition:opacity .5s}
.stage img.on{opacity:1}
.stage .cap{position:absolute;left:0;right:0;bottom:0;padding:44px 14px 14px;color:#fff;font-family:"Lora",serif;font-weight:700;font-size:17px;background:linear-gradient(transparent,rgba(0,0,0,.65))}
.stage .cap b{display:inline-block;background:var(--accent);font:700 10px "Roboto Flex";letter-spacing:.08em;text-transform:uppercase;padding:4px 9px;border-radius:10px;margin-bottom:6px}
.tabs{display:flex;max-width:360px;margin:0 auto;background:#fff;border-radius:0 0 16px 16px}
.tabs button{flex:1;border:0;background:none;font:600 10px "Roboto Flex";letter-spacing:.06em;text-transform:uppercase;color:var(--mute);padding:11px 3px;border-bottom:3px solid transparent;cursor:pointer}
.tabs button.on{color:var(--accent);border-bottom-color:var(--accent)}
.rule{border-radius:22px;overflow:hidden;position:relative;aspect-ratio:3/4;max-width:360px;margin:8px auto}
.rule .band{position:absolute;left:0;right:0;bottom:0;display:flex;font-weight:700;font-size:13px;color:#fff;height:46px}
.rule .band div{display:flex;align-items:center;justify-content:center;white-space:nowrap}
.rule img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.legend{display:flex;max-width:360px;margin:0 auto 6px;border-radius:12px;overflow:hidden;font-size:12px;font-weight:600}
.legend div{padding:10px 8px;color:#fff;text-align:center}
.field{display:block;width:100%;border:1.5px solid var(--line);border-radius:14px;padding:15px 14px;font:16px "Roboto Flex",sans-serif;background:#fff;margin-bottom:10px;color:var(--ink)}
.field:focus{outline:none;border-color:var(--accent)}
.chk{display:flex;gap:10px;align-items:flex-start;font-size:13px;color:var(--mute);margin:6px 2px 10px}
.chk input{width:20px;height:20px;margin-top:1px;accent-color:var(--accent);flex:none}
.err{color:#b3261e;font-size:13px;margin:0 0 8px;min-height:1px;text-align:center}
.drop{border:2px dashed #cdb8be;border-radius:18px;padding:26px 14px;text-align:center;background:#fff;cursor:pointer}
.drop b{display:block;margin:8px 0 2px}
.drop img{max-width:100%;max-height:260px;border-radius:12px}
.plan{background:#fff;border-left:4px solid var(--accent);border-radius:10px;padding:12px 14px;margin:14px 0}
.plan small{display:block;font-weight:700;letter-spacing:.08em;color:var(--accent);margin-bottom:8px;font-size:11px}
.pills{display:flex;flex-wrap:wrap;gap:8px}
.pills span{background:var(--sand);border-radius:16px;padding:6px 11px;font-size:13px}
.pair{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:10px 0}
.pair figure{margin:0;text-align:center;font-weight:700;font-family:"Lora",serif}
.pair img{width:100%;aspect-ratio:3/4;object-fit:cover;border-radius:14px;margin-top:4px}
.offer{border:2px solid var(--accent);border-radius:20px;overflow:hidden;background:#fff;margin:14px 0}
.offer .top{background:var(--accent);color:#fff;text-align:center;font:700 12px "Roboto Flex";letter-spacing:.1em;padding:9px;text-transform:uppercase}
.offer .body{padding:16px}
.offer .row{display:flex;justify-content:space-between;align-items:baseline;font-family:"Lora",serif;font-weight:700;font-size:22px}
.offer .row b{color:var(--accent);font-size:32px}
.offer .aud{text-align:right;color:var(--mute);font-size:12px;margin:-2px 0 8px}
.offer ul{list-style:none;padding:0;margin:0}
.offer li{padding:10px 0;border-top:1px solid var(--line);display:flex;gap:10px}
.offer li:before{content:"\2713";flex:none;width:20px;height:20px;border-radius:50%;background:var(--accent);color:#fff;font-size:12px;display:grid;place-items:center;margin-top:1px}
.note{background:var(--sand);border-radius:12px;padding:12px;font-size:14px;margin:10px 0}
.test{background:#fff4d6;border-radius:10px;padding:8px 10px;font-size:12px;text-align:center;margin-top:8px}
@media(min-width:520px){main{padding-top:24px}}

/* fit-to-screen images on the early pages (no scrolling) */
.hero.fit1{height:calc(100vh - 395px);height:calc(100dvh - 395px);min-height:170px;max-height:520px;aspect-ratio:3/4;width:auto;max-width:100%}
.stage.fit2{height:calc(100vh - 415px);height:calc(100dvh - 415px);min-height:170px;max-height:480px;aspect-ratio:3/4;width:auto;max-width:360px;margin-top:2px}
.tabs{margin-top:0}
.rule.fit3{height:calc(100vh - 480px);height:calc(100dvh - 480px);min-height:150px;max-height:460px;aspect-ratio:3/4;width:auto;max-width:360px;margin:4px auto}
.stage.fit2,.hero.fit1,.rule.fit3{margin-left:auto;margin-right:auto}
@media(max-height:760px){
  h1{font-size:25px}h2{font-size:21px;margin:4px 0}
  .lead{margin-bottom:10px;font-size:14px}
  .opts{gap:8px}.opt{padding:12px 12px;font-size:15px}
  .chips .opt{min-height:54px;padding:12px 8px}
  main{padding-top:6px}
}
/* green positive tick box */
.chk.green{background:#e7f6ec;border:2px solid #2e9e5b;border-radius:14px;padding:12px;color:#14532d;font-size:14px;margin:8px 0 10px;align-items:flex-start}
.chk.green b{display:block;color:#0f7a3d;font-size:15px;margin-bottom:2px}
.chk.green input{accent-color:#1f9d55;width:24px;height:24px}
.chk.green.plain{background:none;border:0;padding:0;margin:4px 0 0}
.goodbox{background:#e7f6ec;border:2px solid #2e9e5b;border-radius:14px;padding:14px;color:#14532d;font-weight:500;margin:10px 0}
.goodbox.optin{font-weight:400}
/* result page = sales page */
body.result .sub,body.result .bar{display:none}
body.result header{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:8px 0;border-bottom:1px solid var(--line)}
body.result .brand{font-size:15px;letter-spacing:.2em;margin:0;gap:0}
body.result .brand:before,body.result .brand:after{display:none}
body.result main{padding-bottom:30px}
.hbtn{flex:1;max-width:230px;white-space:nowrap;border:0;border-radius:24px;background:var(--accent);color:#fff;font:700 11px "Roboto Flex",sans-serif;letter-spacing:.05em;text-transform:uppercase;padding:12px 10px;cursor:pointer}
.cta.inline{margin:14px auto;width:100%;max-width:none}
.sec{margin-top:34px}
.pair figure{background:#fff;border-radius:16px;padding:10px;border:1px solid var(--line)}
.pair figure.goal{border-color:var(--accent)}
.satis{text-align:left;font:500 12px "Roboto Flex",sans-serif;margin-top:10px}
.satis .segs{display:flex;gap:4px;margin:4px 0 2px}
.satis .segs i{flex:1;height:5px;border-radius:3px;background:var(--line)}
.satis .segs i.on{background:var(--accent)}.satis .segs i.on.dim{background:#c9b9a8}
.satis small{color:var(--mute);font-weight:400}
.block{background:#fff;border:1px solid var(--line);border-radius:18px;padding:16px;margin:14px 0}
.block h3{font-family:"Lora",serif;font-size:20px;margin:0 0 6px}
.block p{margin:0 0 12px;color:var(--mute);font-size:15px}
.hl{background:#f5dbe3;color:var(--ink);padding:1px 6px;border-radius:5px;font-weight:600}
.styleimg{position:relative;border-radius:14px;overflow:hidden}
.styleimg img{display:block;width:100%;aspect-ratio:4/3;object-fit:cover}
.yourstyle{position:absolute;left:10px;bottom:10px;background:#fff;border-radius:12px;padding:10px 14px}
.yourstyle small{display:block;color:var(--mute);font-weight:700;letter-spacing:.08em;font-size:10px}
.yourstyle b{font-family:"Lora",serif;font-size:18px}
.yourstyle .sw{padding:6px 0 0;justify-content:flex-start}
.collage{position:relative;height:330px;background:var(--sand);border-radius:14px;overflow:hidden}
.collage figure{position:absolute;margin:0;background:#fff;padding:6px 6px 22px;box-shadow:0 4px 14px rgba(0,0,0,.25);width:48%}
.collage img{width:100%;aspect-ratio:3/4;object-fit:cover;display:block}
.collage figcaption{position:absolute;bottom:4px;left:0;right:0;text-align:center;font:700 9px "Roboto Flex";letter-spacing:.1em}
.collage figcaption.acc,.exgrid figcaption.acc{color:var(--accent)}
.collage .c1{left:6%;top:24px;transform:rotate(-5deg)}.collage .c2{right:5%;top:50px;transform:rotate(3deg);z-index:2}
.how{background:var(--sand);border-radius:18px;padding:14px;margin:12px 0}
.step{display:flex;gap:12px;margin:0 0 12px}
.step .num{flex:none;width:34px;height:34px;border-radius:50%;background:var(--accent);color:#fff;font-weight:700;display:grid;place-items:center}
.sbody{flex:1;background:#fff;border-radius:14px;padding:12px}
.sbody b{font-family:"Lora",serif;font-size:17px}
.sbody p{margin:2px 0 8px;color:var(--mute);font-size:14px}
.chipbox{background:var(--sand);border-radius:10px;padding:8px 10px;font-size:13px}
.chipbox div{padding:2px 0}
.exbox{background:#fff;border:1px solid var(--line);border-radius:18px;padding:12px;margin:14px 0}
.extop{display:flex;justify-content:space-between;font:700 10px "Roboto Flex";letter-spacing:.08em;color:var(--mute);margin-bottom:8px}
.exgrid{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.exgrid figure{margin:0;text-align:center}
.exgrid img{width:100%;aspect-ratio:3/4;object-fit:cover;border-radius:6px;display:block}
.exgrid figcaption{font:700 10px "Roboto Flex";letter-spacing:.1em;margin-top:5px;color:var(--mute)}
.excap{font-style:italic;color:var(--mute);font-size:14px;margin:10px 2px 2px}
.faq details{background:#fff;border:1px solid var(--line);border-radius:14px;margin:0 0 10px;padding:0 14px}
.faq summary{list-style:none;cursor:pointer;padding:15px 22px 15px 0;font-weight:600;font-size:15px;position:relative}
.faq summary::-webkit-details-marker{display:none}
.faq summary:after{content:"+";position:absolute;right:0;top:12px;font-size:22px;color:var(--accent)}
.faq details[open] summary:after{content:"2"}
.faq details p{margin:0 0 14px;color:var(--mute);font-size:14px}
.foot{text-align:center;color:var(--mute);font-size:12px;margin:26px 0 10px;line-height:1.7}

.card img.roomimg{aspect-ratio:5/3}

/* v5: more impact on the early pages, tighter chrome so nothing scrolls */
.art{aspect-ratio:3/4;overflow:hidden}.art svg{display:block;width:100%;height:100%}
header{padding:6px 0 4px}.brand{font-size:17px}.sub{font-size:11px;margin-top:0}.bar{margin:6px 0 0}
h1{font-size:24px;margin:2px 0 4px}h2{font-size:21px;margin:2px 0 4px}
.lead{font-size:14px;margin:0 0 8px}
main{padding:8px 0 84px}
.cta-wrap{padding:8px 16px calc(10px + env(safe-area-inset-bottom))}.cta{padding:15px}
.hero.fit1,.stage.fit2,.rule.fit3{width:calc(100% + 32px);max-width:none;margin-left:-16px;margin-right:-16px;aspect-ratio:auto;border-radius:18px}
.hero.fit1{height:calc(100vh - 290px);height:calc(100dvh - 290px);min-height:200px;max-height:580px;margin-top:6px;margin-bottom:6px}
.stage.fit2{height:calc(100vh - 300px);height:calc(100dvh - 300px);min-height:200px;max-height:560px;margin-top:0;border-radius:18px 18px 0 0}
.rule.fit3{height:calc(100vh - 400px);height:calc(100dvh - 400px);min-height:170px;max-height:480px}
.tabs{max-width:none;margin:0 -16px;border-radius:0 0 18px 18px}

/* v7: chalkboard in-between pages */
html:has(body.chalk){background:#222826}
body.chalk{background:#222826;color:#f4f1e8}
body.chalk header{background:#222826}
body.chalk .brand,body.chalk .sub,body.chalk .back{color:#eee}
body.chalk .brand:before,body.chalk .brand:after{background:#eee}
body.chalk .bar i{background:#46504b}body.chalk .bar i.on{background:#e8b4c0}
body.chalk .cta-wrap{background:linear-gradient(to top,#222826 70%,rgba(34,40,38,0))}
body.chalk .cta{background:#e8b4c0;color:#222;box-shadow:none}
.chalktitle{font-family:"Caveat",cursive;font-weight:700;font-size:38px;line-height:.9;text-align:center;color:#f4f1e8;margin:2px 0 8px}
.chalktitle span{color:#ffe27a}
.chalkimg{border:3px solid #cfd6d1;border-radius:12px;overflow:hidden;background:#111;position:relative}
.chalkimg.st{height:calc(100vh - 362px);height:calc(100dvh - 362px);min-height:200px;max-height:540px}
.chalkimg.pc{height:calc(100vh - 418px);height:calc(100dvh - 418px);min-height:170px;max-height:520px}
.chalkimg svg{position:absolute;inset:0}
path.draw{stroke-dasharray:1;stroke-dashoffset:1;animation:chalkdraw 1s ease-out forwards}
@keyframes chalkdraw{to{stroke-dashoffset:0}}
text.lab{font-family:"Caveat",cursive;font-weight:700;font-size:62px;stroke:#222826;stroke-width:10px;paint-order:stroke;opacity:0;animation:chalkfade .5s ease forwards}
@keyframes chalkfade{to{opacity:1}}
.ctabs{display:grid;grid-template-columns:repeat(4,1fr);gap:6px;margin:8px 0 2px}
.ctabs button{font-family:"Caveat",cursive;font-weight:700;font-size:17px;line-height:1;color:#cfd6d1;background:none;border:2px dashed #66716a;border-radius:12px;padding:7px 3px;cursor:pointer}
.ctabs button.on{color:#ffe27a;border:2px solid #ffe27a}
.chalknote{font-family:"Caveat",cursive;font-weight:700;font-size:21px;text-align:center;color:#cfd6d1;margin:6px 0 0;line-height:1}
.bigrow{display:grid;grid-template-columns:repeat(3,1fr);text-align:center;margin-top:6px}
.big b{display:block;font:700 56px/0.85 "Caveat",cursive}
.big span{font:700 18px/1 "Caveat",cursive;color:#e8e8e0}
.big.pink b{color:#ffb3c4}.big.white b{color:#fff}.big.yellow b{color:#ffe27a}

/* v11: chalk marks are static (no draw-in animation) so they always show, as in the approved example */
path.draw{stroke-dasharray:none;stroke-dashoffset:0;animation:none}
text.lab{opacity:1;animation:none}
.chalkwrap{position:relative}
.chalkover{position:absolute;left:0;top:0;width:100%;height:100%;pointer-events:none;overflow:visible}
