@font-face{font-family:Poppins;font-weight:300;font-display:swap;src:url(/fonts/poppins-latin-300-normal.woff2) format("woff2")}
@font-face{font-family:Poppins;font-weight:400;font-display:swap;src:url(/fonts/poppins-latin-400-normal.woff2) format("woff2")}
@font-face{font-family:Poppins;font-weight:500;font-display:swap;src:url(/fonts/poppins-latin-500-normal.woff2) format("woff2")}
@font-face{font-family:Poppins;font-weight:600;font-display:swap;src:url(/fonts/poppins-latin-600-normal.woff2) format("woff2")}

/* the site's palette (website/DESIGN.md, 3). One accent, the deep blue --title, for every line, bar, dot and figure.
   Amber means « à vérifier » and green « validé », as in the dashboard; nothing else is coloured.
   « Reduce motion » (Windows: animation effects off) keeps the demonstration playing and its bars filling, without
   drifting, floating, sweeping or tilting. */
:root{--title:#054e83;--action:#0a67a7;--logo-blue:#0a94f1;--ink:#0b1b2b;--soft:#4b5b6b;--muted:#5d6c7b;
  --line:#e3e9ef;--pale:#f6f7f9;--tint:#e8f2fa;--ice:#7dd3fc;--amber:#d97706;--amber-ink:#a45309;--green:#15803d;
  --max:1160px;--gut:clamp(1rem,5vw,3rem);--r:20px;
  --lift:0 1px 2px rgba(5,78,131,.08),0 12px 28px -18px rgba(5,78,131,.35)}
