/* The landing page (`/`) alone, read after site.css and dark.css.

 Written for people who make and ship food, not for people who build software: readability first.
 One typeface (Manrope, OFL, `manrope-OFL.txt`, self-hosted for the CSP's `font-src 'self'`), never
 italic, never heavier than bold; type sizes on Tailwind's scale (12/14/16/18/20/24/30/36/48/60);
 spacing on 2/4/8/12/16/24/32/40/48/64/80/96 only; flat backgrounds (the hero title's ink is the one
 gradient); motion that decelerates into place on one curve, and only `transform` and `opacity`.

 The demo phone, the two weeks and the store tiles keep site.css's drawing: this file re-points that
 sheet's tokens (`--page`, `--ink`, `--display`…) at this palette and this typeface, so they follow
 without a second copy of their rules. */

@font-face {
font-family: "Manrope";
src: url("/site/manrope.woff2") format("woff2");
font-weight: 200 800;
font-style: normal;
font-display: swap;
}

/* --- palette ------------------------------------------------------------------------------------- */
/* `:root[data-theme]` outranks dark.css's `:root:not([data-theme="light"])` only by coming later at the
 same weight — this file is linked after it. */

:root[data-theme="light"] {
--bg: #ffffff;
--bg-2: #f3f7fb;
--surface: #ffffff;
--text: #0f2236;
--text-2: #33475c;
--text-3: #5b6b7c;
--rule: #e2e8ef;
--rule-2: #d3dce6;
--blue: #1f6fc5;
--blue-hover: #185ea8;
--blue-ink: #1e6cb0;
--blue-soft: #e7f1fa;
--green: #2e7d46;
--title-from: #0f2236;
--title-to: #3d5a78;
--glass: rgba(255, 255, 255, 0.76);
--veil: rgba(255, 255, 255, 0.94);
--night: #0b1622;
--night-2: #12395b;
--closing-card: #0b1622;
--closing-text: #ffffff;
--closing-text-2: #b9cadb;
--closing-rule: #1e3349;
}

:root[data-theme="dark"] {
--bg: #0b1017;
--bg-2: #0f1822;
--surface: #16212e;
--text: #e8eef4;
--text-2: #c3cfdb;
--text-3: #93a3b3;
--rule: #243242;
--rule-2: #31425a;
--blue: #2a7cc9;
--blue-hover: #3a8ad6;
--blue-ink: #7db8e8;
--blue-soft: #1b2c3f;
--green: #4dbd6c;
--title-from: #ffffff;
--title-to: #9db3c9;
--glass: rgba(15, 24, 34, 0.76);
--veil: rgba(11, 16, 23, 0.94);
--night: #08111b;
--night-2: #16406a;
--closing-card: #08111b;
--closing-text: #ffffff;
--closing-text-2: #a9bccf;
--closing-rule: #1e3349;
}

