/* Dumecia website. Night (black) and day (white) sections, periwinkle as the main colour. */
:root{
  --blue:#99b5ff; --violet:#6e4bff; --coral:#ff5e5b; --amber:#ffb547; --mint:#3cd6a0;
  --grey:#b4bacb; --grey-d:#4b5060; --line-d:rgba(255,255,255,.16); --line-l:rgba(0,0,0,.12);
  --dusk:linear-gradient(120deg,#99b5ff 0%,#6e4bff 52%,#ff5e5b 100%);
  --f-display:'Bricolage Grotesque','Lalezar',system-ui,-apple-system,'Segoe UI',sans-serif;
  --f-text:'Bricolage Grotesque','Readex Pro',system-ui,-apple-system,'Segoe UI',sans-serif;
  --wrap:1180px; --r:22px;
}
*{box-sizing:border-box;margin:0;padding:0}
html{-webkit-text-size-adjust:100%;scroll-behavior:smooth}
body{font:400 18px/1.55 var(--f-text);color:#000;background:#000;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}
img,svg,canvas{display:block;max-width:100%}
a{color:inherit}
button,input{font:inherit;color:inherit}
:focus-visible{outline:3px solid var(--blue);outline-offset:3px;border-radius:6px}
.day :focus-visible{outline-color:var(--violet)}
.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.skip{position:absolute;left:12px;top:-60px;z-index:50;padding:10px 16px;border-radius:999px;background:var(--blue);color:#000;font-weight:700;text-decoration:none}
.skip:focus{top:12px}
.wrap{max-width:var(--wrap);margin:0 auto;padding:0 24px}
.night{background:#000;color:#fff}
.day{background:#fff;color:#000}
section{padding:96px 0}
.night + .night,.day + .day{padding-top:0}
h1,h2,h3{font-family:var(--f-display);font-weight:800;font-stretch:78%;letter-spacing:-.012em;text-wrap:balance}
h1{font-size:clamp(50px,7.4vw,108px);line-height:.9}
h2{font-size:clamp(38px,5.2vw,72px);line-height:.94}
h3{font-size:clamp(24px,2.3vw,30px);line-height:1}
p{text-wrap:pretty}
.lead{font-size:clamp(19px,1.6vw,22px);line-height:1.5;max-width:34em}
.night .lead,.night .muted{color:var(--grey)}
.day .lead,.day .muted{color:var(--grey-d)}
.btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:54px;padding:12px 24px;border-radius:999px;border:0;font-weight:700;font-size:18px;text-decoration:none;cursor:pointer;transition:transform .15s ease,background .15s}
.btn:active{transform:scale(.97)}
.btn svg{width:20px;height:20px;flex:none}
.btn-blue{background:var(--blue);color:#000}
.btn-blue:hover{background:#b3c8ff}
.btn-coral{background:var(--coral);color:#000}
.btn-coral:hover{background:#ff7a77}
.btn-violet{background:var(--violet);color:#fff}
.btn-violet:hover{background:#8466ff}
.btn-ghost{background:transparent;box-shadow:inset 0 0 0 2px currentColor}
.ctas{display:flex;flex-wrap:wrap;gap:12px;margin-top:30px}
.note{margin-top:14px;font-size:15px;font-weight:600}
.night .note{color:var(--grey)}
.day .note{color:var(--grey-d)}

/* section headings reached from the menu sit a little below the top edge */
h2[id]{scroll-margin-top:32px}

/* header */
.menu-m{display:none}
.top{position:relative;z-index:20;background:#000;color:#fff}
.top .wrap{display:flex;align-items:center;gap:24px;min-height:76px}
.logo{display:flex;align-items:center;gap:10px;text-decoration:none;color:var(--blue);font:800 30px/1 'Bricolage Grotesque',system-ui,sans-serif;font-stretch:78%;letter-spacing:-.01em}
.logo svg{width:36px;height:36px}
.top nav{display:flex;align-items:center;gap:22px;margin-inline-start:auto;font-weight:600;font-size:16px}
.top nav a{text-decoration:none;color:#fff;opacity:.85}
.top nav a:hover{opacity:1;text-decoration:underline;text-underline-offset:5px;text-decoration-thickness:2px;text-decoration-color:var(--blue)}
.top .btn{min-height:44px;padding:8px 18px;font-size:16px}
.top nav a.btn{opacity:1;color:#000}
.top nav a.btn:hover{text-decoration:none}
.langs{position:relative}
.langs summary{list-style:none;cursor:pointer;display:flex;align-items:center;gap:6px;padding:8px 12px;border-radius:999px;box-shadow:inset 0 0 0 1px var(--line-d);font-weight:700;font-size:15px}
.langs summary::-webkit-details-marker{display:none}
.langs summary svg{width:18px;height:18px}
.langs ul{position:absolute;inset-inline-end:0;top:calc(100% + 8px);min-width:170px;list-style:none;padding:6px;border-radius:16px;background:#fff;color:#000;box-shadow:0 18px 40px rgba(0,0,0,.35)}
.langs ul{z-index:30}
.top nav .langs li a,.langs li a{display:block;padding:9px 12px;border-radius:10px;text-decoration:none;font-weight:600;color:#14161c;opacity:1}
.top nav .langs li a:hover{text-decoration:none}
.langs li a:hover,.langs li a[aria-current]{background:#eef2ff;color:#000}
.langs li a[aria-current]{box-shadow:inset 3px 0 0 var(--violet)}
[dir=rtl] .langs li a[aria-current]{box-shadow:inset -3px 0 0 var(--violet)}
.langbar{background:var(--violet);color:#fff;font-size:15px;font-weight:600}
.langbar .wrap{display:flex;align-items:center;gap:12px;min-height:44px}
.langbar a{color:#fff;font-weight:800}
.langbar button{margin-inline-start:auto;background:none;border:0;color:#fff;cursor:pointer;font-size:22px;line-height:1;padding:4px 8px}

/* hero */
.hero{padding:40px 0 104px;overflow:hidden}
.hero .wrap{display:grid;grid-template-columns:1.02fr .98fr;gap:48px;align-items:center}
.hero h1{max-width:9.6em}
.hero .lead{margin-top:24px}
.stage{position:relative;aspect-ratio:600/470;width:100%;margin-bottom:112px}
.stage .room{position:absolute;inset:0;width:100%;height:100%}
.wallbox{position:absolute;left:19%;top:17%;width:62%;height:56%;background:#fff;border-radius:3px;overflow:hidden;touch-action:none;cursor:crosshair}
.wallbox .art{position:absolute;inset:0;width:100%;height:100%;pointer-events:none}
.wallbox canvas{position:absolute;inset:0;width:100%;height:100%}
.try{position:absolute;left:19%;top:4.5%;display:flex;align-items:center;gap:8px;font-weight:700;font-size:15px;color:var(--blue)}
.try svg{width:22px;height:22px}
.tools{position:absolute;left:12%;right:12%;top:calc(73% + 12px);display:flex;align-items:center;justify-content:center;gap:8px;flex-wrap:wrap}
.tools .tgrp{display:inline-flex;align-items:center;gap:8px;white-space:nowrap}
.tools .dot{width:30px;height:30px;border-radius:50%;border:0;cursor:pointer;box-shadow:inset 0 0 0 2px rgba(255,255,255,.25)}
.tools .dot[aria-pressed=true]{box-shadow:0 0 0 2px #000,0 0 0 4px #fff}
.tools .tbtn{display:inline-flex;align-items:center;gap:6px;min-height:34px;padding:4px 12px;border-radius:999px;border:0;background:rgba(255,255,255,.12);color:#fff;font-weight:700;font-size:14px;cursor:pointer}
.tools .tbtn[aria-pressed=true]{background:var(--amber);color:#000}
.tools .tbtn svg{width:16px;height:16px}
.tools .sp{flex:1}
.bubbles{position:absolute;right:0;top:calc(100% + 14px);display:flex;flex-direction:column;align-items:flex-end;gap:10px;pointer-events:none}
.bub{padding:10px 16px;border-radius:20px;font-weight:700;font-size:16px;line-height:1.25;max-width:240px}
.bub.q{background:var(--violet);color:#fff;border-bottom-right-radius:6px}
.bub.a{background:var(--blue);color:#000;border-bottom-right-radius:6px;margin-right:18px}
.kept{position:absolute;left:19%;right:19%;top:calc(17% + 8px);z-index:2;padding:6px 10px;border-radius:14px;background:var(--amber);color:#000;text-align:center;font-size:14px;line-height:1.35;font-weight:700;opacity:0;pointer-events:none;transition:opacity .3s}
.kept.on{opacity:1}

/* why */
.why .wrap{display:grid;grid-template-columns:.9fr 1.1fr;gap:56px;align-items:center}
.why .lead{margin-top:22px}
.why .lead + .lead{margin-top:14px}
.first{display:grid;grid-template-columns:1fr 1.15fr;gap:18px;align-items:stretch}
.fw{border-radius:28px;padding:24px 22px 26px;display:flex;flex-direction:column;gap:12px}
.fw .lbl{font-size:14px;font-weight:700;letter-spacing:.04em;text-transform:uppercase}
.fw .q{font:800 clamp(28px,2.6vw,38px)/1.02 var(--f-display);font-stretch:80%;letter-spacing:-.01em;text-wrap:balance}
.fw .cap{font-size:16px;line-height:1.45;margin-top:auto}
.fw.plain{background:#f1f2f5;color:#4b5060}
.fw.plain .q{color:#9aa0b0;font-size:clamp(46px,4.6vw,64px)}
.fw .sent{margin:auto 0;padding:18px 0}
.fw .seen{margin-top:10px;font-size:13px;font-weight:700;color:#9aa0b0;display:flex;align-items:center;gap:6px}
.fw .seen::before{content:'';width:8px;height:8px;border-radius:50%;background:#c3c8d4}
.blank{display:flex;gap:12px;align-items:center;padding:14px;border-radius:18px;background:#e4e7ee}
.blank .ph{width:54px;height:54px;border-radius:50%;background:#cfd4df;flex:none;position:relative;overflow:hidden}
.blank .ph::after{content:'';position:absolute;left:50%;bottom:-10px;width:36px;height:30px;margin-left:-18px;border-radius:50% 50% 0 0;background:#b9bfcc}
.blank .ph::before{content:'';position:absolute;left:50%;top:11px;width:18px;height:18px;margin-left:-9px;border-radius:50%;background:#b9bfcc}
.blank > span:last-child{flex:1;display:flex;flex-direction:column;gap:8px}
.blank i{display:block;height:10px;border-radius:6px;background:#cfd4df;width:80%}
.blank i.s{width:46%}
.fw.dm{background:#000;color:#fff}
.fw.dm .mini{border-radius:14px;overflow:hidden;background:#fff;aspect-ratio:400/230}
.fw.dm .mini svg{width:100%;height:100%}
.fw.dm .q{color:#fff}
.fw.dm .a{align-self:flex-end;padding:9px 14px;border-radius:18px 18px 6px 18px;background:var(--blue);color:#000;font-weight:700;font-size:16px;max-width:92%}
[dir=rtl] .fw.dm .a{border-radius:18px 18px 18px 6px}
.fw.dm .cap{color:var(--grey)}

/* example stories */
.stories .lead{margin-top:20px}
.tales{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;margin-top:48px}
.tale{border-radius:28px;background:#11131a;border:1px solid var(--line-d);overflow:hidden;display:flex;flex-direction:column}
.tale .art{aspect-ratio:400/240;overflow:hidden}
.tale .art svg{width:100%;height:100%}
.tale .when{margin:22px 24px 0;font-size:14px;font-weight:700;letter-spacing:.04em;text-transform:uppercase;color:var(--blue)}
.tale h3{margin:8px 24px 0}
.tale p{margin:12px 24px 0;color:var(--grey);font-size:17px}
.tale .said{margin:auto 24px 24px;padding-top:16px;font:800 22px/1.15 var(--f-display);font-stretch:85%;color:var(--amber)}
.stories .note{margin-top:22px;max-width:46em}

/* the little figure */
.figure .wrap{display:grid;grid-template-columns:1fr 1fr;gap:56px;align-items:center}
.figure .art{border-radius:28px;overflow:hidden;background:#f4f6ff}
.figure .art svg{width:100%;height:auto}
.figure .lead{margin-top:22px}
.ticks{list-style:none;margin-top:26px;display:flex;flex-direction:column;gap:14px}
.ticks li{position:relative;padding-inline-start:30px;color:var(--grey-d);font-size:17px}
.ticks li::before{content:'';position:absolute;inset-inline-start:0;top:.42em;width:14px;height:14px;border-radius:5px;background:var(--violet)}
.ticks li:nth-child(2)::before{background:var(--coral)}
.ticks li:nth-child(3)::before{background:var(--amber)}
.ticks li:nth-child(4)::before{background:var(--mint)}
.ticks li:nth-child(5)::before{background:var(--blue)}
.ticks b{color:#000;font-weight:800}

/* steps */
.steps{display:grid;grid-template-columns:repeat(3,1fr);gap:28px;margin-top:56px;counter-reset:step;list-style:none}
.steps li{display:flex;flex-direction:column;gap:12px}
.steps .n{width:64px;height:64px;border-radius:20px;display:grid;place-items:center;font:800 34px/1 var(--f-display);font-stretch:80%}
.steps li:nth-child(1) .n{background:var(--blue);color:#000}
.steps li:nth-child(2) .n{background:var(--violet);color:#fff}
.steps li:nth-child(3) .n{background:var(--coral);color:#000}
.steps p{color:var(--grey)}

/* features */
.bento{display:grid;grid-template-columns:repeat(6,1fr);gap:16px;margin-top:48px}
.tile{border-radius:28px;padding:30px;display:flex;flex-direction:column;gap:12px;min-height:250px;position:relative;overflow:hidden}
.tile p{font-size:18px;max-width:28em}
.tile.t1{grid-column:span 4;background:var(--blue);color:#000}
.tile.t2{grid-column:span 2;background:var(--violet);color:#fff}
.tile.t3{grid-column:span 3;background:var(--coral);color:#000}
.tile.t4{grid-column:span 3;background:var(--amber);color:#000}
.tile .card{margin-top:auto;align-self:flex-start;display:flex;gap:12px;align-items:center;background:#fff;color:#000;border-radius:18px;padding:12px 16px;max-width:100%}
.tile .card b{display:block;font-size:17px}
.tile .card span{font-size:14px;color:#4b5060}
.tile .card i{display:block;font-style:normal;font-size:14px;color:#000;margin-top:4px;max-width:30ch}
.tile .card .mono{width:46px;height:46px;border-radius:50%;display:grid;place-items:center;font:800 22px/1 var(--f-display);flex:none}
.tile .glyph{margin-top:auto;width:76px;height:76px}

/* light */
.light .wrap{display:grid;grid-template-columns:1fr 1fr;gap:56px;align-items:center}
.light .art{border-radius:28px;overflow:hidden;background:#05060a}
.light .lead{margin-top:22px}
.light .note{color:var(--grey)}
.textlink{font-weight:700;text-decoration:underline;text-underline-offset:5px;text-decoration-thickness:2px}
.night .textlink{text-decoration-color:var(--blue)}
.day .textlink{text-decoration-color:var(--violet)}

/* globe */
.globe .wrap{display:grid;grid-template-columns:1fr 1fr;gap:40px;align-items:center}
.globe canvas{width:100%;aspect-ratio:1;max-width:560px;margin-inline:auto}
.globe .lead{margin-top:22px}
.stats{display:flex;flex-wrap:wrap;gap:28px;margin-top:30px}
.stats div{min-width:120px}
.stats b{display:block;font:800 clamp(40px,4.6vw,60px)/1 var(--f-display);font-stretch:80%;color:var(--blue)}
.stats span{color:var(--grey);font-weight:600;font-size:15px}
.stats[hidden]{display:none}

/* safety */
.safe{display:grid;grid-template-columns:repeat(4,1fr);gap:28px;margin-top:48px;list-style:none}
.safe li{display:flex;flex-direction:column;gap:10px}
.safe svg{width:44px;height:44px;color:var(--violet)}
.safe .st{font:800 24px/1.05 var(--f-display);font-stretch:78%;letter-spacing:-.01em;color:#000}
.safe p{color:var(--grey-d);font-size:17px}

/* blog list */
.posts{list-style:none;margin-top:40px;border-top:1px solid var(--line-l)}
.posts li{border-bottom:1px solid var(--line-l);display:grid;grid-template-columns:150px 1fr auto;gap:24px;align-items:baseline;padding:26px 0;position:relative}
.posts .pt a{text-decoration:none}
.posts .pt a::after{content:'';position:absolute;inset:0}
.posts li:hover .pt{text-decoration:underline;text-decoration-color:var(--violet);text-decoration-thickness:3px;text-underline-offset:6px}
.posts .pt{font-family:var(--f-display);font-weight:800;font-stretch:78%;letter-spacing:-.012em;line-height:1;text-wrap:balance;color:#000}
.tag{display:inline-block;padding:4px 10px;border-radius:999px;font-size:13px;font-weight:700;line-height:1.2;white-space:nowrap}
.posts .tag{justify-self:start}
.tag.meet{background:var(--blue);color:#000}
.tag.draw{background:var(--amber);color:#000}
.posts .pt{font-size:clamp(26px,2.6vw,36px)}
.posts p{color:var(--grey-d);margin-top:8px;font-size:17px;max-width:46em}
.posts .min{color:var(--grey-d);font-size:15px;font-weight:600;white-space:nowrap}
.more{margin-top:28px}

/* faq */
.faq .wrap{display:grid;grid-template-columns:.8fr 1.2fr;gap:56px;align-items:start}
.faq details{border-bottom:1px solid var(--line-l)}
.faq details:first-child{border-top:1px solid var(--line-l)}
.faq summary{list-style:none;cursor:pointer;display:flex;justify-content:space-between;gap:20px;padding:22px 0;font-weight:700;font-size:20px}
.faq summary::-webkit-details-marker{display:none}
.faq summary::after{content:'+';font:800 30px/0.8 var(--f-display);color:var(--violet);transition:transform .2s}
.faq details[open] summary::after{transform:rotate(45deg)}
.faq details p{padding:0 0 22px;color:var(--grey-d);max-width:40em}

/* newsletter */
.news .wrap{display:grid;grid-template-columns:1fr 1fr;gap:56px;align-items:center}
.news form{background:#fff;color:#000;border-radius:28px;padding:28px;display:flex;flex-direction:column;gap:12px;position:relative}
.news label{font-weight:700}
.news .row{display:flex;gap:10px;flex-wrap:wrap}
.news input[type=email]{flex:1;min-width:200px;min-height:54px;padding:12px 18px;border-radius:999px;border:2px solid #000;font-size:17px;outline:none}
.news input[type=email]:focus{border-color:var(--violet);box-shadow:0 0 0 4px rgba(110,75,255,.2)}
.news small{color:var(--grey-d);font-size:14px;line-height:1.45}
.news .msg{font-weight:700;font-size:15px;min-height:1.4em}
.news .msg.ok{color:#11895f}
.news .msg.err{color:#c8321f}
.stamp{width:110px;height:130px;position:absolute;top:-84px;inset-inline-end:22px;transform:rotate(8deg);pointer-events:none}
.news .lead{margin-top:18px}

/* footer */
.foot{background:#000;color:#fff;padding:72px 0 40px}
.foot .wrap{display:grid;grid-template-columns:1.4fr 1fr 1fr 1fr;gap:32px}
.foot .fh{display:flex;align-items:center;gap:8px;font-size:15px;font-family:var(--f-text);font-stretch:100%;font-weight:700;color:var(--grey);letter-spacing:0;margin-bottom:12px}
.foot ul{list-style:none;display:flex;flex-direction:column;gap:8px}
.foot a{text-decoration:none;color:#fff}
.foot a:hover{text-decoration:underline;text-decoration-color:var(--blue);text-underline-offset:4px}
.foot .tag-line{color:var(--grey);margin-top:14px;max-width:22em}
.foot .logo{margin:0}
.foot div > .fh{margin-top:26px}
.foot .fh svg{width:16px;height:16px}
.follow a{display:inline-flex;align-items:center;gap:8px;font-weight:700}
.follow svg{width:16px;height:16px;color:var(--blue)}
[dir=rtl] .follow svg{transform:scaleX(-1)}
.foot .share ul{flex-direction:row;flex-wrap:wrap;gap:8px}
.foot .share a{display:inline-block;padding:7px 12px;border-radius:999px;box-shadow:inset 0 0 0 1px var(--line-d);font-size:14px;font-weight:600;line-height:1.2}
.foot .share a:hover{box-shadow:inset 0 0 0 1px var(--blue);text-decoration:none}
.foot .copy{grid-column:1/-1;margin-top:28px;padding-top:22px;border-top:1px solid var(--line-d);color:var(--grey);font-size:14px}

/* article pages */
.page{padding:72px 0 96px}
.page .wrap{max-width:800px}
.crumbs{font-size:15px;font-weight:600;margin-bottom:22px}
.crumbs a{color:var(--violet)}
.page h1{font-size:clamp(42px,6vw,76px);line-height:.94}
.meta{margin-top:18px;color:var(--grey-d);font-size:15px;font-weight:600;display:flex;flex-wrap:wrap;gap:6px 18px}
.prose{margin-top:40px;font-size:19px;line-height:1.7}
.prose > * + *{margin-top:1.05em}
.prose h2{font-size:clamp(30px,3.4vw,42px);margin-top:1.7em}
.prose h3{font-size:26px;margin-top:1.4em}
.prose ul,.prose ol{padding-inline-start:1.3em}
.prose li + li{margin-top:.45em}
.prose a{color:var(--violet);font-weight:600;text-decoration-thickness:2px;text-underline-offset:4px}
.prose strong{font-weight:800}
.prose blockquote{padding:14px 20px;border-inline-start:5px solid var(--blue);background:#f3f6ff;border-radius:0 14px 14px 0}
.prose code{font-size:.9em;background:#f1f2f5;padding:2px 6px;border-radius:6px}
.cta-band{margin-top:64px;border-radius:28px;background:#000;color:#fff;padding:40px;display:grid;grid-template-columns:1fr auto;gap:24px;align-items:center;position:relative;overflow:hidden}
.cta-band h2{font-size:clamp(30px,3.6vw,46px)}
.cta-band p{color:var(--grey);margin-top:10px}
.cta-band .ctas{margin-top:0}
.related{margin-top:56px}
.related h2{font-size:32px}
.blog-head{padding:72px 0 24px}
.blog-head .lead{margin-top:18px}
.legal .prose h2{font-size:30px}
.fill{background:#fff1b8;padding:0 4px;border-radius:4px}

/* 404 + simple pages */
.simple{min-height:70vh;display:grid;place-items:center;text-align:center;padding:80px 0}
.simple h1{font-size:clamp(46px,7vw,92px)}
.simple .lead{margin:20px auto 0}
.simple .ctas{justify-content:center}

/* right to left */
[dir=rtl] .bub.q,[dir=rtl] .bub.a{border-bottom-right-radius:20px;border-bottom-left-radius:6px}
[dir=rtl] .bubbles{right:auto;left:-2%;align-items:flex-start}
[dir=rtl] .bub.a{margin-right:0;margin-left:18px}
:lang(ar) body,body:lang(ar){font-family:'Readex Pro','Bricolage Grotesque',system-ui,sans-serif}
:lang(ar) h1,:lang(ar) h2,:lang(ar) h3{font-family:'Lalezar','Bricolage Grotesque',system-ui,sans-serif;font-weight:400;font-stretch:100%;letter-spacing:0;line-height:1.2}
:lang(ar) .logo,:lang(ar) .stats b{font-family:'Bricolage Grotesque',system-ui,sans-serif}
:lang(ar) .prose{line-height:1.9}

@media (max-width:980px){
  section{padding:72px 0}
  .hero .wrap,.why .wrap,.light .wrap,.globe .wrap,.news .wrap,.faq .wrap,.figure .wrap{grid-template-columns:1fr}
  .tales{grid-template-columns:1fr 1fr}
  .tale:last-child{grid-column:1/-1}
  .hero{padding-top:20px}
  .bubbles{right:0}
  .steps,.safe{grid-template-columns:1fr 1fr}
  .tile.t1,.tile.t2,.tile.t3,.tile.t4{grid-column:span 6}
  .foot .wrap{grid-template-columns:1fr 1fr}
}
@media (max-width:720px){
  body{font-size:17px}
  .wrap{padding:0 16px}
  .top nav a.hide-m{display:none}
  .top nav{gap:12px}
  .top .wrap{gap:12px}
  .logo{font-size:26px}
  .logo svg{width:30px;height:30px}
  .first,.tales{grid-template-columns:1fr}
  .tale:last-child{grid-column:auto}
  .steps,.safe{grid-template-columns:1fr}
  .posts li{grid-template-columns:1fr;gap:8px}
  .cta-band{grid-template-columns:1fr;padding:28px}
  .bub{font-size:15px;padding:9px 14px;max-width:290px}
  .stage{margin-bottom:118px}
  .bubbles{top:calc(100% + 10px);right:0}
  [dir=rtl] .bubbles{left:0;right:auto}
  .menu-m{display:block}
  .tools{left:4%;right:4%;top:calc(73% + 8px);gap:6px}
  .tools .sp{display:none}
  .tools .dot{width:24px;height:24px}
  .tools .tbtn{min-height:32px;padding:4px 10px;font-size:13px}
  .tools .tgrp{gap:6px}
  .kept{font-size:13px;left:19%;right:19%}
  .stats{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}
  .stats div{min-width:0}
  .stats b{font-size:clamp(30px,9vw,40px)}
  .stamp{width:84px;height:100px;top:-70px}
  .news form{margin-top:30px}
  .foot .wrap{grid-template-columns:1fr}
}
@media (max-width:480px){
  .top .btn{display:none}
}
@media (prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

/* cookie choice (Google Analytics only after a yes; our own visit counting uses no cookies) */
.linkbtn{background:none;border:0;padding:0;font:inherit;color:#fff;cursor:pointer;text-align:start}
.linkbtn:hover{text-decoration:underline;text-decoration-color:var(--blue);text-underline-offset:4px}
.consent{position:fixed;z-index:60;inset-inline:16px;bottom:16px;margin-inline:auto;max-width:620px;display:flex;align-items:center;gap:16px;padding:14px 16px 14px 20px;border-radius:20px;background:#0b0c10;color:#fff;border:1px solid var(--line-d);box-shadow:0 18px 50px rgba(0,0,0,.55);font-size:15px;line-height:1.45}
.consent[hidden]{display:none}
.consent p{margin:0;color:var(--grey)}
.consent a{color:var(--blue);font-weight:700}
.consent .row{display:flex;gap:8px;flex:none}
.consent .btn{min-height:42px;padding:8px 16px;font-size:15px}
.btn-quiet{background:transparent;color:#fff;border:1px solid var(--line-d)}
.btn-quiet:hover{border-color:var(--blue)}
@media (max-width:560px){
  .consent{flex-direction:column;align-items:stretch;inset-inline:10px;bottom:10px;padding:14px}
  .consent .row .btn{flex:1}
}

/* ===== V4 home: one picture per theme, a clear call to action at every step ===== */
.btn-xl{min-height:60px;padding:14px 28px;font-size:19px}
.btn svg{flex:none}
.eyebrow{display:inline-flex;align-items:center;gap:8px;padding:6px 14px;border-radius:999px;background:rgba(153,181,255,.14);color:var(--blue);font-size:14px;font-weight:700;margin-bottom:18px}
.kicker{font-size:14px;font-weight:700;letter-spacing:.05em;text-transform:uppercase;color:var(--violet);margin-bottom:12px}
.night .kicker{color:var(--blue)}
.micro{margin-top:14px;font-size:15px;font-weight:600;color:var(--grey)}
.day .micro{color:var(--grey-d)}
.chips{list-style:none;display:flex;flex-wrap:wrap;gap:8px;margin-top:22px}
.chips li{padding:7px 14px;border-radius:999px;border:1px solid var(--line-d);font-size:14px;font-weight:600;color:#fff}
.chips li::before{content:'✦';margin-inline-end:6px;color:var(--amber)}
.ctas.center{justify-content:center}
.split{display:grid;grid-template-columns:1fr 1fr;gap:56px;align-items:center}
.split.rev .media{order:2}
.media img,.v4-hero-art img{display:block;width:100%;height:auto}
.shot{border-radius:24px;border:1px solid rgba(255,255,255,.16);box-shadow:0 30px 70px rgba(110,75,255,.35)}
.day .shot{border-color:rgba(0,0,0,.12);box-shadow:0 24px 60px rgba(20,30,70,.2)}
.plain{border-radius:28px}
.cap{margin-top:14px;font-size:15px;font-weight:600;color:var(--grey);text-align:center}
.day .cap{color:var(--grey-d)}
.feat{list-style:none;display:flex;flex-direction:column;gap:18px;margin-top:26px}
.feat li{font-size:17px;color:var(--grey-d)}
.night .feat li{color:var(--grey)}
.feat b{display:block;font-size:20px;font-weight:800;color:#000;margin-bottom:2px}
.night .feat b{color:#fff}
.tags-soon{list-style:none;display:flex;flex-wrap:wrap;gap:10px;margin-top:26px}
.tags-soon li{padding:9px 16px;border-radius:999px;background:var(--amber);color:#000;font-weight:700}
/* hero: the room in big, the share card on it */
.v4-hero{padding:48px 0 88px;overflow:hidden}
.v4-hero-text{max-width:860px}
.v4-hero h1{font-size:clamp(48px,7vw,104px);line-height:.92;max-width:11em}
.v4-hero .lead{margin-top:22px;max-width:40em}
.v4-hero-art{position:relative;margin-top:48px;padding-bottom:5%}
.v4-hero-art .hero-card{position:absolute;width:22%;right:3%;bottom:0;border-radius:22px;transform:rotate(4deg);box-shadow:0 24px 60px rgba(0,0,0,.6)}
.v4-hero-art figcaption{margin-top:16px;font-size:15px;font-weight:600;color:var(--grey);max-width:60%}
/* the "try it" wall next to its text */
.v4-try .try-stage{position:relative}
.v4-try .try-stage .stage{margin-bottom:112px}
.v4-try .try-stage .stage .room polygon{fill-opacity:.12}
.v4-try .try-stage .try{color:var(--violet)}
.v4-try .try-stage .tools .tbtn{background:rgba(0,0,0,.08);color:#000}
.v4-try .try-stage .tools .dot{box-shadow:inset 0 0 0 2px rgba(0,0,0,.2)}
/* three steps, one big picture each */
.step-rows{display:flex;flex-direction:column;gap:72px;margin-top:56px}
.step-row{display:grid;grid-template-columns:1.1fr .9fr;gap:56px;align-items:center}
.step-row.rev .media{order:2}
.step-row .step-img{width:100%;height:auto;aspect-ratio:600/420;border-radius:26px;box-shadow:0 24px 60px rgba(20,30,70,.22)}
.step-row h3{font-size:clamp(30px,3.2vw,44px);margin-top:16px}
.step-row p{margin-top:12px;color:var(--grey-d);font-size:19px;max-width:28em}
.step-row .n{display:grid;place-items:center;width:64px;height:64px;border-radius:20px;font:800 34px/1 var(--f-display);font-stretch:80%}
.n1{background:var(--blue);color:#000}.n2{background:var(--violet);color:#fff}.n3{background:var(--coral);color:#000}
.v4-how .ctas{margin-top:56px}
/* the last call, on a real room */
.cta-banner{position:relative;overflow:hidden;background:#000;color:#fff;text-align:center;padding:120px 0}
.cta-banner::before{content:'';position:absolute;inset:0;background:url(/img/vitrine/v5/neon-room-banner-2000.jpg) center/cover;background-image:image-set(url(/img/vitrine/v5/neon-room-banner-2000.webp) type("image/webp"),url(/img/vitrine/v5/neon-room-banner-2000.jpg) type("image/jpeg"));opacity:.95}
@media (max-width:720px){.cta-banner::before{background-image:url(/img/vitrine/v5/neon-room-banner-1000.jpg);background-image:image-set(url(/img/vitrine/v5/neon-room-banner-1000.webp) type("image/webp"),url(/img/vitrine/v5/neon-room-banner-1000.jpg) type("image/jpeg"))}}
.cta-banner::after{content:'';position:absolute;inset:0;background:linear-gradient(180deg,#000 0%,rgba(0,0,0,.2) 24%,rgba(0,0,0,.36) 70%,#000 100%)}
.cta-banner .wrap{position:relative;z-index:1;text-shadow:0 2px 18px rgba(0,0,0,.75)}
.cta-banner h2{font-size:clamp(44px,6vw,84px)}
.cta-banner .lead{margin:16px auto 0;color:#fff}
/* phones: a call to action that follows once the first one is out of sight */
.sticky-cta{position:fixed;z-index:40;left:12px;right:12px;bottom:calc(12px + env(safe-area-inset-bottom,0px));display:none;transform:translateY(140%);transition:transform .3s ease}
.sticky-cta .btn{width:100%;box-shadow:0 14px 40px rgba(0,0,0,.45)}
.sticky-cta.on{transform:none}
@media (max-width:980px){
  .split,.step-row,.step-row.rev{grid-template-columns:1fr;gap:28px}
  .split.rev .media,.step-row.rev .media{order:0}
  .v4-hero-art{padding-bottom:16%}
  .v4-hero-art .hero-card{width:34%}
  .v4-hero-art figcaption{max-width:100%}
  .step-rows{gap:48px}
}
@media (max-width:720px){
  .sticky-cta{display:block}
  .btn-xl{width:100%}
  .v4-hero .ctas .btn{width:100%}
  .cta-banner{padding:88px 0}
  .consent:not([hidden]) ~ .sticky-cta{display:none}
}
.split h2 + .lead,.v4-how h2 + .step-rows{margin-top:18px}
.split .lead + .lead{margin-top:14px}

/* V4.2 real pictures: example rooms made in the app */
.paper{background:#f6f1e8;color:#14151b}
.paper .kicker{color:#6e4bff}
.paper .lead{color:#3d4150}
.step-row .step-img.photo{object-fit:cover;background:#e8ecf6}
.v4-gallery h2{max-width:18em}
.gal-grid{list-style:none;margin:40px 0 0;padding:0;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}
.gal-grid figure{margin:0;background:#fff;border-radius:18px;overflow:hidden;box-shadow:0 14px 34px rgba(20,30,70,.14);transition:transform .25s ease,box-shadow .25s ease}
.gal-grid figure:hover{transform:translateY(-4px) rotate(-.4deg);box-shadow:0 22px 44px rgba(20,30,70,.2)}
.gal-grid li:nth-child(3n) figure:hover{transform:translateY(-4px) rotate(.5deg)}
.gal-grid img{display:block;width:100%;height:auto;aspect-ratio:16/10;object-fit:cover}
.gal-grid figcaption{padding:10px 14px 12px;font-weight:700;font-size:15px;line-height:1.3;color:#14151b}
.v4-gallery .ctas{margin-top:40px}
.post-fig{margin:28px 0}
.post-fig img{display:block;width:100%;height:auto;border-radius:18px;box-shadow:0 18px 44px rgba(20,30,70,.16)}
.post-fig figcaption{margin-top:10px;font-size:15px;color:#5b6070;text-align:center}
@media (max-width:980px){.gal-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media (max-width:720px){.gal-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.gal-grid figcaption{font-size:13.5px;padding:8px 10px 10px}}
@media (prefers-reduced-motion:reduce){.gal-grid figure{transition:none}.gal-grid figure:hover{transform:none}}

/* v5: "a world of drawings" in motion (the strip of clips) and the log-in line */
.login-line{margin-top:14px;font-size:16px;color:var(--grey)}
.day .login-line{color:var(--grey-d)}
.login-line a{font-weight:700;text-underline-offset:4px;text-decoration-thickness:2px;text-decoration-color:var(--blue)}
.day .login-line a{text-decoration-color:var(--violet)}
.ctas.center + .login-line{text-align:center}
.v5-motion{overflow:hidden}
.motion-head{max-width:46em}
.motion-head h2{margin-bottom:22px}
.motion-head .lead + .lead{margin-top:14px}
.motion-strip{list-style:none;display:flex;gap:16px;overflow-x:auto;scroll-snap-type:x mandatory;padding:6px 24px 20px;margin:40px -24px 0;scrollbar-width:thin;scrollbar-color:var(--grey-d) transparent;-webkit-overflow-scrolling:touch}
.motion-strip li{flex:0 0 clamp(176px,23vw,262px);scroll-snap-align:start}
.motion-strip figure{position:relative;aspect-ratio:9/16;border-radius:22px;overflow:hidden;background:#14161c;box-shadow:inset 0 0 0 1px var(--line-d),0 18px 40px rgba(0,0,0,.4)}
.motion-strip video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.motion-strip figcaption{position:absolute;inset:auto 0 0;padding:34px 14px 14px;background:linear-gradient(transparent,rgba(0,0,0,.82));font-size:14.5px;line-height:1.25;font-weight:600;color:#fff}
.motion-bar{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-top:6px}
.motion-bar .btn{min-height:46px;padding:8px 18px;font-size:15px}
.motion-bar .motion-nav{width:46px;padding:0}
[dir=rtl] .motion-nav svg{transform:scaleX(-1)}
.v5-motion .note{margin-top:14px;font-size:14px}
.v5-motion .ctas{margin-top:26px}
@media (max-width:700px){.motion-strip li{flex-basis:62vw}}

/* V5.3: the games of the home page, the pictures in two formats (WebP, JPEG) */
picture{display:block}
.v53-games{overflow:hidden}
.v53-games .games-head{max-width:46em}
.game-grid{list-style:none;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px;margin-top:44px}
.game-grid li{display:flex;min-width:0}
.game-card{flex:1;min-width:0;display:flex;flex-direction:column;border-radius:26px;overflow:hidden;background:#11131a;border:1px solid var(--line-d);box-shadow:0 24px 60px rgba(0,0,0,.35)}
.game-card picture,.game-card img{width:100%;height:auto;aspect-ratio:16/10;object-fit:cover;background:#05060a}
.game-card .gc-body{padding:22px 26px 28px;display:flex;flex-direction:column;gap:10px}
.gc-tag{align-self:flex-start;padding:5px 12px;border-radius:999px;background:rgba(153,181,255,.14);color:var(--blue);font-size:14px;font-weight:700;line-height:1.3}
.game-card h3{font-size:clamp(26px,2.4vw,34px);color:#fff}
.game-card .gc-body > p:not(.gc-tag){color:var(--grey);font-size:17px}
.v53-games .ctas{margin-top:40px}
.v53-new .tags-soon{margin-top:22px}
.v53-new .ctas{margin-top:26px}
@media (max-width:720px){
  .game-grid{grid-template-columns:1fr;gap:16px;margin-top:32px}
  .game-card{border-radius:22px}
  .game-card .gc-body{padding:18px 18px 22px}
}
/* V5.3e: the Google button (white, the logo in its colours) */
.btn-google{background:#fff;color:#1f1f1f;box-shadow:inset 0 0 0 1px #dadce0}
.btn-google:hover{background:#f1f4ff}
.btn-google svg{width:22px;height:22px}
.g-row{margin-top:12px}
@media (max-width:720px){.g-row .btn{width:100%}}
/* V5.3: the buttons the same everywhere on a phone: one line when it fits, the two of a row the same height, labels that wrap
   stay centred; the label above the title keeps rounded corners on two lines */
@media (max-width:720px){
  .btn{font-size:16.5px;padding:12px 18px;gap:8px;line-height:1.2;text-align:center}
  .btn-xl{font-size:17.5px;padding:14px 20px;min-height:58px}
  .v4-hero .ctas .btn,.cta-banner .ctas .btn{min-height:58px}
  .ctas .btn{width:100%}
  .eyebrow{border-radius:14px;line-height:1.35}
}
@media (max-width:380px){
  .btn{font-size:15.5px;padding-inline:14px}
  .btn-xl{font-size:16.5px;padding-inline:16px}
}
