/* /extension-chrome — la page montre l'extension au lieu de la décrire. Namespace `xt-` (les tokens --l-*
   viennent de `.landing`, porté par le conteneur de la page). Aucune capture de YouTube : tout est reconstitué.

   Animations : une seule boucle de 12 s (5 états de 2,4 s), transitions de 240 ms en courbe douce. Chaque
   keyframe 100 % EST l'état au repos utile (bouton « clips prêts », fenêtre avec les clips) : la règle globale
   `prefers-reduced-motion` de styles.css (duration .01ms / iteration 1) fige donc la maquette sur une image
   lisible au lieu de la vider. Le bouton « pause » (WCAG 2.2.2) ajoute `.xt-paused`. */

.xt{--xt-c:12s;--xt-ease:cubic-bezier(.22,1,.36,1)}
.xt main{max-width:1120px;margin:0 auto;padding:0 24px 72px}
.xt h1{font-size:46px}
.xt h2{font-size:32px}
.xt p{color:var(--l-muted)}
.xt code{font-family:"JetBrains Mono",ui-monospace,monospace;font-size:13px;padding:2px 7px;border-radius:6px;background:var(--l-bg2);border:1px solid var(--l-border);color:var(--l-text)}

/* ---- hero : la démo d'abord sur mobile, à droite du texte sur grand écran ---- */
.xt-hero{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,520px);grid-template-areas:"copy demo";gap:56px;align-items:center;padding:48px 0 16px}
.xt-copy{grid-area:copy}
.xt-demo{grid-area:demo;min-width:0}
.xt-crumb{font-size:14px;margin-bottom:18px!important}
.xt-crumb a{text-decoration:underline;text-decoration-color:var(--l-border);text-underline-offset:3px}
.xt-crumb a:hover{color:var(--l-accent-text)}
.xt-lead{font-size:19px;line-height:1.55;margin-top:18px!important}
.xt-cta{display:flex;align-items:center;gap:22px;flex-wrap:wrap;margin-top:28px}
.xt-facts{list-style:none;display:flex;gap:10px;flex-wrap:wrap;padding:0;margin:26px 0 0}
.xt-facts li{display:inline-flex;align-items:center;gap:7px;height:34px;padding:0 13px;border-radius:999px;border:1px solid var(--l-border);background:var(--l-bg);font-size:14px;font-weight:500;color:var(--l-text)}
.xt-facts .ic{width:15px;height:15px;color:var(--l-accent-text)}

/* ---- maquette animée : barre d'actions + fenêtre de l'extension ---- */
.xt-stage{display:flex;flex-direction:column;align-items:center;gap:20px;padding:26px 22px;border-radius:24px;background:var(--l-bg2);border:1px solid var(--l-border);box-shadow:var(--l-shadow)}
.xt-cap{font-size:14px!important;margin-top:12px!important}
.xt-pause{display:inline-flex;align-items:center;gap:8px;height:34px;margin-top:14px;padding:0 14px;border-radius:999px;border:1px solid var(--l-border);background:var(--l-bg);color:var(--l-muted);font:inherit;font-size:13px;font-weight:500;cursor:pointer;transition:color .15s,border-color .15s}
.xt-pause:hover{color:var(--l-text);border-color:var(--l-muted)}
.xt-pause .ic{width:14px;height:14px}
.xt-paused *{animation-play-state:paused!important}