/* site.css's own tokens, pointed at the palette above: the phone, the weeks and the stores follow. */
:root[data-theme] {
--i-mic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 256 256'%3E%3Cpath d='M128,176a48.05,48.05,0,0,0,48-48V64a48,48,0,0,0-96,0v64A48.05,48.05,0,0,0,128,176ZM96,64a32,32,0,0,1,64,0v64a32,32,0,0,1-64,0Zm40,143.6V240a8,8,0,0,1-16,0V207.6A80.11,80.11,0,0,1,48,128a8,8,0,0,1,16,0,64,64,0,0,0,128,0,8,8,0,0,1,16,0A80.11,80.11,0,0,1,136,207.6Z'/%3E%3C/svg%3E") center / contain no-repeat;
--i-cam: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 256 256'%3E%3Cpath d='M208,56H180.28L166.65,35.56A8,8,0,0,0,160,32H96a8,8,0,0,0-6.65,3.56L75.71,56H48A24,24,0,0,0,24,80V192a24,24,0,0,0,24,24H208a24,24,0,0,0,24-24V80A24,24,0,0,0,208,56Zm8,136a8,8,0,0,1-8,8H48a8,8,0,0,1-8-8V80a8,8,0,0,1,8-8H80a8,8,0,0,0,6.66-3.56L100.28,48h55.43l13.63,20.44A8,8,0,0,0,176,72h32a8,8,0,0,1,8,8ZM128,88a44,44,0,1,0,44,44A44.05,44.05,0,0,0,128,88Zm0,72a28,28,0,1,1,28-28A28,28,0,0,1,128,160Z'/%3E%3C/svg%3E") center / contain no-repeat;
--i-doc: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 256 256'%3E%3Cpath d='M213.66,82.34l-56-56A8,8,0,0,0,152,24H56A16,16,0,0,0,40,40V216a16,16,0,0,0,16,16H200a16,16,0,0,0,16-16V88A8,8,0,0,0,213.66,82.34ZM160,51.31,188.69,80H160ZM200,216H56V40h88V88a8,8,0,0,0,8,8h48V216Zm-32-80a8,8,0,0,1-8,8H96a8,8,0,0,1,0-16h64A8,8,0,0,1,168,136Zm0,32a8,8,0,0,1-8,8H96a8,8,0,0,1,0-16h64A8,8,0,0,1,168,168Z'/%3E%3C/svg%3E") center / contain no-repeat;
--i-msg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 256 256'%3E%3Cpath d='M216,48H40A16,16,0,0,0,24,64V224a15.85,15.85,0,0,0,9.24,14.5A16.13,16.13,0,0,0,40,240a15.89,15.89,0,0,0,10.25-3.78.69.69,0,0,0,.13-.11L82.5,208H216a16,16,0,0,0,16-16V64A16,16,0,0,0,216,48ZM40,224h0ZM216,192H82.5a16,16,0,0,0-10.3,3.75l-.12.11L40,224V64H216Z'/%3E%3C/svg%3E") center / contain no-repeat;
--page: var(--bg);
--page-2: var(--bg-2);
--card: var(--surface);
--card-2: var(--bg-2);
--ink: var(--text);
--ink-2: var(--text-2);
--muted: var(--text-3);
--line: var(--rule);
--line-soft: var(--rule-2);
--primary: var(--blue);
--primary-hover: var(--blue-hover);
--accent: var(--blue);
--accent-ink: var(--blue-ink);
--accent-soft: var(--blue-soft);
--hl: var(--blue-ink);
--display: "Manrope", ui-sans-serif, system-ui, sans-serif;
--sans: "Manrope", ui-sans-serif, system-ui, sans-serif;
--sh-1: none;
--sh-2: 0 16px 40px rgba(0, 0, 0, 0.08);
--r-lg: 16px;
--r-md: 12px;
--r-sm: 8px;
--top-h: 80px;
--ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* --- base ----------------------------------------------------------------------------------------- */

.home {
background: var(--bg);
color: var(--text);
font-family: var(--sans);
font-size: 16px;
line-height: 24px;
font-feature-settings: "ss01";
}

.home h1,
.home h2,
.home h3 {
font-family: var(--sans);
font-style: normal;
font-weight: 700;
letter-spacing: -0.02em;
text-wrap: balance;
}

.home p,
.home li {
text-wrap: pretty;
}

.home a {
color: var(--blue-ink);
text-underline-offset: 2px;
}

.home :focus-visible {
outline: 2px solid var(--blue);
outline-offset: 2px;
}

.wrap {
max-width: 72rem;
margin: 0 auto;
}

.soft {
color: var(--text-3);
}

/* A small label over a heading: what the section is about, in two or three words. */
.pill {
display: inline-flex;
align-items: center;
gap: 8px;
margin: 0 0 16px;
padding: 4px 12px;
border: 1px solid var(--rule);
border-radius: 9999px;
background: var(--surface);
color: var(--text-2);
font-size: 14px;
font-weight: 600;
line-height: 20px;
}

.pill::before {
content: "";
width: 8px;
height: 8px;
border-radius: 9999px;
background: var(--blue);
}

/* --- buttons -------------------------------------------------------------------------------------- */
/* One filled colour on the page: the way in. */

.cta {
display: inline-flex;
align-items: center;
justify-content: center;
gap: 8px;
padding: 8px 12px;
border: 1px solid var(--blue);
border-radius: 9999px;
background: var(--blue);
color: #ffffff;
font: inherit;
font-size: 16px;
font-weight: 600;
line-height: 24px;
text-decoration: none;
white-space: nowrap;
cursor: pointer;
transition: background-color 300ms var(--ease), border-color 300ms var(--ease), transform 500ms var(--ease);
}

.home a.cta {
color: #ffffff;
}

.cta:hover {
border-color: var(--blue-hover);
background: var(--blue-hover);
transform: translateY(-1px);
}

.cta:active {
transform: scale(0.98);
}

.cta svg {
width: 16px;
height: 16px;
transition: transform 500ms var(--ease);
}

.cta:hover svg {
transform: translateX(4px);
}

.cta-sm {
font-size: 14px;
line-height: 20px;
}

.cta-lg {
padding: 12px 24px;
}

.cta-quiet,
.home a.cta-quiet {
border-color: transparent;
background: transparent;
color: var(--text);
}

.cta-quiet:hover {
border-color: var(--rule-2);
background: var(--surface);
}

/* --- the bar -------------------------------------------------------------------------------------- */
/* A compact pill floating off the top edge, over a blur, sized to what it holds. */

.bar {
position: fixed;
top: 16px;
right: 16px;
left: 16px;
z-index: 60;
display: flex;
justify-content: center;
pointer-events: none;
}

.bar-inner {
display: flex;
align-items: center;
gap: 24px;
width: 100%;
max-width: 72rem;
padding: 8px 8px 8px 16px;
border: 1px solid var(--rule);
border-radius: 9999px;
background: var(--glass);
-webkit-backdrop-filter: blur(16px) saturate(1.4);
backdrop-filter: blur(16px) saturate(1.4);
pointer-events: auto;
transition: border-color 300ms var(--ease);
}

.bar .brand {
display: inline-flex;
align-items: center;
gap: 8px;
color: var(--text);
font-size: 18px;
font-weight: 700;
line-height: 28px;
letter-spacing: -0.01em;
text-decoration: none;
}

.bar .mark {
width: 28px;
height: 28px;
}

.bar-links {
display: flex;
align-items: center;
gap: 4px;
margin: 0 auto;
}

.bar-links a,
.home .bar-links a {
display: inline-flex;
align-items: center;
justify-content: center;
white-space: nowrap;
padding: 8px 12px;
border-radius: 9999px;
color: var(--text-2);
font-size: 14px;
font-weight: 600;
line-height: 20px;
text-decoration: none;
transition: background-color 300ms var(--ease), color 300ms var(--ease);
}

.bar-links a:hover,
.bar-links a[aria-current="true"] {
background: var(--bg-2);
color: var(--text);
}

.bar-actions {
display: flex;
align-items: center;
gap: 4px;
margin-left: auto;
}

.bar-links + .bar-actions {
margin-left: 0;
}

.bar .lang,
.bar .theme-toggle {
width: 40px;
height: 40px;
color: var(--text-2);
}

/* The other language: its flag, then its two letters, in one pill. */
.bar .lang {
gap: 6px;
width: auto;
padding: 0 12px 0 8px;
border-color: var(--rule);
}

.lang .flag,
.menu-lang .flag {
flex: none;
width: 21px;
height: 14px;
border-radius: 9999px;
}

.menu-lang {
display: inline-flex;
align-items: center;
gap: 8px;
}

/* The menu button: two lines that turn into a cross. */
.menu-btn {
position: relative;
display: none;
width: 40px;
height: 40px;
padding: 0;
border: 1px solid var(--rule);
border-radius: 9999px;
background: var(--surface);
color: var(--text);
cursor: pointer;
}

.menu-lines {
position: absolute;
inset: 0;
display: grid;
place-items: center;
}

.menu-lines i {
position: absolute;
width: 16px;
height: 2px;
border-radius: 2px;
background: currentColor;
transition: transform 500ms var(--ease);
}

.menu-lines i:first-child {
transform: translateY(-4px);
}

.menu-lines i:last-child {
transform: translateY(4px);
}

.menu-open .menu-lines i:first-child {
transform: rotate(45deg);
}

.menu-open .menu-lines i:last-child {
transform: rotate(-45deg);
}

/* The phone menu: the full height of the screen, links arriving one after the other. */
.menu {
position: fixed;
inset: 0;
z-index: 55;
display: none;
flex-direction: column;
justify-content: space-between;
padding: 112px 24px 40px;
background: var(--veil);
-webkit-backdrop-filter: blur(24px);
backdrop-filter: blur(24px);
opacity: 0;
visibility: hidden;
transition: opacity 300ms var(--ease), visibility 0s linear 300ms;
}

.menu-open .menu {
opacity: 1;
visibility: visible;
transition: opacity 300ms var(--ease), visibility 0s;
}

.menu-open body {
overflow: hidden;
}

.menu-links {
display: flex;
flex-direction: column;
gap: 8px;
}

.menu-links a,
.home .menu-links a {
padding: 8px 0;
border-bottom: 1px solid var(--rule);
color: var(--text);
font-size: 30px;
font-weight: 700;
line-height: 36px;
letter-spacing: -0.02em;
text-decoration: none;
}

.menu-links a,
.menu-foot {
opacity: 0;
transform: translateY(24px);
transition: opacity 500ms var(--ease), transform 500ms var(--ease);
}

.menu-open .menu-links a,
.menu-open .menu-foot {
opacity: 1;
transform: none;
}

.menu-open .menu-links a:nth-child(2) { transition-delay: 60ms; }
.menu-open .menu-links a:nth-child(3) { transition-delay: 120ms; }
.menu-open .menu-links a:nth-child(4) { transition-delay: 180ms; }
.menu-open .menu-foot { transition-delay: 240ms; }

.menu-foot {
display: flex;
flex-direction: column;
align-items: stretch;
gap: 16px;
}

.menu-foot .cta {
padding: 12px 24px;
}

.menu-lang {
text-align: center;
font-weight: 600;
}

/* Allow room for the five sections and the sign-up action, including the French labels. */
@media (min-width: 80em) {
.bar-inner {
max-width: 80rem;
}
}

@media (width < 80em) {
.bar-links {
display: none;
}

.bar-actions,
.bar-links + .bar-actions {
margin-left: auto;
}

/* The sections stay one tap away: the menu button takes the links' place. */
.js .menu-btn {
display: inline-block;
}

.js .menu {
display: flex;
}
}

@media (max-width: 1023px) {
.bar-links {
display: none;
}

.bar-actions,
.bar-links + .bar-actions {
margin-left: auto;
}
}

@media (max-width: 767px) {
.js .menu-btn {
display: inline-block;
}

.js .menu {
display: flex;
}

.js .bar .lang,
.js .bar-signin {
display: none;
}

.bar-inner {
gap: 8px;
}
}

/* --- sections ------------------------------------------------------------------------------------- */

/* A section reached from the bar starts at the top of the screen; its top padding holds the floating
   bar (16px from the top, 58px tall) and a breath of space, so its title is never under the bar. */
.home .band {
padding: 104px 24px 48px;
scroll-margin-top: 0;
}

/* The story's own title sits far below its top (the demo phone comes first): it keeps its spacing. */
.home .band.story {
padding-top: 48px;
}

.home .band-alt {
background: var(--bg-2);
}

.sec-head {
max-width: 680px;
margin: 0 auto 40px;
text-align: center;
}

.sec-head h2,
.home .band h2 {
margin: 0 0 16px;
color: var(--text);
font-size: 36px;
line-height: 40px;
}

.sec-head p:not(.pill),
.sec-lead {
margin: 0;
color: var(--text-2);
font-size: 18px;
line-height: 28px;
}

/* Arrives once as it scrolls into view: up 32px, from clear to full, on the page's curve. */
.js .home .reveal,
.home.js .reveal,
.js .reveal {
opacity: 0;
transform: translateY(32px);
transition: opacity 700ms var(--ease), transform 700ms var(--ease);
}

.js .reveal.seen {
opacity: 1;
transform: none;
}

/* --- hero ----------------------------------------------------------------------------------------- */

.hero-copy {
max-width: 1040px;
margin: 0 auto;
text-align: center;
}

.home-hero h1 {
display: inline-block;
margin: 0 0 24px;
padding-bottom: 4px;
background: linear-gradient(90deg, var(--title-from), var(--title-to));
-webkit-background-clip: text;
background-clip: text;
color: transparent;
font-size: 60px;
line-height: 1.05;
letter-spacing: -0.03em;
}

.hero-lead {
max-width: 680px;
margin: 0 auto 32px;
color: var(--text-2);
font-size: 20px;
line-height: 28px;
}

.hero-ctas {
display: flex;
flex-wrap: wrap;
align-items: center;
justify-content: center;
gap: 24px;
}

/* The film: a 16:9 picture in a frame, 8px of frame around a 16px-cornered picture (24 − 8). */
/* --- the demo ------------------------------------------------------------------------------------- */

.steps-col {
grid-row: 1;
grid-column: 1;
}

/* Step 0: the demo's title, standing where a step stands. */
.home .step-intro {
display: block;
padding: 26px 0;
}

.js .home .step-intro {
display: flex;
flex-direction: column;
justify-content: center;
align-items: flex-start;
}

.home .step-intro h2 {
margin: 0 0 16px;
color: var(--text);
font-size: 40px;
line-height: 44px;
}

.home .step-intro p {
max-width: 30rem;
margin: 0;
color: var(--text-2);
font-size: 18px;
line-height: 28px;
}

@media (max-width: 767px) {
.home .step-intro h2 {
font-size: 30px;
line-height: 36px;
}
}

.home .step h3 {
font-size: 20px;
line-height: 28px;
text-wrap: balance;
}

.home .step-intro h2 {
text-wrap: balance;
}

.home .step p,
.home .step-intro p {
text-wrap: pretty;
}

.home .step p {
font-size: 16px;
line-height: 24px;
}

.home .step-n {
font-family: var(--sans);
font-weight: 700;
}

/* The demo played by the scroll (landing.js moves each step's text into a body): the body comes up
 with the page, stays level with the picture while the step's moment plays — for as long as the
 step's room under it lasts (landing.js sets the step's height) — then leaves as the next one comes up. */
.scrubbed .home .story .steps .step {
display: block;
align-content: normal; /* site.css centres a step's content: the body must start at the step's top */
min-height: 0;
margin: 40vh 0 0;
padding: 0;
opacity: 1;
border: 0;
background: none;
box-shadow: none;
}

/* The demo's titles stop level with the picture too, a moment, with nothing moving. */
.scrubbed .home .story .step-intro {
display: block;
align-content: normal; /* as for the steps: the title starts at the top of its room */
min-height: 0;
padding: 0;
opacity: 1;
}

.scrubbed .home .story .intro-body {
position: sticky;
padding: 26px 0;
}

/* Under the phone's last step: the room the scroll carries the Expadon window to its place in, while
 Expadon's title comes up level with it (landing.js, bridge). */
.scrubbed .home .story-grid .steps {
padding-bottom: 30vh;
}

.scrubbed .home .story .step-body {
position: sticky;
display: grid;
grid-template-columns: 2.6rem minmax(0, 1fr);
column-gap: 18px;
align-content: center;
padding: 26px 0;
}

.scrubbed .home .story .step .step-n {
background: var(--primary);
color: var(--primary-ink);
transform: none;
}

@media (max-width: 900px) {
.scrubbed .home .story .steps .step {
margin-top: 30vh;
}

/* Above a stuck picture, under the header, the page's colour: the texts gone up under the picture
 never show again there (landing.js sets --cover once the picture has stuck). */
.js .story-stage::before,
.js .xp-stage::before {
content: "";
position: absolute;
bottom: 100%;
left: calc(50% - 50vw);
width: 100vw;
height: var(--cover, 0px);
background: var(--page);
pointer-events: none;
}

/* The demo's titles on a phone: no card, the page's own background, centred; they come up, hold a
 moment, then go up under the picture like the steps. */
.scrubbed .home .story .step-intro {
border: 0;
background: none;
box-shadow: none;
}

.scrubbed .home .story .intro-body {
text-align: center;
}

.scrubbed .home .story .intro-body p {
margin-inline: auto;
}

/* A card on a phone's width: the number beside the title, the text under both, across the card. */
.scrubbed .home .story .step-body {
grid-template-columns: 2.2rem minmax(0, 1fr);
column-gap: 14px;
align-items: center;
padding: 18px;
border: 1px solid var(--line);
border-radius: var(--r-lg);
background: var(--card);
box-shadow: var(--sh-1);
}

.scrubbed .home .story .step-body .step-n {
grid-row: auto;
width: 2.2rem;
height: 2.2rem;
}

.scrubbed .home .story .step-body h3 {
margin: 0;
}

.scrubbed .home .story .step-body p {
grid-column: 1 / -1;
margin-top: 10px;
}
}

/* --- the Expadon window (the second demo, below) ----------------------------------------------------- */

.xp {
min-width: 0;
margin: 0;
}

/* The second demo: the request on Expadon, played step by step like the app's demo above (landing.js
 sets the moment on the window): the dashboard and its drafts, the pointer opening the first; its page,
 tab after tab; « Soumettre », Expadon's own confirmation; the request « Nouveau ». The steps are the
 text on the left, the window sticks on the right. Without script the request's page is shown. */
.xp-grid {
display: grid;
grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
gap: clamp(24px, 5vw, 64px);
align-items: start;
margin-top: 48px;
scroll-margin-top: 112px;
}

.xp-grid .steps-col {
grid-row: 1;
grid-column: 1;
}

.xp-stage {
grid-row: 1;
grid-column: 2;
margin: 0;
}

/* The bridge from the phone (landing.js): once the phone's last moment is over, the scroll itself
 carries a copy of the dashboard from the small window to the place this one will stick in — down
 first, then into place and up to size — and back when scrolling up. While it travels and waits, the
 two real windows stand aside: one Expadon window on screen, always. */
.xp-bridge {
position: fixed;
top: 0;
left: 0;
z-index: 40;
transform-origin: 0 0;
pointer-events: none;
visibility: hidden;
}

.bridging .xp-bridge {
visibility: visible;
}

.bridging .real-xp {
visibility: hidden;
}

/* Until it has stuck where the copy waits, the real window stays out of sight. Its layers carry their
 own visibility (landing.js draws them): the window as a whole steps aside. */
.xp-waits .xp-stage .xp-stack {
opacity: 0;
}

.js .xp-stage {
position: sticky;
top: max(calc(var(--top-h) + 8px), calc(50vh - 330px));
}

/* One column on a phone: the window sticks under the header, drawn smaller, and the steps scroll up
 beneath it as cards, as in the app's demo. It is drawn at the width of a wider window and scaled down
 (--xs), the way the phone's small window and the bridge's copy are, so the three look exactly alike in
 every browser; landing.js gives back the height the scaling frees (the stack's negative margin). */
@media (max-width: 900px) {
.xp-grid {
display: block;
}

.js .xp-stage {
--xs: 0.62;
top: calc(var(--top-h) + 8px);
z-index: 2;
padding-bottom: 32px;
/* The steps go up under the window: its background fades in just under its bottom edge. */
background: linear-gradient(var(--page) calc(100% - 32px), transparent);
}

.js .xp-stage .xp-stack {
width: calc(100% / 0.62);
transform: scale(0.62);
transform-origin: 0 0;
}
}
.xp-stack {
position: relative;
display: grid;
}

/* The scroll is the clock here too (landing.js draws every moment from it): nothing moves on its own. */
.scrubbed .xp-stack > .xpd,
.scrubbed .xp-stack .xpd-panel,
.scrubbed .xp-stack .xpd-tabs span,
.scrubbed .xp-stack .xpd-modal,
.scrubbed .xp-stack .xpd-modal-box,
.scrubbed .xp-stack .xpd-toast,
.scrubbed .xp-stack .xp-pointer {
transition: none !important;
}

.xp-stack > .xpd {
position: relative;
grid-area: 1 / 1;
transition: opacity 350ms var(--ease), transform 350ms var(--ease);
}

.xp-list {
opacity: 0;
}

/* The tabs of the request's page, and what each one shows. */
.xpd-panels {
display: grid;
}

.xpd-panel {
grid-area: 1 / 1;
visibility: hidden;
opacity: 0;
transition: opacity 300ms var(--ease), visibility 0s linear 300ms;
}

html:not(.js) .panel-info,
.xp:not([data-tab]) .panel-info,
.xp[data-tab="info"] .panel-info,
.xp[data-tab="cert"] .panel-cert,
.xp[data-tab="docs"] .panel-docs {
visibility: visible;
opacity: 1;
transition: opacity 300ms var(--ease);
}

html:not(.js) .xpd-tabs .tab-info,
.xp:not([data-tab]) .xpd-tabs .tab-info,
.xp[data-tab="info"] .xpd-tabs .tab-info,
.xp[data-tab="cert"] .xpd-tabs .tab-cert,
.xp[data-tab="docs"] .xpd-tabs .tab-docs {
background: #46bee7;
color: #ffffff;
font-weight: 700;
}

.xpd-tabs span {
transition: background-color 250ms var(--ease), color 250ms var(--ease);
}

/* The certificate tab: Expadon shows the filled certificate in its PDF viewer. */
.xpd-viewer {
height: 270px;
margin-top: 12px;
padding: 12px 0;
overflow: hidden;
border-radius: 6px;
background: #525659;
}

.xpd-pdf {
position: relative;
width: 82%;
margin: 0 auto;
container-type: inline-size;
background: #ffffff;
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
}

.xpd-pdf img {
display: block;
width: 100%;
height: auto;
}

/* The documents tab: the pieces Certisia attached. */
.xpd-docs-head {
display: flex;
justify-content: space-between;
align-items: baseline;
margin: 16px 0 8px;
font-size: 13px;
}

.xpd-docs-head span {
color: #6c757d;
font-size: 12px;
}

.xpd-docs {
border: 1px solid #dee2e6;
border-radius: 4px;
font-size: 12px;
}

.xpd-doc {
display: grid;
grid-template-columns: 1.8fr 1fr;
border-top: 1px solid #dee2e6;
}

.xpd-doc span {
display: flex;
align-items: center;
gap: 8px;
padding: 10px 12px;
}

.xpd-doc-th {
border-top: 0;
background: #1565c0;
color: #ffffff;
font-weight: 500;
}

.xpd-pdf-ico {
flex: none;
width: 18px;
height: 21px;
}

/* « Soumettre », its confirmation, and Expadon's notice once the request is sent. */
.xpd-btns .xpd-submit {
border-color: #1565c0;
background: #1565c0;
color: #ffffff;
font-weight: 700;
}

.xp[data-done] .xpd-submit {
visibility: hidden;
}

.xp .st-new {
display: none;
color: #1e7e34;
font-weight: 700;
}

.xp[data-done] .st-draft {
display: none;
}

.xp[data-done] .st-new {
display: inline;
}

.xp[data-done] .xp-row-1 .xpd-status i {
background: #28a745;
}

.xpd-modal {
position: absolute;
inset: 0;
z-index: 3;
display: grid;
place-items: center;
padding: 24px;
background: rgba(0, 0, 0, 0.45);
visibility: hidden;
opacity: 0;
transition: opacity 250ms var(--ease), visibility 0s linear 250ms;
}

.xpd-modal-box {
max-width: 360px;
padding: 20px;
border-radius: 6px;
background: #ffffff;
box-shadow: 0 16px 48px rgba(0, 0, 0, 0.3);
font-size: 13px;
transform: translateY(8px);
transition: transform 250ms var(--ease);
}

.xpd-modal-box p {
margin: 0 0 12px;
}

.xpd-modal-title {
color: #212529;
font-size: 16px;
font-weight: 700;
}

.xpd-modal-acts {
display: flex;
justify-content: flex-end;
gap: 8px;
}

.xpd-modal-acts span {
padding: 6px 16px;
border: 1px solid #45bde6;
border-radius: 50px;
color: #45bde6;
font-size: 12px;
}

.xpd-modal-acts .xpd-confirm {
border-color: #1565c0;
background: #1565c0;
color: #ffffff;
font-weight: 700;
}

.xpd-toast {
position: absolute;
top: 112px;
right: 16px;
z-index: 4;
margin: 0;
padding: 10px 14px;
border: 1px solid #c3e6cb;
border-radius: 6px;
background: #d4edda;
color: #155724;
font-size: 12px;
font-weight: 500;
box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
visibility: hidden;
opacity: 0;
transform: translateY(-8px);
transition: opacity 300ms var(--ease), transform 300ms var(--ease), visibility 0s linear 300ms;
}

.xp[data-done] .xpd-toast {
visibility: visible;
opacity: 1;
transform: none;
transition: opacity 300ms var(--ease), transform 300ms var(--ease);
}

/* The pointer travels over the figure (landing.js sets where, --px / --py), tilts a little at each
 click, and a ring spreads from its tip. */
/* Placed by left/top, so the click can tilt it about its tip without moving it. */
.xp-pointer {
position: absolute;
z-index: 6;
width: 24px;
height: 24px;
background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-14 -14 284 284'%3E%3Cpath d='M168,132.69,214.08,115l.33-.13A16,16,0,0,0,213,85.07L52.92,32.8A15.95,15.95,0,0,0,32.8,52.92L85.07,213a15.82,15.82,0,0,0,14.41,11l.78,0a15.84,15.84,0,0,0,14.61-9.59l.13-.33L132.69,168,184,219.31a16,16,0,0,0,22.63,0l12.68-12.68a16,16,0,0,0,0-22.63Z' fill='%23000000' stroke='%23ffffff' stroke-width='20' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
filter: drop-shadow(0 1px 1.5px rgba(0, 0, 0, 0.45));
left: var(--px, 80%);
top: var(--py, 80%);
opacity: 0;
transform-origin: 3px 3px;
transition: left 850ms cubic-bezier(0.45, 0, 0.2, 1), top 850ms cubic-bezier(0.45, 0, 0.2, 1), opacity 300ms var(--ease);
pointer-events: none;

}

.xp-ripple {
position: absolute;
top: 0;
left: 0;
z-index: 5;
width: 44px;
height: 44px;
margin: -19px 0 0 -19px;
border: 3px solid var(--blue);
border-radius: 50%;
background: rgba(31, 111, 197, 0.3);
box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.85), 0 0 14px rgba(31, 111, 197, 0.6);
opacity: 0;
pointer-events: none;
transform: scale(0);
}


