/* v3: the steps of the one-page site, each a photo of Lina's life with the product laid over it (taken from /essai) */
.es-steps.hw2{padding-top:clamp(56px,6vw,96px);padding-bottom:clamp(40px,5vw,72px)}
.es-steps .hw2-head{align-items:flex-end;max-width:none;margin:0;padding:0 max(var(--g),calc((100% - 1352px) / 2))}
.es-steps .pg-h2{max-width:16ch}
.es-steps .hw2-track{counter-reset:es-step}
.es-card{width:clamp(268px,25vw,350px);counter-increment:es-step;text-align:left}
.es-card>h3{margin-top:20px}
.es-card>h3::before{content:counter(es-step,decimal-leading-zero);display:block;margin-bottom:6px;font-size:var(--fs-caption);font-weight:500;letter-spacing:.06em;color:#A3A4AA;font-variant-numeric:tabular-nums}
.es-card>p{margin-left:0;max-width:32ch}

.es-ph{position:relative;margin:0;aspect-ratio:4/5;border-radius:28px;overflow:hidden;isolation:isolate;background:#C9D3E4}
.es-ph>img{position:absolute;inset:0;z-index:-2;width:100%;height:100%;object-fit:cover;transform-origin:50% 40%}
.es-ph::after{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;background:linear-gradient(180deg,rgba(8,18,40,.14) 0%,rgba(8,18,40,0) 26%,rgba(8,18,40,0) 52%,rgba(8,18,40,.34) 100%)}
.es-ov{position:absolute;left:14px;right:14px;bottom:14px;display:flex;flex-direction:column;align-items:flex-start;gap:8px}
.es-ov-top{top:14px;bottom:auto}

/* what floats on a photo: white, a little frosted, lifted by a soft shadow */
.es-glass,.es-yesno span,.es-golive,.es-notif{background:rgba(255,255,255,.9);-webkit-backdrop-filter:blur(14px) saturate(1.2);backdrop-filter:blur(14px) saturate(1.2);box-shadow:0 16px 32px -18px rgba(8,18,40,.55),0 1px 2px rgba(8,18,40,.08)}
.es-glass{margin:0;border-radius:18px}
.es-orb{width:18px;height:18px;flex:none;color:var(--cobalt);overflow:visible}
.es-ph .bulle{max-width:88%;padding:8px 12px;border-radius:16px;font-family:-apple-system,BlinkMacSystemFont,system-ui,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;font-size:14px;line-height:1.4}
.es-ph .bulle.fan{align-self:flex-end;background:var(--cobalt);color:#fff;border-bottom-right-radius:5px}
.es-ph .bulle.lui{align-self:flex-start;background:#F1F3FA;color:var(--ink);border-bottom-left-radius:5px;box-shadow:none}

/* 01: her links are her posts. Her feed fills the card, three of them from her networks, and Azul starts learning */
.es-feed{background:#fff}
.es-grid{position:absolute;inset:0;z-index:-2;display:grid;grid-template-columns:repeat(3,1fr);grid-template-rows:repeat(3,1fr);gap:3px}
.es-grid li{position:relative;overflow:hidden;background:#DDE3EE}
.es-grid img{width:100%;height:100%;object-fit:cover}
.es-net{position:absolute;top:7px;left:7px;display:grid;place-items:center;width:24px;height:24px;border-radius:50%;background:#fff;box-shadow:0 4px 10px -4px rgba(8,18,40,.45)}
.es-net img{width:14px;height:14px}
.es-feed .es-ov{align-items:center}
.es-learn{display:inline-flex;align-items:center;gap:9px;margin:0;height:40px;padding:0 18px 0 13px;border-radius:999px;background:var(--cobalt);color:#fff;font-size:14px;font-weight:600;box-shadow:0 14px 28px -12px rgba(8,18,40,.6)}
.es-learn .es-orb{color:#fff}

/* 02: at home, on her phone, she tries her twin where nobody else can see it, then puts it live */
.es-phone{width:100%;overflow:hidden;border-radius:20px}
.es-phone-top{display:flex;align-items:center;gap:10px;padding:10px 12px;border-bottom:1px solid rgba(21,22,28,.07)}
.es-phone-top img{width:34px;height:34px;flex:none;border-radius:50%;object-fit:cover}
.es-phone-top span{display:flex;flex-direction:column;line-height:1.25}
.es-phone-top b{font-size:14px;font-weight:600;color:var(--ink)}
.es-phone-top small{display:inline-flex;align-items:center;gap:4px;font-size:12px;color:#5E6170}
.es-phone-top small svg{width:12px;height:12px}
.es-phone-fil{display:flex;flex-direction:column;gap:6px;padding:10px}
.es-golive{position:relative;display:grid;align-self:flex-end;height:40px;min-width:112px;border-radius:999px;overflow:hidden;font-size:14px;font-weight:600}
.es-golive>span{grid-area:1/1;display:flex;align-items:center;justify-content:center;gap:8px;padding:0 18px;transition:transform .45s var(--ease),opacity .3s}
.es-golive-a{background:var(--cobalt);color:#fff}
.es-golive-b{color:var(--ink);transform:translateY(100%);opacity:0}
.es-golive-b i{width:8px;height:8px;border-radius:50%;background:#1FA463;box-shadow:0 0 0 3px rgba(31,164,99,.18)}

/* 03: her profile, the link in her bio, a follower taps it and writes to her twin */
.es-sky{display:grid;place-items:start center;padding:22px 16px;background:radial-gradient(70% 60% at 85% 0%,rgba(255,255,255,.32),rgba(255,255,255,0) 70%),linear-gradient(180deg,#2F69C2 0%,#4D88D6 55%,#8DB9EA 100%)}
.es-sky::after{display:none}
.es-prof{width:100%;padding:16px;border-radius:22px;background:#fff;box-shadow:0 24px 48px -26px rgba(8,18,40,.55)}
.es-prof-top{display:flex;align-items:center;gap:12px}
.es-prof-top img{width:56px;height:56px;flex:none;border-radius:50%;object-fit:cover;box-shadow:0 0 0 2px #fff,0 0 0 4px #D9E2FB}
.es-prof-top span{display:flex;flex-direction:column;line-height:1.3;min-width:0}
.es-prof-top b{font-size:15px;font-weight:600;color:var(--ink)}
.es-prof-top small{font-size:13px;color:#5E6170}
.es-biolink{position:relative;display:inline-flex;align-items:center;gap:6px;margin-top:12px;padding:7px 12px;border-radius:999px;background:#EEF2FF;color:var(--cobalt);font-size:13px;font-weight:600}
.es-biolink svg{width:14px;height:14px;flex:none}
.es-prof-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:3px;margin-top:14px;border-radius:10px;overflow:hidden}
.es-prof-grid li{aspect-ratio:1/1;background:#DDE3EE}
.es-prof-grid img{width:100%;height:100%;object-fit:cover}
.es-incoming{display:flex;align-items:center;gap:10px;width:100%;padding:10px 14px 10px 10px;font-size:14px;line-height:1.35;color:var(--ink)}
.es-incoming img{width:34px;height:34px;flex:none;border-radius:50%;object-fit:cover}
.es-incoming span{display:flex;flex-direction:column}
.es-incoming b{font-size:13px;font-weight:600;color:#5E6170}

/* 04: Azul asks, she says yes, a follower answers */
.es-azul{display:inline-flex;align-items:center;gap:9px;padding:10px 14px 10px 12px;font-size:14px;font-weight:600;color:var(--ink)}
.es-yesno{display:flex;gap:6px;margin:0}
.es-yesno span{display:inline-flex;align-items:center;height:34px;padding:0 16px;border-radius:999px;font-size:14px;font-weight:600;color:var(--cobalt)}
.es-reply{display:inline-flex;align-items:center;gap:9px;margin-top:4px;padding:6px 14px 6px 6px;border-radius:999px;font-size:14px;color:var(--ink)}
.es-reply img{width:28px;height:28px;border-radius:50%;object-fit:cover}

/* 05: away at the sea, her lock screen fills with new subscribers, then her payout */
.es-lockscreen::after{background:linear-gradient(180deg,rgba(8,18,40,.34) 0%,rgba(8,18,40,0) 34%,rgba(8,18,40,0) 46%,rgba(8,18,40,.38) 100%)}
.es-clock{position:absolute;top:22px;left:0;right:0;display:flex;flex-direction:column;align-items:center;margin:0;color:#fff;font-size:58px;font-weight:600;line-height:1;letter-spacing:-.03em;font-variant-numeric:tabular-nums;text-shadow:0 2px 18px rgba(8,18,40,.25)}
.es-clock small{margin-bottom:4px;font-size:14px;font-weight:600;letter-spacing:0;opacity:.92}
.es-notif{display:grid;grid-template-columns:28px 1fr auto;gap:10px;align-items:start;width:100%;margin:0;padding:10px 12px;border-radius:18px;background:rgba(255,255,255,.82);font-size:13px;line-height:1.35;color:var(--ink)}
.es-notif-ic{display:grid;place-items:center;width:28px;height:28px;border-radius:8px;background:#fff;box-shadow:0 1px 3px rgba(8,18,40,.12)}
.es-notif-ic .es-orb{width:16px;height:16px}
.es-notif>span:nth-child(2){display:flex;flex-direction:column}
.es-notif b{font-size:13px;font-weight:600}
.es-notif small{font-size:12px;color:#5E6170}

/* each card plays its little scene when it comes into view (how.js adds .on); a photo settles as it does */
.hw-js .es-card.on .es-ph>img{animation:es-settle 1.8s var(--ease) both}
.hw-js .es-card.on .es-learn .es-orb{animation:gelee 1.6s cubic-bezier(.44,0,.56,1) 1.8s infinite}
.hw-js .es-card.on .es-golive{animation:arrive .5s var(--ease) 1.8s both,hw-press .3s ease-out 2.6s both}
.hw-js .es-card.on .es-golive-a{animation:hw-sub-out .45s var(--ease) 2.8s both}
.hw-js .es-card.on .es-golive-b{animation:hw-sub-in .45s var(--ease) 2.8s both}
.hw-js .es-card.on .es-biolink{animation:hw-press .3s ease-out 1.05s both}
.hw-js .es-card.on .es-yes{animation:es-yes .35s var(--ease) 1.6s both}
@keyframes es-settle{from{transform:scale(1.07)}to{transform:none}}
@keyframes es-yes{to{background:var(--cobalt);color:#fff}}
@media (max-width:760px){.es-card{width:min(78vw,320px)}}
@media (prefers-reduced-motion:reduce){
  .hw-js .es-card [data-a]{opacity:1;transform:none;animation:none!important}
  .hw-js .es-card .es-ph>img{animation:none!important}
  .es-golive-a{display:none}
  .es-golive-b{transform:none;opacity:1}
  .es-yes{background:var(--cobalt)!important;color:#fff!important}
}

/* the steps: white cards of one size, the strip running past the edge of the screen; each card has its name on top,
   its scene, its words and its number in a black pill at the bottom. One card at a time: the strip snaps on a card,
   centered on a phone, and cover.js moves it on to the next one after a while */
.v3-cover{--cw:clamp(270px,24vw,370px);background:#F2F3F5;padding-bottom:clamp(28px,3vw,48px)}
.v3-cover .hw2-track{align-items:stretch;padding-top:clamp(12px,1.6vw,22px);padding-bottom:clamp(28px,4vw,56px);scroll-snap-type:x proximity}
.v3-cover .hw2-track{scroll-snap-type:x mandatory}
.v3-cover .es-card{scroll-snap-align:start;scroll-snap-stop:always}
.v3-cover .hw2-track img{-webkit-user-drag:none}
.v3-cover .es-card{display:flex;flex-direction:column;width:var(--cw);padding:0 12px 18px;border-radius:30px;background:#fff;text-align:center;box-shadow:0 1px 2px rgba(16,24,48,.05),0 22px 44px -28px rgba(16,24,48,.22);cursor:pointer}
.v3-cover .es-card>h3{order:-1;margin:0;padding:18px 8px 14px;font-size:13px;font-weight:700;letter-spacing:.16em;text-transform:uppercase;color:var(--ink)}
.v3-cover .es-card>h3::before{display:none}
.v3-cover .es-ph{border-radius:22px;text-align:left}
.v3-cover .es-card>p{margin:16px auto 18px;padding:0 8px;max-width:34ch;font-size:15px;line-height:1.5}
.v3-cover .es-card::after{content:attr(data-step);align-self:center;display:inline-flex;align-items:center;height:38px;margin-top:auto;padding:0 20px;border-radius:999px;background:var(--ink);color:#fff;font-size:14px;font-weight:600;font-variant-numeric:tabular-nums}
@media (max-width:760px){.v3-cover{--cw:min(78vw,320px)}.v3-cover .hw2-track{--pad:calc((100vw - var(--cw)) / 2)}.v3-cover .es-card{scroll-snap-align:center}}
/* under the mouse, a card grows a little */
.v3-cover .es-card{transition:transform .35s var(--ease),box-shadow .35s var(--ease)}
@media (hover:hover){.v3-cover .es-card:hover{transform:scale(1.03);box-shadow:0 1px 2px rgba(16,24,48,.06),0 30px 56px -30px rgba(16,24,48,.32)}}
@media (prefers-reduced-motion:reduce){.v3-cover .es-card{transition:none}}

/* v3: you stay in charge (taken from /essai): the words on the left, the chat with Azul over the beach on the right */
.es-lim{padding:clamp(64px,7vw,108px) var(--g)}
.es-lim-in{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.05fr);grid-template-areas:"copy vis" "rules vis";grid-template-rows:auto 1fr;column-gap:clamp(40px,6vw,96px);align-items:center;width:100%;max-width:1180px;margin:0 auto}
.es-lim-copy{grid-area:copy;align-self:end}
.es-lim h2{font-size:var(--fs-headline);line-height:1.05;letter-spacing:-.035em;font-weight:500;max-width:17ch;text-wrap:balance}
.es-lim-p{margin-top:16px;max-width:42ch;font-size:var(--fs-lead);line-height:1.5;color:#45464B;text-wrap:pretty}
.es-rules{grid-area:rules;align-self:start;margin-top:28px;border-top:1px solid #ECECEE}
.es-rules li{display:grid;grid-template-columns:24px 1fr;gap:14px;align-items:start;padding:15px 0;border-bottom:1px solid #ECECEE;font-size:var(--fs-body);line-height:1.5;color:#55565B}
.es-rules svg{width:24px;height:24px;color:var(--cobalt)}
.es-rules b{font-weight:600;color:var(--ink)}
.es-lim-vis{grid-area:vis;position:relative;isolation:isolate;margin:0;display:grid;place-items:center;aspect-ratio:1/1;padding:clamp(20px,3vw,44px);border-radius:28px;overflow:hidden;background:#3A3A48}
.es-lim-vis>img{position:absolute;inset:0;z-index:-2;width:100%;height:100%;object-fit:cover;object-position:28% 50%}
.es-lim-vis::after{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(180deg,rgba(14,16,30,.1),rgba(14,16,30,.32))}
.es-chat{width:100%;max-width:370px}
.es-chat .chat-top{background:rgba(255,255,255,.94)}
.es-chat .chat-fil{min-height:290px;justify-content:flex-start;background:rgba(246,247,255,.94)}
.es-chat .hw2-stack{margin-top:4px;margin-bottom:6px}
.es-chat .hw2-orb .es-orb{width:22px;height:22px}
/* the chat with Azul plays once it is on screen (essai.js adds .on); without script, everything simply shows */
.es-js [data-es-play] [data-a]{opacity:0;transform:translateY(8px)}
.es-js [data-es-play].on [data-a]{animation:arrive .5s var(--ease) var(--d,0s) both}
.es-js [data-es-play].on .hw2-typing{animation:hw-typing 1.1s linear var(--d,0s) both}
.es-js [data-es-play].on .hw2-typing i{animation:hw-dot .9s ease-in-out infinite}
@media (max-width:900px){
  .es-lim-in{grid-template-columns:1fr;grid-template-areas:"copy" "vis" "rules";grid-template-rows:auto;row-gap:28px}
  .es-rules{margin-top:0}
  .es-lim h2{max-width:18ch}
}
@media (max-width:760px){
  .es-lim{padding:56px var(--g)}
  .es-lim-vis{aspect-ratio:auto;padding:28px 14px}
  .es-chat .chat-fil{min-height:0}
  .es-rules li{padding:13px 0}
}
@media (prefers-reduced-motion:reduce){
  .es-js [data-es-play] [data-a]{opacity:1;transform:none;animation:none!important}
  .es-js [data-es-play] .hw2-typing{display:none}
}
/* the v3 touches: the beach and its surfers, a softer chat, each rule with its icon in a round chip */
.v3-lim{padding-top:clamp(72px,8vw,128px);padding-bottom:clamp(40px,5vw,80px)}
.v3-lim .es-lim-vis{aspect-ratio:4/4.3;border-radius:32px;background:#3B3E48;box-shadow:0 30px 60px -36px rgba(16,24,48,.45)}
.v3-lim .es-lim-vis>img{object-position:72% 50%}
.v3-lim .es-lim-vis::after{background:linear-gradient(180deg,rgba(14,16,30,.04),rgba(14,16,30,.22))}
.v3-lim .es-lim-vis{place-items:end start;padding:clamp(22px,2.6vw,34px)}
.v3-lim .es-chat{max-width:340px;border-radius:24px;background:rgba(255,255,255,.82);-webkit-backdrop-filter:blur(18px) saturate(1.2);backdrop-filter:blur(18px) saturate(1.2);box-shadow:0 30px 60px -30px rgba(8,18,40,.6);overflow:hidden}
.v3-lim .es-chat .chat-top{background:rgba(255,255,255,.55)}
.v3-lim .es-chat .chat-fil{background:transparent;min-height:0;padding-bottom:16px}
@media (max-width:760px){.v3-lim .es-lim-vis{aspect-ratio:4/5;padding:18px}}
.v3-lim .es-rules{border-top:0}
.v3-lim .es-rules li{grid-template-columns:40px 1fr;gap:16px;align-items:center;padding:16px 0;border-bottom:1px solid #EEEFF2}
.v3-lim .es-rules li:last-child{border-bottom:0}
.v3-lim .es-rules svg{width:40px;height:40px;padding:9px;border-radius:50%;background:#EEF2FF}
/* step 01 keeps its links running into Azul, at the size of the other scenes */
.v3-cover .hw2-vis{aspect-ratio:4/5;border-radius:22px}
.v3-cover .hw2-vis{padding:clamp(14px,1.6vw,22px)}
.v3-cover .hw-flow{grid-template-columns:auto minmax(48px,1fr) auto}
.v3-cover .hw-flow li{height:34px;padding:0 11px;gap:8px;font-size:13px;border-radius:11px}
.v3-cover .hw-flow img{width:16px;height:16px}
.v3-cover .hw-hub{width:44px;height:44px}
/* "Brief your twin": the words under the headline at a size that holds up next to it */
.v3-lim .es-lim-p{font-size:clamp(18px,1.55vw,23px)}
.v3-lim .es-rules li{font-size:clamp(17px,1.4vw,20px);line-height:1.5}
.v3-lim .es-rules svg{width:44px;height:44px;padding:10px}
.v3-lim .es-rules li{grid-template-columns:44px 1fr}
.v3-lim .es-chat .bulle{font-size:15.5px}
/* "Brief your twin" on a phone: the photo shorter, then the four rules one under the other below the example, all
   readable without swiping (Clément, 15/10) */
@media (max-width:760px){
  .v3-lim .es-lim-in{row-gap:22px}
  .v3-lim .es-lim-vis{aspect-ratio:auto;padding:16px}
  .v3-lim .es-chat .chat-fil{padding-bottom:10px}
  .v3-lim .es-chat .bulle{font-size:14.5px}
  .v3-lim .es-rules{margin-top:6px}
  .v3-lim .es-rules li{grid-template-columns:40px 1fr;gap:14px;align-items:start;padding:16px 0;font-size:16px}
  .v3-lim .es-rules svg{width:40px;height:40px;padding:9px}
}

/* the space between the sections of the home page, the same everywhere so each reads as its own (Clément, 15/10):
   --gap before each title on white, a little less inside the grey band of the steps (version A, chosen over
   alternate white and grey bands) */
:root{--gap:clamp(112px,11vw,168px)}
@media (max-width:760px){:root{--gap:96px}}
.v3-film{padding-top:var(--gap)}
.product{padding-top:var(--gap);padding-bottom:var(--gap)}
.es-steps.hw2{padding-top:calc(var(--gap) * .8);padding-bottom:calc(var(--gap) * .8 - 28px)}
.v3-cover .hw2-track{padding-bottom:28px}
.v3-lim{padding-top:var(--gap);padding-bottom:0}
.v3-lim+.join{padding-top:var(--gap)}
/* step 01: once the links are drawn, little dots keep flowing along them into Azul, and Azul breathes slowly,
   instead of a ring that pulses */
.v3-cover .hw-lines path.dot{stroke-dasharray:.045 .955;stroke-dashoffset:0;stroke-width:3;stroke-opacity:0;stroke-linecap:round}
.hw-js .v3-cover .hw2-card.on .hw-lines path.dot{animation:hw-dot-flow 2.6s cubic-bezier(.45,0,.55,1) calc(1.6s + var(--i)) infinite}
@keyframes hw-dot-flow{0%{stroke-dashoffset:.05;stroke-opacity:0}12%{stroke-opacity:.85}80%{stroke-opacity:.85}100%{stroke-dashoffset:-.95;stroke-opacity:0}}
.hw-js .v3-cover .hw2-card.on .hw-hub{animation:arrive .5s var(--ease) var(--d,0s) both,hw-breathe 3.6s ease-in-out 1.6s infinite}
.hw-js .v3-cover .hw2-card.on .hw-hub svg{animation:hw-turn 18s linear 1.6s infinite}
@keyframes hw-breathe{0%,100%{transform:scale(1);box-shadow:0 12px 24px -12px rgba(23,51,214,.6)}50%{transform:scale(1.06);box-shadow:0 16px 30px -12px rgba(23,51,214,.7)}}
@keyframes hw-turn{to{transform:rotate(360deg)}}
@media (prefers-reduced-motion:reduce){.v3-cover .hw-lines path.dot{display:none}.hw-js .v3-cover .hw2-card.on .hw-hub svg{animation:none}}
/* pulled with the mouse: no snapping while it moves, a grabbing hand */
.v3-cover .hw2-track{cursor:grab}
.v3-cover .hw2-track.is-pulling{cursor:grabbing;scroll-snap-type:none;scroll-behavior:auto;user-select:none;-webkit-user-select:none}
.v3-cover .es-card{cursor:grab}