.xt-bar{display:flex;align-items:center;gap:8px;max-width:100%;padding:9px;border-radius:16px;background:var(--l-bg);border:1px solid var(--l-border)}
.xt-pill{display:inline-flex;align-items:center;gap:6px;height:34px;padding:0 14px;border-radius:999px;background:var(--l-bg2);color:var(--l-muted);font-size:13px;font-weight:500;white-space:nowrap}
.xt-pill .ic{width:14px;height:14px}
.xt-clip{display:inline-flex;align-items:center;gap:8px;height:34px;padding:0 15px;border-radius:999px;background:var(--l-accent);color:#1a0c05;font-size:13px;font-weight:600;white-space:nowrap}
.xt-mark{width:11px;height:11px;flex:none;background:currentColor;clip-path:polygon(15% 8%,92% 50%,15% 92%)}
/* pastille d'icône : triangle → roue → coche, dans le même emplacement de 14 px */
.xt-ic{position:relative;width:14px;height:14px;flex:none}
.xt-ic>i{position:absolute;display:block}
.xt-ic .xt-logo{inset:1px;background:currentColor;clip-path:polygon(15% 8%,92% 50%,15% 92%)}
.xt-ic .xt-spin{left:0;top:0;width:14px;height:14px;border:2px solid currentColor;border-top-color:transparent;border-radius:50%}
.xt-ic .xt-ok{left:1px;top:3px;width:11px;height:6px;border-left:2px solid currentColor;border-bottom:2px solid currentColor;transform:rotate(-45deg)}
/* rouleau de libellés : 5 lignes empilées, translation en % → indépendante de la taille de police */
.xt-lbl{width:164px;height:17px;overflow:hidden}
.xt-lbl>span{display:block}
.xt-lbl b{display:block;height:17px;line-height:17px;font-weight:600;text-align:center;white-space:nowrap}

.xt-pop{width:304px;max-width:100%;border-radius:16px;background:var(--l-bg);border:1px solid var(--l-border);box-shadow:0 8px 24px rgba(0,0,0,.07);overflow:hidden}
.xt-pop-top{display:flex;align-items:center;gap:8px;padding:11px 13px;border-bottom:1px solid var(--l-border);font-size:13px;font-weight:600;color:var(--l-text)}
.xt-pop-top .xt-mark{color:var(--l-accent)}
.xt-pop-top em{margin-left:auto;font-style:normal;font-size:11px;font-weight:500;color:var(--l-muted)}
.xt-pop-body{display:grid;padding:12px 13px 14px}
.xt-pop-body>*{grid-area:1/1}
.xt-done{display:flex;flex-direction:column;gap:10px}
.xt-row{display:grid;grid-template-columns:28px minmax(0,1fr) auto;align-items:center;gap:10px;font-size:12px}
.xt-row img{width:28px;height:50px;object-fit:cover;border-radius:5px;background:var(--l-bg2);display:block}
.xt-row>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:500;color:var(--l-text)}
.xt-row b{font-size:11px;font-weight:700;color:var(--l-accent-text)}
.xt-skels{display:flex;flex-direction:column;gap:10px;margin-top:13px}
.xt-row-skel{grid-template-columns:28px minmax(0,1fr)}
.xt-skel{display:block;height:50px;border-radius:5px;background:var(--l-bg2)}
.xt-line{display:block;height:9px;border-radius:5px;background:var(--l-bg2)}
.xt-line+.xt-line{width:55%;margin-top:8px}
.xt-work>span{display:block;font-size:12px;font-weight:500;color:var(--l-text);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.xt-work .xt-gauge{height:6px;margin-top:8px;border-radius:3px;background:var(--l-border);overflow:hidden}
.xt-work .xt-gauge i{display:block;height:100%;background:var(--l-accent)}
.xt-fmts{display:flex;gap:5px;margin-bottom:11px}
.xt-fmts span{display:inline-flex;align-items:center;height:22px;padding:0 8px;border-radius:999px;border:1px solid var(--l-border);font-size:11px;font-weight:600;color:var(--l-muted)}
.xt-fmts span.on{background:var(--l-accent);border-color:var(--l-accent);color:#1a0c05}
.xt-act{display:inline-flex;align-items:center;gap:5px;height:24px;padding:0 9px;border-radius:999px;border:1px solid var(--l-border);font-size:11px;font-weight:600;color:var(--l-text);white-space:nowrap}
.xt-act .ic{width:12px;height:12px}
.xt-act-on{background:var(--l-accent);border-color:var(--l-accent);color:#1a0c05}
.xt-acts{display:flex;gap:6px}

/* la boucle : seulement dans le hero (les mêmes maquettes servent fixes dans les cartes) */
.xt-stage .xt-clip{animation:xt-pop var(--xt-c) var(--xt-ease) infinite both}
.xt-stage .xt-lbl>span{animation:xt-roll var(--xt-c) var(--xt-ease) infinite both}
.xt-stage .xt-logo{animation:xt-idle var(--xt-c) steps(1,end) infinite both}
.xt-stage .xt-spin{animation:xt-spin .9s linear infinite,xt-busy var(--xt-c) steps(1,end) infinite both}
.xt-stage .xt-ok{animation:xt-ready var(--xt-c) var(--xt-ease) infinite both}
.xt-stage .xt-pop{animation:xt-lift var(--xt-c) var(--xt-ease) infinite both}
.xt-stage .xt-work{animation:xt-fade-out var(--xt-c) var(--xt-ease) infinite both}
.xt-stage .xt-done{animation:xt-fade-in var(--xt-c) var(--xt-ease) infinite both}
.xt-stage .xt-gauge i{animation:xt-gauge var(--xt-c) linear infinite both}
@keyframes xt-pop{0%{opacity:.3;transform:scale(.94)}3%,100%{opacity:1;transform:none}}
@keyframes xt-roll{0%,18%{transform:translateY(0)}20%,38%{transform:translateY(-20%)}40%,58%{transform:translateY(-40%)}60%,78%{transform:translateY(-60%)}80%,100%{transform:translateY(-80%)}}
@keyframes xt-idle{0%{opacity:1}20%,100%{opacity:0}}
@keyframes xt-busy{0%{opacity:0}20%{opacity:1}80%,100%{opacity:0}}
@keyframes xt-ready{0%,78%{opacity:0;transform:rotate(-45deg) scale(.7)}82%,100%{opacity:1;transform:rotate(-45deg) scale(1)}}
@keyframes xt-spin{to{transform:rotate(360deg)}}
@keyframes xt-lift{0%,78%{transform:none;box-shadow:0 8px 24px rgba(0,0,0,.07)}82%,100%{transform:translateY(-3px);box-shadow:0 16px 40px rgba(0,0,0,.12)}}
@keyframes xt-fade-out{0%{opacity:0}4%,76%{opacity:1}80%,100%{opacity:0}}
@keyframes xt-fade-in{0%,76%{opacity:0;transform:translateY(8px)}82%,100%{opacity:1;transform:none}}
@keyframes xt-gauge{0%{width:5%}76%,100%{width:100%}}

/* ---- sections ---- */
.xt-sec{padding-top:64px}
.xt-sec>h2+p{margin-top:10px;font-size:18px;max-width:70ch}
.xt-grid{display:grid;gap:20px;margin-top:30px;list-style:none;padding:0}
.xt-grid-3{grid-template-columns:repeat(3,1fr)}
.xt-grid-2{grid-template-columns:repeat(2,1fr)}
.xt-card{display:flex;flex-direction:column;gap:8px;padding:26px 26px 0;border:1px solid var(--l-border);border-radius:20px;background:var(--l-bg);box-shadow:var(--l-shadow);overflow:hidden;transition:transform .2s var(--xt-ease),box-shadow .2s var(--xt-ease)}
.xt-card:hover{transform:translateY(-2px);box-shadow:0 16px 50px rgba(0,0,0,.09)}
.xt-card h3{font-size:20px}
.xt-card p{font-size:16px}
.xt-n{display:inline-flex;align-items:center;justify-content:center;width:30px;height:30px;border-radius:50%;background:var(--l-accent);color:#1a0c05;font-weight:700;font-size:15px;margin-bottom:4px}
.xt-shot{display:flex;align-items:center;justify-content:center;gap:14px;height:230px;margin:18px -26px 0;margin-top:auto;padding:20px;background:var(--l-bg2);border-top:1px solid var(--l-border);overflow:hidden}
.xt-shot .xt-bar{flex-wrap:wrap;justify-content:center}
.xt-phone{position:relative;height:100%;aspect-ratio:9/16;border-radius:14px;overflow:hidden;border:1px solid var(--l-border);background:var(--l-bg);box-shadow:0 6px 24px rgba(0,0,0,.08);flex:none}
.xt-phone .media-slot{height:100%}
.xt-phone-clip{border:3px solid var(--l-accent);box-shadow:0 10px 30px rgba(255,106,31,.22)}
.xt-phone .mk-karaoke{font-size:9px;bottom:12px;gap:2px}
.xt-phone .mk-karaoke span{padding:1px 3px}
.xt-src{position:relative;flex:1 1 0;min-width:0;max-width:300px;border-radius:12px;overflow:hidden;border:1px solid var(--l-border);box-shadow:0 6px 24px rgba(0,0,0,.08)}
.xt-arrow{display:inline-flex;align-items:center;justify-content:center;width:34px;height:34px;flex:none;border-radius:50%;background:var(--l-bg);border:1px solid var(--l-border);color:var(--l-muted)}
.xt-arrow .ic{width:17px;height:17px}
.xt-thumbs{display:grid;grid-template-columns:repeat(3,1fr);gap:9px;width:100%;max-width:270px}
.xt-thumb{position:relative;border-radius:10px;overflow:hidden;border:1px solid var(--l-border);background:var(--l-bg)}
.xt-thumb img{display:block;width:100%;aspect-ratio:9/16;object-fit:cover}
.xt-thumb b{position:absolute;top:6px;left:6px;font-size:11px;font-weight:700;padding:2px 7px;border-radius:999px;background:var(--l-accent);color:#1a0c05}
.xt-chips{display:flex;flex-direction:column;gap:7px;flex:none}
.xt-chips span{padding:7px 13px;border-radius:999px;border:1px solid var(--l-border);background:var(--l-bg);font-size:13px;font-weight:600;color:var(--l-muted);text-align:center}
.xt-chips span.on{background:var(--l-accent);border-color:var(--l-accent);color:#1a0c05}
.xt-chrome{display:flex;align-items:center;gap:9px;width:100%;max-width:280px;padding:11px;border-radius:14px;background:var(--l-bg);border:1px solid var(--l-border);box-shadow:0 6px 24px rgba(0,0,0,.08)}
.xt-dots{display:flex;gap:4px;flex:none}
.xt-dots i{width:8px;height:8px;border-radius:50%;background:var(--l-border)}
.xt-url{display:flex;align-items:center;flex:1;min-width:0;height:24px;padding:0 10px;border-radius:999px;background:var(--l-bg2);font-size:11px;color:var(--l-muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.xt-pin{display:grid;place-items:center;width:26px;height:26px;flex:none;border-radius:8px;background:var(--l-accent);color:#0b0b0c;box-shadow:0 0 0 3px rgba(255,106,31,.18)}

/* ---- confidentialité ---- */
.xt-panel{padding:26px;border:1px solid var(--l-border);border-radius:20px;background:var(--l-bg)}
.xt-panel h3{display:flex;align-items:center;gap:11px;font-size:19px}
.xt-panel h3 .ic{width:18px;height:18px}
.xt-badge{display:grid;place-items:center;width:34px;height:34px;flex:none;border-radius:50%;background:var(--l-bg2);color:var(--l-accent-text)}
.xt-panel ul{list-style:none;padding:0;margin:18px 0 0;display:flex;flex-direction:column;gap:12px}
.xt-panel li{display:flex;align-items:flex-start;gap:11px;font-size:15px;line-height:1.45;color:var(--l-text)}
.xt-panel li .ic{width:17px;height:17px;flex:none;margin-top:2px;color:var(--l-accent-text)}
.xt-panel-no li .ic{color:var(--l-muted)}
.xt-note{margin-top:20px!important;font-size:15px}
.xt-note a{text-decoration:underline;text-decoration-color:var(--l-accent);text-underline-offset:4px;text-decoration-thickness:2px;color:var(--l-text);font-weight:500}

/* ---- installation + bandeau final ---- */
.xt-install{list-style:none;padding:0;margin:30px 0 0;display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
.xt-install li{padding:24px;border:1px solid var(--l-border);border-radius:18px;background:var(--l-bg);font-size:15px;line-height:1.5;color:var(--l-text)}
.xt-install strong{display:block;margin-bottom:6px;font-size:16px}
.xt-final{margin-top:72px;padding:56px 24px;border-radius:24px;background:var(--l-bg2);text-align:center}
.xt-final h2{margin-bottom:12px}
.xt-final p{max-width:56ch;margin:0 auto!important}
.xt-final .xt-cta{justify-content:center;margin-top:30px}

/* ---- responsive ---- */
@media (max-width:1000px){
  .xt-hero{grid-template-columns:1fr;grid-template-areas:"demo" "copy";gap:36px;padding-top:32px}
  .xt-demo{max-width:520px;margin:0 auto;width:100%}
  .xt h1{font-size:38px}
  .xt-grid-3,.xt-install{grid-template-columns:1fr 1fr}
  .xt-install li:last-child,.xt-grid-3>:last-child{grid-column:1 / -1}
}
@media (max-width:640px){
  .xt main{padding:0 16px 56px}
  .xt h1{font-size:31px}
  .xt h2{font-size:25px}
  .xt-lead{font-size:17px}
  .xt-sec{padding-top:48px}
  .xt-grid-2,.xt-grid-3,.xt-install{grid-template-columns:1fr}
  .xt-install li:last-child,.xt-grid-3>:last-child{grid-column:auto}
  .xt-stage{padding:18px 14px;gap:16px}
  .xt-opt{display:none}
  .xt-bar{gap:6px;padding:7px}
  .xt-pill,.xt-clip{height:32px;font-size:12px;padding:0 12px}
  .xt-lbl{width:150px;height:16px}
  .xt-lbl b{height:16px;line-height:16px}
  .xt-card{padding:22px 18px 0}
  .xt-shot{height:210px;margin:16px -18px 0;padding:16px;gap:10px}
  .xt-chips span{padding:5px 9px;font-size:11px}
  .xt-thumbs{max-width:300px;gap:7px}
  .xt-panel,.xt-install li{padding:20px}
  .xt-final{margin-top:48px;padding:40px 16px;border-radius:20px}
  .xt-cta{gap:14px}
}