.draft.writes .dots {
top: 0.9em;
left: 0.9em;
}

/* --- the demo phone, replayed as in the app -------------------------------------------------------
 Each scene plays its own sequence when its step becomes the one being read (the rules apply only
 under that `data-scene`, so an animation restarts each time its scene comes back, and an earlier
 scene simply stays as it ended). Times are seconds from the scene's start. The app's own pieces:
 the microphone and its recording bar, the « Joindre » sheet, the camera, typing and sending, the
 assistant's reply written then shown, the « Confirmer » press. Only opacity and transforms move. */

.story-stage[data-scene="0"] .scene {
display: none;
}

.phone-story .scenes {
gap: 0;
}

.phone-story .scene > * {
margin-top: 0.5em;
}

/* The assistant writes plain prose in the thread, as in the app (client/src/styles.css: « The
 agent's text: no fill, no outline »). Only a card with buttons, and the files, have a frame. */
.phone-story .msg.in:not(.draft):not(.files) {
max-width: 94%;
padding: 0.1em 0.15em;
border: 0;
border-radius: 0;
background: transparent;
}

.phone-story .app-composer {
position: relative;
}

.app-composer .typed,
.app-composer .rec {
position: absolute;
top: 0;
right: 3.1em;
bottom: 0;
left: 0.8em;
display: flex;
align-items: center;
overflow: hidden;
background: var(--app-card);
opacity: 0;
pointer-events: none;
}

.app-composer .typed {
color: var(--app-ink);
white-space: nowrap;
}

.app-composer .rec {
gap: 0.5em;
color: var(--app-ink);
}

.rec-dot {
flex: none;
width: 0.6em;
height: 0.6em;
border-radius: 50%;
background: #e5484d;
}

/* The recording's clock, second by second (landing.js writes it from the scroll's time). */
.rec-time {
flex: none;
width: 2.4em;
font-weight: 700;
font-variant-numeric: tabular-nums;
}

.app-composer .rec em {
margin-left: auto;
color: var(--app-muted);
font-size: 0.85em;
font-style: normal;
white-space: nowrap;
}

.app-composer .send {
position: absolute;
right: 0.4em;
width: 2.3em;
height: 2.3em;
border-radius: 50%;
background: var(--app-accent);
opacity: 0;
}