*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;scroll-behavior:smooth;overflow-x:clip}
body{margin:0;font-family:Poppins,system-ui,-apple-system,"Segoe UI",sans-serif;color:var(--ink);background:#fff;line-height:1.6;-webkit-font-smoothing:antialiased;overflow-x:clip}
img{max-width:100%;height:auto;display:block}
h1,h2,h3,h4,p,ul,ol,dl,dd,figure{margin:0}
ul,ol{padding:0;list-style:none}
a{color:var(--action)}
.wrap{max-width:var(--max);margin:0 auto;padding:0 var(--gut)}
:focus-visible{outline:2px solid var(--title);outline-offset:3px;border-radius:6px}
.ic{width:1.1em;height:1.1em;flex:none;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.ic.sm{width:.8em;height:.8em}.ic.lg{width:1.4rem;height:1.4rem}
.skip{position:absolute;left:-999px;top:.5rem;background:#fff;padding:.5rem 1rem;border-radius:10px;z-index:100}
.skip:focus{left:.5rem}
section[id]{scroll-margin-top:1rem}
.progress{position:fixed;left:0;top:0;height:3px;width:100%;z-index:60;transform-origin:0 50%;transform:scaleX(var(--p,0));background:var(--title)}
h2{font-size:clamp(1.9rem,3.6vw,2.9rem);font-weight:600;line-height:1.12;letter-spacing:-.03em;color:var(--title);text-wrap:balance;padding-bottom:.04em}
h3{font-size:1.15rem;font-weight:600;line-height:1.3;color:var(--ink)}
/* section headings: one sentence in two shades, the title in deep blue and its continuation in grey */
.head2{max-width:58rem}
.h2x{font-size:clamp(1.7rem,3vw,2.55rem);font-weight:600;line-height:1.2;letter-spacing:-.028em;color:var(--title);text-wrap:pretty}
.h2x span{color:#6f7f8f}
.head2 .body{margin-top:1.2rem;max-width:44rem;color:var(--soft);font-size:1.02rem}
.wrap.wide{max-width:1320px}
.bt{margin-top:.9rem;color:var(--soft);font-size:1.02rem}

/* ───────── the menu ───────── */
.nav{position:fixed;top:14px;left:0;right:0;z-index:50;display:flex;justify-content:center;pointer-events:none}
.navin{pointer-events:auto;width:calc(100% - 2 * var(--gut));max-width:1120px;display:flex;align-items:center;justify-content:space-between;gap:1rem;
  padding:.45rem 1.4rem .45rem 1.75rem;border-radius:16px;background:rgba(255,255,255,.8);-webkit-backdrop-filter:saturate(1.6) blur(18px);backdrop-filter:saturate(1.6) blur(18px);
  box-shadow:0 0 0 1px rgba(5,78,131,.08),0 12px 32px -14px rgba(5,78,131,.3);transition:background .3s}
.nav.solid .navin{background:rgba(255,255,255,.94)}
.logo{display:block;padding:.2rem 0}
.logo img{width:68px}
.pages{display:flex;gap:1.5rem;font-size:.9rem}
.pages a{color:var(--soft);text-decoration:none;padding:.3rem 0}
.pages a:hover{color:var(--title)}
.langs{position:relative}
.langs summary{list-style:none;cursor:pointer;display:inline-flex;align-items:center;gap:.35rem;font-size:.9rem;color:var(--soft);padding:.4rem 0;transition:color .2s}
.langs summary::-webkit-details-marker{display:none}
.langs summary:hover,.langs[open] summary{color:var(--title)}
.langs[open] summary .ic.sm{transform:rotate(180deg)}
.langs ul{position:absolute;right:0;top:calc(100% + .5rem);min-width:9rem;padding:.45rem 0;border-radius:14px;background:#fff;box-shadow:0 0 0 1px rgba(5,78,131,.1),0 18px 40px -18px rgba(5,78,131,.4)}
.langs li a{display:block;padding:.45rem 1.1rem;font-size:.9rem;color:var(--soft);text-decoration:none}
.langs li a:hover{color:var(--title)}
.langs li a[aria-current]{color:var(--title);font-weight:600}

/* ───────── the hero: centred words over a soft sky that fades out well before the window ends ───────── */
.hero{position:relative;padding-top:clamp(7.5rem,14vw,10rem);text-align:center;overflow-x:clip}
.aurora{position:absolute;left:0;right:0;top:0;height:min(980px,120vh);pointer-events:none;z-index:0;
  -webkit-mask-image:linear-gradient(180deg,#000 35%,transparent 88%);mask-image:linear-gradient(180deg,#000 35%,transparent 88%)}
.aurora i{position:absolute;border-radius:50%;filter:blur(90px);opacity:.42;will-change:transform;animation:drift 22s ease-in-out infinite alternate}
.aurora i:nth-child(1){width:58vw;aspect-ratio:1;left:-12%;top:-30%;background:radial-gradient(circle,#0a94f1,transparent 68%)}
.aurora i:nth-child(2){width:50vw;aspect-ratio:1;right:-14%;top:-10%;background:radial-gradient(circle,#7dd3fc,transparent 68%);animation-duration:28s;animation-delay:-8s}
.aurora i:nth-child(3){width:40vw;aspect-ratio:1;left:30%;top:6%;background:radial-gradient(circle,rgba(10,103,167,.5),transparent 68%);opacity:.22;animation-duration:34s;animation-delay:-14s}
@keyframes drift{from{transform:translate3d(0,0,0) scale(1)}to{transform:translate3d(6vw,4vh,0) scale(1.15)}}
.heroin{position:relative;z-index:1}
/* the gradient title: the extra bottom padding keeps the descender of the g inside the painted box */
h1{font-size:clamp(2.6rem,7.2vw,6rem);font-weight:600;line-height:1.04;letter-spacing:-.05em;color:var(--title);padding:0 .04em .16em;
  background:linear-gradient(115deg,#054e83 5%,#0a67a7 45%,#0a94f1 95%);-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent}
.sub{margin:1rem auto 0;max-width:36ch;font-size:clamp(1.1rem,1.8vw,1.4rem);font-weight:400;line-height:1.4;letter-spacing:-.01em;color:var(--soft);text-wrap:balance}

/* ───────── the demonstration: a browser window, the steps under it, the caption. A click on the window pauses it. ───────── */
.device{position:relative;margin-top:clamp(2.5rem,5vw,3.75rem);z-index:1}
.demo{position:relative;transform-origin:50% 0;text-align:left}
/* flat by default; app.js leans it back a little and straightens it as the page scrolls, only when motion is allowed */
.win{background:#fff;border-radius:16px;overflow:hidden;box-shadow:0 0 0 1px rgba(5,78,131,.14),0 50px 80px -50px rgba(5,78,131,.45),0 20px 40px -28px rgba(4,23,42,.25)}
.bar{display:flex;justify-content:center;padding:.5rem .75rem;border-bottom:1px solid var(--line);background:#fbfcfd}
.url{font-size:.74rem;color:var(--muted)}
.stage-wrap{overflow:hidden;aspect-ratio:1600/968;position:relative}
.stage{position:relative;width:100%;aspect-ratio:1600/968;transform-origin:0 0;transition:transform .9s cubic-bezier(.3,.7,.2,1)}
.frame{position:absolute;inset:0;width:100%;height:100%;opacity:0;transition:opacity .45s ease}
.frame.on{opacity:1}
html:not(.js) .frame:first-of-type{opacity:1}
.cursor{position:absolute;left:0;top:0;width:clamp(16px,2vw,26px);height:auto;opacity:0;pointer-events:none;transition:left .9s cubic-bezier(.45,.05,.25,1),top .9s cubic-bezier(.45,.05,.25,1),opacity .3s;filter:drop-shadow(0 2px 3px rgba(0,0,0,.25))}
.click{position:absolute;width:clamp(26px,3.4vw,44px);aspect-ratio:1;margin:calc(clamp(26px,3.4vw,44px) / -2) 0 0 calc(clamp(26px,3.4vw,44px) / -2);border-radius:50%;background:rgba(5,78,131,.28);opacity:0;transform:scale(.3);pointer-events:none}
.click.go{animation:ripple .6s ease-out}
@keyframes ripple{0%{opacity:.9;transform:scale(.3)}100%{opacity:0;transform:scale(1.15)}}
.ring{position:absolute;border:2px solid #f59e0b;border-radius:10px;opacity:0;pointer-events:none;transition:opacity .4s;left:58.8%;top:61.3%;width:39.8%;height:7.4%;box-shadow:0 0 0 6px rgba(245,158,11,.16)}
.ring.on{opacity:1}
.scan{position:absolute;left:0;right:0;top:0;height:26%;pointer-events:none;opacity:0;transform:translateY(-100%);background:linear-gradient(180deg,transparent,rgba(5,78,131,.06) 55%,rgba(10,148,241,.22) 97%,transparent)}
.scan.run{animation:scan 1.15s cubic-bezier(.4,.1,.3,1)}
@keyframes scan{0%{opacity:1;transform:translateY(-100%)}85%{opacity:1}100%{opacity:0;transform:translateY(400%)}}
/* the whole screen is the pause button, with no symbol: the step's bar stops filling while it is paused */
.pp{position:absolute;inset:0;width:100%;height:100%;border:0;padding:0;margin:0;background:transparent;cursor:pointer}
.pp:focus-visible{outline:2px solid var(--title);outline-offset:-4px;border-radius:0}
.tabs{display:flex;gap:.5rem;margin-top:1.2rem}
.tabs li{flex:1;min-width:0}
.tab{all:unset;box-sizing:border-box;display:block;width:100%;cursor:pointer;padding:.75rem .1rem .2rem;font-size:.84rem;color:var(--muted);position:relative;text-align:left;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;transition:color .3s}
.tab::before,.tab::after{content:"";position:absolute;left:0;top:0;height:4px;border-radius:4px}
.tab::before{width:100%;background:rgba(5,78,131,.12)}
.tab::after{width:0;background:var(--title)}
.tab.done{color:var(--soft)}
.tab.done::after{width:100%}
.tab.cur{color:var(--title);font-weight:600}
.tab.cur::after{animation:fill var(--d,4s) linear both}
.is-paused .tab.cur::after{animation-play-state:paused}
@keyframes fill{from{width:0}to{width:100%}}
.tab:hover{color:var(--title)}
.tab:focus-visible{outline:2px solid var(--title);outline-offset:2px}
.cap{margin-top:.55rem;min-height:3.2em;font-size:.98rem;color:var(--ink);max-width:50rem}
.note{margin-top:.6rem;font-size:.8rem;color:var(--muted);text-align:center;position:relative;z-index:1}
@keyframes float{from{transform:translateY(-7px)}to{transform:translateY(9px)}}

/* ───────── figures ───────── */
.sec-stats{margin-top:clamp(5rem,10vw,7.5rem)}
.statement{margin-bottom:clamp(2.5rem,5vw,3.5rem)}
.stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr))}
.stats li{padding:.3rem 1.5rem;border-left:1px solid var(--title)}
.stats li:first-child{border-left:0;padding-left:0}
.num{display:block;font-size:clamp(2.2rem,4.2vw,3.5rem);font-weight:600;line-height:1.05;letter-spacing:-.045em;font-variant-numeric:tabular-nums;color:var(--title)}
.stats span{display:block;margin-top:.4rem;font-size:.88rem;color:var(--soft);max-width:15rem}

/* ───────── messaging: the words and the screen, then four facts in a row ───────── */

/* ───────── what happens to a message: the conversation, the dashboard, a line between them, notes on the right ───────── */
.trace{padding-top:clamp(5rem,11vw,8rem)}
.tr{position:relative;margin-top:2.6rem;display:grid;grid-template-columns:minmax(0,20rem) 5rem minmax(0,1fr) 13.5rem;align-items:start}
.tr-chat{grid-column:1;grid-row:1/4}
.tr-thread{padding:.9rem .9rem 1rem;border-radius:22px;background:#f1f2f4}
.tr-top{display:flex;justify-content:space-between;align-items:baseline;padding:0 .3rem .5rem;font-size:.84rem}
.tr-top span{font-size:.76rem;color:var(--muted)}
.b{position:relative;width:fit-content;max-width:88%;margin-top:.5rem;padding:.5rem .75rem .35rem;border-radius:4px 14px 14px 14px;background:#fff;font-size:.86rem;line-height:1.42;box-shadow:0 1px 1px rgba(5,78,131,.08)}
.b.out{margin-left:auto;border-radius:14px 4px 14px 14px;background:#d9eaf7}
.b .time{display:block;text-align:right;font-size:.68rem;color:var(--muted);margin-top:.1rem}
.b.photo{padding:.3rem .3rem .2rem;max-width:80%}
.b.photo img{border-radius:10px;aspect-ratio:3/2;object-fit:cover}
.b.photo .time{padding:.1rem .3rem 0}
.b.key{transition:box-shadow .5s}
.tr.in .b.key,html:not(.js) .b.key{box-shadow:0 0 0 2px var(--title),0 12px 26px -12px rgba(5,78,131,.55)}
.tr-note{position:relative;padding-left:1.5rem;font-size:.84rem;line-height:1.5;color:var(--title)}
.tr-note::before{content:"";position:absolute;left:0;top:.72em;width:1rem;height:2px;background:var(--title)}
.tr-chat .tr-note{margin-top:1rem}
.tr-pane{grid-column:3;grid-row:1/4;align-self:stretch;border-radius:22px;background:#fff;box-shadow:0 0 0 1px rgba(5,78,131,.12),0 40px 80px -50px rgba(5,78,131,.45)}
.tr-lines,.tr-total,.tr-bilan{grid-column:3;position:relative;padding:1rem 1.4rem}
.tr-lines{grid-row:1;padding-top:1.2rem}
.tr-total{grid-row:2;border-top:1px solid var(--line)}
.tr-bilan{grid-row:3;border-top:1px solid var(--line);padding-bottom:1.3rem}
.tr .n-line,.tr .n-total,.tr .n-bilan{grid-column:4;margin-left:1.4rem}
.n-line{grid-row:1;margin-top:4rem}.n-total{grid-row:2;margin-top:1.1rem}.n-bilan{grid-row:3;margin-top:1.1rem}
.tr-bar{display:flex;justify-content:space-between;align-items:baseline;padding-bottom:.6rem;border-bottom:1px solid var(--line)}
.tr-bar b{color:var(--title)}.tr-bar span{font-size:.78rem;color:var(--muted)}
.tr-lines li{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:.15rem 1rem;align-items:baseline;padding:.5rem .7rem;border-bottom:1px solid #eef2f6;font-size:.9rem}
.tr-lines li:last-child{border-bottom:0}
.tr-lines li.key .nm{transition:color .5s .9s}
.tr.in li.key .nm,html:not(.js) .tr li.key .nm{color:var(--title);font-weight:600}
.qt{font-weight:600;color:var(--title);text-align:right;font-variant-numeric:tabular-nums}
.fl{display:flex;align-items:center;gap:.4rem;font-size:.76rem;color:var(--amber-ink)}
.fl i{flex:none;width:.5rem;height:.5rem;border-radius:50%;background:#f59e0b}
.ok{justify-self:end;font-size:.78rem;font-weight:500;color:var(--title)}
.tr-row{display:flex;justify-content:space-between;align-items:baseline;font-size:.92rem}
.tr-row .v{font-size:1.35rem;color:var(--title);letter-spacing:-.02em}
.tr-row span{font-size:.78rem;color:var(--muted)}
.tr-b{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:1.2rem;align-items:baseline;margin-top:.35rem}
.tr-b .nm{font-weight:500}
.tr-b .v{font-size:1.6rem;font-weight:600;letter-spacing:-.03em;color:var(--title);font-variant-numeric:tabular-nums}
.tr-link{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;overflow:visible;z-index:2}
.tr-link .lk{fill:none;stroke:var(--title);stroke-width:2;stroke-linecap:round}
.tr-link circle{fill:var(--title)}

/* ───────── the pinned chapter: the screen on the right follows the step being read ───────── */
/* the soft sky of the hero, spread down the chapter and faded in and out at both ends, so no edge shows */
.story{position:relative;isolation:isolate;margin-top:clamp(5rem,11vw,8rem);padding:clamp(5rem,9vw,7rem) 0 clamp(4rem,7vw,5rem)}
.story::before{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;
  background:radial-gradient(48% 900px at 6% 5%,rgba(10,148,241,.2),transparent 70%),radial-gradient(42% 800px at 97% 20%,rgba(125,211,252,.34),transparent 70%),
    radial-gradient(46% 900px at 3% 52%,rgba(125,211,252,.26),transparent 70%),radial-gradient(42% 800px at 96% 76%,rgba(10,148,241,.15),transparent 70%),
    radial-gradient(50% 700px at 40% 98%,rgba(125,211,252,.2),transparent 70%);
  -webkit-mask-image:linear-gradient(180deg,transparent,#000 10%,#000 90%,transparent);mask-image:linear-gradient(180deg,transparent,#000 10%,#000 90%,transparent)}
.story .wrap{position:relative;max-width:1400px}
.storybody{position:relative;display:grid;grid-template-columns:minmax(0,.55fr) minmax(0,1.45fr);gap:clamp(2rem,5vw,4rem);margin-top:clamp(1.5rem,4vw,2.5rem)}
.ssteps li{min-height:86vh;display:flex;align-items:center}
.ssteps li:first-child{min-height:68vh}
.sin{opacity:.34;transform:translateX(-6px);transition:opacity .5s,transform .5s}
.sstep.active .sin{opacity:1;transform:none}
.sin h3{font-size:clamp(1.4rem,2.3vw,1.9rem);letter-spacing:-.02em;color:var(--title);margin-top:.1rem}
.sin p{color:var(--soft);margin-top:.8rem;max-width:30rem}
.tabname{display:inline-block;min-width:8rem;padding-top:.55rem;margin-bottom:.9rem;border-top:3px solid var(--title);font-size:.86rem;font-weight:500;color:var(--title)}
.sstage{position:sticky;top:max(5.5rem,calc(50vh - 15rem));align-self:start}
.rail{display:flex;gap:1rem;margin-bottom:.9rem;flex-wrap:wrap}
.rail li{display:flex;align-items:center;gap:.45rem;font-size:.8rem;color:var(--muted);transition:color .4s}
.rail .dot{width:.5rem;height:.5rem;border-radius:50%;background:rgba(5,78,131,.2);transition:background .4s,box-shadow .4s}
.rail li.done{color:var(--soft)}.rail li.done .dot{background:var(--title)}
.rail li.on{color:var(--title);font-weight:500}.rail li.on .dot{background:var(--title);box-shadow:0 0 0 4px rgba(5,78,131,.14)}

.tech,.sec{padding-top:clamp(5rem,11vw,8rem)}

/* ───────── the calculation and its database ───────── */
.block{margin-top:clamp(2.5rem,5vw,4rem)}
.block>h3{font-size:1.4rem;letter-spacing:-.02em;color:var(--title)}
.block>.bt{max-width:44rem}
/* the path of a piece of data: one line with a stop per step, the sources coming in from below */
.dgwrap{margin-top:1.8rem}
.dg{display:block;width:100%;height:auto;font-family:Poppins,system-ui,sans-serif;overflow:visible}
.dg .rail{fill:none;stroke:rgba(5,78,131,.2);stroke-width:3;stroke-linecap:round}
.dg .feed{fill:none;stroke:rgba(5,78,131,.3);stroke-width:2}
.dg marker path{fill:rgba(5,78,131,.55)}
.dg .stopc{fill:#fff;stroke:var(--title);stroke-width:2}
.dg .gl{fill:none;stroke:var(--title);stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
.dg .t{font-size:19px;font-weight:600;fill:var(--title)}
.dg .s{font-size:14.5px;fill:var(--soft)}
.dg .srcc{fill:var(--pale);stroke:var(--title);stroke-width:1.5}
.dg .t2{font-size:16px;font-weight:600;fill:var(--title)}
.dg .s2{font-size:13.5px;fill:var(--soft)}
.dg .dest{font-size:14.5px;fill:var(--soft)}
.dg .pulse{fill:var(--title)}
.metro{display:none;margin-top:1.6rem}
.metro li{position:relative;display:grid;grid-template-columns:2.8rem minmax(0,1fr);gap:1rem;padding-bottom:1.5rem}
.metro li::before{content:"";position:absolute;left:calc(1.4rem - 1px);top:2.8rem;bottom:0;width:2px;background:rgba(5,78,131,.22)}
.metro li:last-child::before{display:none}
.metro .dot{width:2.8rem;height:2.8rem;border-radius:50%;background:#fff;box-shadow:inset 0 0 0 2px var(--title);display:grid;place-items:center;color:var(--title)}
.metro .dot .ic{width:1.2rem;height:1.2rem}
.metro .dot.fin{align-self:start;width:.8rem;height:.8rem;margin:.45rem 0 0 1rem;background:var(--title)}
.metro b{display:block;padding-top:.15rem;color:var(--title)}
.metro div>span{display:block;font-size:.88rem;color:var(--soft)}
.metro .feed{display:flex;align-items:center;gap:.4rem;margin-top:.35rem;font-style:normal;font-size:.82rem;color:var(--title)}
.metro .feed .ic{width:.9rem;height:.9rem}
.aiwrap{display:grid;grid-template-columns:1fr 1fr;gap:clamp(1.2rem,4vw,3rem);margin-top:1.2rem}
.aiwrap>div{padding-top:.9rem;border-top:2px solid var(--title)}
.al{font-size:.86rem;font-weight:600;color:var(--title);margin-bottom:.7rem}
.aiwrap ul{display:grid;gap:.7rem}
.aiwrap li{display:flex;gap:.6rem;align-items:flex-start;font-size:.95rem}
.aiwrap .ic{margin-top:.3rem;width:1.05rem;height:1.05rem;stroke-width:2.6}
.yes .ic{color:var(--title)}.no .ic{color:var(--muted)}

/* ───────── security: four layers, from the door to the report; the pictures sit on the page, not in boxes ───────── */
.layers{margin-top:2.2rem;border-top:2px solid var(--title)}
.layer{display:grid;grid-template-columns:12rem minmax(0,1fr) 19rem;gap:clamp(1.2rem,3vw,3rem);padding:2rem 0;border-bottom:1px solid var(--line);align-items:start}
.layer h3{font-size:1.2rem;letter-spacing:-.01em;color:var(--title)}
.lf{display:grid;gap:.6rem}
.lf li{position:relative;padding-left:1.2rem;font-size:.95rem;color:var(--soft)}
.lf li::before{content:"";position:absolute;left:0;top:.78em;width:.5rem;height:2px;background:var(--title)}
.lv{display:flex;flex-direction:column;gap:.9rem}
.acct{display:inline-flex;align-items:center;gap:.7rem;align-self:flex-start;font-size:.95rem;color:var(--ink)}
.acct .ic{color:var(--title)}
.idle{display:inline-flex;align-items:center;gap:.5rem;font-size:.84rem;color:var(--soft)}
.idle .ic{color:var(--title)}
.perms li{display:flex;align-items:center;justify-content:space-between;gap:.8rem;padding:.5rem 0;border-bottom:1px solid var(--line);font-size:.84rem;color:var(--soft)}
.perms li:first-child{padding-top:0}
.perms i{position:relative;flex:none;width:2.1rem;height:1.2rem;border-radius:999px;background:#cbd5e1}
.perms i::after{content:"";position:absolute;left:.14rem;top:.14rem;width:.92rem;height:.92rem;border-radius:50%;background:#fff;box-shadow:0 1px 3px rgba(0,0,0,.3)}
.perms li.on i{background:var(--title)}.perms li.on i::after{transform:translateX(.9rem)}
.cipher div{padding:.45rem 0;border-bottom:1px solid var(--line)}
.cipher div:first-child{padding-top:0}
.cipher dt{font-size:.72rem;color:var(--muted)}
.cipher dd{font-size:.95rem;font-variant-numeric:tabular-nums;color:var(--ink);letter-spacing:.02em}
.cipher .hx{color:var(--title);font-size:.88rem;letter-spacing:.06em}
.valbtn{display:flex;align-items:center;gap:.9rem;flex-wrap:wrap}
.vb{display:inline-flex;align-items:center;gap:.5rem;padding:.6rem 1.15rem;border-radius:10px;background:var(--title);color:#fff;font-size:.88rem;font-weight:500}
.st{position:relative;display:inline-block;width:6.4rem;height:1.6rem;font-size:.8rem}
.st em{position:absolute;left:0;top:0;display:inline-flex;align-items:center;gap:.45rem;font-style:normal;white-space:nowrap}
.st em::before{content:"";width:.55rem;height:.55rem;border-radius:50%}
.st .todo{color:var(--amber-ink);animation:swapa 6s infinite}.st .todo::before{background:#f59e0b}
.st .done{color:var(--green);opacity:0;animation:swapb 6s infinite}.st .done::before{background:#22c55e}
@keyframes swapa{0%,45%{opacity:1}55%,95%{opacity:0}100%{opacity:1}}
@keyframes swapb{0%,45%{opacity:0}55%,95%{opacity:1}100%{opacity:0}}

/* ───────── the end, the footer ───────── */
.end{margin-top:clamp(4rem,9vw,7rem);padding-top:2rem;border-top:1px solid var(--line)}
.end h2{font-size:1.5rem}
.end p{margin-top:.6rem;color:var(--soft);max-width:40rem}
.foot{margin-top:clamp(3rem,7vw,5rem);padding-bottom:2.2rem;font-size:.82rem;color:var(--muted)}
.foot .row{border-top:1px solid var(--line);padding-top:1.4rem;display:flex;align-items:center;justify-content:space-between;gap:1rem;flex-wrap:wrap}
.foot ul{display:flex;flex-wrap:wrap;gap:.4rem 1.4rem}
.foot a{color:var(--soft);text-decoration:none}.foot a:hover{color:var(--title)}
.mark{width:22px;height:22px}

.js [data-reveal]{opacity:0;transform:translateY(22px);transition:opacity .8s ease,transform .8s cubic-bezier(.2,.7,.2,1)}
.js [data-reveal].in{opacity:1;transform:none}

@media (max-width:1100px){
  .tr{grid-template-columns:minmax(0,1fr);max-width:36rem}
  .tr-chat,.tr-lines,.tr-total,.tr-bilan,.tr .n-line,.tr .n-total,.tr .n-bilan{grid-column:1;grid-row:auto}
  .tr-pane,.tr-link{display:none}
  .tr-lines,.tr-total,.tr-bilan{margin-top:1.4rem;border:0;border-radius:20px;background:#fff;box-shadow:0 0 0 1px rgba(5,78,131,.12),0 24px 48px -36px rgba(5,78,131,.45)}
  .tr .n-line,.tr .n-total,.tr .n-bilan{margin:.8rem 0 0}
  .layer{grid-template-columns:11rem minmax(0,1fr)}
  .lv{grid-column:2;max-width:22rem}
}
@media (max-width:1023px){
  .dgwrap{display:none}
  .metro{display:block;max-width:30rem}
}
@media (max-width:960px){
  .pages{display:none}
  .stats{grid-template-columns:repeat(2,minmax(0,1fr));row-gap:1.6rem}
  .stats li:nth-child(3){border-left:0;padding-left:0}
  .storybody{grid-template-columns:1fr;margin-top:0}
  .sstage{order:-1;top:0;z-index:3;margin:0 calc(var(--gut) * -1);padding:4.6rem var(--gut) .8rem;background:rgba(255,255,255,.82);-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px)}
  .ssteps li,.ssteps li:first-child{min-height:60vh}
  .sin{opacity:.45}
  .layer{grid-template-columns:1fr;gap:1rem}
  .lv{grid-column:auto}
}
@media (max-width:700px){
  .stage-wrap.zoomable{aspect-ratio:1/.92}
  /* the ring is drawn on the zoomed screen: thinner, so it reads as 2 px once zoomed */
  .ring{border-width:1px;border-radius:5px;box-shadow:0 0 0 2px rgba(245,158,11,.16)}
  .tabs{gap:.25rem}.tab{font-size:0;padding:.5rem 0 .1rem;height:1.1rem}
  .stats{grid-template-columns:1fr;row-gap:1.2rem}
  .stats li,.stats li:first-child,.stats li:nth-child(3){border-left:0;padding:0 0 1rem;border-bottom:1px solid var(--title)}
  .stats li:last-child{border-bottom:0;padding-bottom:0}
  .aiwrap{grid-template-columns:1fr}
  .rail li b{display:none}.rail li.on b{display:inline}
  .num{font-size:2.4rem}
  h1{font-size:clamp(2.4rem,12vw,3.6rem)}
}
/* « reduce motion »: the demonstration still plays (cross-fades); nothing drifts, floats, sweeps
   or glides, and the sections appear without sliding */
@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  .aurora i,.scan.run,.click.go,.st em{animation:none!important}
  .st .done{display:none}
  .cursor,.stage{transition:none}
  .js [data-reveal]{opacity:1;transform:none;transition:none}
  .sin{transition:none}
  .dg .pulses{display:none}
  .tr-lines li.key,.b.key{transition:none}
}