.app-composer .send::before {
content: "";
position: absolute;
inset: 0.6em;
background: #ffffff;
-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 256 256'%3E%3Cpath d='M231.87,114l-168-95.89A16,16,0,0,0,40.92,37.34L71.55,128,40.92,218.67A16,16,0,0,0,56,240a16.15,16.15,0,0,0,7.93-2.1l167.92-96.05a16,16,0,0,0,.05-27.89ZM56,224a.56.56,0,0,0,0-.12L85.74,136H144a8,8,0,0,0,0-16H85.74L56.06,32.16A.46.46,0,0,0,56,32l168,95.83Z'/%3E%3C/svg%3E") center / contain no-repeat;
mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 256 256'%3E%3Cpath d='M231.87,114l-168-95.89A16,16,0,0,0,40.92,37.34L71.55,128,40.92,218.67A16,16,0,0,0,56,240a16.15,16.15,0,0,0,7.93-2.1l167.92-96.05a16,16,0,0,0,.05-27.89ZM56,224a.56.56,0,0,0,0-.12L85.74,136H144a8,8,0,0,0,0-16H85.74L56.06,32.16A.46.46,0,0,0,56,32l168,95.83Z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.app-attach {
position: absolute;
right: 0.6em;
bottom: 4.4em;
left: 0.6em;
z-index: 3;
display: grid;
gap: 0.1em;
padding: 0.3em;
border: 1px solid var(--app-line);
border-radius: 1em;
background: var(--app-card);
box-shadow: 0 1em 2.4em rgba(0, 0, 0, 0.18);
opacity: 0;
pointer-events: none;
}

.att-item {
display: flex;
align-items: center;
gap: 0.6em;
padding: 0.55em 0.7em;
border-radius: 0.7em;
color: var(--app-ink);
}

.att-ico {
width: 1.2em;
height: 1.2em;
background: var(--app-accent);
}

.att-gal {
-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 256 256'%3E%3Cpath d='M216,40H40A16,16,0,0,0,24,56V200a16,16,0,0,0,16,16H216a16,16,0,0,0,16-16V56A16,16,0,0,0,216,40Zm0,16V158.75l-26.07-26.06a16,16,0,0,0-22.63,0l-20,20-44-44a16,16,0,0,0-22.62,0L40,149.37V56ZM40,172l52-52,80,80H40Zm176,28H194.63l-36-36,20-20L216,181.38V200ZM144,100a12,12,0,1,1,12,12A12,12,0,0,1,144,100Z'/%3E%3C/svg%3E") center / contain no-repeat;
mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 256 256'%3E%3Cpath d='M216,40H40A16,16,0,0,0,24,56V200a16,16,0,0,0,16,16H216a16,16,0,0,0,16-16V56A16,16,0,0,0,216,40Zm0,16V158.75l-26.07-26.06a16,16,0,0,0-22.63,0l-20,20-44-44a16,16,0,0,0-22.62,0L40,149.37V56ZM40,172l52-52,80,80H40Zm176,28H194.63l-36-36,20-20L216,181.38V200ZM144,100a12,12,0,1,1,12,12A12,12,0,0,1,144,100Z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.att-doc {
-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 256 256'%3E%3Cpath d='M213.66,82.34l-56-56A8,8,0,0,0,152,24H56A16,16,0,0,0,40,40V216a16,16,0,0,0,16,16H200a16,16,0,0,0,16-16V88A8,8,0,0,0,213.66,82.34ZM160,51.31,188.69,80H160ZM200,216H56V40h88V88a8,8,0,0,0,8,8h48V216Zm-32-80a8,8,0,0,1-8,8H96a8,8,0,0,1,0-16h64A8,8,0,0,1,168,136Zm0,32a8,8,0,0,1-8,8H96a8,8,0,0,1,0-16h64A8,8,0,0,1,168,168Z'/%3E%3C/svg%3E") center / contain no-repeat;
mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 256 256'%3E%3Cpath d='M213.66,82.34l-56-56A8,8,0,0,0,152,24H56A16,16,0,0,0,40,40V216a16,16,0,0,0,16,16H200a16,16,0,0,0,16-16V88A8,8,0,0,0,213.66,82.34ZM160,51.31,188.69,80H160ZM200,216H56V40h88V88a8,8,0,0,0,8,8h48V216Zm-32-80a8,8,0,0,1-8,8H96a8,8,0,0,1,0-16h64A8,8,0,0,1,168,136Zm0,32a8,8,0,0,1-8,8H96a8,8,0,0,1,0-16h64A8,8,0,0,1,168,168Z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.att-camera {
-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 256 256'%3E%3Cpath d='M208,56H180.28L166.65,35.56A8,8,0,0,0,160,32H96a8,8,0,0,0-6.65,3.56L75.71,56H48A24,24,0,0,0,24,80V192a24,24,0,0,0,24,24H208a24,24,0,0,0,24-24V80A24,24,0,0,0,208,56Zm8,136a8,8,0,0,1-8,8H48a8,8,0,0,1-8-8V80a8,8,0,0,1,8-8H80a8,8,0,0,0,6.66-3.56L100.28,48h55.43l13.63,20.44A8,8,0,0,0,176,72h32a8,8,0,0,1,8,8ZM128,88a44,44,0,1,0,44,44A44.05,44.05,0,0,0,128,88Zm0,72a28,28,0,1,1,28-28A28,28,0,0,1,128,160Z'/%3E%3C/svg%3E") center / contain no-repeat;
mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 256 256'%3E%3Cpath d='M208,56H180.28L166.65,35.56A8,8,0,0,0,160,32H96a8,8,0,0,0-6.65,3.56L75.71,56H48A24,24,0,0,0,24,80V192a24,24,0,0,0,24,24H208a24,24,0,0,0,24-24V80A24,24,0,0,0,208,56Zm8,136a8,8,0,0,1-8,8H48a8,8,0,0,1-8-8V80a8,8,0,0,1,8-8H80a8,8,0,0,0,6.66-3.56L100.28,48h55.43l13.63,20.44A8,8,0,0,0,176,72h32a8,8,0,0,1,8,8ZM128,88a44,44,0,1,0,44,44A44.05,44.05,0,0,0,128,88Zm0,72a28,28,0,1,1,28-28A28,28,0,0,1,128,160Z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.app-flash {
position: absolute;
inset: 0;
z-index: 4;
background: #ffffff;
opacity: 0;
pointer-events: none;
}

/* A reply is written before it is shown: its bubble first holds the three dots. */
.msg.writes {
position: relative;
}

.msg.writes .dots {
position: absolute;
top: 0.55em;
left: 0.3em;
display: flex;
gap: 0.28em;
opacity: 0;
}

.dots i {
width: 0.42em;
height: 0.42em;
border-radius: 50%;
background: var(--app-muted);
animation: dm-bounce 900ms var(--ease) infinite;
}

.dots i:nth-child(2) { animation-delay: 150ms; }
.dots i:nth-child(3) { animation-delay: 300ms; }

.phone-story .msg.stages .note {
padding: 0;
border: 0;
background: transparent;
color: inherit;
}

.msg.stages .handoff {
display: block;
margin-top: 0.45em;
color: var(--app-accent);
font-weight: 700;
text-decoration: underline;
}

/* The press rings: a button lights up under the finger. */
.mic,
.clip,
.app-composer .send,
.go {
transform-origin: center;
}

/* A message that is not there yet takes no room at all: no height, no margin, no padding, no border
 (a padded bubble held at max-height 0 would still push the thread up). */
@keyframes dm-grow {
0% { opacity: 0; max-height: 0; margin-top: 0; padding-top: 0; padding-bottom: 0; border-width: 0; transform: translateY(0.5em); overflow: hidden; }
99% { overflow: hidden; }
100% { opacity: 1; max-height: var(--h, 12em); margin-top: 0.5em; transform: none; overflow: visible; }
}
@keyframes dm-write {
0% { opacity: 0; max-height: 0; margin-top: 0; overflow: hidden; }
14% { opacity: 1; max-height: 1.8em; margin-top: 0.5em; }
55% { max-height: 1.8em; }
99% { overflow: hidden; }
100% { opacity: 1; max-height: var(--h, 12em); margin-top: 0.5em; overflow: visible; }
}
/* The photo: its room opens first, then it is there, whole, in one go. */
@keyframes dm-photo {
  0% { opacity: 0; max-height: 0; margin-top: 0; transform: scale(0.94); }
  55% { opacity: 0; max-height: var(--h, 12em); margin-top: 0.5em; transform: scale(0.94); }
  100% { opacity: 1; max-height: var(--h, 12em); margin-top: 0.5em; transform: none; }
}
@keyframes dm-typing {
  0% { opacity: 0; max-height: 0; margin-top: 0; }
  14% { opacity: 1; max-height: 1.8em; margin-top: 0.5em; }
  82% { opacity: 1; max-height: 1.8em; margin-top: 0.5em; }
  100% { opacity: 0; max-height: 0; margin-top: 0; }
}
@keyframes dm-send {
  0% { opacity: 0; transform: scale(0.6); }
  15% { opacity: 1; transform: scale(1); }
  55% { transform: scale(1); }
  68% { transform: scale(0.8); }
  82% { opacity: 1; transform: scale(1.12); }
  100% { opacity: 0; transform: scale(1); }
}
@keyframes dm-cert-fly {
  0% { opacity: 1; transform: rotate(2deg); }
  70% { opacity: 1; }
  100% { opacity: 0; transform: translate(var(--fly-x), var(--fly-y)) scale(0.12); }
}
@keyframes dm-xp-in { from { opacity: 0; transform: translateX(2em); } to { opacity: 1; transform: none; } }
@keyframes dm-swap-out { from { opacity: 1; } to { opacity: 0; } }
@keyframes dm-dots { 0% { opacity: 0; } 12% { opacity: 1; } 52% { opacity: 1; } 58% { opacity: 0; } 100% { opacity: 0; } }
@keyframes dm-text { 0%, 56% { opacity: 0; } 78%, 100% { opacity: 1; } }
@keyframes dm-life { 0% { opacity: 0; } 8% { opacity: 1; } 92% { opacity: 1; } 100% { opacity: 0; } }
@keyframes dm-sheet { 0% { opacity: 0; transform: translateY(1em); } 15% { opacity: 1; transform: none; } 85% { opacity: 1; transform: none; } 100% { opacity: 0; transform: translateY(1em); } }
@keyframes dm-press { 0% { transform: scale(1); } 30% { transform: scale(1.22); } 70% { transform: scale(1.22); } 100% { transform: scale(1); } }
@keyframes dm-hold { 0% { transform: scale(1); } 10% { transform: scale(1.3); } 90% { transform: scale(1.3); } 100% { transform: scale(1); } }
@keyframes dm-flash { 0% { opacity: 0; } 30% { opacity: 0.92; } 100% { opacity: 0; } }
@keyframes dm-type { from { transform: translateX(0); } to { transform: translateX(101%); } }
@keyframes dm-level {
0% { box-shadow: 0 0 0 0 var(--lvl-1), 0 0 0 0 var(--lvl-2); }
5% { box-shadow: 0 0 0 0.25em var(--lvl-1), 0 0 0 0.45em var(--lvl-2); }
11% { box-shadow: 0 0 0 0.55em var(--lvl-1), 0 0 0 0.95em var(--lvl-2); }
17% { box-shadow: 0 0 0 0.3em var(--lvl-1), 0 0 0 0.6em var(--lvl-2); }
24% { box-shadow: 0 0 0 0.7em var(--lvl-1), 0 0 0 1.15em var(--lvl-2); }
31% { box-shadow: 0 0 0 0.4em var(--lvl-1), 0 0 0 0.7em var(--lvl-2); }
38% { box-shadow: 0 0 0 0.62em var(--lvl-1), 0 0 0 1em var(--lvl-2); }
45% { box-shadow: 0 0 0 0.2em var(--lvl-1), 0 0 0 0.4em var(--lvl-2); }
52% { box-shadow: 0 0 0 0.5em var(--lvl-1), 0 0 0 0.85em var(--lvl-2); }
59% { box-shadow: 0 0 0 0.75em var(--lvl-1), 0 0 0 1.2em var(--lvl-2); }
66% { box-shadow: 0 0 0 0.35em var(--lvl-1), 0 0 0 0.65em var(--lvl-2); }
73% { box-shadow: 0 0 0 0.58em var(--lvl-1), 0 0 0 0.95em var(--lvl-2); }
80% { box-shadow: 0 0 0 0.28em var(--lvl-1), 0 0 0 0.5em var(--lvl-2); }
88% { box-shadow: 0 0 0 0.45em var(--lvl-1), 0 0 0 0.75em var(--lvl-2); }
95% { box-shadow: 0 0 0 0.15em var(--lvl-1), 0 0 0 0.3em var(--lvl-2); }
100% { box-shadow: 0 0 0 0 var(--lvl-1), 0 0 0 0 var(--lvl-2); }
}
@keyframes dm-blink { 0%, 100% { opacity: 1; } 50% { opacity: 0.25; } }
@keyframes dm-pick { 0%, 100% { background-color: transparent; } 40%, 80% { background-color: var(--app-ghost); } }
@keyframes dm-bounce { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-0.25em); } }

/* How tall each kind of message may grow: the push upward follows the real height. */
.phone-story .scene > .day { --h: 2.2em; }
.phone-story .scene > .transcript { --h: 4.4em; }
.phone-story .scene > .msg.in { --h: 9em; }
.phone-story .scene > .msg.out { --h: 6em; }
/* Written `.msg.<kind>` so each outranks the generic `.msg.in` / `.msg.out` above: a message held
 to another kind's height shows half of itself, then jumps when the hold ends. */
.phone-story .scene > .msg.photo { --h: 17.5em; }
.phone-story .scene > .msg.voice { --h: 4.4em; }
.phone-story .scene > .msg.missing { --h: 9em; }
.phone-story .scene > .msg.draft { --h: 24em; }
.phone-story .scene > .msg.stages { --h: 10em; }
.phone-story .scene > .msg.files { --h: 10em; }

/* 1 · the message is typed, the send button appears and is pressed, the message leaves; the reply. */
.js .story-stage[data-scene="1"] .app-composer .send { animation: dm-send 1.1s var(--ease) 2.5s both; }
.js .story-stage[data-scene="1"] .scene[data-scene="1"] > :nth-child(1) { animation: dm-grow 0.4s var(--ease) 3.5s backwards !important; }
.js .story-stage[data-scene="1"] .scene[data-scene="1"] > :nth-child(2) { animation: dm-grow 0.5s var(--ease) 3.55s backwards !important; }

/* 2 · « Joindre », Appareil photo, the flash; the photo is sent in one piece; then the app reads it
 (« Je lis votre photo… », the scan over the label) and the reply appears. */
.js .story-stage[data-scene="2"] .clip { animation: dm-press 0.6s var(--ease) 0.2s both; }
.js .story-stage[data-scene="2"] .app-attach { animation: dm-sheet 1.4s var(--ease) 0.5s both; }
.js .story-stage[data-scene="2"] .att-cam { animation: dm-pick 0.8s linear 1s both; }
.js .story-stage[data-scene="2"] .app-flash { animation: dm-flash 0.5s var(--ease) 1.9s both; }
.js .story-stage[data-scene="2"] .scene[data-scene="2"] > :nth-child(1) { animation: dm-photo 0.6s var(--ease) 2.3s backwards !important; }
.js .story-stage[data-scene="2"] .label::after { animation: scan 1.5s ease-in-out 2.95s 1 both; }
.js .story-stage[data-scene="2"] .scene[data-scene="2"] > :nth-child(2) { animation: dm-work 2s linear 2.9s both !important; }

/* 3 · the assistant asks, boxes empty; the answer is a voice note: hold the microphone, record,
 release; « Je transcris votre message vocal… », the transcript; then the boxes tick. */
/* While the finger holds the microphone, rings around it swell and shrink with the voice it hears, as
 a messenger shows a recording. */
.js .story-stage[data-scene="3"] .mic { animation: dm-hold 2.1s var(--ease) 2.3s both, dm-level 1.9s linear 2.45s both; }
.js .story-stage[data-scene="3"] .app-composer .rec { animation: dm-life 1.9s linear 2.45s both; }
.js .story-stage[data-scene="3"] .rec-dot { animation: dm-blink 700ms linear infinite; }
.js .story-stage[data-scene="3"] .scene[data-scene="3"] > :nth-child(2) { animation: dm-grow 0.45s var(--ease) 4.45s backwards !important; }
.js .story-stage[data-scene="3"] .scene[data-scene="3"] > :nth-child(3) { animation: dm-work 2s linear 4.9s both !important; }
.js .story-stage[data-scene="3"] .chk::before { animation: check 0.35s ease 7.4s both; }
.js .story-stage[data-scene="3"] .chk + .chk::before { animation-delay: 7.7s; }

/* 4 · the dots, then the card; once the card is there, the certificate comes out on the right of the
 phone (the transition delay below) and fills itself in. */
.js .story-stage[data-scene="4"] .scene[data-scene="4"] > .draft { animation: dm-grow 0.6s var(--ease) 1.6s backwards !important; }

/* 5 · « Confirmer »: the message « prête à soumettre », the documents, the draft on Expadon. */
.js .story-stage[data-scene="5"] .go { animation: dm-press 0.5s var(--ease) 0.1s both; }
.js .story-stage[data-scene="5"] .scene[data-scene="5"] > :nth-child(2) { animation: dm-grow 0.6s var(--ease) 2.8s backwards !important; }
.js .story-stage[data-scene="5"] .real-xp { animation: dm-xp-in 0.9s var(--ease) 3.6s both; }
.js .story-stage[data-scene="5"] .real-cert { animation: dm-cert-fly 1.3s cubic-bezier(0.45, 0, 0.3, 1) 3.6s both; }
.js .story-stage[data-scene="5"] .real-xp .xp-arrive { animation: pipe-in 0.6s var(--ease) 4.8s both, row-ok 1.8s var(--ease) 4.8s both; }
.js .story-stage[data-scene="5"] .real-xp .xp-arrive::after { animation: ring-ok 1.8s var(--ease) 4.8s both; }
.js .story-stage[data-scene="5"] .real-xp .c0 { animation: dm-swap-out 0.2s linear 4.8s both; }
.js .story-stage[data-scene="5"] .real-xp .c1 { animation: pipe-fade 0.2s linear 4.8s both; }

/* 4 · the phone steps aside and the certificate comes out; its boxes fill (each at its own --at, set
 by landing.js), then the whole sheet flashes green (--fill-done). */
.js .story-stage[data-scene="4"] .phone-story { animation: dm-from-home 0.6s var(--ease) both; }
.js .story-stage[data-scene="4"] .real-cert {
animation: dm-cert-in 0.7s var(--ease) 2.5s both, sheet-ok 900ms var(--ease) var(--fill-done, 5.2s) both;
}
.js .story-stage[data-scene="4"] .real-cert .fld { animation: fld-in 400ms var(--ease) var(--at, 4.4s) both; }
.js .story-stage[data-scene="4"] .real-cert .fld::before { animation: fld-glow 1100ms var(--ease) var(--at, 4.4s) both; }
.js .story-stage[data-scene="5"] .real-cert .fld { opacity: 1; }

@keyframes dm-from-home { from { transform: none; } }
@keyframes dm-cert-in { from { opacity: 0; transform: translateX(-8em); } }
@keyframes fld-in { from { opacity: 0; } to { opacity: 1; } }

/* The scroll is the clock (landing.js holds every animation at the time it has reached): nothing under
 the phone may move on a clock of its own. */
.js .story-stage .phone-story,
.js .story-stage .real-cert,
.js .story-stage .real-xp,
.js .story-stage .go {
transition: none;
}

/* The message being typed (landing.js writes it letter by letter): it wraps onto new lines and the
 field grows with it, as in the app, until it is sent. */
.app-composer .typed {
position: static;
display: none;
flex: 1;
min-width: 0;
padding: 0.3em 0;
overflow: visible;
background: none;
color: var(--app-ink);
line-height: 1.35;
white-space: normal;
opacity: 1;
}

.app-composer .typed::after {
content: "";
display: inline-block;
width: 1px;
height: 1em;
margin-left: 1px;
background: var(--app-accent);
vertical-align: text-bottom;
animation: dm-blink 1s steps(1) infinite;
}

.app-composer.typing {
align-items: flex-end;
border-radius: 1.2em;
}

.app-composer.typing .ph {
display: none;
}

.app-composer.typing .typed {
display: block;
}

.app-composer.typing .clip {
margin-bottom: 0.55em;
}

.app-composer .send {
bottom: 0.35em;
}

/* What the agent is doing with what was just sent, on its side of the thread, in the accent and in
 italic, as the app draws its working line (client/src/styles.css `.action-bubble`), in the app's own
 words (« Je lis votre photo… », « Je transcris votre message vocal… »). It gives way to the result. */
.phone-story .scene > .work {
display: flex;
align-self: flex-start;
align-items: center;
gap: 0.5em;
max-height: 0;
margin-top: 0;
padding: 0 0.15em;
overflow: hidden;
opacity: 0;
color: var(--app-accent);
font-style: italic;
}

.phone-story .work em {
animation: dm-breathe 2.4s ease-in-out infinite;
}

/* The agent's glyph while it works (the app draws an animated icon there). */
.phone-story .work .spin {
flex: none;
width: 1.05em;
height: 1.05em;
border: 0.16em solid currentColor;
border-right-color: transparent;
border-radius: 50%;
animation: dm-spin 0.9s linear infinite;
}

@keyframes dm-spin { to { transform: rotate(360deg); } }

@keyframes dm-work {
0% { opacity: 0; }
12% { opacity: 1; }
85% { opacity: 1; }
100% { opacity: 0; }
}

/* The bottom of the thread keeps a line free for what the agent is doing — its three dots while it
 writes, « Je lis votre photo… » while it reads — so they come and go without moving the messages above.
 The thread moves up only when a message arrives: a sent one at once, a reply line by line as it is
 written (landing.js streams the replies). */
.scrubbed .phone-story .scenes {
position: relative;
padding-bottom: 2.6em;
}

.scrubbed .phone-story .scene > .work,
.phone-story .agent-slot {
position: absolute;
bottom: 0.7em;
left: 0.9em;
max-height: none;
margin: 0;
}

.phone-story .agent-slot {
display: flex;
gap: 0.28em;
padding: 0.55em 0.3em;
opacity: 0;
}

.phone-story .agent-slot.on {
opacity: 1;
}

.scrubbed .story-stage .scene > .streamed {
animation: none !important;
}

.scrubbed .story-stage .streamed .dots,
.scrubbed .story-stage .scene > .typing-line {
display: none;
}

@keyframes dm-breathe { 0%, 100% { opacity: 1; } 50% { opacity: 0.7; } }

/* The microphone, drawn as one. */
.phone-story .mic::before {
top: 50%;
left: 50%;
width: 1.2em;
height: 1.2em;
border-radius: 0;
background: #ffffff;
transform: translate(-50%, -50%);
-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 256 256'%3E%3Cpath d='M80,128V64a48,48,0,0,1,96,0v64a48,48,0,0,1-96,0Zm128,0a8,8,0,0,0-16,0,64,64,0,0,1-128,0,8,8,0,0,0-16,0,80.11,80.11,0,0,0,72,79.6V232a8,8,0,0,0,16,0V207.6A80.11,80.11,0,0,0,208,128Z'/%3E%3C/svg%3E") center / contain no-repeat;
mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 256 256'%3E%3Cpath d='M80,128V64a48,48,0,0,1,96,0v64a48,48,0,0,1-96,0Zm128,0a8,8,0,0,0-16,0,64,64,0,0,1-128,0,8,8,0,0,0-16,0,80.11,80.11,0,0,0,72,79.6V232a8,8,0,0,0,16,0V207.6A80.11,80.11,0,0,0,208,128Z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.phone-story .mic::after {
content: none;
}

.phone-story .mic {
--lvl-1: color-mix(in srgb, var(--app-accent) 50%, transparent);
--lvl-2: color-mix(in srgb, var(--app-accent) 24%, transparent);
}

@keyframes cert-scan-em {
0% { opacity: 1; transform: translateY(0); }
90% { opacity: 1; transform: translateY(21em); }
100% { opacity: 0; transform: translateY(21em); }
}

/* The real certificate (scene 4) and the request on Expadon (scene 5), beside the phone. */
.real-cert,
.real-xp {
position: absolute;
left: calc(50% + 4.8em);
z-index: 0;
opacity: 0;
transform: translateX(-8em);
transition: opacity 500ms var(--ease), transform 700ms var(--ease);
pointer-events: none;
}

.real-cert {
top: 6em;
width: 15em;
overflow: hidden;
border-radius: 0.3em;
background: #ffffff;
box-shadow: var(--sh-3);
}

.real-cert img {
display: block;
width: 100%;
height: auto;
}

/* Scene 4 fills the boxes the way the hero does (landing.js): blue bubbles leave the phone along thin
 lines, each box flashes green as its information lands, then the whole sheet. */
.js .real-cert .fld {
opacity: 0;
}


.stage-lines {
position: absolute;
top: 0;
left: -10%;
z-index: 3;
width: 150%;
height: 100%;
pointer-events: none;
}
.real-cert {
--sheet-shadow: var(--sh-3);
container-type: inline-size;
}

/* The dashboard is drawn at the second demo's window width (--rw) and shown at 288px (--rs); its box
 is as tall as the drawing shown (--rh). landing.js (bridge) measures all three. */
.real-xp {
top: 10em;
width: 288px;
height: var(--rh, 300px);
}

.real-xp .xpd {
width: var(--rw, 600px);
transform: scale(var(--rs, 0.48));
transform-origin: 0 0;
}

.story-stage[data-scene="4"] .real-cert {
opacity: 1;
transform: rotate(2deg);
}

.story-stage[data-scene="5"] .real-xp {
opacity: 1;
transform: none;
}

.story-stage[data-scene="5"] .real-cert {
  z-index: 3;
  opacity: 0;
  transform: translate(var(--fly-x), var(--fly-y)) scale(0.12);
}

/* Where the sheet lands: the new row of the Expadon window beside it. landing.js (bridge) measures it;
   these are only the starting values. */
.story-stage {
  --fly-x: calc(144px - 7.5em);
  --fly-y: calc(140px - 6.6em);
}

.real-xp .xpd-count b {
display: inline-grid;
}

.real-xp .xpd-count b span {
grid-area: 1 / 1;
}

.real-xp .c0 {
  opacity: 0;
}

.typing-line {
  max-height: 0;
  margin-top: 0 !important;
  overflow: hidden;
  opacity: 0;
}

.typing-line .dots {
  display: flex;
  gap: 0.28em;
  padding: 0.55em 0.3em 0;
}

@media (max-width: 900px) {
/* On one column the certificate comes over the phone's right side, inside the screen. */
.real-cert {
top: 9em;
right: 0;
left: auto;
z-index: 3;
width: 12.5em;
}

/* On one column the window comes over the phone's right half, inside the screen, behind the
 certificate until the certificate flies into it as its new row. */
.real-xp {
top: 10em;
right: 0;
left: auto;
z-index: 2;
width: 62%;
}

  .story-stage {
    --fly-x: calc(108px - 7.05em);
    --fly-y: calc(97px - 7.84em);
  }
}

/* --- the weeks ------------------------------------------------------------------------------------ */

.home .week {
border-radius: 16px;
}

.home .week-total {
font-size: 20px;
font-weight: 700;
line-height: 28px;
}

/* --- availability: a computer and a phone, following the scroll ------------------------------------
 landing.js sets --p1 (the computer) and --p2 (the phone), 0 → 1, as the picture comes into view: the
 computer comes in from the left, then the phone from the right; scrolling back up sends them back. */
.js .home .devices .laptop {
opacity: var(--p1, 1);
transform: translateX(calc((1 - var(--p1, 1)) * -72px));
}

.js .home .devices .mini-phone {
opacity: var(--p2, 1);
transform: translateX(calc((1 - var(--p2, 1)) * 72px));
}

/* --- availability --------------------------------------------------------------------------------- */

.home .everywhere h2 {
margin-top: 0;
}

.feats {
display: grid;
gap: 16px;
margin: 32px 0 0;
padding: 0;
list-style: none;
}

.feats li {
display: flex;
align-items: flex-start;
gap: 12px;
color: var(--text-2);
}

.feats svg {
flex: none;
width: 24px;
height: 24px;
color: var(--blue-ink);
}

.feats b {
display: block;
color: var(--text);
font-weight: 700;
}

.home .stores {
margin-top: 32px;
}

.home .store {
border-radius: 12px;
}

/* --- from your assistant -------------------------------------------------------------------------- */

#assistant h2 {
text-align: center;
}

.assist {
display: grid;
gap: 18px;
max-width: 900px;
margin: 28px auto 0;
}

.assist-tabs {
display: flex;
flex-wrap: wrap;
justify-content: center;
gap: 8px;
}

.assist-tab {
padding: 7px 14px;
border: 1px solid var(--rule-2);
border-radius: 999px;
background: var(--surface);
color: var(--text-2);
font: inherit;
font-size: 0.9rem;
font-weight: 600;
cursor: pointer;
}

.assist-tab[aria-selected="true"] {
border-color: var(--blue);
background: var(--blue-soft);
color: var(--blue-ink);
}

/* The window wears the look of the assistant chosen above — its surfaces, ink, type and send button — so
   a newcomer recognises the one they use. The text inside never changes. */
.app {
/* ChatGPT's own dark theme, read on chatgpt.com (2026-11): page #0e0e0e, a near-black sidebar, the
   composer #212121 with a faint inset rim, ink #ededed, secondary #afafaf, a round white send button,
   the system face. */
--a-page: #0e0e0e;
--a-side: #0a0a0a;
--a-ink: #ededed;
--a-muted: #afafaf;
--a-line: #1d1d1d;
--a-box: #212121;
--a-box-rim: rgba(255, 255, 255, 0.2);
--a-send: #ffffff;
--a-send-ink: #0d0d0d;
--a-box-radius: 28px;
--a-font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
--a-hello-font: var(--a-font);
--a-hello-weight: 400;
overflow: hidden;
border: 1px solid var(--a-line);
border-radius: 16px;
background: var(--a-page);
color: var(--a-ink);
box-shadow: 0 24px 60px rgba(6, 20, 34, 0.35);
transition: background 400ms var(--ease), color 400ms var(--ease), border-color 400ms var(--ease);
}

.app[data-skin="claude"] {
--a-box-rim: rgba(255, 255, 255, 0.08);
--a-page: #262624;
--a-side: #1f1e1d;
--a-ink: #f0eee6;
--a-muted: #a6a39a;
--a-line: #3a3936;
--a-box: #30302e;
--a-send: #c96442;
--a-send-ink: #ffffff;
--a-mark: #d97757;
--a-box-radius: 20px;
--a-hello-font: Georgia, "Times New Roman", serif;
--a-hello-weight: 400;
}

.app-chrome {
display: flex;
gap: 7px;
padding: 11px 14px;
border-bottom: 1px solid var(--a-line);
background: var(--a-side);
}

.app-chrome span {
width: 11px;
height: 11px;
border-radius: 50%;
background: #ff5f57;
}

.app-chrome span:nth-child(2) {
background: #febc2e;
}

.app-chrome span:nth-child(3) {
background: #28c840;
}

.app-body {
display: grid;
grid-template-columns: 190px minmax(0, 1fr);
min-height: 380px;
}

.app-side {
padding: 16px 12px;
border-right: 1px solid var(--a-line);
background: var(--a-side);
font-family: var(--a-font);
font-size: 0.86rem;
}

.app-side p {
margin: 0;
}

.app-brand {
display: flex;
align-items: center;
gap: 8px;
height: 28px;
margin-bottom: 10px !important;
padding: 0 8px;
font-weight: 700;
font-size: 1rem;
line-height: 28px;
}

.app-logo {
width: 20px;
height: 20px;
color: var(--a-ink);
}

.app-logo-claude,
.app[data-skin="claude"] .app-logo-chatgpt {
display: none;
}

.app[data-skin="claude"] .app-logo-claude {
display: block;
}

.tab-logo {
width: 16px;
height: 16px;
margin-right: 8px;
vertical-align: -3px;
}

.app-item {
height: 34px;
padding: 7px 8px;
border-radius: 8px;
line-height: 20px;
color: var(--a-ink);
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}

.app-new {
display: flex;
white-space: nowrap;
align-items: center;
gap: 8px;
margin-bottom: 12px !important;
}

.app-pen {
position: relative;
width: 18px;
height: 18px;
border-radius: 5px;
background: var(--a-ink);
}

.app[data-skin="claude"] .app-pen {
background: var(--a-mark);
}

.app-pen::before,
.app-pen::after {
content: "";
position: absolute;
top: 50%;
left: 50%;
width: 10px;
height: 2px;
border-radius: 1px;
background: var(--a-side);
transform: translate(-50%, -50%);
}

.app-pen::after {
transform: translate(-50%, -50%) rotate(90deg);
}

.app-muted {
color: var(--a-muted);
font-size: 0.8rem;
}

.app-main {
display: flex;
flex-direction: column;
justify-content: center;
gap: 26px;
padding: 36px 28px;
}

.app-hello {
display: flex;
align-items: center;
justify-content: center;
height: 40px;
margin: 0;
font-family: var(--a-hello-font);
font-weight: var(--a-hello-weight);
font-size: 1.55rem;
line-height: 40px;
text-align: center;
white-space: nowrap;
}

/* The greeting stays where it is in every look: Claude's mark hangs to its left, outside the line. */
.app-hello-text {
position: relative;
}

.app-hello-mark {
position: absolute;
top: 50%;
right: calc(100% + 12px);
display: none;
width: 28px;
height: 28px;
transform: translateY(-50%);
}

.app[data-skin="claude"] .app-hello-mark {
display: block;
}

.composer {
padding: 14px 14px 10px 18px;
border-radius: var(--a-box-radius);
background: var(--a-box);
box-shadow: inset 0 0 1px 0 var(--a-box-rim), 0 4px 18px rgba(0, 0, 0, 0.25);
}

.composer-text {
margin: 0 0 12px;
font-family: var(--a-font);
font-size: 0.98rem;
line-height: 1.55;
overflow-wrap: anywhere;
user-select: all;
}

.composer-bar {
display: flex;
align-items: center;
gap: 10px;
font-family: var(--sans);
}

.composer-plus {
display: grid;
place-items: center;
width: 30px;
height: 30px;
border-radius: 50%;
color: var(--a-ink);
font-size: 1.4rem;
line-height: 1;
}

.composer-model {
display: inline-flex;
align-items: center;
gap: 4px;
margin-left: auto;
color: var(--a-muted);
font-size: 0.9rem;
}

.composer-chevron {
width: 14px;
height: 14px;
}

.composer-mic {
width: 20px;
height: 20px;
color: var(--a-ink);
}

.composer-mic svg,
.composer-send svg {
display: block;
width: 100%;
height: 100%;
}

.composer-send {
display: grid;
place-items: center;
width: 36px;
height: 36px;
padding: 8px;
border: 0;
border-radius: 50%;
background: var(--a-send);
color: var(--a-send-ink);
cursor: pointer;
transition: transform 150ms var(--ease), background 200ms var(--ease);
}

.app[data-skin="claude"] .composer-send {
border-radius: 10px;
}

.composer-send:hover {
transform: translateY(-1px);
}

.composer-send.is-copied {
background: var(--green);
color: #ffffff;
}

.assist-actions {
display: flex;
flex-direction: column;
align-items: center;
gap: 12px;
text-align: center;
}

.assist-step {
margin: 0;
font-size: 1.15rem;
font-weight: 600;
color: var(--text);
}

.assist-copy {
padding: 13px 24px;
border: 0;
border-radius: 999px;
background: var(--blue);
color: #ffffff;
font: inherit;
font-size: 1rem;
font-weight: 700;
cursor: pointer;
transition: background 200ms var(--ease);
}

.assist-copy:hover {
background: var(--blue-hover);
}

.assist-copy.is-copied {
background: var(--green);
}


@media (max-width: 767px) {
.app-body {
grid-template-columns: minmax(0, 1fr);
min-height: 0;
}

.app-side {
display: none;
}

.app-main {
padding: 26px 16px;
}

.app-hello {
height: auto;
font-size: 1.25rem;
line-height: 1.3;
white-space: normal;
}

.app[data-skin="claude"] .app-hello-mark {
display: none;
}
}

/* --- questions ------------------------------------------------------------------------------------ */

.faq-grid {
display: grid;
grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
gap: 64px;
align-items: start;
}

.faq-head {
position: sticky;
top: 112px;
}

.home .faq {
display: grid;
gap: 8px;
border-top: 0;
}

.home .faq details,
.home .faq details:last-child {
border: 1px solid var(--rule);
border-radius: 16px;
background: var(--surface);
transition: border-color 300ms var(--ease);
}

.home .faq details[open] {
border-color: var(--rule-2);
}

.home .faq summary {
position: relative;
display: block;
padding: 16px 64px 16px 24px;
color: var(--text);
font-size: 18px;
font-weight: 600;
line-height: 28px;
list-style: none;
cursor: pointer;
}

.home .faq summary::-webkit-details-marker {
display: none;
}

/* A plus that turns into a cross when the answer is open. */
.home .faq summary::after {
content: "";
position: absolute;
top: 20px;
right: 24px;
width: 20px;
height: 20px;
border: 0;
background: var(--text-3);
-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 256 256'%3E%3Cpath d='M224,128a8,8,0,0,1-8,8H136v80a8,8,0,0,1-16,0V136H40a8,8,0,0,1,0-16h80V40a8,8,0,0,1,16,0v80h80A8,8,0,0,1,224,128Z'/%3E%3C/svg%3E") center / contain no-repeat;
mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 256 256'%3E%3Cpath d='M224,128a8,8,0,0,1-8,8H136v80a8,8,0,0,1-16,0V136H40a8,8,0,0,1,0-16h80V40a8,8,0,0,1,16,0v80h80A8,8,0,0,1,224,128Z'/%3E%3C/svg%3E") center / contain no-repeat;
transform: none;
transition: transform 500ms var(--ease);
}

.home .faq details[open] summary::after {
transform: rotate(45deg);
}

.home .faq summary:hover {
color: var(--blue-ink);
}

.home .faq details p {
margin: 0;
padding: 0 24px 24px;
color: var(--text-2);
font-size: 16px;
line-height: 24px;
}

/* --- the closing card (website.py writes it) ------------------------------------------------------ */

.home .band-closing {
padding: 48px 24px;
background: var(--bg);
color: var(--text);
}

.home .closing {
max-width: 72rem;
margin: 0 auto;
padding: 80px 48px;
border: 1px solid var(--closing-rule);
border-radius: 24px;
background: var(--closing-card);
text-align: center;
}

.home .band-closing h2 {
max-width: 680px;
margin: 0 auto 16px;
color: var(--closing-text);
font-size: 48px;
line-height: 1.05;
}

.home .band-closing h2 .soft {
color: var(--closing-text-2);
}

.home .band-closing .lead {
max-width: 560px;
margin: 0 auto;
color: var(--closing-text-2);
font-size: 18px;
line-height: 28px;
}

.home .band-closing .cta-row {
justify-content: center;
gap: 12px;
margin-top: 32px;
}

.home .band-closing .btn {
min-height: 0;
padding: 12px 24px;
border: 1px solid rgba(255, 255, 255, 0.24);
background: transparent;
color: var(--closing-text);
font-size: 16px;
font-weight: 600;
line-height: 24px;
box-shadow: none;
transition: background-color 300ms var(--ease), border-color 300ms var(--ease), transform 500ms var(--ease);
}

.home .band-closing .btn:hover {
border-color: rgba(255, 255, 255, 0.56);
transform: translateY(-1px);
}

.home .band-closing .btn:active {
transform: scale(0.98);
}

.home .band-closing .btn.primary {
border-color: var(--blue);
background: var(--blue);
}

.home .band-closing .btn.primary:hover {
border-color: var(--blue-hover);
background: var(--blue-hover);
}

.closing-points {
display: flex;
flex-wrap: wrap;
justify-content: center;
gap: 8px 24px;
margin: 32px 0 0;
padding: 0;
list-style: none;
color: var(--closing-text-2);
font-size: 14px;
font-weight: 500;
line-height: 20px;
}

.closing-points li::before {
content: "✓";
margin-right: 8px;
color: #7db8e8;
font-weight: 700;
}

.home .band-closing .contact {
margin: 24px 0 0;
color: var(--closing-text-2);
font-size: 14px;
line-height: 20px;
}

.home .band-closing .contact a {
color: var(--closing-text);
}

/* --- footer --------------------------------------------------------------------------------------- */

.home .home-foot {
padding: 64px 24px 48px;
border-top: 1px solid var(--rule);
background: var(--bg);
color: var(--text-2);
}

.foot-row {
display: grid;
grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr);
gap: 48px;
}

.home-foot .brand {
display: inline-flex;
align-items: center;
gap: 8px;
color: var(--text);
font-size: 18px;
font-weight: 700;
line-height: 28px;
text-decoration: none;
}

.home-foot .foot-brand p {
max-width: 320px;
margin: 12px 0 0;
color: var(--text-3);
font-size: 14px;
line-height: 20px;
}

.foot-cols {
display: grid;
grid-template-columns: repeat(3, minmax(0, 1fr));
gap: 24px;
}

.foot-cols div {
display: flex;
flex-direction: column;
gap: 8px;
}

.foot-cols p {
margin: 0 0 4px;
color: var(--text);
font-size: 14px;
font-weight: 700;
line-height: 20px;
}

.foot-cols a,
.home .foot-cols a {
color: var(--text-3);
font-size: 14px;
line-height: 20px;
text-decoration: none;
transition: color 300ms var(--ease);
}

.foot-cols a:hover {
color: var(--text);
}

/* --- the hero: night blue, moving ----------------------------------------------------------------
 Always the brand's night, whatever the theme: it is the page's one big moment. The waves behind the
 claim are landing.js's canvas (voice waveforms settling into a form's ruled lines). */

.home .home-hero {
padding: 16px 16px 0;
background: var(--bg);
}

/* Sized on the screen's height too: the whole hero shows at first sight (landing.js trims the
 certificate when even this is not enough). */
.hero-card {
position: relative;
overflow: hidden;
padding: clamp(96px, 12vh, 128px) 24px clamp(24px, 4vh, 48px);
border-radius: 24px;
background: var(--night);
color: #ffffff;
}

.home-hero .hero-copy {
position: relative;
}

.home-hero h1 {
padding-bottom: 16px;
margin-bottom: 8px;
line-height: 1.1;
background: linear-gradient(90deg, #ffffff, #b9cadb);
-webkit-background-clip: text;
background-clip: text;
}

.home-hero .hero-lead {
color: #eef3f8;
font-weight: 500;
}

/* On a short computer screen the claim gives up a little size too, so the hero still fits. */
@media (min-width: 900px) and (max-height: 820px) {
.home-hero h1 {
font-size: max(40px, 7vh);
}

.home-hero .hero-lead {
margin-bottom: 16px;
font-size: max(16px, 2.4vh);
line-height: 1.4;
}

.home-hero .relay-col .pipe-label {
margin-bottom: 12px;
}
}

.home-hero .pill {
border-color: rgba(255, 255, 255, 0.14);
background: rgba(255, 255, 255, 0.06);
color: #dbe6f1;
}

.home-hero .pill::before {
background: var(--green);
}

.cta-glass,
.home a.cta-glass {
border-color: rgba(255, 255, 255, 0.24);
background: rgba(255, 255, 255, 0.06);
color: #ffffff;
}

.cta-glass:hover {
border-color: rgba(255, 255, 255, 0.5);
background: rgba(255, 255, 255, 0.12);
}

.home-hero .hero-ctas {
position: relative;
margin-top: clamp(24px, 4vh, 48px);
}

.home-hero > .wrap {
padding-top: 40px;
}

/* The second part of the page opens on its own title: the film, then the demo. */
/* --- the relay ---------------------------------------------------------------------------------------
 One moving picture under the claim. Three columns share one axis: their labels on one line, their
 pictures centred on the certificate's height. The certificate is the real EC 560 form; each `.fld`
 sits where that field is on the page (its PDF rectangle over the page's 595 × 842 points), so a box
 fills exactly where the client would see it filled. landing.js plays it: bits of information travel
 along thin lines (the canvas) into their box, the box lights and fills, then the sheet shrinks and
 flies into Expadon where it becomes a draft row; three times, then again. */

.relay {
--xz: 0.5;
position: relative;
display: grid;
grid-template-columns: repeat(4, minmax(0, 1fr));
column-gap: 40px;
max-width: 84rem;
margin: clamp(24px, 4.5vh, 56px) auto 0;
}

/* Four equal columns: the label on top, the picture centred on the height the certificate gives the row. */
.relay-col {
display: flex;
flex-direction: column;
align-items: center;
min-width: 0;
}

/* A label as wide as its words: the long one breaks where the markup says, never by itself (a browser
 that measures the words a little wider must not wrap them again inside the box it sized). */
.relay-col .pipe-label {
flex: none;
width: max-content;
height: auto;
min-height: 32px;
margin-bottom: 24px;
line-height: 18px;
white-space: nowrap;
}

.relay-col .pipe-label span {
flex: none;
}

.relay-stage {
display: flex;
flex: 1;
flex-direction: column;
align-items: center;
justify-content: center;
width: 100%;
}

.relay-lines {
position: absolute;
inset: 0;
z-index: 2;
width: 100%;
height: 100%;
pointer-events: none;
}

/* 1 · the client's raw material */
.srcs {
display: grid;
gap: 16px;
width: 100%;
margin: 0;
padding: 0;
list-style: none;
}

.srcs li {
display: flex;
align-items: center;
gap: 12px;
padding: 12px 16px;
border: 1px solid rgba(255, 255, 255, 0.12);
border-radius: 12px;
background: rgba(255, 255, 255, 0.04);
color: #dbe6f1;
font-size: 14px;
font-weight: 500;
line-height: 20px;
transition: border-color 300ms var(--ease), background-color 300ms var(--ease);
}

.srcs li.emit {
border-color: rgba(77, 189, 108, 0.7);
background: rgba(77, 189, 108, 0.1);
}

.si {
flex: none;
width: 20px;
height: 20px;
background: #7db8e8;
}

.si-mic { -webkit-mask: var(--i-mic); mask: var(--i-mic); }
.si-cam { -webkit-mask: var(--i-cam); mask: var(--i-cam); }
.si-doc { -webkit-mask: var(--i-doc); mask: var(--i-doc); }
.si-msg { -webkit-mask: var(--i-msg); mask: var(--i-msg); }

/* 2 · Certisia: all the information goes into it, and it sends each piece on to its own box. It takes the
 four sources in with a small pulse; three blue strokes go once round it, then merge into a green one
 that draws a full circle; the tile turns green, pulses again and sends the pieces out (landing.js:
 `pulse`, `busy`, `sorted`, and the ring it draws). */
.relay-ai .relay-stage {
gap: 0;
}

.ai-node {
position: relative;
isolation: isolate;
width: 88px;
height: 88px;
border-radius: 24px;
box-shadow: 0 0 0 1px rgba(125, 184, 232, 0.35), 0 24px 60px rgba(0, 0, 0, 0.45);
transition: box-shadow 400ms var(--ease);
}

.ai-node img {
display: block;
width: 100%;
height: 100%;
border-radius: 24px;
}

/* The ring round the tile: landing.js draws its strokes (an SVG, one circle per stroke, each shown as an
 arc of its own length starting from twelve o'clock). */
.ai-ring {
position: absolute;
inset: -14px;
pointer-events: none;
}

.ai-ring svg {
display: block;
width: 100%;
height: 100%;
overflow: visible;
transform: rotate(-90deg);
}

.ai-ring circle {
fill: none;
stroke-width: 2.2;
stroke-linecap: round;
}

.ai-node.busy {
box-shadow: 0 0 0 1px rgba(125, 184, 232, 0.8), 0 0 48px rgba(77, 160, 232, 0.4), 0 24px 60px rgba(0, 0, 0, 0.45);
}

/* Ready: the information is sorted, the node turns green and sends every piece at once. */
.ai-node.sorted {
box-shadow: 0 0 0 1px rgba(77, 189, 108, 0.9), 0 0 48px rgba(77, 189, 108, 0.45), 0 24px 60px rgba(0, 0, 0, 0.45);
}

/* The tile turns green: a green layer laid over the mark in « color » blend keeps its white and its
 shape and changes only its hue. */
.ai-node::after {
content: "";
position: absolute;
inset: 0;
border-radius: inherit;
background: #3fae5e;
mix-blend-mode: color;
opacity: 0;
transition: opacity 300ms var(--ease);
pointer-events: none;
}

.ai-node.sorted::after {
opacity: 1;
}

.ai-node.pulse img {
animation: ai-pulse 380ms var(--ease);
}

@keyframes ai-pulse { 50% { transform: scale(1.08); } }

/* 3 · the real certificate, its boxes filling */
.sheet-live {
position: relative;
z-index: 1;
width: 100%;
container-type: inline-size;
border-radius: 4px;
background: #ffffff;
box-shadow: 0 32px 80px rgba(0, 0, 0, 0.45);
transform-origin: center center;
}

.sheet-live img {
display: block;
width: 100%;
height: auto;
border-radius: 4px;
}

.fld {
position: absolute;
display: flex;
flex-direction: column;
justify-content: center;
padding: 0 1.2cqw;
color: #0d2673;
font-family: Helvetica, Arial, sans-serif;
font-size: 2.3cqw;
font-weight: 700;
line-height: 1.15;
white-space: nowrap;
}

/* The box lights up as its information lands, then settles. */
.fld::before {
content: "";
position: absolute;
inset: -0.3cqw;
border-radius: 0.6cqw;
background: rgba(77, 189, 108, 0.3);
box-shadow: 0 0 0 0.3cqw rgba(77, 189, 108, 0.6);
opacity: 0;
}

.fld-row0,
.fld-row1 {
display: grid;
grid-template-columns: 95fr 152fr 110fr 96fr 95fr;
align-items: center;
padding: 0;
}

.fld-row0 span,
.fld-row1 span {
padding: 0 1.2cqw;
}

.fld-orig { left: 11.89%; top: 1.59%; width: 2.20%; height: 1.54%; }
.fld-exp { left: 3.16%; top: 30.32%; width: 52.94%; height: 8.24%; }
.fld-num { left: 57.84%; top: 28.76%; width: 39.62%; height: 2.15%; }
.fld-auth { left: 57.12%; top: 33.95%; width: 40.32%; height: 4.75%; }
.fld-cons { left: 3.29%; top: 41.85%; width: 52.99%; height: 6.43%; }
.fld-org { left: 57.12%; top: 41.5%; width: 40.54%; height: 6.77%; }
.fld-origin { left: 16.80%; top: 50.12%; width: 23.52%; height: 2.49%; }
.fld-dest { left: 58.70%; top: 50.53%; width: 38.57%; height: 2.34%; }
.fld-date { left: 2.91%; top: 56.44%; width: 44.49%; height: 4.19%; }
.fld-place { left: 48.69%; top: 55.30%; width: 47.90%; height: 5.14%; }
.fld-plane { left: 17.44%; top: 65.29%; width: 1.43%; height: 1.01%; }
.fld-ident { left: 2.70%; top: 70.52%; width: 44.74%; height: 4.37%; }
.fld-temp { left: 64.25%; top: 66.31%; width: 1.43%; height: 1.01%; }
.fld-cont { left: 48.55%; top: 72.21%; width: 49.04%; height: 2.92%; }
.fld-row0 { left: 2.69%; top: 84.43%; width: 94.59%; height: 3.02%; }
.fld-row1 { left: 2.62%; top: 87.66%; width: 94.55%; height: 3.19%; }

/* The printed lines of I.3 and I.5, centred and at the form's own size. */
.fld-small {
display: block;
padding: 0;
font-size: 1.7cqw;
line-height: 1.16;
text-align: center;
}

.fld-cont {
font-size: 1.9cqw;
}

.fld-small i {
font-weight: 700;
}

.fld-origin {
padding: 0 0 0 2cqw;
font-size: 2cqw;
}

/* The ticked boxes and the « Original » circle. */
.fld-tick {
align-items: center;
padding: 0;
font-size: 2.6cqw;
}

.fld-dot {
padding: 0;
}

.fld-dot::after {
content: "";
position: absolute;
inset: 28%;
border-radius: 50%;
background: #0d2673;
}

.relay.run .fld {
opacity: 0;
}

.relay.run .fld.on {
opacity: 1;
transition: opacity 400ms var(--ease);
}

.relay.run .fld.on::before {
animation: fld-glow 1100ms var(--ease) both;
}

@keyframes fld-glow { 0% { opacity: 0; } 25% { opacity: 1; } 100% { opacity: 0; } }

/* The filled sheet flies into Expadon: landing.js sets where (--fx, --fy) and how small (--fs). */
.sheet-live.done {
animation: sheet-ok 900ms var(--ease) both;
}

.sheet-live.fly {
z-index: 3;
opacity: 0;
transform: translate(var(--fx, 0), var(--fy, 0)) scale(var(--fs, 0.1));
transition: transform 1000ms cubic-bezier(0.55, 0, 0.25, 1), opacity 400ms ease-in 650ms;
}

.sheet-live.back {
opacity: 0;
transition: none;
}

.sheet-live.again {
opacity: 1;
transition: opacity 500ms var(--ease);
}

/* Expadon drawn at its real 600px and shown smaller, so the page keeps its proportions. */
.xpd-scaled {
  width: 600px;
  transform: scale(0.5);
  transform-origin: 0 0;
  font-size: 14px;
}

.xpd-scaled .xpd-tr {
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1.1fr) minmax(0, 0.8fr) minmax(0, 0.9fr);
}

/* 4 · Expadon, drawn at 600px and zoomed, so the page keeps its real proportions and its box its size. */
.relay-xp .xpd-scaled {
width: 600px;
transform: none;
zoom: var(--xz);
font-size: 14px;
}

/* « Pays » only needs a country's name: « Statut de la demande » gets the room to show whole. */
.relay-xp .xpd-tr {
grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.6fr) minmax(0, 1.35fr);
}

.xpd-rows {
min-height: 132px;
}

.relay .xpd-new {
animation: none;
}

.relay .xpd-new.landed {
animation: pipe-in 600ms var(--ease) both, row-ok 1800ms var(--ease) both;
}

.relay .xpd-new::after {
opacity: 0;
}

.relay .xpd-new.landed::after {
animation: ring-ok 1800ms var(--ease) both;
}

/* Once the third draft is in, the rows clear before a blank certificate comes back. */
.relay .xpd-new.clearing {
opacity: 0;
transition: opacity 500ms var(--ease);
}

@keyframes row-ring { 0% { opacity: 0; } 20% { opacity: 1; } 100% { opacity: 0; } }

/* Done: a filled certificate's edge flashes green; a new row on Expadon arrives green, then settles
 into the orange Expadon gives a new request. */
@keyframes sheet-ok {
0% { box-shadow: 0 0 0 0 rgba(77, 189, 108, 0), var(--sheet-shadow, 0 32px 80px rgba(0, 0, 0, 0.45)); }
25%, 60% { box-shadow: 0 0 0 3px rgba(77, 189, 108, 0.95), 0 0 32px rgba(77, 189, 108, 0.45); }
100% { box-shadow: 0 0 0 0 rgba(77, 189, 108, 0), var(--sheet-shadow, 0 32px 80px rgba(0, 0, 0, 0.45)); }
}
@keyframes row-ok { 0%, 40% { background-color: #dcf2e2; } 100% { background-color: #fff8ef; } }
@keyframes ring-ok {
0% { opacity: 0; box-shadow: inset 0 0 0 2px #2e9d4f; }
12%, 40% { opacity: 1; box-shadow: inset 0 0 0 2px #2e9d4f; }
100% { opacity: 1; box-shadow: inset 0 0 0 2px #f79200; }
}
@keyframes pipe-in { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes pipe-fade { from { opacity: 0; } to { opacity: 1; } }

.pipe-label {
display: inline-flex;
align-items: center;
gap: 8px;
height: 32px;
margin: 0 0 24px;
padding: 4px 12px 4px 4px;
border: 1px solid rgba(255, 255, 255, 0.14);
border-radius: 9999px;
background: rgba(11, 22, 34, 0.8);
color: #ffffff;
font-size: 14px;
font-weight: 600;
line-height: 20px;
white-space: nowrap;
}

.pipe-label b {
display: inline-grid;
place-items: center;
width: 24px;
height: 24px;
border-radius: 9999px;
background: var(--blue);
font-size: 12px;
}

@media (max-width: 1100px) {
.relay {
column-gap: 24px;
}

.ai-node,
.ai-node img {
width: 72px;
height: 72px;
border-radius: 20px;
}
}

@media (max-width: 900px) {
.relay {
grid-template-columns: minmax(0, 1fr);
row-gap: 40px;
max-width: 420px;
}

.relay-cert .sheet-live {
width: min(320px, 82vw);
}

.srcs {
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 8px;
}

.srcs li {
padding: 8px 12px;
font-size: 12px;
line-height: 16px;
}

}

@media (max-width: 767px) {
.home .home-hero {
padding: 8px 8px 0;
}

.hero-card {
padding: 112px 16px 24px;
border-radius: 16px;
}

.relay {
margin-top: 48px;
}
}

/* --- Expadon, as it really looks --------------------------------------------------------------------
 Redrawn from the téléprocédure's live styles (its blue band, its table head, its tabs, its yellow
 notice), with this page's neutral example. Its own typeface stack, not the page's: it is a picture
 of another site. Light in both themes, as the real one is. */

/* iOS Safari enlarges small text in a block wider than the screen: the window is drawn wider than a
 phone and scaled down (the phone's small window, the bridge's copy, the big window), and the three
 must read the same, so its text keeps the size it is given. */
.xpd {
-webkit-text-size-adjust: 100%;
text-size-adjust: 100%;
overflow: hidden;
border-radius: 12px;
background: #ffffff;
color: #485162;
font-family: Roboto, "Helvetica Neue", Helvetica, Arial, sans-serif;
font-size: 13px;
line-height: 1.4;
text-align: left;
box-shadow: 0 40px 100px rgba(0, 0, 0, 0.28), 0 2px 8px rgba(0, 0, 0, 0.1);
}

.xpd b {
font-weight: 500;
}

.xpd-chrome {
display: flex;
align-items: center;
gap: 8px;
padding: 8px 12px;
background: #ececec;
}

.xpd-chrome i {
width: 12px;
height: 12px;
border-radius: 9999px;
background: #d0d0d0;
}

.xpd-chrome span {
flex: 1;
margin-left: 8px;
padding: 2px 12px;
border-radius: 8px;
background: #ffffff;
color: #6b6b6b;
font-size: 12px;
}

.xpd-head {
display: flex;
align-items: center;
gap: 16px;
padding: 8px 24px;
background: #1565c0;
color: #ffffff;
}

.xpd-logo {
padding: 4px;
border-radius: 4px;
background: #ffffff;
}

.xpd-logo img {
display: block;
width: auto;
height: 40px;
}

.xpd-brand {
font-size: 18px;
}

.xpd-user {
display: inline-flex;
align-items: center;
gap: 8px;
margin-left: auto;
font-size: 12px;
}

.xpd-user svg {
width: 16px;
height: 16px;
}

.xpd-page {
padding: 16px 24px 24px;
}

.xpd-crumb {
margin: 0 0 8px;
font-size: 12px;
}

/* The way back to the dashboard from a request's page, as Expadon links it in its trail. */
.xpd-back {
color: #1565c0;
text-decoration: underline;
}

.xpd-title {
display: flex;
align-items: center;
gap: 12px;
margin: 0 0 16px;
font-size: 24px;
font-weight: 600;
line-height: 1.2;
}

.xpd-ico {
display: inline-grid;
place-items: center;
width: 40px;
height: 40px;
border-radius: 9999px;
background: #f79200;
color: #ffffff;
}

.xpd-ico svg {
width: 20px;
height: 20px;
}

.xpd-count {
margin: 0 0 8px;
font-size: 18px;
font-weight: 700;
}

.xpd-count b {
color: #ff7f00;
font-weight: 700;
}

.xpd-table {
border: 1px solid #dee2e6;
}

/* Every row is its own grid: the columns are fixed shares (minmax(0, …)), never sized by a row's own
 content, so the header and the rows line up. */
.xpd-tr {
display: grid;
grid-template-columns: minmax(0, 1.15fr) minmax(0, 1.3fr) minmax(0, 1.1fr) minmax(0, 0.75fr) minmax(0, 0.8fr) minmax(0, 0.9fr);
}

.xpd.xpd-dash .xpd-tr {
grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.3fr) minmax(0, 0.9fr) minmax(0, 1.5fr);
}

.xpd-th span:last-child {
white-space: nowrap;
}

.xpd-tr span {
padding: 12px 8px;
border-left: 1px solid #dee2e6;
}

.xpd-tr span:first-child {
border-left: 0;
}

.xpd-th {
background: #1565c0;
color: #ffffff;
font-size: 12px;
}

.xpd-th span {
border-color: rgba(255, 255, 255, 0.2);
}

.xpd-new {
position: relative;
color: #212529;
background: #fff8ef;
}

/* The new request draws the eye once: a soft orange ring that fades in and stays. */
.xpd-new::after {
content: "";
position: absolute;
inset: 0;
box-shadow: inset 0 0 0 2px #f79200;
}

.xpd-detail .xpd-new::after,
html:not(.js) .xpd-new::after {
opacity: 1;
}

.xpd-status {
display: inline-flex;
align-items: flex-start;
gap: 4px;
font-weight: 500;
}

.xpd-status i {
width: 12px;
height: 12px;
margin-top: 2px;
border-radius: 9999px;
background: #35baf6;
}

/* The request's own page. */
.xpd-h1 {
margin: 0 0 16px;
font-size: 24px;
font-weight: 600;
line-height: 1.2;
}

.xpd-card {
padding: 16px;
border-radius: 5px;
box-shadow: 0 1px 6px rgba(0, 0, 0, 0.12);
}

.xpd-card-top {
display: flex;
justify-content: space-between;
gap: 16px;
}

.xpd-h2 {
display: block;
font-size: 18px;
}

.xpd-card-top small,
.xpd-statut {
font-size: 12px;
}

.xpd-btns {
display: flex;
flex-wrap: wrap;
gap: 8px;
margin: 12px 0 16px;
}

.xpd-btns span {
padding: 4px 16px;
border: 1px solid #45bde6;
border-radius: 50px;
color: #45bde6;
font-size: 12px;
}

.xpd-tabs {
display: flex;
border-radius: 6px 6px 0 0;
background: #f1f3f7;
}

.xpd-tabs span {
flex: 1;
min-width: 0;
padding: 12px 8px;
overflow: hidden;
font-weight: 500;
text-align: center;
text-overflow: ellipsis;
white-space: nowrap;
}

.xpd-tabs .on {
border-radius: 5px 0 0 0;
background: #46bee7;
color: #ffffff;
font-weight: 700;
}

.xpd-alert {
margin: 16px 0 12px;
padding: 12px 16px;
border-radius: 5px;
background: #fff3cd;
color: #856404;
font-size: 12px;
}

.xpd-info {
display: grid;
gap: 8px;
padding: 12px 16px;
border: 1px solid #d0e4eb;
border-radius: 6px;
background: #ecf8fc;
font-size: 12px;
}

/* --- the closing card on its painting ------------------------------------------------------------- */

.home .closing {
position: relative;
overflow: hidden;
border: 0;
background: #0b1622 url("/site/tableau-millet-1.jpg") center 45% / cover no-repeat;
}

.home .closing::before {
content: "";
position: absolute;
inset: 0;
background: rgba(5, 12, 20, 0.72);
}

.home .closing > * {
position: relative;
}

.foot-credit {
margin: 16px 0 0;
color: var(--text-3);
font-size: 12px;
line-height: 16px;
}

@media (max-width: 767px) {.xp-stage .xpd-page,
.real-xp .xpd-page,
.xp-bridge .xpd-page {
padding: 12px;
}

.xpd-h1 {
font-size: 16px;
}

.xpd-btns span:nth-child(2) {
display: none;
}

.xp-stage .xpd-tabs span {
padding: 10px 4px;
font-size: 11px;
}
}

/* --- narrower screens ----------------------------------------------------------------------------- */

@media (max-width: 1023px) {.faq-grid,
.foot-row {
grid-template-columns: minmax(0, 1fr);
gap: 40px;
}

.faq-head {
position: static;
}
}

@media (max-width: 767px) {
.home .band,
.home .band-closing {
padding: 64px 16px;
}

/* The phone's bar floats as well: a section's title starts below it. */
.home .band {
padding-top: 96px;
}

/* The demo starts close under the hero: its phone sticks almost as soon as it shows. */
.home .band.story {
padding-top: 8px;
}

.home-hero h1 {
font-size: 36px;
line-height: 40px;
}

.home-hero h1 br {
display: none;
}

.hero-lead {
font-size: 18px;
line-height: 28px;
}

.hero-ctas {
flex-direction: column;
gap: 16px;
}

.hero-ctas .cta {
width: 100%;
}

.sec-head {
margin-bottom: 48px;
}

.sec-head h2,
.home .band h2 {
font-size: 30px;
line-height: 36px;
}

.home .closing {
padding: 48px 24px;
}

.home .band-closing h2 {
font-size: 30px;
line-height: 36px;
}

.home .band-closing .btn {
width: 100%;
}

.foot-cols {
grid-template-columns: repeat(2, minmax(0, 1fr));
}
}

/* --- less motion: the finished page, still -------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
.js .reveal,
.menu-links a,
.menu-foot {
transform: none;
transition: opacity 300ms var(--ease);
}

.cta,
.cta:hover,
.cta:hover svg {
transform: none;
}
}

